友情提示:奇迹私服无保障,喜爱奇迹请支持官方奇迹MU!

游戏资料库

你当前的位置:奇迹私发网 > 技术资料 > 内容

技术资料

实现任意地图禁止允许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

奇迹私服

本文标签:

如需转载,请注明本文链接:http://www.598mu.com/jishu/201304033770.html



上一篇:圣导师用PL网站系统转生后,统率不为零解决方案

下一篇:使1.00.18支持400级以上进入血色,恶魔,赤色,卡利玛