配合修改完成转生装备属性显示
这段时间小编收到了很多类似的问题,大多数都是一些新近传奇私服gm他们对修改传奇客服端有一定的技术但是不是非常精通,经常会遇到一些意想不到的问题。比如修改完成转生装备属性显示问题就有很多玩家给小编发来提问,其实这个问题还是比较好解决的只要我们适当对表进行一些小的变通在对算法上进行一些优化就能很快解决这个问题。具体的修改方法如下,希望对各位传奇gm能够有所帮助才好。以前说的装备显示暗码,其实是MIR不支持,可作如下修改,就可以
M2作如下修改[原理]:
借助Dsam代码解释[兰色]:
* Referenced by a (U)nconditional or (C)onditional Jump at Addresses:
|:004C50FE(C), :004C5131(C)
|
:004C5135 8B45F4 mov eax, dword ptr
:004C5138 0FB64024 movzx eax, byte ptr ;DB里的NEED
:004C513C B904000000 mov ecx, 00000004 ;除数
:004C5141 99 cdq ;EAX进位到EDX
:004C5142 F7F9 idiv ecx ;除法
:004C5144 8BC8 mov ecx, eax ;eax = 商
:004C5146 8BC2 mov eax, edx ; eDx = 余数 织梦好,好织梦
:004C5148 8B55FC mov edx, dword ptr
:004C514B 384A35 cmp byte ptr , cl ;判断PLAYER是否符合穿戴条件
:004C514E 7279 jb XXXXXXXX ->补充提示
:004C5150 2C01 sub al, 01
:004C5152 720C jb 004C5160
:004C5154 741E je 004C5174
:004C5156 FEC8 dec al
:004C5158 7437 je 004C5191
:004C515A FEC8 dec al
:004C515C 7450 je 004C51AE
:004C515E EB69 jmp 004C51C9 内容来自dedecms
* Referenced by a (U)nconditional or (C)onditional Jump at Address:
|:004C5152(C)
|
:004C5160 8B45FC mov eax, dword ptr
:004C5163 8A4034 mov al, byte ptr
:004C5166 8B55F4 mov edx, dword ptr
:004C5169 3A4225 cmp al, byte ptr
:004C516C 725B jb 004C51C9 ;需要级别
:004C516E C645F301 mov , 01
:004C5172 EB55 jmp 004C51C9
* Referenced by a (U)nconditional or (C)onditional Jump at Address:
|:004C5154(C)
|
:004C5174 8B45FC mov eax, dword ptr
:004C5177 668B809E010000 mov ax, word ptr
:004C517E E8A529F4FF call 00407B28
:004C5183 8B55F4 mov edx, dword ptr
:004C5186 3A4225 cmp al, byte ptr
:004C5189 723E jb 004C51C9;需要DC
:004C518B C645F301 mov , 01
:004C518F EB38 jmp 004C51C9
* Referenced by a (U)nconditional or (C)onditional Jump at Address:
|:004C5158(C)
|
:004C5191 8B45FC mov eax, dword ptr
:004C5194 668B80A0010000 mov ax, word ptr
:004C519B E88829F4FF call 00407B28
:004C51A0 8B55F4 mov edx, dword ptr
:004C51A3 3A4225 cmp al, byte ptr
:004C51A6 7221 jb 004C51C9;需要MC
:004C51A8 C645F301 mov , 01
:004C51AC EB1B jmp 004C51C9
* Referenced by a (U)nconditional or (C)onditional Jump at Address:
|:004C515C(C)
|
:004C51AE 8B45FC mov eax, dword ptr
:004C51B1 668B80A2010000 mov ax, word ptr
:004C51B8 E86B29F4FF call 00407B28
:004C51BD 8B55F4 mov edx, dword ptr
:004C51C0 3A4225 cmp al, byte ptr
:004C51C3 7204 jb 004C51C9;需要SC
:004C51C5 C645F301 mov , 01
* Referenced by a (U)nconditional or (C)onditional Jump at Addresses:
|:004C50B8(U), :004C50DE(U), :004C514E(C), :004C515E(U), :004C516C(C)
|:004C5172(U), :004C5189(C), :004C518F(U), :004C51A6(C), :004C51AC(U)
|:004C51C3(C)
|
:004C51C9 807DF300 cmp byte ptr , 00
:004C51CD 750F jne 004C51DE
:004C51CF 33C9 xor ecx, ecx
* Possible StringData Ref from Code Obj ->"不适合你使用"
|
:004C51D1 BA28524C00 mov edx, 004C5228
:004C51D6 8B45FC mov eax, dword ptr
:004C51D9 E8465FFFFF call 004BB124
* Referenced by a (U)nconditional or (C)onditional Jump at Addresses:
|:004C510F(U), :004C51CD(C), :0050A0CF(U), :0050AF47(U)
|
:004C51DE 8A45F3 mov al, byte ptr
:004C51E1 8BE5 mov esp, ebp
:004C51E3 5D pop ebp
:004C51E4 C3 ret
->补充提示MOV EAX, ECX
xor edx, edx
push edx
push eax
lea eax, dword ptr
call 004091F0
lea eax, dword ptr
mov edx, XXXXXXXX ->"次转生方能配备该装备"
call 00403ED4
mov edx, dword ptr
xor ecx, ecx
mov eax, dword ptr
call 004BB124
MOV BYTE PTR , 00
jmp 004C51DE
这样就完全简化原来转3的转生装备检测,省了N多代码
普通mir.exe修改,完成转生装备的显示
1:
找:A144404A008A40242C0172177460FEC80F84A9000000FEC80F84F2000000E9F10D0000A19C3E4A008B008A40308B1544404A003A422572068B450CC600018B4510FF3068E4DA48008D55E0A144404A000FB64025E80BB2F7FFFF75E08B4510BA03000000E82B72F7FFE9A60D0000A19C3E4A008B00668B4036E8F69DF7FF8B1544404A003A422572068B450CC600018B4510FF3068F8DA48008D55E0A144404A000FB64025E8BAB1F7FFFF75E08B4510BA03000000E8DA71F7FFE9550D0000A19C3E4A008B00668B4038E8A59DF7FF8B1544404A003A422572068B450CC600018B4510FF30680CDB48008D55E0A144404A000FB64025E869B1F7FFFF75E08B4510BA03000000E88971F7FFE9040D0000A19C3E4A008B00668B403AE8549DF7FF8B1544404A003A422572068B450CC600018B4510FF306820DB48008D55E0A144404A000FB64025E818B1F7FFFF75E08B4510BA03000000E83871F7FFE9B30C0000
换:8D55E0A144404A000FB64025E853B2F7FFA144404A000FB64024B90400000099F7F9528B159C3E4A008B123A423176188D55E0E82CB2F7FF588B4510FF30682DCC4800E9C7000000582C017213743BFEC87464FEC80F8489000000E9B40D0000A19C3E4A008B008A40308B1544404A003A422572068B450CC600018B4510FF3068E4DA4800E985000000A19C3E4A008B00668B4036E81E7AF7FF8B1544404A003A422572068B450CC600018B4510FF3068F8DA4800EB58A19C3E4A008B00668B4038E8F179F7FF8B1544404A003A422572068B450CC600018B4510FF30680CDB4800EB2BA19C3E4A008B00668B403AE8C479F7FF8B1544404A003A422572068B450CC600018B4510FF306820DB4800FF75E08B4510BA03000000E87571F7FFE9F00C000000FFFFFFFF09000000D0E8D2AAD7AAC9FA2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2:
找:A144404A008A40242C0172177456FEC80F8495000000FEC80F84D4000000E9690A0000A19C3E4A008B008A40308B1544404A003A422572068B450CC600018D55E0A144404A000FB64025E88DAEF7FF8B4DE08B4510BAE4DA4800E8396EF7FFE9280A0000A19C3E4A008B00668B4036E8789AF7FF8B1544404A003A422572068B450CC600018D55E0A144404A000FB64025E846AEF7FF8B4DE08B4510BAF8DA4800E8F26DF7FFE9E1090000A19C3E4A008B00668B4038E8319AF7FF8B1544404A003A422572068B450CC600018D55E0A144404A000FB64025E8FFADF7FF8B4DE08B4510BA0CDB4800E8AB6DF7FFE99A090000A19C3E4A008B00668B403AE8EA99F7FF8B1544404A003A422572068B450CC600018D55E0A144404A000FB64025E8B8ADF7FF8B4DE08B4510BA20DB4800E8646DF7FFE953090000
换:8D55E0A144404A000FB64025E8CBAEF7FFA144404A000FB64024B90400000099F7F9528B159C3E4A008B123A4231761E8D55E0E8A4AEF7FF588B4DE08B4510BA2DCC4800E84F6EF7FFE93E0A00008B450CC60001582C01720F742FFEC87453FEC87477E9240A0000A19C3E4A008B008A40308B1544404A003A422572068B450CC60001BAE4DA4800EB76A19C3E4A008B00668B4036E89676F7FF8B1544404A003A422572068B450CC60001BAF8DA4800EB4EA19C3E4A008B00668B4038E86E76F7FF8B1544404A003A422572068B450CC60001BA0CDB4800EB26A19C3E4A008B00668B403AE84676F7FF8B1544404A003A422572068B450CC60001BA20DB48008B4DE08B4510E88D6DF7FFE97C0900000000000000000000000000000000000000000000000000000000000000000000000000000000000000
以上就是小编对传奇sf修改完成后转生装备属性显示不出来这个问题的一个解决方法,或许着不是唯一的解决方案,但是最起码小编在之前的服务器中都是用的这个方法并且基本上都得到了解决。如果各位玩家有新的问题解决方案或者方法请各位一定要告诉我们,小编将会给予一定的感谢费。如果您对这个方法还有什么不了解的地方请随时联系我们,小编都会尽快为您解答。
真是被感动的痛哭流涕…… 激动人心,无法言表! 楼主加油,我们都看好你哦。 无回帖,不论坛,这才是人道。 真是难得给力的帖子啊。 太生气了,无法HOLD啦 >_<...... 淡定,淡定,淡定…… 看到这帖子真是高兴! 激动人心,无法言表!
页:
[1]
2