【173免费下载论坛】

 找回密码
 注册

[战神引擎] 【战神引擎】开服开区等待脚本

[复制链接]
惜颜705  发表于 2024-9-25 20:50:03 | 显示全部楼层 |阅读模式

[color=rgba(51, 51, 51, 0.88)]就是服务器开启,然后玩家进入游戏会在一个特定的地图,设定的开服时间未到无法离开的脚本!感觉很多人应该用的到!


[color=rgba(51, 51, 51, 0.88)]mapinfo.txt内加入这行内容  


  1. [0139~22 开区等待间  0] SAFE NORECALL NORANDOMMOVE NODRUG BLACKROOM
复制代码


[color=rgba(51, 51, 51, 0.88)]LogonQuest.pas内加入这行内容


  1. if (GetMonth = 5) and (GetDay = 1) and (GetHour < 1) and (This_Player.MapName <> '0139~22')then
  2.       This_Player.RandomFlyTo('0139~22');
  3. }
  4. program mir2;
  5. procedure _letgo;
  6. var
  7.   i: integer;
  8. begin
  9.   if (GetHour >= 1) or (GetDay <> 1) then    //GetHour代表开区的整点,GetDay代表开区是几号,改这2个就可以了。   
  10.   begin
  11.     i := Random(1);
  12.     if i = 1 then
  13.       This_Player.Flyto('0', 650, 626)
  14.     else
  15.       This_Player.Flyto('0', 290, 617);
  16.   end
  17.   else
  18.     This_Player.PlayerNotice('必须到1点才可以离开!', 0);
  19. end;
  20. begin
  21.   This_NPC.NpcDialog(This_Player, '墨鱼传奇于1号1点正式开区,届时你才可以离开等待间。\ \' +
  22.     '|{cmd}<我要出去/@letgo>\');
  23. end.
复制代码


声明

1.本站资源来源于网络,本站不研究无任何技术支持!仅供自行学习交流之用,请勿用于商业用途!

2.一切网民在进入酷游主页及各层页面时已经仔细看过并完全同意本站站务区内发布的免责声明

3.本站内容如若侵犯到您的权益,请通过邮件联系方式联系我们,我们会尽快处理!youxi#111.com(#换@)

回复

使用道具 举报

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

本版积分规则

Archiver|手机版|【173免费下载论坛】 ( 桂ICP备2022010778号-6 )

GMT+8, 2025-8-15 12:28 , Processed in 0.088572 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2012 Comsenz Inc. Template by 600xin

返回顶部