neo преди 1 година
родител
ревизия
77bfda0768
променени са 4 файла, в които са добавени 18 реда и са изтрити 18 реда
  1. 4 4
      run/ali-test/clustername.lua
  2. 3 3
      run/ali-test/common.conf
  3. 3 3
      run/ali-test/db.lua
  4. 8 8
      run/ali-test/nodes.lua

+ 4 - 4
run/ali-test/clustername.lua

@@ -1,4 +1,4 @@
1
-master = "127.0.0.1:4000"
2
-login_1_1 = "127.0.0.1:4001"
3
-gate_1_1 = "127.0.0.1:4002"
4
-game_1_1 = "127.0.0.1:4003"
1
+master = "127.0.0.1:4100"
2
+login_1_1 = "127.0.0.1:4101"
3
+gate_1_1 = "127.0.0.1:4102"
4
+game_1_1 = "127.0.0.1:4103"

+ 3 - 3
run/ali-test/common.conf

@@ -1,8 +1,8 @@
1 1
 mode = "debug"
2 2
 write_log = "11111111"
3 3
 
4
-logpath = "/home/neo/workspace/elm-server/log/"
5
-statistic_path = "/home/neo/workspace/elm-server/log/statistic/"
6
-zip_statistic_path = "/home/neo/workspace/elm-server/log/zip_path/"
4
+logpath = "/home/neo/workspace/box-server/log/"
5
+statistic_path = "/home/neo/workspace/box-server/log/statistic/"
6
+zip_statistic_path = "/home/neo/workspace/box-server/log/zip_path/"
7 7
 
8 8
 system = 'linux'

+ 3 - 3
run/ali-test/db.lua

@@ -16,7 +16,7 @@ root["mysql"]["game"] = {
16 16
     -- 游戏服务数据库
17 17
     host = "127.0.0.1",
18 18
     port = 3306,
19
-    database = "elm",
19
+    database = "box",
20 20
     user = "test",
21 21
     password = "aGMtbmVvLWRldi0yMDIzMDQwNw==",
22 22
     max_packet_size = 2048 * 2048
@@ -26,13 +26,13 @@ root["mysql"]["game"] = {
26 26
 root["redis"]["game"] = {
27 27
     {
28 28
         host = "127.0.0.1",
29
-        port = 6380,
29
+        port = 6381,
30 30
         db = 0,
31 31
         auth = "aGMtbmVvLWRldi0yMDIzMDQwNw=="
32 32
     },
33 33
     {
34 34
         host = "127.0.0.1",
35
-        port = 6380,
35
+        port = 6381,
36 36
         db = 0,
37 37
         auth = "aGMtbmVvLWRldi0yMDIzMDQwNw=="
38 38
     }

+ 8 - 8
run/ali-test/nodes.lua

@@ -10,8 +10,8 @@ local root = {}
10 10
 
11 11
 -- master
12 12
 root["master"] = {
13
-    debugPort = 8000,
14
-    port = 8001,
13
+    debugPort = 8100,
14
+    port = 8101,
15 15
     agentCount = 1,
16 16
     bodyLimit = 8192
17 17
 }
@@ -19,8 +19,8 @@ root["master"] = {
19 19
 -- 登陆服
20 20
 root["login_1_1"] = {
21 21
     ip = "0.0.0.0",
22
-    debugPort = 8002,
23
-    port = 8003,
22
+    debugPort = 8102,
23
+    port = 8103,
24 24
     agentCount = 5,
25 25
     bodyLimit = 8192
26 26
 }
@@ -28,18 +28,18 @@ root["login_1_1"] = {
28 28
 -- 网关
29 29
 root["gate_1_1"] = {
30 30
     ip = "8.134.163.21",
31
-    debugPort = 8004,
32
-    port = 8005,
31
+    debugPort = 8104,
32
+    port = 8105,
33 33
     maxClient = 5000,
34 34
     nodelay = 1,
35 35
     protocol = "ws",
36 36
     weight = 50, -- 权重
37
-    wsPort = 8006 -- websocket端口
37
+    wsPort = 8106 -- websocket端口
38 38
 }
39 39
 
40 40
 -- 游戏服
41 41
 root["game_1_1"] = {
42
-    debugPort = 8007,
42
+    debugPort = 8107,
43 43
     weight = 50 -- 权重
44 44
 }
45 45