This is my hook
And in Base.Update I haveCode: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; }
For some reason, I still dc after a minute after I log in.Code:void cBase::Update(void) { while(1) { this->PushToConsole( "ShowFps 1"); Sleep(iRenderSpeed); } }
Might the problem be the console command not the hook?