Can I see the exact code? Put it in the hacks place /
I use this source:
https://www.mpgh.net/forum/224-combat...port-hack.html
Any idea how to stop the flickering? it goes from A to B & B to A, always tele from both sides continually & it makes my player becomes flicker. I want my player to keep stay on spot B without return to A except if i turned the teleport off. I tried put the codes in beginscene & endscense, same result. Put sleep(1); also doesnt help much.
Sorry for my bad english.
Can I see the exact code? Put it in the hacks place /
No I do not make game hacks anymore, please stop asking.
Ok, here:
Code:#include <windows.h> bool cBase::IsGameReadyForHook(void) { if( GetModuleHandle( "d3d9.dll" ) != NULL && GetModuleHandle( "ClientFX.fxd" ) != NULL && GetModuleHandle( "CShell.dll" ) != NULL ) return true; return false; } void cBase::Teleport(void) { while(1) { //save location if( GetAsyncKeyState(0x5A) & 1 ) { y = *(float*)posy; x = *(float*)(posy+0x4); z = *(float*)(posy-0x4); } //teleport if( tele > 0 ) { *(float*)posy= y; *(float*)(posy+0x4)= x; *(float*)(posy-0x4)= z; } } } DWORD WINAPI hack(LPVOID) { while( !Base.IsGameReadyForHook() ) Sleep(100); Directx.Hook(); Base.Update(); return 0; } BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { DisableThreadLibraryCalls(hDll); if ( dwReason == DLL_PROCESS_ATTACH ) { CreateThread(NULL, NULL, hack, NULL, NULL, NULL); } return TRUE; }
Did you forget to add a function to say when the key is pressed. it teleports /
just saying
No I do not make game hacks anymore, please stop asking.
Here, but is that the problem?? sry i forgot to post this in my previous post.
Code:void cBase::Teleport(void) { while(1) { posptr = NULL; posptr = (DWORD)GetModuleHandleA("ClientFX.fxd"); posptr += charposoffset; memcpy(&posy,(void *)(posptr),4); posy += posyoffset; //save location if( GetAsyncKeyState(0x5A) & 1 ) { y = *(float*)posy; x = *(float*)(posy+0x4); z = *(float*)(posy-0x4); } //teleport if( tele > 0 ) { *(float*)posy= y; *(float*)(posy+0x4)= x; *(float*)(posy-0x4)= z; } } }
Isn't there a different method for teleport? /
Code:if( GetAsyncKeyState(0x5A) & 1 ) { *(float*)posy= y; *(float*)(posy+0x4)= x; *(float*)(posy-0x4)= z; }
Last edited by flameswor10; 10-29-2010 at 02:15 AM.
No I do not make game hacks anymore, please stop asking.
Moothew =^_^= (10-29-2010)
hmm there is better codes for that.
yea you can't ACTUALLY teleport your character in Combat arms. all you can do is move the camera position (which is still useful since you can invisibly kill people).
There is a way to stop the flickering but it's only client sided. And I doubt you could find