same for me to still not loading whit the "L" same story whit "L" or whitout "L"
same for me to still not loading whit the "L" same story whit "L" or whitout "L"
For me is 100% Working,So Sorry dudes.
IDK what do u mean with cshell doesn't load
but the important is my hack working fine
that just get's the handle of CShell when it's loaded..
@kmanev073 try LoadLibraryA
EDIT : u can't load a Dll with the GetModuleHandle Function it gets the handle of a specified module. The module has to be loaded by a calling process...so when u do GetModuleHandleA("CShell.dll")..it doesn't load the dll...it gets the handle of the module, when it is called by a process..by handle i mean the memory inside the module..
Last edited by DaRk; 04-16-2012 at 04:31 PM.
@DaRk and how to "ust get's the handle of CShell when it's loaded" if Sleep() it's not working if you use while , do while ,recal loop's to check CShell.dll the game just not start
Edit : whatever he load the "DWORD cshell = (DWORD)(GetModuleHandleA("CShell.dll"));" cshell it's NULL it not loaded ...
and whit LoadLibraryA it give invalid CShell.dll ..blabla.. error
Last edited by bandi12; 04-16-2012 at 04:41 PM.
u just do this GetModuleHandleA("CShell.dll") u're done
but cody said Crossfire or Xtrap can kill GetModuleHandle so @kmanev073 i think that's why it doesn't work for u
i am not sure though..cody<3 said it can kill so..correct me if am wrong @giniyat101 @~FALLEN~
Last edited by DaRk; 04-16-2012 at 04:45 PM.
wtf do you mean?? the game cannot start without this file..
does it even not loaded without hacking?
[img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]
1. Loading CShell
After the includes and defines you have to load CShell. There are 2 ways. (Under it you must put Weaponmgr, WallMgr or GhostMgr).
First:
Second:Code:DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll"); DWORD pWallMgr = *(PDWORD)(CShell+WallMgr);
Code:DWORD CShell = (DWORD)LoadLibraryA("CShell.dll"); DWORD pWallMgr = *(PDWORD)(CShell+WallMgr);
-iFaDy..* (04-17-2012)
@darlwis First way "CShell" and "pWallMgr" it's NULL( GetModuleHandleA("CShell.dll"); "CShell.dll" it's returning NULL CShell.dll it's not loaded atleast in the code) and the Secound one it give's invalid CShell.dll (CF error) so if the secound one it's get error i think that CF load CShell.dll bk it's get error so i thing something block's GetModuleHandleA("CShell.dll") to load the CShell.dll
i am using Win xp sp3 32bit another usser's have the same problem on win 7 64 bit i don't kow what to do i will try to reinstal CF but i don't think that will help and it's not 2-3 usser are a lot of usser's having this problem
Last edited by bandi12; 04-17-2012 at 06:46 AM.
XTrap detects the call to the function when the CALL hasn't even executed.
u dont load CShell.dll crossfire.exe loads it..i think the reason @kmanev073 's hack doesn't work for him is because he calls GetModuleHandleA("CShell.dll") before CShell actually loads. The GetModuleHandle function doesn't load CShell..it gets the handle of it when it is loaded..
@kmanev073 try doing this :
Code:if(GetModuleHandleA("CShell.dll)!=NULL && GetModuleHandleA("ClientFx.fxd") !=NULL) { ur hacks here(); }
---------- Post added at 04:30 PM ---------- Previous post was at 04:27 PM ----------
the solution would be very easy
just do this :
that will only start the hacks if CShell.dll and ClientFx.fxd is loaded..Code:if(GetModuleHandleA("CShell.dll)!=NULL && GetModuleHandleA("ClientFx.fxd")!=NULL) { ur hacks(); }
Last edited by DaRk; 04-17-2012 at 04:28 PM.
yes CShell.dll it's not loaded the hack don't run i understand this , and yes CShell.dll and ClientFx.fxd is NULL so let's say i try to load it befor CF load it . Now my question/problem is how to delay the loading of CShell.dll in my code bk if i use Sleep() ,while, do while ,recal loop's to check if CShell.dll can be loaded , the game it's not starting ( i think Xtrap detect the loop) , so how can i check whit a loop if CShell.dll is loaded in CF or not if not then check it again and again ...
Last edited by bandi12; 04-18-2012 at 05:42 AM.