Void (12-30-2009)
LEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEECHED before you would've flame me I had to of put that... Obviously this is not the whole thing..but feel free to give it a go for all you C++ advents!
FYI this is for Combat Arms..Enjoy ^^
Code:#include <windows.h> #include <stdio.h> /*Leeched from ***************.net*/ DWORD *PlayerIsInamge = (DWORD*)0xPLAYER_POINTER; int ArrayX[100]; int ArrayY[100]; int ArrayZ[100]; int curx, cury, curz; int ArraySwitch=0, ArraySwitch2=0; DWORD X, Y, Z; DWORD WINAPI SaveTeleportCoor(LPVOID); DWORD WINAPI ArrayTeleport(LPVOID); BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved) { if(dwReason == DLL_PROCESS_ATTACH) { CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SaveTeleportCoor, NULL, NULL, NULL); CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SetTeleportCoor, NULL, NULL, NULL); } return TRUE; } DWORD WINAPI SetTeleportCoor(LPVOID) { for(; { if(*PlayerIsIngame) { X = ( /*Player Pointer*/ ); X = *(DWORD*)X; X += 0x18c; //Offset X curx = *(int*)X; Y = ( /*Player Pointer*/ ); Y = *(DWORD*)ab; Y += 0x194; //Offset Y cury = *(int*)Y; Z = ( /*Player Pointer*/ ); Z = *(DWORD*)Z; Z += 0x190; //Offset Z curz = *(int*)Z; if(GetAsyncKeyState(VK_NUMPAD8)&1) // Saving Current Possition { ArrayX[ArraySwitch] = curx; ArrayY[ArraySwitch] = cury; ArrayZ[ArraySwitch] = curz; ArraySwitch++; Sleep(2); } } } return 0; } DWORD WINAPI ArrayTeleport(LPVOID) { for(; { if(GetAsyncKeyState(VK_NUMPAD1)&1) //Teleport Forward { DWORD *first = (DWORD*)X; *(int*)X = ArrayX[ArraySwitch2]; DWORD *secound = (DWORD*)Y; *(int*)Y = ArrayY[ArraySwitch2]; DWORD *third = (DWORD*)Z; *(int*)Z = ArrayZ[ArraySwitch2]; Sleep(1); ArraySwitch2++; } if(GetAsyncKeyState(VK_NUMPAD2)&1) //Teleport Backward { ArraySwitch2--; DWORD *first = (DWORD*)X; *(int*)X = ArrayX[ArraySwitch2]; DWORD *secound = (DWORD*)Y; *(int*)Y = ArrayY[ArraySwitch2]; DWORD *third = (DWORD*)Z; *(int*)Z = ArrayZ[ArraySwitch2]; Sleep(1); } Sleep(21); } return 0; }
Last edited by PimpB; 12-30-2009 at 04:32 PM.
Void (12-30-2009)
I think for a lot of people who code in C++, the problem with making these type of hacks would be finding the addresses, not the actual code.
Not saying I could make something like this.
you gave us a reason to flame you.
1: theres a million posts like this
2: expect to be flamed when you leech :/
3: it contains the websites name..
thats advertisement my friend
P.L.U.R.
IVE SEEN THIS LIKE 100000 Times GTFO ******.
Get Called Hacker When Not Actually Hacking []
Get Called Hacker When Hacking []
Get Banned []
Get KDR 1 []
Get KDR 2 []
Get KDR 3 []
Get To A High Rank []
Get Banned On A High Rank Account []
Get Banned Lots Of Times []
Finish this shit list []
neofar, you can't flame people for sharing. He's just sharing what he found with us, and as for the advertisement, he probably didn't mean to. He probably just wanted to know that he leeched it so he wouldn't get flamed.
Cool Seen it e;se where but thanks for sharing
I've seen it in this section before... GTFO LEECHER
Ah we-a blaze the fyah, make it bun dem!
So that's where headsup's shit teleport code came from... ;l
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
what the fuck is this?
this code will never work its for Operation7 if you try it in ca your Cam will just move to this possition
You gotta get your position then put it to their position.