← Back to DevelopmentAging & Mixing viewer.dll generatorProgramsClan filesInternet Information ServiceOllyDbg tutorialsMiscellaneousSkinsLinks / Files

disable_hotuk

← Back to Miscellaneous
Disabling the hotuk.ini check is a good way to disable the GM features on the public client.
It prevents people trying to toy with the GM command, but also mistake from people who left a hotuk.ini file in their folder for some reason.

There's a conditionnal jump (JNE) that is taken if the file is found.

OllyDbg - Client side

00435E8C  |.  897424 4C     MOV DWORD PTR SS:[LOCAL.48],ESI
00435E90  |.  75 0E         JNE SHORT 00435EA0
00435E92  |.  5F            POP EDI


We just need to NOP it so the client behave as if it didn't find the file.

OllyDbg - Client side

00435E8C  |.  897424 4C     MOV DWORD PTR SS:[LOCAL.48],ESI
00435E90      90            NOP
00435E91      90            NOP
00435E92  |.  5F            POP EDI