From 78882065bd4a4ed7fb45327e766606dd81bbaf16 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 15 十月 2024 17:03:12 +0800
Subject: [PATCH] 5328 【越南】【英文】【砍树】神兽装备格子拓展(扩展为150格)
---
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