sniper00 / moon

A lightweight game server framework implemented with Actor Model
MIT License
785 stars 172 forks source link

gate有时收到的包,解析报错 #179

Closed lonag closed 1 month ago

lonag commented 2 months ago

2024-08-28 01:15:43.479 | :02000002 | ERROR | auth recv unknown cmd C2SYzBattle (./common/setup.lua:227) 2024-08-28 01:15:49.444 | :03000001 | ERROR | dispatch gate error: game/service_gate.lua:38: attempt to index a nil value (local 'req') stack traceback: game/service_gate.lua:38: in local 'f' moon/lualib/moon/socket.lua:118: in local 'dispatch' moon/lualib/moon.lua:406: in function <moon/lualib/moon.lua:372>

sniper00 commented 2 months ago

断线重连时,客户端必须要按重新登陆发送协议