10-12-2011, 06:33 PM
Anyone know? in hex
|
Fix pvp on/off
|
|
10-12-2011, 06:33 PM
Anyone know? in hex
10-12-2011, 07:06 PM
its not so easy. you need to add a new section in the exe and add alot of code PVP mode patch v3 (you can set a subserver to be non-pvp by adding NON_PK=TRUE inside the gameserver config file) 00459826 jz loc_7EC000 and in our new section located at offset 35100 (virtual address 7EC000) 007EC000 mov eax, [ebp+arg_0] 007EC003 cmp dword ptr [eax+34h], 0 007EC007 jle loc_45991F 007EC00D mov eax, [ebp+arg_0] 007EC010 cmp dword ptr [eax+0AE4h], 0 007EC017 jnz loc_45991F 007EC01D mov eax, [ebp+arg_0] 007EC020 mov edx, [eax+5ACh] 007EC026 cmp dword ptr [edx], 8 007EC029 jz loc_45991F 007EC02F mov eax, [ebp+arg_0] 007EC032 cmp dword ptr [eax+20h], 0Fh 007EC036 jle loc_45991F 007EC03C push 10h 007EC03E mov ecx, [ebp+arg_0] 007EC041 call sub_4077A0 007EC046 movzx eax, al 007EC049 test eax, eax 007EC04B jnz loc_45991F 007EC051 push 20h 007EC053 mov ecx, [ebp+arg_0] 007EC056 call sub_4077A0 007EC05B movzx eax, al 007EC05E test eax, eax 007EC060 jnz loc_45991F 007EC066 push 40h 007EC068 mov ecx, [ebp+arg_0] 007EC06B call sub_4077A0 007EC070 movzx eax, al 007EC073 test eax, eax 007EC075 jnz loc_45991F 007EC07B push 0 007EC07D mov ecx, [ebp+arg_0] 007EC080 call sub_4245D0 007EC085 movzx eax, al 007EC088 test eax, eax 007EC08A jnz loc_45991F 007EC090 mov ecx, [ebp+arg_0] 007EC093 call sub_425650 007EC098 movzx eax, al 007EC09B cmp eax, 46h 007EC09E jz loc_45991F 007EC0A4 movzx eax, byte_7E02E0 007EC0AB cmp eax, 1 007EC0AE jz loc_45991F 007EC0B4 push 8 007EC0B6 mov ecx, [ebp+arg_0] 007EC0B9 call sub_4077A0 007EC0BE movzx eax, al 007EC0C1 test eax, eax 007EC0C3 jz short loc_7EC0DE 007EC0C5 push 10h 007EC0C7 mov ecx, [ebp+arg_0] 007EC0CA call sub_411D80 007EC0CF mov eax, [ebp+arg_0] 007EC0D2 mov dword ptr [eax+0D84h], 64h 007EC0DC jmp short loc_7EC0E8 007EC0DE push 8 007EC0E0 mov ecx, [ebp+arg_0] 007EC0E3 call sub_459A00 007EC0E8 jmp loc_459930
10-12-2011, 11:55 PM
I am having trouble creating a new section
10-16-2011, 10:16 AM
Yea in Hex would be nice ;D
10-16-2011, 10:30 AM
I am having trouble creating a new section You can use PEditor, (portable executable editor).
10-18-2011, 01:07 PM
Do we change: 00459826 |. 0F84 F3000000 JE GameServ.0045991F to 00459826 jz loc_7EC000 or do we add this? Also above or below? I think if people are going to explain how things are done at least give a bit more explanation..... like add... or show a before and after maybe? You all criticise people for not know what the hell is going on but again you dont assist in giving a hand to people with whats going on. I dont want the "If you dont know this then dont run a server bla bla bullcrap" because that is purely a greater example of why YOU shouldnt be running a server.
10-18-2011, 01:29 PM
Whenever I attempt to add or change the above I get "Unknown Identifer"....
10-19-2011, 09:08 AM
No one can answer?
10-19-2011, 09:21 AM
aSH' date=' post: 11531"']No one can answer? 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. |
|
« Next Oldest | Next Newest »
|