ok so when I logged the modules of crossfire. cshell doesn't show up. which is weird b/c my see ghosts works, it is part cshell, but when I want to use weapon hacks cshell isnt there.
this is what was logged.
process: System.Diagnostics.Process (crossfire)
module: crossfire.exe
module: ntdll.dll
module: wow64.dll
module: wow64win.dll
module: wow64cpu.dll
I used this code:
Code:
long CShell = findModule("CShell.dll", CFPid);
private static long findModule(String modName, int cfpid)
{
Process temp = Process.GetProcessById(cfpid);
if (temp != null)
{
foreach (ProcessModule procmodule in temp.Modules)
{
logData("\tmodule: " + procmodule.ModuleName);
if (modName == procmodule.ModuleName)
{
return procmodule.BaseAddress.ToInt64();
}
}
}
return 0;
}
so I found this in crossfire.exe module. and wonder if this will get me anything. i was thinking that that address hold the data which is cshell's base address. since it says cshell hinstance.
Code:
005737BC 68 88D06600 PUSH Crossfir.0066D088 ; ASCII "cshell_hinstance"
0066D088 6373 68 ARPL WORD PTR DS:[EBX+68],SI
005D4608 68 D0666600 PUSH Crossfir.006666D0 ; ASCII "cshell.dll"
why cant i find cshell?