热点推荐

小喇叭+ 发布

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

[脚本示例] 幸运挖矿活动传奇添加教程与全套脚本

[复制链接]
avatar

签到天数: 350 天

[LV.8]以坛为家I

7651

主题

255

回帖

31万

积分

司徒主管

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

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

最佳新人灌水之王

QQ
online_admin 发表于 2021-12-1 00:35:11 | 显示全部楼层 |阅读模式
第一步 【记住;;必须在M2里 功能设置里 开启地图事件触发 打上勾】 本文来自织梦
首先添加4种物品的DB 我写在下面 你可以保存成TXT 用DB导入 dedecms.com
427,金币矿,31,0,1,75,0,0,280,10000,0,0,0,0,0,0,0,0,0,0,0,0,6000,5,
428,元宝矿,31,0,1,76,0,0,280,10000,0,0,0,0,0,0,0,0,0,0,0,0,6000,5,
429,经验矿,31,0,1,77,0,0,283,30000,0,0,0,0,0,0,0,0,0,0,0,0,10000,5,
430,物品矿,31,0,1,78,0,0,282,30000,0,0,0,0,0,0,0,0,0,0,0,0,10000,5, 织梦好,好织梦
第二步 dedecms.com

机器人脚本 织梦好,好织梦
D:MirserverMir200EnvirRobot_defAutoRunRobot.txt 添加下面内容 本文来自织梦

#AutoRun NPC RUNONDAY 1:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 2:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 3:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 4:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 5:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 6:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 7:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 8:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 9:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 10:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 11:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 12:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 13:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 14:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 15:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 16:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 17:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 18:50:00 @幸运矿场 内容来自dedecms
#AutoRun NPC RUNONDAY 19:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 20:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 21:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 22:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 23:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 00:50:00 @幸运矿场
#AutoRun NPC RUNONDAY 1:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 2:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 3:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 4:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 5:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 6:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 7:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 8:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 9:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 10:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 11:00:00 @幸运矿场结束 copyright dedecms
#AutoRun NPC RUNONDAY 12:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 13:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 14:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 15:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 16:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 17:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 18:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 19:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 20:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 21:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 22:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 23:00:00 @幸运矿场结束
#AutoRun NPC RUNONDAY 00:00:00 @幸运矿场结束 dedecms.com

织梦好,好织梦


第三步 copyright dedecms

D:MirserverMir200EnvirRobot_defRobotManage.txt 添加下面内容 copyright dedecms

[@幸运矿场]
#IF
#ACT
SENDMSG 1 每小时幸运矿场已经开始!!请大家及时去土城找NPC参加!
SENDMSG 1 每小时幸运矿场已经开始!!请大家及时去土城找NPC参加!
GMEXECUTE 开始提问 @幸运矿场 本文来自织梦

[@幸运矿场结束]
#IF
#ACT
SENDMSG 1 本次幸运矿场已经结束!!请大家下一小时继续参加!
SENDMSG 1 本次幸运矿场已经结束!!请大家下一小时继续参加!
GMEXECUTE 开始提问 @幸运矿场结束 织梦内容管理系统

第四步 dedecms.com
地图添加以下地图 D:MirserverMir200EnvirMapInfo.txt 本文来自织梦
[xykc|q004 幸运矿场] NODROPITEM NORECONNECT(3) MINE dedecms.com


第五步 织梦好,好织梦
地图触发 D:MirserverMir200EnvirMapEvent.txt 添加 本文来自织梦
xykc -1 -1 -1:1 3:*:0 2 1:@xykc 内容来自dedecms

第六步 织梦好,好织梦

D:MirserverMir200Envirmarket_defQFunction-0.txt 添加 内容来自dedecms
[@xykc]
#IF
RANDOM 10
#ACT
SENDMSG 7 您参加幸运矿场活动,获得了奖励:[金币矿]!
give 金币矿 1
break
#IF
RANDOM 10
#ACT
SENDMSG 7 您参加幸运矿场活动,挖出了奖励:[经验矿]!
give 经验矿 1
break
#IF
RANDOM 10
#ACT
SENDMSG 7 您参加幸运矿场活动,挖出了奖励:[元宝矿]!
give 元宝矿 1
break
#IF
RANDOM 10
#ACT
SENDMSG 7 您参加幸运矿场活动,挖出了奖励:[物品矿]!
give 物品矿 1
break 本文来自织梦
[@StdModeFunc75]
#CALL [幸运矿场金币.txt] @金币 dedecms.com

