[Help] Gord's Hook
This is my hook
And in Base.Update I have
For some reason, I still dc after a minute after I log in.
Might the problem be the console command not the hook?
Code:
DWORD WINAPI HookD3DApis(LPVOID)
{
while ( !Base.IsGameReadyForHook() )
Sleep(iWaitTime);
FindPointer();
bool bValid = false;
while(true) {
bValid = GetAddressPtr(0) > 0;
if(bValid) {
Base.Update();
}
Sleep(300);
}
return 1;
}
Code:
void cBase::Update(void)
{
while(1)
{
this->PushToConsole( "ShowFps 1");
Sleep(iRenderSpeed);
}
}
Might the problem be the console command not the hook?


.