一休论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 697|回复: 0

[常用脚本] 限制在某些地图扔背包物品和交易-转

[复制链接]
  • TA的每日心情
    开心
    2015-2-10 22:09
  • 签到天数: 1 天

    [LV.1]初来乍到

    发表于 2014-12-17 15:22:12 | 显示全部楼层 |阅读模式
    网络广告风险自担 网络广告风险自担
    网络广告风险自担
    [size=13.63636302947998px]把需要限制的地图,在mapinfo里加上 QUIZ 标志
    禁止扔背包的物品:
    :004C5A87 8B45FC         mov eax, dword ptr [ebp-04]
    :004C5A8A 80B81703000000     cmp byte ptr [eax+00000317], 00
    :004C5A91 750F          jne 004C5AA2
    :004C5A93 8B45FC         mov eax, dword ptr [ebp-04]
    :004C5A96 8B80F8020000      mov eax, dword ptr [eax+000002F8]
    :004C5A9C 80783000        cmp byte ptr [eax+30], 00
    :004C5AA0 7405          je 004C5AA7
    :004C5AA2 E9C6000000       jmp 004C5B6D
    :004C5AA7 8B45FC         mov eax, dword ptr [ebp-04]
    :004C5AAA 8B800C040000      mov eax, dword ptr [eax+0000040C]
    :004C5AB0 8B4008         mov eax, dword ptr [eax+08]
    :004C5AB3 8945E4         mov dword ptr [ebp-1C], eax
    :004C5AB6 48           dec eax
    :004C5AB7 85C0          test eax, eax
    :004C5AB9 7CE7          jl 004C5AA2
    :004C5ABB 33C0          xor eax, eax
    :004C5ABD 8945EC         mov dword ptr [ebp-14], eax
    查找:
    E82018F4FF8B55FC2B82180300003DB80B00000F86CD0000008B45FC8B800C0400008B40084885C00F8CAA000000408945E4C745EC00000000
    替换:
    8B45FC80B81703000000750F8B45FC8B80F8020000807830007405E9C60000008B45FC8B800C0400008B40088945E44885C07CE733C08945EC
    [size=13.63636302947998px]
    禁止脱下装备(不能扔就行了,这个可以不用修改):
    :004DB04E 8B45FC         mov eax, dword ptr [ebp-04]
    :004DB051 80B81703000000     cmp byte ptr [eax+00000317], 00
    :004DB058 7405          je 004DB05F
    :004DB05A E909020000       jmp 004DB268
    :004DB05F 8B45FC         mov eax, dword ptr [ebp-04]
    :004DB062 8B80F8020000      mov eax, dword ptr [eax+000002F8]
    :004DB068 80783000        cmp byte ptr [eax+30], 00
    :004DB06C 75EC          jne 004DB05A
    :004DB06E 8A45FB         mov al, byte ptr [ebp-05]
    :004DB071 2C09          sub al, 09
    :004DB073 73E5          jnb 004DB05A
    :004DB075 0FB645FB        movzx eax, byte ptr [ebp-05]
    :004DB079 8D0440         lea eax, dword ptr [eax+2*eax]
    :004DB07C 8B55FC         mov edx, dword ptr [ebp-04]
    :004DB07F 6683BCC22404000000   cmp word ptr [edx+8*eax+00000424], 0000
    :004DB088 0F86D1010000      jbe 004DB25F
    查找:
    8B45FC80B817030000000F850A0200008A45FB2C090F83FF01000033C08A45FB8D04408B55FC6683BCC224040000000F86DC01000033C08A45FB8D04408B55FC
    替换:
    8B45FC80B817030000007405E9090200008B45FC8B80F80200008078300075EC8A45FB2C0973E50FB645FB8D04408B55FC6683BCC224040000000F86D1010000
    [size=13.63636302947998px]
    禁止交易:
    :004DD0D2 8B45FC         mov eax, dword ptr [ebp-04]
    :004DD0D5 E8B265FEFF       call 004C368C
    :004DD0DA 8945F8         mov dword ptr [ebp-08], eax
    :004DD0DD 85C0          test eax, eax
    :004DD0DF 7405          je 004DD0E6
    :004DD0E1 3B45FC         cmp eax, dword ptr [ebp-04]
    :004DD0E4 7505          jne 004DD0EB
    :004DD0E6 E90E010000       jmp 004DD1F9
    :004DD0EB 80B81703000000     cmp byte ptr [eax+00000317], 00
    :004DD0F2 750D          jne 004DD101
    :004DD0F4 8B45F8         mov eax, dword ptr [ebp-08]
    :004DD0F7 E89065FEFF       call 004C368C
    :004DD0FC 3B45FC         cmp eax, dword ptr [ebp-04]
    :004DD0FF 7405          je 004DD106
    :004DD101 E9DA000000       jmp 004DD1E0
    :004DD106 8B45FC         mov eax, dword ptr [ebp-04]
    :004DD109 80B81703000000     cmp byte ptr [eax+00000317], 00
    :004DD110 750C          jne 004DD11E
    :004DD112 8B80F8020000      mov eax, dword ptr [eax+000002F8]
    :004DD118 80783000        cmp byte ptr [eax+30], 00
    :004DD11C 7406          je 004DD124
    :004DD11E E9ED000000       jmp 004DD210
    查找:
    8B45FC80B817030000000F852E0100008B45FCE8A265FEFF8945F8837DF8000F84020100008B45F83B45FC0F84F60000008B45F8E88165FEFF3B45FC0F85CC0000008B45F880B817030000000F85BC000000
    替换:
    8B45FCE8B265FEFF8945F885C074053B45FC7505E90E01000080B81703000000750D8B45F8E89065FEFF3B45FC7405E9DA0000008B45FC80B81703000000750C8B80F8020000807830007406E9ED00000090




    上一篇:传奇天时(早晨0\白天1\黄昏2\黑夜3)
    下一篇:教你如何买怪物练级脚本
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    网络广告风险自担

    小黑屋|传奇一条龙|GM基地|GM版本库|一休论坛

    GMT+8, 2016-12-3 12:33 , Processed in 0.592802 second(s), 81 queries , Gzip On.

    传奇一条龙 GM基地 版本库 传奇论坛 传奇漏洞论坛 传奇服务端下载 传奇版本

    站长QQ:1921249589 一休论坛资料来自网络仅供学习交流之用,用于商业后果自负

    快速回复 返回顶部 返回列表