| | |
| | | GameWorld.ImportAll("Script\\GM\\" , "Commands")
|
| | | GameWorld.ImportAll("Script\\GM\\" , "")
|
| | |
|
| | | TestPlatformList = ["test", "yun"]
|
| | | #---------------------------------------------------------------------
|
| | | ## 重新导入GM全部命令
|
| | | # @param tick 当前时间
|
| | |
| | | # curIP = curPlayer.GetIP()
|
| | | # if (curIP.find('10.30.') == 0 or curIP.find('192.168.') == 0) and playerPF == "173on_lan":
|
| | | #测试修改
|
| | | if playerPF in TestPlatformList:
|
| | | if GameWorld.IsTestPlatform(playerPF):
|
| | | curPlayer.SetGMLevel(gmLV)
|
| | | GameWorld.DebugAnswer(curPlayer, "SetGMLevel %s" % gmLV)
|
| | | else:
|