原始传奇

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 115|回复: 0

禁止在某些地图扔背包物品和交易转

[复制链接]

4万

主题

4万

帖子

13万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
139393
发表于 2017-8-28 00:19:34 | 显示全部楼层 |阅读模式
把需要限制的地图,在mapinfo里加上QUIZ标志
禁止扔背包的物品:
:004C5A878B45FC         moveax,dwordptr[ebp-04]
:004C5A8A80B0     cmpbyteptr[eax+],00
:004C5A91750F          jne004C5AA2
:004C5A938B45FC         moveax,dwordptr[ebp-04]
:004C5A968B80F      moveax,dwordptr[eax+F8]
:004C5A9C        cmpbyteptr[eax+30],00
:004C5AA07405          je004C5AA7
:004C5AA2E9C       jmp004C5B6D
:004C5AA78B45FC         moveax,dwordptr[ebp-04]
:004C5AAA8B800C      moveax,dwordptr[eax+C]
:004C5AB08B4008         moveax,dwordptr[eax+08]
:004C5AB38945E4         movdwordptr[ebp-1C],eax
:004C5AB648           deceax
:004C5AB785C0          testeax,eax
:004C5AB97CE7          jl004C5AA2
:004C5ABB33C0          xoreax,eax
:004C5ABD8945EC         movdwordptr[ebp-14],eax
查找:
E82018F4FF8B55FC2B3DB80B00000F86CDB45FC8B800CBC00F8CAA45E4C745EC
替换:
8B45FC80B0750F8B45FC8B80FE9CB45FC8B800CBE44885C07CE733C08945EC
禁止脱下装备(不能扔就行了,这个可以不用修改):
:004DB04E8B45FC         moveax,dwordptr[ebp-04]
:004DB05180B0     cmpbyteptr[eax+],00
:004DB0587405          je004DB05F
:004DB05AE       jmp004DB268
:004DB05F8B45FC         moveax,dwordptr[ebp-04]
:004DB0628B80F      moveax,dwordptr[eax+F8]
:004DB068        cmpbyteptr[eax+30],00
:004DB06C75EC          jne004DB05A
:004DB06E8A45FB         moval,byteptr[ebp-05]
:004DB0712C09          subal,09
:004DB07373E5          jnb004DB05A
:004DB0750FB645FB        movzxeax,byteptr[ebp-05]
:004DB0798D0440         leaeax,dwordptr[eax+2*eax]
:004DB07C8B55FC         movedx,dwordptr[ebp-04]
:004DB07F6683BCC0   cmpwordptr[edx+8*eax+],0000
:004DB0880F86D      jbe004DB25F
查找:
8B45FC80B00F850AA45FB2C090F83FFC08A45FB8D04408B55FC6683BCC00F86DCC08A45FB8D04408B55FC
替换:
8B45FC80B07405EB45FC8B80FEC8A45FB2C0973E50FB645FB8D04408B55FC6683BCC00F86D
禁止交易:
:004DD0D28B45FC         moveax,dwordptr[ebp-04]
:004DD0D5E8B265FEFF       call004C368C
:004DD0DA8945F8         movdwordptr[ebp-08],eax
:004DD0DD85C0          testeax,eax
:004DD0DF7405          je004DD0E6
:004DD0E13B45FC         cmpeax,dwordptr[ebp-04]
:004DD0E47505          jne004DD0EB
:004DD0E6E90E       jmp004DD1F9
:004DD0EB80B0     cmpbyteptr[eax+],00
:004DD0F2750D          jne004DD101
:004DD0F48B45F8         moveax,dwordptr[ebp-08]
:004DD0F7E89065FEFF       call004C368C
:004DD0FC3B45FC         cmpeax,dwordptr[ebp-04]
:004DD0FF7405          je004DD106
:004DD101E9DA       jmp004DD1E0
:004DD1068B45FC         moveax,dwordptr[ebp-04]
:004DD10980B0     cmpbyteptr[eax+],00
:004DD110750C          jne004DD11E
:004DD1128B80F      moveax,dwordptr[eax+F8]
:004DD118        cmpbyteptr[eax+30],00
:004DD11C7406          je004DD124
:004DD11EE9ED       jmp004DD210
查找:
8B45FC80B00F852EB45FCE8A265FEFF8945F8837DF8000F8B45F83B45FC0F84FB45F8E88165FEFF3B45FC0F85CCB45F880B00F85BC
替换:
8B45FCE8B265FEFF8945F885CB45FC7505E90EB0750D8B45F8E89065FEFF3B45FC7405E9DAB45FC80B0750C8B80FE9ED
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|原始传奇 ( 皖ICP备14013508号 )  

GMT+8, 2019-1-20 05:07 , Processed in 1.653603 second(s), 28 queries .

我爱新开传奇发布网每日专业发布新开1.76传奇私服,

时时提供单职业传奇1.76复古传奇、1.76精品版本、

1.76金币版本的传奇开服信息,让您可以快速找到好玩的1.76传奇私服.

Powered By www.176yjfg.com  © 2016-2018  X3.4
快速回复 返回顶部 返回列表