
Originally Posted by
getdeepz
Ok here's how you do it.
open zoneserver.exe in a debugger. Fine the function where pking is done by runtime debugging. Put some breakpoints on the function beginning. Go in game and do some pk pk. When you click attack, it ll break at the function.
Come into the debugger and go step by step and stop at the point where there will be check for Pk enable or disable, cos ther are many places where there is no pk like when your level is below 11 or you are in town etc. So what you do is, jump to a code cave and type an assembly code to check for a map number. there will be a data byte with the map where you try to attack. So all you do is use this code
Push Eax
Mov Eax <address of the map byte>
Cmp Eax, <your map number in hex>
JE <address of the function where you say player that pk is disabled.
JMP <address of pk>
Debugging softwares can be googled and you ll get a lot of it.
Choose one which is good with C++ cos, zoneserver is programmed in C++ ( i guess). To find which programing laguage is used, you can use a software called "PEid"
this is the code. Dont ask me in more detail cos its too tough to explain or "TEACH" to ppl who dont know a shit about programing or debugging or assembly. Learning debugging is not by ambition, you need a lot of WILL POWER AND DEDICATION ; also a little bit of brain :P
Thats why i told you to gimme the file, dont ask me anything else. It took me almost 8 months to learn and find it out. so dont expect to learn it within a day or 2