Urgently help needed

Status
Not open for further replies.
Hello ,
i have checked some of the old posts it says that u have to have a custom zone server for it
its hard coded on the ZS.

btw u can ask senior member they may be do it for you
 
No 1 can help u for this,
Coz PK disable can only be done in a custom zoneservers.
NO development on PK disabling in an existing ZS,
And I dnt think it can be done in this ZS.
One and only option is custom zoneserver.
 
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 **** 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
 
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 **** 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

This is french for me. Can you please take my Zoneserver and do it for me? :thumbup:
 
@ Deep here it is

disable pk in map 53
Asking a off topic help can u explain how to implement pvp shout in zs
thanks in advance
 
Status
Not open for further replies.
Back