LCKB
Fix pvp on/off - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Off-Topic (The Outer World) (https://lckb.dev/forum/forumdisplay.php?fid=198)
+---- Forum: General Discussion (https://lckb.dev/forum/forumdisplay.php?fid=147)
+---- Thread: Fix pvp on/off (/showthread.php?tid=258)

Pages: 1 2 3


- someone - 12-27-2011


Thats nice Smile but im not only interested by the fix itself, but also by the "how to" Wink
 

Make this section to have executable proprieties from char wizard.

 

Now open the Gameserver with a hex editor, Go to the end, of the file, and insert 1000BYtes (in hex, if in PEditor you made the size 1000, in hex editor insert 1000 in Hex not dec).Save the file and reopen it with PEditor, rebuild(now you have the new section, to add code).

 

You can add the code at the address 3f2000(you can see your section from ollydbg by pressing CTRL+Nm or view-> memory).




- Koko - 12-27-2011


Use at this address: 00459826

jz 7EC000

I dont know if you have a segment that starts at address 7EC000, goto 7EC000 and see if exists if not then use PEditor to add a new segment.

 

Lets get back to that post. I have some "blank" lines starting at 7EC000 ("ADD BYTE PTR DS:[EAX],AL"). So i dont need to add a new segment?

 

Also, i cant use

 

mov eax, [ebp+arg_0]

 

at 0007EC000, always the "Unrecognized identifier" message.

 

Im definitely a noob with that stuff lol




- rodnapk - 12-27-2011

this is very hard to me too=/




- someone - 12-27-2011


Every 7ECXXX change it into 7F2XXX(Your code sections, you can find it pressing, ALT+M, pvp section address).

 

mov eax, [ebp+arg_0]

This notation is for IDA, in OllyDbg is(Size ofan address 8bytes):

mov eax, [ebp+8]

or

mov eax, DWORD PTR SS:[ebp+8]

 

at 0007EC000, always the "Unrecognized identifier" message.
It doesnt have 8 bytes, it has 9.