I don't see any problem to your code. Have you already checked your offset if it is correct or not?
I have made an external skin changer a while back and now when i updated offsets force update dosnt work heres the code. Thanks in advance
Code:DWORD m_dwClientState = 0x590D8C; //change void forceUpdate() { DWORD client = Mem->Read<DWORD>(Mem->EngineDLL_Base + dwClientState); if (Mem->Read<int>(client + 0x174) != -1) { Mem->Write<int>(client + 0x174, -1); } cout << "update extecuted" << endl; }
I don't see any problem to your code. Have you already checked your offset if it is correct or not?