专注于游戏服务端源码资源分享,游戏修改,架设教程
欢迎您访问本网站,请 注 册了解更多!
当前位置:网站首页 > 教程专区 > 游戏修改 > 正文

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

作者:嗨嗨玩日期:2020-06-18 11:06:04浏览:1313分类:游戏修改

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

mapinfo.txt内加入这行内容

[0139~22 开区等待间  0] SAFE NORECALL NORANDOMMOVE NODRUG BLACKROOM

LogonQuest.pas内加入这行内容

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


本站的内容仅供参考学习使用。本站发布的内容若侵犯到您的权益,请联系站长删除,我们将及时处理

暂无评论,来添加一个吧。

取消回复欢迎 发表评论:

请填写验证码
咨询