[@StdModeFunc76]
#CALL [幸运矿场元宝.txt] @元宝 copyright dedecms
[@StdModeFunc77]
#CALL [幸运矿场经验.txt] @经验 本文来自织梦

[@StdModeFunc78]
#CALL [幸运矿场物品.txt] @物品 织梦内容管理系统

第七步 织梦内容管理系统

D:MirserverMir200EnvirQuestDiary 内容来自dedecms

直接把下载的【幸运矿场.rar】解压到QuestDiary文件里 里面有爆率,可以自己任意修改 织梦内容管理系统

第八步 copyright dedecms
D:MirserverMir200EnvirMapQuest_defQManage.txt 文件添加下面内容 本文来自织梦
[@幸运矿场]

:
:
:

:!

--------------------------------------------------------
当前时间  本文来自织梦


[@wakuang]
#IF
MIN 50 59
#act
give 鹤嘴锄 1
TIMERECALL 10
MAPMOVE xykc
SENDMSG 1 勇士从土城幸运矿场NPC直奔金矿而去,让我们为他祝福吧!。
#ELSESAY
对不起时间未到,请稍后进入。 copyright dedecms

[@幸运矿场结束]
#IF
CheckRangeHumCount xykc 99 99 500 > 0
#ACT
MoveMapPlay xykc 3 333 333 织梦内容管理系统

第九步 dedecms.com
D:MirserverMir200EnvirMerchant.txt 添加以下内容
添加NPC
幸运矿场 3 343 321 幸运宝矿[运气] 0 5 0 0 0 3 0 6
挖矿老板 xyKC 15 13 挖矿老板[收矿] 0 16 0 0 0 3 0 3 内容来自dedecms


第十步 织梦好,好织梦

D:MirserverMir200Envirmarket_def 新建文件 幸运矿场-3.txt 写入以下内容 本文来自织梦

NPC脚本 本文来自织梦

幸运矿场-3.txt 里面内容如下 织梦好,好织梦

[@main]

:
:
:

:!

--------------------------------------------------------
当前时间  本文来自织梦

[@wakuang]
#IF
MIN 50 59
#act
give 鹤嘴锄 1
TIMERECALL 10
MAPMOVE xykc
SENDMSG 1 勇士从土城活动使者直奔金矿而去,让我们为他祝福吧!。
#ELSESAY
对不起时间未到,请稍后进入。 copyright dedecms
挖矿老板-xyKC.txt 里面内容如下 织梦好,好织梦

[@main]
  本文来自织梦

  dedecms.com

  织梦好,好织梦


dedecms.com

  内容来自dedecms
本文来自织梦

[@兑换AX] 织梦内容管理系统

以下物品每个10元宝批发价给我

裁决之杖 骨玉权杖 龙纹剑   dedecms.com


  本文来自织梦

织梦内容管理系统
[@兑换给你]
#IF
checkitem 裁决之杖 1
#ACT
take 裁决之杖 1
inc m39 1
inc m37 10
goto @兑换给你
#IF
checkitem 骨玉权杖 1
#ACT
take 骨玉权杖 1
inc m39 1
inc m37 10
goto @兑换给你
#IF
checkitem 龙纹剑 1
#ACT
take 龙纹剑 1
inc m39 1
inc m37 10
goto @兑换给你 织梦好,好织梦

#IF
LARGE M37 0
#ACT
GAMEGOLD +
GuildNoticeMsg 255 238 【%s】在幸运挖矿成功兑换了个材料,获得元宝个!
MOV M37 0
MOV M39 0
BREAK
#ELSEACT copyright dedecms
以下文件里必须添加物品 dedecms.com
【AllowSellOffItem.txt】 【GameLogItemNameList.txt】 【ItemLevelEx.txt】 【MyShopItems.txt】
copyright dedecms

帖子地址: 





上一篇:玩家输入数量进行批量买药脚本
下一篇:仿盛大练气台传奇脚本发放
回复

使用道具 举报

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

本版积分规则