Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

PK Disable in specific map

Status
Not open for further replies.
Initiate Mage
Joined
Jan 26, 2012
Messages
75
Reaction score
72
This article was created with the help of Google translation.
If this post useful, please move to the tutorial.


You can find the area under the debugger and I opened the ZS.
By leveraging well here, you can make it impossible to PK the specified map.

Address | Command
00521FE1 | MOV EDX,DWORD PTR SS:[LOCAL.1]
00521FE4 | XOR EAX,EAX
00521FE6 | MOV AX,WORD PTR DS:[EDX+54]
00521FEA | CMP EAX,14 : Comparing the number of the current map - 0x14 = 20 = Nevia
00521FED | JNE SHORT 00522016 : Jump, if map is different from the number 20. PvP is possible.
00521FEF | MOV ECX,DWORD PTR SS:[LOCAL.1]
00521FF2 | MOV EDX,DWORD PTR DS:[ECX+98]
00521FF8 | AND EDX,000000FF
00521FFE | MOV EAX,DWORD PTR SS:[LOCAL.2]
00522001 | MOV ECX,DWORD PTR DS:[EAX+98]
00522007 | AND ECX,000000FF
0052200D | CMP EDX,ECX : Comparison of the village of Player1 and Player2
0052200F | JNE SHORT 00522016 : Jump, PvP is possible If the different village of Player1 and Player2.
00522011 |JMP 005220A6 : Jump, PvP is impossible If the same village of Player1 and Player2.
 
Last edited:
Joined
Jan 14, 2007
Messages
509
Reaction score
85
Great work man. I appreciate your contribution to the A3 Section.
Its good that you are posting a tutorial instead of spoonfeeding. This will help members to learn instead of just copy pasting stuffs.
 
Status
Not open for further replies.
Back
Top