Change this: 0x103147F0
in to this: 0xA05E48.
what is the problem with it ?Code:// dllmain.cpp : Defines the entry point for the DLL application. #include <Windows.h> #include <iostream> #define WeaponClass 0xDE710 #define AmmoDamage 0xA05E48 int damage = (int) (0xA05E48); int demege = (int) (0x2534); int damega = (int ) (0x7F8); using namespace std; DWORD hShell = (DWORD) GetModuleHandleA("CShell.dll"); #define LTCLIENT 0X3147F0 DWORD WINAPI asdasd (LPVOID) { bool asder = false; while(1) { Sleep(100); if(GetAsyncKeyState((VK_NUMPAD1)&1)) { asder = !asder; } Sleep(100); DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll"); if(asder) { Sleep(100); for(int i=0 ; i<445 ; i++) *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0x103147F0))+(4*i))) + 0x7F8) = FLT_MAX ; } } } BOOL WINAPI DllMain(HINSTANCE hDll,DWORD dwAttached, LPVOID lpReserved) { if(dwAttached == DLL_PROCESS_ATTACH); DisableThreadLibraryCalls(hDll); { MessageBoxA(NULL,"injected","injected",NULL); CreateThread(NULL,NULL,asdasd,NULL,NULL,NULL); } return TRUE; }
i inject it correctly , but its not working ...
i press NUMPAD 1 and nothing happens :S
(im trying to make one hit K.O hack )
Change this: 0x103147F0
in to this: 0xA05E48.
elitexxxmate (06-16-2011)
wtf is that?
You C+P it Bcus you just type in some random shit like "asdasd"
-_-VaNitY-_- (06-18-2011)
well , not ...
if im bored always type in some random shit even my friends name XDDDD
thatz because (i know its really stupid) im afraid AntiCheat programs scan for those names like "hack" or "hook".
ok but that Base is total Wrong
can you help me correcting it ?
i know its a mess !
BUT with skullheads tip , i think i take less shots to kill an enemy
Last edited by elitexxxmate; 06-16-2011 at 01:18 PM.
nope you just whant one to Fix your code so you can Releas it..
u forgot nall check also @royku there is nothing outing asdasd it is a declaration this also proof that u c&p because u c&p a cf base and u thought that this is the only to do it
DWORD WINAPI Hacks (LPVOID)
U clearly don't understand a thing Dude stop C&p and start learning
No u fucking retard but
if you are a good Coder or try to code you addd"weaponMgr"
or
"LTClient"
or what ever but not "adasda" how you know what it is ?
if the name is "asdfasd" you think you can small what the function is from "asdasd"
@royku
u must a restarted if code a hack and u don't know what it is and u cant red it look dude u keep on proving to me that u Copy and paste it is freaking declarations assdss , hacks , cf it dose not matter seriously red some C++ book first
Ofc, You can name it NoShitMgr ;P
And on Topic:
- lol, never seen this kind of coding , But you forgot a lot dude ;P CreateThread?
Asdasd or whatever it is, is like DWORD WINAPI hacks/hax ;P
just another stupid word --'
(_¸.•*´'`°¤¸'¸¤°´'`*•.¸_)
Video Creator
GFX Creator
C++ Coder
D3D Coder
(¯`*•.¸,¤°´'`°¤,¸.•*´¯)
@elitexxxmate leecher? This is crap lolz. I'll fix a bit if it for you since pubs seem to be all the rage.
Code:// dllmain.cpp : Defines the entry point for the DLL application. #include <Windows.h> /* everything here is commented out for being stupid and wasteful #include <iostream> #define WeaponClass 0xDE710 #define AmmoDamage 0xA05E48 int damage = (int) (0xA05E48); int demege = (int) (0x2534); int damega = (int ) (0x7F8); */ using namespace std; DWORD hShell = (DWORD) GetModuleHandleA("CShell.dll"); // also stupid#define LTCLIENT 0X3147F0 DWORD WINAPI asdasd (LPVOID) { bool exit = false /* the way your using this bool is stupid and a waste as well bool asder = false; */ while ( exit == false) // gay and unnecessary while(1) { // why?!? Sleep(100); if(GetAsyncKeyState((VK_NUMPAD1)&1)) { // WTF NOOB asder = !asder; } /* you have no idea what your doing lolol leaecheSleep(100); DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll"); if(asder) */ // wtf is up withe bracket more noobness { Sleep(100); for(int i=0 ; i<445 ; i++) *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0x103147F0))+(4*i))) + 0x7F8) = FLT_MAX ; } } } BOOL WINAPI DllMain(HINSTANCE hDll,DWORD dwAttached, LPVOID lpReserved) { if(dwAttached == DLL_PROCESS_ATTACH); DisableThreadLibraryCalls(hDll); { MessageBoxA(NULL,"injected","injected",NULL); CreateThread(NULL,NULL,asdasd,NULL,NULL,NULL); } return TRUE; }
THERE YOU GO FIXED , unfortunately it has no features because you didn't put any in
Last edited by tdct; 06-17-2011 at 04:32 AM.
elitexxxmate (06-16-2011)
OMFG I KNOW ITS A DIRTY MESS!!!!!!!!!!!!!!!!!
i let the defines cuz i tried another methods but they FAILED !!
and my CrossFire freezed when i injected the hacks ->> RAGE! ->> Put in sleeps trololololol -> mess up the code --> WTF