From bbab19065276532a54eb8905079ebf1d81915bdf Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 15 十一月 2021 11:19:08 +0800
Subject: [PATCH] 9351 【BT3】【BT4】【BT5】【主干】副本扫荡后不能完成任务(Boss复活、仙界盛典、周狂欢、节日游历、任务等)
---
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerDBOper.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerDBOper.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerDBOper.py
index 8e4f768..39c95b4 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,8 @@
sendDict, callFunc, extendValueList = g_dbCommandList.pop(0)
#0:不返回,1:DB返回信息到GameServer
- GameWorld.GetGameWorld().SendDBOper(1, str(sendDict))
+ sendMsg = cPickle.dumps(sendDict, 2)
+ GameWorld.GetGameWorld().SendDBOper(1, sendMsg, len(sendMsg))
GameWorld.Log("send dbcommand:%s"%sendDict)
g_proccessCmdInfo = [callFunc, extendValueList]
--
Gitblit v1.8.0