热点推荐

小喇叭+ 发布

01-16 02:17
01-16 02:04
01-13 17:30
查看: 798|回复: 0

[脚本示例] 完善限制等级进入地图

[复制链接]
avatar

签到天数: 350 天

[LV.8]以坛为家I

7651

主题

255

回帖

31万

积分

司徒主管

Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20

UID
1
司徒币
260203
传世币
3000
元宝
0
在线时间
266 小时

最佳新人灌水之王

QQ
online_admin 发表于 2022-1-3 08:33:43 | 显示全部楼层 |阅读模式
mapinfo中设 Lnn CHECKQUEST(QUESTFILE)
不管是否够级别,都会触发这个脚本:
例子:
mapinfo.txt中
[0122 皇宫] FIGHT NORECALL L15 CHECKQUEST(M0122)  dedecms.com
mapquest_defM0122.txt  织梦好,好织梦
[@main]
#IF
CHECKLEVEL 15
#ELSESAY
卫兵大喝一声:   
皇宫重地,闲人莫进!

#SAY
卫兵为你打开了皇宫之门。 织梦好,好织梦

UE修改:
查找:
488B55EC88422D8A45448B55EC
替换为:
4C8842188A454888422D8A4544 copyright dedecms

查找:
8B45FC0FB640348B55F83B42187D0D33C05A5959648910E9EE0300008B45F883783C0074128B45F88B403C8B55FC66BBEBFFE8A285F4FF
替换:
8B55FC0FB64A348B45F8837818007427518B403C85C0740966BBEBFFE8B885F4FF588B55F83B42187D0D33C05A5959648910E9D3030000 dedecms.com

上线RUN
这个是[Noeyes]的原改法 织梦好,好织梦
防止@reloadnpc all指令删除run.txt
查找:408945B0C745F000000000A1
->
替换:908945B0C745F001000000A1  内容来自dedecms
初始化run.txt
查找:BAD44F4E008B08FF51348B45FC8B80D40200008B8008020000
-->
替换:50BAD44F4E008B08FF5134B8C45D4E00E83722FAFF8B45FC58  dedecms.com

上线调用mapquest_def/run.txt
查找:8B45FC0FB680A102000083F804777DFF248556A24C006AA24C007EA24C0092A24C00A6A24C00BAA24C00B901000000BA24A64C008B45FCE8A80EFFFFEB4EB901000000BA44A64C008B45FCE8940EFFFFEB3AB901000000BA68A64C008B45FCE8800EFFFFEB26B901000000BA8CA64C008B45FCE86C0EFFFFEB12B901000000BAB0A64C008B45FCE8580EFFFFB901000000BAD4A64C008B45FCE8460EFFFFA11CA44E00803800745CB901000000BAF4A64C008B45FCE82A0EFFFFA190A44E008B00E8BA44FEFF8B15C8A04E003B027E348B45FC80B86D02000002732833C9BA44A74C008B45FCE8F90DFFFF33C9BA10A64C008B45FCE8EA0DFFFF8B45FCC680D405000001A17C9F4E008B008B55FC8982A40600006A006A006A006A006A0066B943278B55FC8B45FCE8EFE2FEFF6A006A006A006A006A0066B93E288B55FC8B45FCE8D6E2FEFF6A006A006A006A006A0066B945278B55FC8B45FCE8BDE2FEFF6A006A006A006A006A0066B982278B55FC8B45FCE8A4E2FEFF6A006A006A006A006A0066B98A278B55FC8B45FCE88BE2FEFF8D45B88B55FC83C215E8919AF3FF8B55B8A17CA04E008B00E81A00FDFF8B55FC8982200300008B45FC83B820030000000F848B0000008D45B4508B45FC8D88240300008B55FC8B45FC8B8020030000E8CBE3FCFF8B55B48B45FC0528030000E86B98F3FF8B45FC8B80200300008B400C8B10FF52144885C07C47408945E0C745F8000000008D4DB08B45FC8B80200300008B400C8B55F88B18FF530C8D45B0BA64A74C00E85A9AF3FF8B55B0B9010000008B45FCE89A0CFFFFFF45F8FF4DE075C4  内容来自dedecms

---->
替换:8B45FC0FB680A102000083F8047749FF248556A24C006AA24C0071A24C0078A24C007FA24C0086A24C00BA24A64C00EB1ABA44A64C00EB13BA68A64C00EB0CBA8CA64C00EB05BAB0A64C00B9010000008B45FCE88C0EFFFFB901000000BAD4A64C008B45FCE87A0EFFFFA11CA44E00803800745CA190A44E008B00E80045FEFF8B15C8A04E003B027E468B0DF0A64C00BAF4A64C008B45FC8B8098050000E8CDA0F8FF84C075298B45FC80B86D02000002731D33C9BAC0AE4C008B45FCE8220EFFFF33C033C08B45FCC680D605000001A17C9F4E008B008B55FC8982A40600006A006A006A006A006A0066B943278B55FC8B45FCE823E3FEFF6A006A006A006A006A0066B93E288B55FC8B45FCE80AE3FEFF6A006A006A006A006A0066B945278B55FC8B45FCE8F1E2FEFF6A006A006A006A006A0066B982278B55FC8B45FCE8D8E2FEFF6A006A006A006A006A0066B98A278B55FC8B45FCE8BFE2FEFF8D45B88B55FC83C215E8C59AF3FF8B55B8A17CA04E008B00E84E00FDFF8B55FC8982200300008B45FC83B820030000000F848B0000008D45B4508B45FC8D88240300008B55FC8B45FC8B8020030000E8FFE3FCFF8B55B48B45FC0528030000E89F98F3FF8B45FC8B80200300008B400C8B10FF52144885C07C47408945E0C745F8000000008D4DB08B45FC8B80200300008B400C8B55F88B18FF530C8D45B0BAE8AE4C00E88E9AF3FF8B55B0B9010000008B45FCE8CE0CFFFFFF45F8FF4DE075C4A190A44E008B008B406C8B40084883F8007C21A190A44E008B008B406C33D2E88272F4FF85C0740C8B55FC66BBEBFFE84A8CF3FF  dedecms.com


