View Full Version : Errors
supremer13
02-16-2008, 11:21 AM
i have made a hack for warrock with c++ and i got 2 errors:
-error C2065: 'Writelong' : undeclared identifier
-error C2373: 'Writelong' : redefinition; different type modifiers
please help me thanks
i have made a hack for warrock with c++ and i got 2 errors:
-error C2065: 'Writelong' : undeclared identifier
-error C2373: 'Writelong' : redefinition; different type modifiers
please help me thanks
you have the writealong function in it?
void Writelong(long addy, long value)
{
memory();
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) addy, &value, sizeof(value), NULL);
}
supremer13
02-16-2008, 12:18 PM
i have do everything what in the tut is
wr194t
02-16-2008, 12:29 PM
i have do everything what in the tut isMake sure it's named the same in your hack as the function.
supremer13
02-17-2008, 09:58 AM
here is my project
Dxt-Credzis
02-17-2008, 10:02 AM
void CGame0wningDlg::OnScopeOn()
{
Writelong(0xAFB76A, 1);
}
void Writelong(long addy, long value)
{
memory();
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) addy, &value, sizeof(value), NULL);
}
void WritePointerFloat(long addy, short offset, float value)
{
long maddy;
long saddy;
memory();
ReadProcessMemory(hProcess, (LPVOID*)(DWORD) addy, &maddy, sizeof(maddy), NULL);
saddy = maddy + offset;
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) saddy, &value, sizeof(value), NULL);
}
cant work, you've declared the writelong function after u used it ...
Put it on top of your project ( under your memory function )
supremer13
02-18-2008, 09:51 AM
EDIT
My hack works now, and now I've got other problems
-How can I turn the Scope Hack off?
-I'm banned by K2, is this normal for only a Scope Hack?
virus7799
02-19-2008, 09:12 PM
EDIT
My hack works now, and now I've got other problems
-How can I turn the Scope Hack off?
-I'm banned by K2, is this normal for only a Scope Hack?
For off it would be: void CGame0wningDlg::OnScopeOff() <------This could be changed to whatever you want it to be.
{
Writelong(0xAFB76A, 0);
}
void Writelong(long addy, long value)
{
memory();
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) addy, &value, sizeof(value), NULL);
}
And yes, K2 will even ban you for hacks not related to WarRock such as a brute forcer or even a keylogger.
supremer13
02-20-2008, 01:29 PM
@virus
THANKS
AND CAN I MAKE THE HACKS UNDETECD?
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.