markoj (10-13-2010)
@markoj
[php]void Searchaddies()
{
while(!ReadyHook())
Sleep(10);
LTC = FindPattern(all for the LTCClient);
}[/php]
[php]DWORD __stdcall GetAddy(void*)
{
Searchaddies();
return 0;
}[/php]
[php]int __stdcall DllMain ( HMODULE hDll, DWORD dwReason, void* lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, GetAddy, NULL, NULL, NULL);
}
return true;
}[/php]
there can be errors made that into Google Chrome not copied by my source, but i think u can do it^^
The Internet SHOULD Be Illegal
When you say
"Java is a great programming language because it works on all platforms"
it is just like
"anal sex is great because it works on all genders"
Are YOU a Troll?
markoj (10-13-2010)
better:
[php]
void PTC(const char* szCommand)//Marko's PTC Method
{
HMODULE hMod = GetModuleHandleA("CShell.dll");
if(hMod == NULL)
return;
static DWORD *Address = NULL;
if(Address == NULL)
Address = (DWORD*)FindPattErn((DWORD)GetModule("Engine.dll") , lala, (PBYTE)"", "");
//PTC command
}
[/php]
It only searches till it found the address.
For more: Learn C++ - 8.11 — Static member variables
markoj (10-14-2010)
Thanks btw i havent seen Gordon' on this site in forever :O
troll says: FUK YO COUCH NIGGA!
V[img]https://www.******************/forums/images/smilies/troll_run.gif[/img]
My goals list:
Legend:
Complete - Incomplete -
30 Posts: [] | 50 Posts: []
70 Posts: [] | 100 Posts: []
500 Posts: [] | 1,000 Posts: []
Release a CA NA pub: [] | Release a CFNA Pub: []
Pro C++ Coder: [] | Pro VB Coder: []
[IMG]https://images.encyclopediadramatic*****m/images/5/57/Pedobear_a.gif[/IMG]
Don't forget: