@@ -657,8 +657,6 @@ function sendHumanInfo(human,isNew)
mm.nSpeed[2] = human.db.nSpeed[2] and human.db.nSpeed[2] or 0
mm.nSpeed[3] = human.db.nSpeed[3] and human.db.nSpeed[3] or 0
end
-
- mm.nServerIndex = Config.SVR_INDEX
Msg.send(mm, human.fd)
@@ -38,6 +38,7 @@ RoleBase = {
{"createTime", 1, "int"},
{"signInCnt", 1, "int"},
{"realmName", 1, "string"}, -- 境界名称
+ {"nServerIndex", 1, "int"}, -- 服务器Index
}
ChenghaoNet = {
@@ -107,7 +107,8 @@ function getRoleBase(human, net, combatType, isMinNet)
net.yellow.lux = (db and db.yellow and db.yellow.lux) and 1 or 0
net.realmName = RoleRealmLogic.getRealmName(human)
+ net.nServerIndex = Config.SVR_INDEX
+
if isMinNet then
clear2MinNet(db, net)