Browse Source

【优化】同步gameserver本地运行目录配置

johnclot69 1 năm trước cách đây
mục cha
commit
ba40b01804

BIN
GameServer/Config/Excel/StartConfig/Localhost/StartZoneConfig@s.xlsx


BIN
GameServer/Config/GenFromExcel/s/StartConfig/Localhost/StartZoneConfigCategory.bytes


+ 1 - 1
GameServer/Config/GenJson/s/StartConfig/Localhost/StartZoneConfig.txt

@@ -1,5 +1,5 @@
 {"list":[
-{"_t":"StartZoneConfig","_id":1,"DBConnection":"mongodb://121.41.121.185:27017","DBName":"StarEscort"},
+{"_t":"StartZoneConfig","_id":1,"DBConnection":"mongodb://127.0.0.1:27017","DBName":"StarEscort"},
 {"_t":"StartZoneConfig","_id":2,"DBConnection":"","DBName":""},
 {"_t":"StartZoneConfig","_id":3,"DBConnection":"","DBName":""},
 ]}

+ 4 - 8
GameServer/Config/Proto/OuterMessage_C_10001.proto

@@ -174,8 +174,7 @@ message M2C_Reload // IResponse
 message C2R_Login // IRequest
 {
 	int32 RpcId = 1;
-	string  Account = 2;  // 帐号
-	string  Password = 3;  // 密码
+	string RoomId = 2;
 }
 
 message R2C_Login // IResponse
@@ -184,17 +183,15 @@ message R2C_Login // IResponse
 	int32 Error = 2;
 	string Message = 3;
 	string Token = 4;
-	int64 UserId = 5;
 	// 服务器列表
-	repeated string Address = 6;
+	repeated string Address = 5;
 }
 
 //ResponseType G2C_LoginGame
 message C2G_LoginGame // IRequest
 {
 	int32 RpcId = 1;
-	string Token = 2;  // 帐号
-	int64 UserId = 3;
+	string Token = 2;
 }
 
 message G2C_LoginGame // IResponse
@@ -202,7 +199,7 @@ message G2C_LoginGame // IResponse
 	int32 RpcId = 1;
 	int32 Error = 2;
 	string Message = 3;
-	repeated PlayerBasic Players = 4;	// 角色列表
+	PlayerBasic Player = 4;	// 角色
 }
 
 //ResponseType G2C_CreatePlayer
@@ -228,7 +225,6 @@ message C2G_BindPlayer // IRequest
 {
 	int32 RpcId = 1;
 	int64 PlayerId = 2;
-	int64 UserId = 3;
 }
 
 message G2C_BindPlayer // IResponse

+ 4 - 4
GameServer/Config/Proto/PlayerProto_CS_30001.proto

@@ -3,8 +3,8 @@ package ET;
 
 message PlayerBasic
 {
-  string id = 1;
-  string uid = 2;
+  int64 id = 1;
+  string roomId = 2;
   string name = 3;
   int32 level = 4;
   int64 exp = 5;
@@ -12,8 +12,8 @@ message PlayerBasic
 
 message Player
 {
-  string id = 1;
-  string uid = 2;
+  int64 id = 1;
+  string roomId = 2;
   string name = 3;
   int32 level = 4;
   int64 exp = 5;