可是在第三处查找不到,所以我按照对比了一下,我用的是ftsm7月1日发布的免费版转三M2可以按照以下修改: 织梦好,好织梦
防止@reloadnpc all指令删除run.txt
查找:408945B0C745F000000000A1
->
替换:908945B0C745F001000000A1  内容来自dedecms
初始化run.txt
查找:BAD44F4E008B08FF51348B45FC8B80D40200008B8008020000
-->
替换:50BAD44F4E008B08FF5134B8C45D4E00E83722FAFF8B45FC58  内容来自dedecms
上线调用mapquest_def/run.txt
绝对地址0xc9640h
查找:
8B45FC0FB680A102000083F804777DFF248556A24C006AA24C007EA24C0092A24C00A6A24C00BAA24C00B901000000BA24A64C008B45FCE8A80EFFFFEB4EB901000000BA44A64C008B45FCE8940EFFFFEB3AB901000000BA68A64C008B45FCE8800EFFFFEB26B901000000BA8CA64C008B45FCE86C0EFFFFEB12B901000000BAB0A64C008B45FCE8580EFFFFB901000000BAD4A64C008B45FCE8460EFFFFA11CA44E00803800745CB901000000BAF4A64C008B45FCE82A0EFFFFA190A44E008B00E8BA44FEFF8B15C8A04E003B027E348B45FC80B86D02000002732833C9BA44A74C008B45FCE8F90DFFFF33C9BA10A64C008B45FCE8EA0DFFFF8B45FCC680D405000001E942D001008B008B55FC8982A40600006A006A006A006A006A0066B943278B55FC8B45FCE8EFE2FEFF6A006A006A006A006A0066B93E288B55FC8B45FCE8D6E2FEFF6A006A006A006A006A0066B945278B55FC8B45FCE8BDE2FEFF6A006A006A006A006A0066B982278B55FC8B45FCE8A4E2FEFF6A006A006A006A006A0066B98A278B55FC8B45FCE88BE2FEFF8D45B88B55FC83C215E8919AF3FF8B55B8A17CA04E008B00E81A00FDFF8B55FC8982200300008B45FC83B820030000000F848B0000008D45B4508B45FC8D88240300008B55FC8B45FC8B8020030000E8CBE3FCFF8B55B48B45FC0528030000E86B98F3FF8B45FC8B80200300008B400C8B10FF52144885C07C47408945E0C745F8000000008D4DB08B45FC8B80200300008B400C8B55F88B18FF530C8D45B0BA64A74C00E85A9AF3FF8B55B0B9010000008B45FCE89A0CFFFFFF45F8FF4DE075C4 本文来自织梦

替换:
8B45FC0FB680A102000083F8047749FF248556A24C006AA24C0071A24C0078A24C007FA24C0086A24C00BA24A64C00EB1ABA44A64C00EB13BA68A64C00EB0CBA8CA64C00EB05BAB0A64C00B9010000008B45FCE88C0EFFFFB901000000BAD4A64C008B45FCE87A0EFFFFA11CA44E00803800745CA190A44E008B00E80045FEFF8B15C8A04E003B027E468B0DF0A64C00BAF4A64C008B45FC8B8098050000E8CDA0F8FF84C075298B45FC80B86D02000002731D33C9BAC0AE4C008B45FCE8220EFFFF33C033C08B45FCC680D605000001A17C9F4E008B008B55FC8982A40600006A006A006A006A006A0066B943278B55FC8B45FCE823E3FEFF6A006A006A006A006A0066B93E288B55FC8B45FCE80AE3FEFF6A006A006A006A006A0066B945278B55FC8B45FCE8F1E2FEFF6A006A006A006A006A0066B982278B55FC8B45FCE8D8E2FEFF6A006A006A006A006A0066B98A278B55FC8B45FCE8BFE2FEFF8D45B88B55FC83C215E8C59AF3FF8B55B8A17CA04E008B00E84E00FDFF8B55FC8982200300008B45FC83B820030000000F848B0000008D45B4508B45FC8D88240300008B55FC8B45FC8B8020030000E8FFE3FCFF8B55B48B45FC0528030000E89F98F3FF8B45FC8B80200300008B400C8B10FF52144885C07C47408945E0C745F8000000008D4DB08B45FC8B80200300008B400C8B55F88B18FF530C8D45B0BAE8AE4C00E88E9AF3FF8B55B0B9010000008B45FCE8CE0CFFFFFF45F8FF4DE075C4A190A44E008B008B406C8B40084883F8007C21A190A44E008B008B406C33D2E88272F4FF85C0740C8B55FC66BBEBFFE84A8CF3FF 织梦内容管理系统

帖子地址: 





上一篇:检查地图一个范围内怪物的脚本
下一篇:转3M2专用脚本命令
回复

使用道具 举报

懒得打字嘛,点击右侧快捷回复 【乱回复灌水将给予禁言处理】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则