hch
2023-12-21 1ba9b201a5ec650ba64d52cc7b0a808f14d58d2a
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMToolForbidLogin.py
@@ -20,6 +20,7 @@
import ChConfig
import GameWorld
import DataRecordPack
import PlayerControl
#---------------------------------------------------------------------
#全局变量
#---------------------------------------------------------------------
@@ -39,7 +40,7 @@
    if not curFindPlayer or curFindPlayer.IsEmpty():
        return ''
    
    curFindPlayer.SetAccState(curFindPlayer.GetAccState()|pow(2, ChConfig.Def_PysForbidByPy))
    PlayerControl.SetPlayerAccState(curFindPlayer, curFindPlayer.GetAccState()|pow(2, ChConfig.Def_PysForbidByPy))
    curFindName = curFindPlayer.GetPlayerName()
    DataRecordPack.DR_ToolGMOperate(query_ID, curFindName, curFindPlayer.GetAccID(), 'GMT_FobidLogin')