ExclamationScrouce code problem

Posts 1–11 of 11 · Page 1 of 1
Scrouce code problem
maybe a noob problem but just help me

Code:
#include <Windows.h>

#define WeaponMgr     0xB65E94//

DWORD WINAPI hacks(LPVOID)
{
   while(1)
{
 DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD* m16 = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 25*4); 
DWORD* m4_rd = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 266*4);
DWORD* KNIFE = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 5*4);
DWORD* ChristmasAxe = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 239*4);
DWORD* Gernade= (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 6*4);
DWORD* KissGernade = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 263*4);
DWORD* miniUZI = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 21*4);
DWORD* Dualuzi = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 207*4);
DWORD* COLT1911 = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 1*4);
DWORD* TigerEagl = (DWORD*)((*(DWORD*)(CShell + WeaponMgr )) + 2834);
*m16 = *m4_rd;
*KNIFE = *ChristmasAxe;
*Gernade = *KissGernade;
*miniUZI = *Dualuzi;
*COLT1911 = *TigerEagl;

MessageBoxA(0, "JANKO V1 INJECTED","WEAPON-HACK cffg****!", 0);
   
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
... help me pls
This is a weapon hack source.
But what's your problem ?
not for a other website -.- I maked this for crossfire fantasy but it will work too for NA or ... others the problem is Wait is not defended
offset wepmgr wrong !
.... Can u give me the right code

---------- Post added at 10:41 AM ---------- Previous post was at 09:52 AM ----------

Quote Originally Posted by Janitor View Post
This is a weapon hack source.
But what's your problem ?
Can u help me...... the error = the defenis on Wait is wrong
Quote Originally Posted by janko21 View Post
.... Can u give me the right code

---------- Post added at 10:41 AM ---------- Previous post was at 09:52 AM ----------



Can u help me...... the error = the defenis on Wait is wrong
There is no DllMain. Also, no thread called wait so it cant create that thread.
Learn c++ and u will fix it
I don't realy get it ..... where must I set the dllmain ?
your offset for weaponmgr is wrong, for CFFG

edit
nvm its right but, do u have a base?
This is it I don't have more...
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?