z051002 发表于 2010-12-9 19:00:18

还有每次加载的时候,会导致服务器卡吗?

xuwenqi 发表于 2010-12-9 19:15:10

不会卡..

xuwenqi 发表于 2010-12-9 19:16:03

这个不错,确实解决了刷服问题,感谢楼主;
但是某些模式,并不是按局数来的,比如死亡服这些,如何改成每5分钟加载一次呢?
z051002 发表于 2010-12-9 18:57 http://www.dt-club.net/forum/images/common/back.gif
#include <amxmodx>
#include <amxmodx>

public plugin_init()
{
        register_plugin("checkmaster", "1.0", "Nickyxu")
        set_task(300.8, "check", 95252, "", 0, "b")

}

public check()
{
      server_cmd("setmaster remove 72.165.61.190:27010;setmaster add 72.165.61.190:27010")

      server_cmd("setmaster remove 68.142.72.250:27010;setmaster add 68.142.72.250:27010")

      server_cmd("setmaster remove 69.28.151.162:27010;setmaster add 69.28.151.162:27010")
}

z051002 发表于 2010-12-9 19:19:32


#include

xuwenqi 发表于 2010-12-9 19:16 http://www.dt-club.net/forum/images/common/back.gif


非常感谢~~

古精 发表于 2010-12-10 01:30:07

怎么装呢??有说明吗,菜鸟来了

z051002 发表于 2010-12-10 09:24:38

郁闷了,使用后,昨晚一直能正常刷出;
但是今天早上,服务器重启后,大部分服务器又不能刷出了,杯具了,麻烦楼主看看,谢谢~~

z051002 发表于 2010-12-10 10:43:31

服务器重启后,每个端口服务器根目录下,生成一个"Steam__574255__2010_12_9T22_46_4C43826015.mdmp"的文件;
服务器就刷不出来了.

css 发表于 2010-12-10 12:20:37

是啊,再次添加 被忽视的确 是问题 ,还有就是 4554 不会 被 强制 卸掉啊 ,也就是 4554 的 客户端 都能 刷到呢

css 发表于 2010-12-10 13:17:40

#include <amxmodx>

public plugin_init()
{                  
      register_plugin("EndRound SetMaster","1.0","Nicky")
      register_logevent("endRound", 2, "1=Round_End");
      return PLUGIN_CONTINUE
}

public endRound()
{
                server_cmd("setmaster remove 72.165.61.189:27010;setmaster add 72.165.61.189:27010")
                server_cmd("setmaster remove 72.165.61.190:27010;setmaster add 72.165.61.190:27010")
                server_cmd("setmaster remove 68.142.72.250:27010;setmaster add 68.142.72.250:27010")
                server_cmd("setmaster remove 69.28.151.162:27010;setmaster add 69.28.151.162:27010")
                server_cmd("setmaster remove 69.28.151.178:27010;setmaster add 69.28.151.178:27010")
                server_cmd("setmaster remove 207.173.177.12:27010;setmaster add 207.173.177.12:27010")
                server_cmd("setmaster remove 207.173.177.11:27010;setmaster add 207.173.177.11:27010")
                server_cmd("setmaster remove 65.73.232.251:27010;setmaster add 65.73.232.251:27010")
                server_cmd("setmaster remove 65.73.232.253:27010;setmaster add 65.73.232.253:27010")
                server_cmd("setmaster remove hlmaster.jolt.co.uk:27010;setmaster add hlmaster.jolt.co.uk:27010")
                server_cmd("setmaster remove 63.251.143.218:27010;setmaster add 63.251.143.218:27010")
                server_cmd("setmaster remove 216.52.220.16:27010;setmaster add 216.52.220.16:27010")
                server_cmd("setmaster remove 213.239.209.221:27010;setmaster add 213.239.209.221:27010")
                server_cmd("setmaster remove 188.40.40.201:27010;setmaster add 188.40.40.201:27010")
                server_cmd("setmaster remove 207.173.176.161:27010;setmaster add 207.173.176.161:27010")
                server_cmd("setmaster remove 68.142.72.246:27010;setmaster add 68.142.72.246:27010")
                server_cmd("setmaster remove 68.142.72.247:27010;setmaster add 68.142.72.247:27010")
                server_cmd("setmaster remove 69.28.140.246:27010;setmaster add 69.28.140.246:27010")
                server_cmd("setmaster remove 69.28.140.247:27010;setmaster add 69.28.140.247:27010")
                server_cmd("setmaster remove master.qtracker.com:27010;setmaster add master.qtracker.com:27010")
}

wsg900 发表于 2010-12-10 19:14:47

真有趣啊,继续加油搞哦~~
页: 1 [2] 3 4 5 6 7
查看完整版本: 完美解决4554+DP 外网刷服丢失问题..