baraozin (12-11-2011),ChanceOfHax (10-09-2010),combatnub (08-12-2011),Drake (10-08-2010),GangsterCode (10-08-2010),HaX4LiFe! (10-12-2010),NOOB (10-09-2010),Nubzgetkillz (10-21-2010),S0aD (04-21-2011),Sydney (10-08-2010),Turbulence (03-23-2011)
Globals:
Getting use of the player pointer:Code:#define playerpointer 0x66F34 #define yoffset 0xCC DWORD player, position; float x,y,z;
Teleport:Code:player=NULL; player= (DWORD)GetModuleHandleA(\"ClientFX.fxd\"); player+= playerpointer; memcpy(&position,(void *)(player),4); position+= yoffset;
Code:if(teleport == 1){ if(GetAsyncKeyState(VK_F12)<0){ //Saves current xyz y = *(float*)position; x = *(float*)(position+0x4); z = *(float*)(position-0x4); } } if(teleport == 2){ //Teleports to saved xyz *(float*)position= y; *(float*)(position+0x4)= x; *(float*)(position-0x4)= z; }
Last edited by Solify; 10-08-2010 at 09:36 AM.
baraozin (12-11-2011),ChanceOfHax (10-09-2010),combatnub (08-12-2011),Drake (10-08-2010),GangsterCode (10-08-2010),HaX4LiFe! (10-12-2010),NOOB (10-09-2010),Nubzgetkillz (10-21-2010),S0aD (04-21-2011),Sydney (10-08-2010),Turbulence (03-23-2011)
ur such an ca whore
owyeah i posted my GOW mod on CAEU forum some are actually considering it that its kewl and stuff but dont do it because they might get banned hey my acc aint banned for 1 day ill try again today to see if im banned ^^
@ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist
neuest gift from Yura~Chan:
https://bakyurayuu.deviantar*****m/#/d372taw
2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
come on you know that don't want to push that ordinary button
heraksus12 (10-11-2010)
Sydney (10-08-2010)
Last edited by Kuro Tenshi; 10-08-2010 at 06:13 AM.
@ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist
neuest gift from Yura~Chan:
https://bakyurayuu.deviantar*****m/#/d372taw
2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
come on you know that don't want to push that ordinary button
pfff Nice Ty man
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
Is it posible to make a walkable ghost mode with teleport?
Some fails.
You need to add DWORD x, y, z, posy; to.
else its not declared
Thanks Cosmos
Sydney (10-08-2010)
posy undefined so...
Sydney (10-08-2010)
Not untill i have tested
Good job my bish .
player= (DWORD)GetModuleHandleA(\"ClientFX.fxd\"); is wrong it means
player= (DWORD)GetModuleHandleA("ClientFX.fxd");
But you can use one of them
Last edited by Sydney; 10-08-2010 at 09:53 AM.
Thanks Cosmos
Not working for me.. not working for amazing...
Here the source for an extern dll ... (works! tested by me!)
Code:#include <windows.h> bool IsGameReadyForHook() { if( GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true; return false; } void OPK(){ while (!IsGameReadyForHook()){ Sleep(20); } #define playerpointer 0x66F34 #define yoffset 0xCC DWORD player, position; float x,y,z; while(true){ player=NULL; player= (DWORD)GetModuleHandleA("ClientFX.fxd"); player+= playerpointer; memcpy(&position,(void *)(player),4); position+= yoffset; if(GetAsyncKeyState(VK_F11)<0){ //saves y = *(float*)position; x = *(float*)(position+0x4); z = *(float*)(position-0x4); } if(GetAsyncKeyState(VK_F12)<0){ //Teleports *(float*)position= y; *(float*)(position+0x4)= x; *(float*)(position-0x4)= z; } } } BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved){ switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&OPK, NULL, 0,NULL); break; case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; }
Sydney (10-08-2010)