LCKB
admin issue - 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: admin issue (/showthread.php?tid=249)

Pages: 1 2 3


- BashVendetta - 10-11-2011


You should of let them figure it out for themselves. If they cant fix something this easy they shouldnt be running a server. It may seem rude/cruel but its true.
 

I have been running servers for a very very long time and in the top ranks as well, ASM isnt everyones cup of tea considering most servers you work with dont require this form of editing.




- someone - 10-12-2011


Im trying to learn--

Please, how do I find this line in OllyDbg?

According to the MSDN the PE header is 1000 Bytes and looks something like this:

typedef struct _IMAGE_FILE_HEADER {
WORD Machine;
WORD NumberOfSections;
DWORD TimeDateStamp;
DWORD PointerToSymbolTable;
DWORD NumberOfSymbols;
WORD SizeOfOptionalHeader;
WORD Characteristics;
} IMAGE_FILE_HEADER,
*PIMAGE_FILE_HEADE

Source:

2

 

That file is in hex, and has file offset, you must calculate the virtual offset.

Virtual_Offset = (First_Address - Header) + File_Offset




- Aquilis - 10-12-2011


So how do I do with this:

6BB51 1C E9 03 00 00

 

How do I find and delete the line?

Sorry I did not know that I am trying to learn is serious!




- someone - 10-12-2011


So how do I do with this: 6BB51 1C E9 03 00 00

 

How do I find and delete the line?

Sorry I did not know that I am trying to learn is serious!

 

Open GameServer with Olly, scroll up till the first address use the equation posted above to calculate the address.

 

First_Address = 401000

Header = 1000

File_Offset = 6BB51

 

And you will see the rest.




- Aquilis - 10-12-2011


Virtual_Offset = (401000 - 1000) + 6BB51

Virtual_Offset = 400000 + 6BB51

Virtual_Offset = ?




- someone - 10-12-2011


This is a simple math, chapter 1 of this Book explains it all:

2

Art of Assembly

DOS 16 Bit Edition




- Aquilis - 10-12-2011


I do not understand much English, sorry =/

 

--

I got the book translated




- blankname - 10-12-2011


- open gameserver.exe with an hexeditor

 

- goto offset 6BB51

 

- replace 68 B0 BC 62 with E9 1C 03 00




- Aquilis - 10-12-2011


This is a simple math, chapter 1 of this Book explains it all:2

Art of Assembly

DOS 16 Bit Edition

Wow, this book is helping me a lot. Thank you!




- BashVendetta - 10-12-2011

Was just about to post the fix >.>