Quote:
Originally Posted by lolixxx
So what now? You won't share it anyway and no one is gonna pay for this 5 minute job.
|
Hello @
here is quick hint how to find the offset of the error "cannot create semaphore : module already executing" and skip it. I am using the Game Server module in this example its similarly for other modules.
Searching and patching offset example with OllyDbg
1. Open the executable file in OllyDbg (i am using v OllyDbg V1.10)
2. Right mouse button ->Search->All referenced text strings.A new window with text strings will be open. Go to the first line and select it then press right mouse button -> Search for text.Type
cannot create semaphore : module already executing in search box.Click on the first offset that matches to your search.
Its looks like this(your offset will be different from example):
Code:
008C50F5 |. 75 46 JNZ SHORT SR_GameS.008C513D
008C50F7 |. 68 E086AD00 PUSH SR_GameS.00AD86E0 ; ASCII "cannot create semaphore : module already executing"
008C50FC |. E8 1FE20200 CALL SR_GameS.008F3320
008C5101 |. 68 E086AD00 PUSH SR_GameS.00AD86E0 ; ASCII "cannot create semaphore : module already executing"
008C5106 |. BE 90CBA500 MOV ESI,SR_GameS.00A5CB90 ; ASCII "SR_GameServer"
Double click on the instruction line
Code:
JNZ SHORT SR_GameS.008C513D
, edit the instruction
JNZ to
JMP and press Assemble button.
Code:
JMP SHORT SR_GameS.008C513D
3. Close the assemble window if is still open and press right mouse button in CPU main thread section ->Copy to executable ->All modifications. Press copy all in dialog box.A new window will show ,press right mouse button->Save file and save your new file.
That's all. Use same technique for other modules.
Regards