防止在沙漠等地出黄金杀人抢宝箱等恶意PK情况
利用这个修改,可以防止在沙漠等地出黄金杀人抢宝箱等恶意PK情况!!
00454FE0 . 83F8 05 CMP EAX,5
从这里开始修改:
00454FE3 . 7F 0A JG SHORT GameServ.00454FEF
00454FE5 > 33C0 XOR EAX,EAX
00454FE7 . E9 82130000 JMP GameServ.0045636E
00454FEC CC INT3
00454FED CC DB CC
00454FEE . CC8B4508 DD 08458BCC
00454FF2 . 33C9 XOR ECX,ECX
00454FF4 . 8A88 D9000000 MOV CL,BYTE PTR DS:[EAX+D9]
00454FFA . 81C1 0F504500 ADD ECX,GameServ.0045500F
00455000 . 8A01 MOV AL,BYTE PTR DS:[ECX]
00455002 . 84C0 TEST AL,AL
00455004 . 75 07 JNZ SHORT GameServ.0045500D
00455006 . 33C0 XOR EAX,EAX
00455008 . E9 61130000 JMP GameServ.0045636E
0045500D > EB 5B JMP SHORT GameServ.0045506A
0045500F 00 DB 00
00455010 00 DB 00
00455011 00 DB 00
00455012 00 DB 00
00455013 00 DB 00
00455014 01 DB 01
00455015 01 DB 01
00455016 01 DB 01
00455017 00 DB 00
00455018 00 DB 00
00455019 00 DB 00
0045501A 00 DB 00
0045501B 00 DB 00
0045501C 00 DB 00
0045501D 00 DB 00
0045501E 00 DB 00
0045501F 00 DB 00
00455020 00 DB 00
00455021 00 DB 00
00455022 00 DB 00
00455023 00 DB 00
00455024 00 DB 00
00455025 00 DB 00
00455026 00 DB 00
00455027 00 DB 00
00455028 00 DB 00
00455029 00 DB 00
0045502A 00 DB 00
0045502B 00 DB 00
0045502C 00 DB 00
0045502D 00 DB 00
0045502E 00 DB 00
0045502F 00 DB 00
00455030 00 DB 00
00455031 00 DB 00
00455032 00 DB 00
00455033 00 DB 00
00455034 00 DB 00
00455035 00 DB 00
00455036 00 DB 00
00455037 00 DB 00
00455038 00 DB 00
00455039 00 DB 00
0045503A 00 DB 00
0045503B 00 DB 00
0045503C 00 DB 00
0045503D 00 DB 00
0045503E 00 DB 00
0045503F 00 DB 00
00455040 00 DB 00
00455041 00 DB 00
00455042 00 DB 00
00455043 00 DB 00
00455044 00 DB 00
00455045 00 DB 00
00455046 00 DB 00
00455047 00 DB 00
00455048 00 DB 00
00455049 00 DB 00
0045504A 00 DB 00
0045504B 00 DB 00
0045504C 00 DB 00
0045504D 00 DB 00
0045504E 00 DB 00
0045504F 00 DB 00
00455050 00 DB 00
00455051 00 DB 00
00455052 00 DB 00
00455053 00 DB 00
00455054 00 DB 00
00455055 00 DB 00
00455056 00 DB 00
00455057 00 DB 00
00455058 00 DB 00
00455059 00 DB 00
0045505A . 00000000 DD 00000000
0045505E 00 DB 00
0045505F 00 DB 00
00455060 00 DB 00
00455061 00 DB 00
00455062 00 DB 00
00455063 . 00000000 DD 00000000
00455067 00 DB 00
00455068 00 DB 00
00455069 00 DB 00
到这里结束
0045506A > 8B55 D8 MOV EDX,DWORD PTR SS:[EBP-28]
0045506D . 0FBE82 CD00000>MOVSX EAX,BYTE PTR DS:[EDX+CD]
00455074 . 83F8 06 CMP EAX,6
上面是修改以后的反汇编代码,这个是MG_GS,以后不提供对vz_GS的支持
建议大家更换为MG_GS,这个版本较新
简单的改法就是在GS中从偏移量54FE3开始修改为:(到55069结束)
7F 0A 33 C0 E9 82 13 00 00 CC CC CC 8B 45 08 33 C9 8A 88 D9 00 00 00 81 C1 0F 50 45 00 8A 01 84
C0 75 07 33 C0 E9 61 13 00 00 EB 5B 00 00 00 00 00 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
OK,下面是设置的方法:
从5500F 开始是一个17字节的数组,每个字节对应一个地图,修改相应的字节为1则可以pk,为0则不可以pk
已经测试通过,相应的修改会出现在下个版本的MYGS中
来自 MG小组 微子科技
本文出自 7j45 > 奇迹一条龙