OldSchoolHack

Registrieren / Anmelden Deutsch

Benutzersuche: arnibold

Such-Informationen
arnibold
Themen im Forum
Thema Forum Letzter Beitrag Beiträge Zugriffe
icon

Go to first new post Suche TF2 Hack, der DETECTED ist Erstellt am: Fr 26. Okt 2012, 23:18

arnibold

preview Vorschau

Go To Post

Ideal, wenn er auch mit der neusten Version kompatibel wäre
Und ja, ich meine auch detected
Team Fortress 2

Fr 26. Okt 2012, 23:18

von arnibold Go to last post
0 304
icon

Go to first new post [D3D9] Maus + Ingame? Erstellt am: Sa 10. Sep 2011, 00:48

arnibold

preview Vorschau

Go To Post

Nabend,
ich bin gerade dabei mein Menü mit einem Cursor zu kombinieren. Im Hauptmenü ist das ganze ja relativ einfach, da der Cursor dort schon dargestellt wird.
Ingame stoße ich dann aber auf das Problem, dass der Cursor ans center (x/2 | y/2) gebunden ist.
Kann man GetCursorPos irgendwie hooken, dass das auch ingame funktioniert?
VB, C/C++, Delphi, etc

Sa 10. Sep 2011, 13:08

von arnibold Go to last post
4 584
icon

Go to first new post [D3D9] Maus + Ingame? Erstellt am: Sa 10. Sep 2011, 00:48

arnibold

preview Vorschau

Go To Post

Spielt das eine Rolle?
Ich versuche das ganze jedenfalls nach wie vor mit CS:S

Aber um was klar zu stellen, ich bin nicht dabei einen 1337 c&p pay VIP Hack zu schreiben, sondern mache das einfach aus Spaß an der Freude und um vielleicht einmal Public Hacks für andere Spiele zu programmieren.

Und vielen Dank KN4CK3R, dass Du so viel Zeit und Geduld in Deine Community steckst.
VB, C/C++, Delphi, etc

Sa 10. Sep 2011, 13:08

von arnibold Go to last post
4 584
icon

Go to first new post [D3D9] Maus + Ingame? Erstellt am: Sa 10. Sep 2011, 00:48

arnibold

preview Vorschau

Go To Post

Hm, könnte man das nicht auch mit der Engine lösen?
http://hlssmod.net/he_code/public/cdll_int.h
GetViewAngles & SetViewAngles
Ich setz mich mal ran.
VB, C/C++, Delphi, etc

Sa 10. Sep 2011, 13:08

von arnibold Go to last post
4 584
icon

Go to first new post Falsche World2Screen Berechnung Erstellt am: Di 6. Sep 2011, 22:33

arnibold

preview Vorschau

Go To Post

Hi,
ich habe mal mit den von CS:S "bereitgestellten" X,Y,Z Koordinaten und Pitch / Yaw für alle Spieler versucht, die 3D Koordinate eines Gegners zu einer 2D Koordinate für den Bildschirm umzurechnen.
Folgende Funktion habe ich (teilweise) erstellt:
CPP Code:
  1. D3DXVECTOR3 *World2Screen(LPDIRECT3DDEVICE9 pDevice, D3DXVECTOR3 &vScreenCoord, D3DXVECTOR3 vEnemy)
  2. {
  3. if( !pDevice ) return NULL;
  4.  
  5. D3DXMATRIX matProj;
  6. float fAspect = (float)(1280) / 720;
  7. D3DXMatrixPerspectiveFovRH(&matProj, (float)(D3DX_PI/180*90), fAspect, 0.1, -1);
  8.  
  9. float *pX = (float*)(*(DWORD*)(Base)+0x60);
  10. float *pY = (float*)(*(DWORD*)(Base)+0x68);
  11. float *pZ = (float*)(*(DWORD*)(Base)+0x64);
  12. float *pitch = (float*)(*(DWORD*)(Base)+0x6C);
  13. float *yaw = (float*)(*(DWORD*)(Base)+0x70);
  14.  
  15. D3DXVECTOR3 vEye ( *pX, *pY, *pZ);
  16. D3DXVECTOR3 vTarget ( *pX + *yaw, *pY + (*pitch * -1), *pZ);
  17. D3DXVECTOR3 vUp ( 0, 0, 1 );
  18. D3DXMATRIX matView;
  19. D3DXMatrixLookAtRH( &matView, &vEye, &vTarget, &vUp);
  20.  
  21. D3DVIEWPORT9 viewPort;
  22. D3DXMATRIX identity;
  23.  
  24. pDevice->GetViewport( &viewPort );
  25. D3DXMatrixIdentity( &identity );
  26.  
  27. D3DXVec3Project(&vScreenCoord, &vEnemy, &viewPort, &matProj, &matView, &identity );
  28.  
  29. if(vScreenCoord.z < 1)
  30. return &vScreenCoord;
  31.  
  32. return NULL;
  33. }

Die Berechnung ist absolut falsch, seht selbst:

http://img7.imagebanana.com/img/z4bk0r00/fu1.png
http://img6.imagebanana.com/img/l03mfttv/fu2.png

Irgendwelche Ideen, oder CS:S spezifische Funktionen  ;o ?

Danke.
VB, C/C++, Delphi, etc

Do 8. Sep 2011, 18:05

von KN4CK3R Go to last post
9 1389
Downloads
Es wurden keine entsprechenden Downloads gefunden.