@racardo
DWORD WINAPI Lesson (LPVOID)
{
Main();
return 1;
}
That is the problem try looking in other bases. And you will find whats wrong with that line. And the nametags addie is that correct? Did you double check?[COLOR="Silver"]
Code:#include <windows.h> int HackOn = 0; int HackMax = 10; bool test = false; #define Nametag1 0x372F673D #define Nametag2 0x372F66BA void Main (void) { while(1) { if(GetAsyncKeyState(VK_NUMPAD1)&1) //When Numpad1 Gets Pressed { test = (!test); //if test = false, turn to true and vice versa } if(GetAsyncKeyState(VK_NUMPAD2)&1) { HackOn ++; if(HackOn == HackMax) HackOn = 0; } if(test) { memcpy((LPVOID)Nametag1, "\x90\x90", 2); memcpy((LPVOID)Nametag2, "\x90\x90", 2); }else{ memcpy((LPVOID)Nametag1, "\x75\x21", 2); memcpy((LPVOID)Nametag2, "\x75\x05", 2); } } } DWORD WINAPI Lesson (LPVOID) { Main(); return 1; } BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { DisableThreadLibraryCalls(hDll); if ( dwReason == DLL_PROCESS_ATTACH ) { CreateThread(NULL, NULL, Lesson, NULL, NULL, NULL); } return TRUE; }
My prob is it wont even let my ca start lol idk what i did wrong here is it tht my addys n bytes r not correct or what anyone wanna gimmi a hint u dont have to tell me everything just point me in the right direction thank you <3
@racardo
DWORD WINAPI Lesson (LPVOID)
{
Main();
return 1;
}
That is the problem try looking in other bases. And you will find whats wrong with that line. And the nametags addie is that correct? Did you double check?[COLOR="Silver"]
You need to check if the game's essential modules ("cshell.dll", "clientfx.fxd", "engine.exe") have been loaded into memory before attempting to modify any memory address.
Oh no! Vortex is gay!
your name tag address's are wrong.
[IMG]https://www.find-heavyequipmen*****m/images/small-loading.gif [/IMG]Loading content... Please wait while the rest of this post loads.
u put 2 many eqaul signs idiot.. .
Code:if(HackOn == HackMax) HackOn = 0;
Quite obviously you do not belong in this section. If you have '==' that means IF it is equal. so for example: if hackOn Is equal to HackMax, then hackOn equals 0.
Ontopic: Nametag addies:
#define NameTags1 0x372F671A
#define NameTags2 0x372F679D
Also, your off bytes for the nametags1 is incorrect you might want to ollydebug the correct bytes...
1 last thing, You don't have an ingame function. you might one to add one of those so it won't crash when you're going into the second game!
Last edited by cubanelite; 01-09-2012 at 06:17 PM.
cubanelite (01-09-2012),flameswor10 (01-09-2012)
Not leecher my ass.
It's my tutorial you're using
Also @l80man
if(int == 15) means if integer is 15.
int = 5; means make the integer into 5.
Please learn to code before flaming members.
No I do not make game hacks anymore, please stop asking.
teehee15 (01-09-2012)
@flameswor10 i knw i said it in a iff topic but when i get it working i will be giving you your credits