From 2bf981166e23f966e2d17088abff9a569475af2e Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 23 四月 2019 15:23:21 +0800 Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(进入草园通知宝箱怪攻击次数) --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerDBOper.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerDBOper.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerDBOper.py index 8e4f768..92a73b4 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerDBOper.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerDBOper.py @@ -27,6 +27,7 @@ import IPY_GameServer import ReadChConfig import base64 +import cPickle #[isBase64, gbk] EncodingList = ReadChConfig.GetEvalChConfig("EncodingTex") @@ -152,7 +153,7 @@ sendDict, callFunc, extendValueList = g_dbCommandList.pop(0) #0:不返回,1:DB返回信息到GameServer - GameWorld.GetGameWorld().SendDBOper(1, str(sendDict)) + GameWorld.GetGameWorld().SendDBOper(1, cPickle.dumps(sendDict, 2)) GameWorld.Log("send dbcommand:%s"%sendDict) g_proccessCmdInfo = [callFunc, extendValueList] -- Gitblit v1.8.0