forked from ifzz/zServer
-
Notifications
You must be signed in to change notification settings - Fork 13
/
userlog
405 lines (405 loc) · 16.7 KB
/
userlog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
[:00000001] LAUNCH logger userlog
[:00000002] LAUNCH snlua bootstrap
[:00000003] LAUNCH snlua launcher
[:00000004] LAUNCH snlua cdummy
[:00000005] LAUNCH harbor 0 4
[:00000006] LAUNCH snlua datacenterd
[:00000007] LAUNCH snlua service_mgr
[:00000008] LAUNCH snlua main
[:00000009] LAUNCH snlua clusterd
[:00000008] Server start version: 1.0.0
[:0000000a] LAUNCH snlua gate
[:0000000a] Listen on 127.0.0.1:2528
[:0000000b] LAUNCH snlua host host
[:0000000b] [0;36m [host] host0 require file:host/stop[0m
[:0000000b] [0;36m [host] host0 require file:host/console[0m
[:0000000b] [0;36m [host] host0 require file:host/web[0m
[:0000000b] [0;36m [host] host0 require file:host/reload[0m
[:0000000b] [0;36m [host] host0 require file:host/watch[0m
[:0000000b] [host] start ok host...
[:00000008] start host server
[:0000000c] LAUNCH snlua debug_console 8701
[:0000000c] Start debug console at 127.0.0.1:8701
[:00000008] start debug_console in port: 8701...
[:00000008] start setupd...
[:0000000d] LAUNCH snlua setup setup 0
[:0000000d] [0;36m [setup] setup0 require file:setup/setup[0m
[:0000000d] [setup] start ok setup...
[:0000000e] LAUNCH snlua service_provider
[:0000000f] LAUNCH snlua service_cell datasheet
[:0000000d] [setup] init monster conf
[:0000000d] [setup] init npc conf
[:0000000d] [setup] init item conf
[:0000000d] [setup] init scene conf
[:0000000d] [setup] update monster conf
[:0000000d] [setup] update conf: monster
[:0000000d] [setup] update npc conf
[:0000000d] [setup] update conf: npc
[:0000000d] [setup] update item conf
[:0000000d] [setup] update conf: item
[:0000000d] [setup] update scene conf
[:0000000d] [setup] update conf: scene
[:00000010] LAUNCH snlua scene_mgr scene_mgr
[:00000010] [0;36m [scene_mgr] scene_mgr0 require file:scene_mgr/scene_mgr_event[0m
[:00000010] [scene_mgr] start ok scene_mgr...
[:00000011] LAUNCH snlua gateway gateway 2
[:00000008] start gateway2...
[:00000011] Listen on 0.0.0.0:8799
[:00000011] [0;36m [gateway2] start listen port: 8799[0m
[:00000012] LAUNCH snlua clusterproxy node2 gateway1
[:00000013] LAUNCH snlua clusterproxy node2 login2
[:00000014] LAUNCH snlua login login 1
[:00000014] [0;36m [login1] login1 require file:login/login_mode_test[0m
[:00000014] [0;36m [login1] login1 require file:login/login_forward[0m
[:00000014] [login1] start ok login1...
[:00000014] [login1] init libDbproxy
[:00000015] LAUNCH snlua clusterproxy node2 game2
[:00000016] LAUNCH snlua game game 1
[:00000016] [0;36m [game1] game1 require file:game/login/login_watch[0m
[:00000016] [0;36m [game1] game1 require file:game/login/login_event[0m
[:00000016] [0;36m [game1] game1 require file:game/login/login_dispatch[0m
[:00000016] [0;36m [game1] game1 require file:game/game[0m
[:00000016] [0;36m [game1] game1 require file:game/player/player[0m
[:00000016] [0;36m [game1] game1 require file:game/scene/scene_forward[0m
[:00000016] [0;36m [game1] game1 require file:game/scene/scene_event[0m
[:00000016] [0;36m [game1] game1 require file:game/scene/scene_dispatch[0m
[:00000016] [0;36m [game1] game1 require file:game/scene/scene_static[0m
[:00000016] [game1] start ok game1...
[:00000016] [game1] init libDbproxy
[:00000017] LAUNCH snlua dbproxy dbproxy 2
[:00000017] [0;36m [dbproxy2] dbproxy2 require file:dbproxy/dbproxy_dispatch[0m
[:00000017] [0;36m [dbproxy2] dbproxy2 require file:dbproxy/dbproxy_event[0m
[:00000017] [dbproxy2] start ok dbproxy2...
[:00000017] [dbproxy2] init libDbproxy
[:00000018] LAUNCH snlua dbproxy dbproxy 1
[:00000018] [0;36m [dbproxy1] dbproxy1 require file:dbproxy/dbproxy_dispatch[0m
[:00000018] [0;36m [dbproxy1] dbproxy1 require file:dbproxy/dbproxy_event[0m
[:00000018] [dbproxy1] start ok dbproxy1...
[:00000018] [dbproxy1] init libDbproxy
[:00000019] LAUNCH snlua center center 2
[:00000019] [0;36m [center2] center2 require file:center/login_watch[0m
[:00000019] [0;36m [center2] center2 require file:center/broadcast_dispatch[0m
[:00000019] [0;36m [center2] center2 require file:center/login_dispatch[0m
[:00000019] [center2] start ok center2...
[:0000001a] LAUNCH snlua center center 1
[:0000001a] [0;36m [center1] center1 require file:center/login_watch[0m
[:0000001a] [0;36m [center1] center1 require file:center/broadcast_dispatch[0m
[:0000001a] [0;36m [center1] center1 require file:center/login_dispatch[0m
[:0000001a] [center1] start ok center1...
[:0000001b] LAUNCH snlua global global 2
[:0000001b] [global2] start ok global2...
[:0000001c] LAUNCH snlua global global 1
[:0000001c] [global1] start ok global1...
[:00000008] KILL self
[:00000002] KILL self
[:0000000b] [0;36m [host] fire event start[0m
[:0000000b] [0;36m [host] Listen web port 8111[0m
[:0000000b] [0;36m [host] fire event start[0m
[:0000000b] [0;36m [host] Listen console port 8002[0m
[:00000010] [0;36m [scene_mgr] fire event start[0m
[:0000001d] LAUNCH snlua scene scene 1
[:0000001d] [0;36m [scene1] scene1 require file:scene/scene_forward[0m
[:0000001d] [0;36m [scene1] scene1 require file:scene/aoi_ex[0m
[:0000001d] [0;36m [scene1] scene1 require file:scene/scene_event[0m
[:0000001d] [0;36m [scene1] scene1 require file:scene/entity/entity_type[0m
[:0000001d] [0;36m [scene1] scene1 require file:scene/entity/player[0m
[:0000001d] [0;36m [scene1] scene1 require file:scene/entity/monster[0m
[:0000001d] [0;36m [scene1] scene1 require file:scene/entity/genid[0m
[:0000001d] [0;36m [scene1] scene1 require file:scene/entity/npc[0m
[:0000001d] [0;36m [scene1] scene1 require file:scene/scene_dispatch[0m
[:0000001d] [0;36m [scene1] scene1 require file:scene/aoi[0m
[:0000001d] [0;36m [scene1] scene1 require file:scene/scene_static[0m
[:0000001d] [scene1] start ok scene1...
[:0000001e] LAUNCH snlua scene scene 2
[:00000016] [0;36m [game1] fire event start[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/scene_forward[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/aoi_ex[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/scene_event[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/entity/entity_type[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/entity/player[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/entity/monster[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/entity/genid[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/entity/npc[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/scene_dispatch[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/aoi[0m
[:0000001e] [0;36m [scene2] scene2 require file:scene/scene_static[0m
[:0000001e] [scene2] start ok scene2...
[:00000010] [scene_mgr] start scene mgr success~~
[:00000010] KILL self
[:00000017] [0;36m [dbproxy2] fire event start[0m
[:00000018] [0;36m [dbproxy1] fire event start[0m
[:0000001d] [0;36m [scene1] fire event start[0m
[:0000001d] [scene1] scene_id: 1
[:0000001d] [scene1] start scene_id: 1 success.
[:0000001e] [0;36m [scene2] fire event start[0m
[:0000001e] [scene2] scene_id: 2
[:0000001e] [scene2] start scene_id: 2 success.
[:00000011] [0;36m [gateway2] New client from : 127.0.0.1:54860 fd:14[0m
[:00000014] [0;36m [login1] recv:00 00 00 05 B6 38 61 D9 0A 02 32 71 [0m
[:00000014] [0;36m [login1] recv pbstr:0A 02 32 71 [0m
[:00000014] [0;36m [login1] recv:cmd(Login.MsgLogin) check(5) msg->{
["Account"] = "2q",
}[0m
[:00000019] [center2] center login: 3286190996995441665
[:00000014] [login1] login_forward addr = 127.0.0.1:54860
[:00000016] [game1] 3286190996995441665 player login
[:00000016] [game1] ===load_data playerid:3286190996995441665 ret: {
["baseinfo"] = {
["_id"] = "
[:00000016] [0;36m [game1] fire event login[0m
[:00000016] [0;36m [game1] event.login, name: [0m
[:00000016] [0;36m [game1] fire event login[0m
[:0000001d] [scene1] ===enter_scene=== playerid: 3286190996995441665{
["y"] = 0,
["x"] = 0,
["atk"] = 100,
["def"] = 100,
["game"] = 22,
["node"] = "node1",
["playerid"] = 3286190996995441665,
}
[:00000016] [0;36m [game1] send:cmd(Scene.MsgAOIList) check(0) msg->{
["objs"] = {
},
}[0m
[:00000019] [center2] center register: 3286190996995441665
[:00000014] [login1] 3286190996995441665 login success
[:00000014] [0;36m [login1] send:cmd(Login.MsgLogin) check(5) msg->{
["PlayerId"] = 3286190996995441665,
["Result"] = 0,
["Account"] = "2q",
}[0m
[:00000016] [0;36m [game1] recv:00 00 00 06 32 3C 2B 2D 08 01 [0m
[:00000016] [0;36m [game1] recv pbstr:08 01 [0m
[:00000016] [0;36m [game1] recv:cmd(Scene.MsgEnter) check(6) msg->{
["SceneId"] = 1,
}[0m
[:00000016] [game1] playerid: 3286190996995441665 have in scene, scene_id: 1
[:00000016] [0;36m [game1] send:cmd(Scene.MsgEnter) check(6) msg->{
["Result"] = 0,
["SceneId"] = 1,
}[0m
[:00000011] [0;36m [gateway2] New client from : 127.0.0.1:54864 fd:15[0m
[:00000014] [0;36m [login1] recv:00 00 00 05 B6 38 61 D9 0A 03 7A 7A 7A [0m
[:00000014] [0;36m [login1] recv pbstr:0A 03 7A 7A 7A [0m
[:00000014] [0;36m [login1] recv:cmd(Login.MsgLogin) check(5) msg->{
["Account"] = "zzz",
}[0m
[:00000018] mongodb update account failed
[:00000018] update finish 0
[:00000019] [center2] center login: 3286913938775606273
[:00000014] [login1] login_forward addr = 127.0.0.1:54864
[:00000016] [game1] 3286913938775606273 player login
[:00000016] [game1] ===load_data playerid:3286913938775606273 ret: {
}
[:00000016] [0;36m [game1] fire event login[0m
[:00000016] [0;36m [game1] event.login, name: [0m
[:00000016] [0;36m [game1] fire event login[0m
[:0000001d] [scene1] ===enter_scene=== playerid: 3286913938775606273{
["y"] = 0,
["x"] = 0,
["atk"] = 100,
["def"] = 100,
["game"] = 22,
["node"] = "node1",
["playerid"] = 3286913938775606273,
}
[:00000016] [0;36m [game1] send:cmd(Scene.MsgAOIList) check(0) msg->{
["objs"] = {
},
}[0m
[:00000019] [center2] center register: 3286913938775606273
[:00000014] [login1] 3286913938775606273 login success
[:00000014] [0;36m [login1] send:cmd(Login.MsgLogin) check(5) msg->{
["PlayerId"] = 3286913938775606273,
["Result"] = 0,
["Account"] = "zzz",
}[0m
[:00000016] [0;36m [game1] recv:00 00 00 06 32 3C 2B 2D 08 01 [0m
[:00000016] [0;36m [game1] recv pbstr:08 01 [0m
[:00000016] [0;36m [game1] recv:cmd(Scene.MsgEnter) check(6) msg->{
["SceneId"] = 1,
}[0m
[:00000016] [game1] playerid: 3286913938775606273 have in scene, scene_id: 1
[:00000016] [0;36m [game1] send:cmd(Scene.MsgEnter) check(6) msg->{
["Result"] = 0,
["SceneId"] = 1,
}[0m
[:00000011] [gateway2] handler.disconnect 15
[:00000011] [gateway2] handler.disconnect playerid:3286913938775606273
[:00000009] socket accept from 127.0.0.1:56010
[:0000001f] LAUNCH snlua clusteragent 9 10 17
[:00000016] [0;36m [game1] fire event logout[0m
[:00000016] [0;36m [game1] event.logout, name: [0m
[:00000016] [0;36m [game1] fire event logout[0m
[:0000001d] [scene1] ===leave_scene=== playerid: 3286913938775606273
[:00000016] [0;36m [game1] send:cmd(Scene.MsgAOIExit) check(0) msg->{
["objId"] = 3286913938775606273,
}[0m
[:00000017] mongodb update baseinfo failed
[:00000017] update finish 0
[:00000016] [game1] save: 3286913938775606273 ret: {
["baseinfo"] = {
["test_data"] = {
["key7"] = "string",
["key1"] = {
[1] = 1,
[2] = 2,
[3] = {
[1] = 5,
[2] = 6,
},
[4] = {
["key1"] = 5,
["key2"] = {
[1] = "112",
},
},
},
["key2"] = 6,
},
["login_time"] = 1530588576,
},
}
[:00000011] [gateway2] cmd.kick 15
[:00000011] [gateway2] handler.disconnect 15
[:00000019] [center2] center logout: 3286913938775606273
[:00000011] [gateway2] handler.disconnect 14
[:00000011] [gateway2] handler.disconnect playerid:3286190996995441665
[:00000016] [0;36m [game1] fire event logout[0m
[:00000016] [0;36m [game1] event.logout, name: [0m
[:00000016] [0;36m [game1] fire event logout[0m
[:0000001d] [scene1] ===leave_scene=== playerid: 3286190996995441665
[:00000016] [0;36m [game1] send:cmd(Scene.MsgAOIExit) check(0) msg->{
["objId"] = 3286190996995441665,
}[0m
[:00000017] update finish 1
[:00000016] [game1] save: 3286190996995441665 ret: {
["baseinfo"] = {
["_id"] = "
[:00000011] [gateway2] cmd.kick 14
[:00000011] [gateway2] handler.disconnect 14
[:00000019] [center2] center logout: 3286190996995441665
[:00000011] [0;36m [gateway2] New client from : 127.0.0.1:54902 fd:18[0m
[:00000014] [0;36m [login1] recv:00 00 00 05 B6 38 61 D9 0A 02 32 71 [0m
[:00000014] [0;36m [login1] recv pbstr:0A 02 32 71 [0m
[:00000014] [0;36m [login1] recv:cmd(Login.MsgLogin) check(5) msg->{
["Account"] = "2q",
}[0m
[:00000014] [0;36m [login1] recv:00 00 00 06 32 3C 2B 2D 08 01 [0m
[:00000014] [0;36m [login1] recv pbstr:08 01 [0m
[:00000014] [0;36m [login1] recv:cmd(Scene.MsgEnter) check(6) msg->{
["SceneId"] = 1,
}[0m
[:00000014] [0;36m [login1] local_dispatch module is not table, cmd = Scene.MsgEnter, msg = {
["SceneId"] = 1,
["_check"] = 6,
["_cmd"] = "Scene.MsgEnter",
}[0m
[:00000014] [login1] romote_dispatch player(fd:18) is not exist, cmd = Scene.MsgEnter
[:00000019] [center2] center login: 3286190996995441665
[:00000014] [login1] login_forward addr = 127.0.0.1:54902
[:00000016] [game1] 3286190996995441665 player login
[:00000016] [game1] ===load_data playerid:3286190996995441665 ret: {
["baseinfo"] = {
["_id"] = "
[:00000016] [0;36m [game1] fire event login[0m
[:00000016] [0;36m [game1] event.login, name: [0m
[:00000016] [0;36m [game1] fire event login[0m
[:0000001d] [scene1] ===enter_scene=== playerid: 3286190996995441665{
["y"] = 0,
["x"] = 0,
["atk"] = 100,
["def"] = 100,
["game"] = 22,
["node"] = "node1",
["playerid"] = 3286190996995441665,
}
[:00000016] [0;36m [game1] send:cmd(Scene.MsgAOIList) check(0) msg->{
["objs"] = {
},
}[0m
[:00000019] [center2] center register: 3286190996995441665
[:00000014] [login1] 3286190996995441665 login success
[:00000014] [0;36m [login1] send:cmd(Login.MsgLogin) check(5) msg->{
["PlayerId"] = 3286190996995441665,
["Result"] = 0,
["Account"] = "2q",
}[0m
[:00000011] [gateway2] handler.disconnect 18
[:00000011] [gateway2] handler.disconnect playerid:3286190996995441665
[:00000016] [0;36m [game1] fire event logout[0m
[:00000016] [0;36m [game1] event.logout, name: [0m
[:00000016] [0;36m [game1] fire event logout[0m
[:0000001d] [scene1] ===leave_scene=== playerid: 3286190996995441665
[:00000016] [0;36m [game1] send:cmd(Scene.MsgAOIExit) check(0) msg->{
["objId"] = 3286190996995441665,
}[0m
[:00000017] update finish 1
[:00000016] [game1] save: 3286190996995441665 ret: {
["baseinfo"] = {
["_id"] = "
[:00000011] [gateway2] cmd.kick 18
[:00000011] [gateway2] handler.disconnect 18
[:00000019] [center2] center logout: 3286190996995441665
[:00000011] [0;36m [gateway2] New client from : 127.0.0.1:54908 fd:19[0m
[:00000014] [0;36m [login1] recv:00 00 00 05 B6 38 61 D9 0A 02 32 71 [0m
[:00000014] [0;36m [login1] recv pbstr:0A 02 32 71 [0m
[:00000014] [0;36m [login1] recv:cmd(Login.MsgLogin) check(5) msg->{
["Account"] = "2q",
}[0m
[:00000019] [center2] center login: 3286190996995441665
[:00000014] [login1] login_forward addr = 127.0.0.1:54908
[:00000016] [game1] 3286190996995441665 player login
[:00000016] [game1] ===load_data playerid:3286190996995441665 ret: {
["baseinfo"] = {
["_id"] = "
[:00000016] [0;36m [game1] fire event login[0m
[:00000016] [0;36m [game1] event.login, name: [0m
[:00000016] [0;36m [game1] fire event login[0m
[:0000001d] [scene1] ===enter_scene=== playerid: 3286190996995441665{
["y"] = 0,
["x"] = 0,
["atk"] = 100,
["def"] = 100,
["game"] = 22,
["node"] = "node1",
["playerid"] = 3286190996995441665,
}
[:00000016] [0;36m [game1] send:cmd(Scene.MsgAOIList) check(0) msg->{
["objs"] = {
},
}[0m
[:00000019] [center2] center register: 3286190996995441665
[:00000014] [login1] 3286190996995441665 login success
[:00000014] [0;36m [login1] send:cmd(Login.MsgLogin) check(5) msg->{
["PlayerId"] = 3286190996995441665,
["Result"] = 0,
["Account"] = "2q",
}[0m
[:00000016] [0;36m [game1] recv:00 00 00 06 32 3C 2B 2D 08 01 [0m
[:00000016] [0;36m [game1] recv pbstr:08 01 [0m
[:00000016] [0;36m [game1] recv:cmd(Scene.MsgEnter) check(6) msg->{
["SceneId"] = 1,
}[0m
[:00000016] [game1] playerid: 3286190996995441665 have in scene, scene_id: 1
[:00000016] [0;36m [game1] send:cmd(Scene.MsgEnter) check(6) msg->{
["Result"] = 0,
["SceneId"] = 1,
}[0m
[:00000011] [gateway2] handler.disconnect 19
[:00000011] [gateway2] handler.disconnect playerid:3286190996995441665
[:00000016] [0;36m [game1] fire event logout[0m
[:00000016] [0;36m [game1] event.logout, name: [0m
[:00000016] [0;36m [game1] fire event logout[0m
[:0000001d] [scene1] ===leave_scene=== playerid: 3286190996995441665
[:00000016] [0;36m [game1] send:cmd(Scene.MsgAOIExit) check(0) msg->{
["objId"] = 3286190996995441665,
}[0m
[:00000017] update finish 1
[:00000016] [game1] save: 3286190996995441665 ret: {
["baseinfo"] = {
["_id"] = "
[:00000011] [gateway2] cmd.kick 19
[:00000011] [gateway2] handler.disconnect 19
[:00000019] [center2] center logout: 3286190996995441665