Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有debug_console服务吗? #183

Open
libla opened this issue Dec 11, 2024 · 1 comment
Open

有debug_console服务吗? #183

libla opened this issue Dec 11, 2024 · 1 comment

Comments

@libla
Copy link

libla commented Dec 11, 2024

虽然使用不便,但可以作为一个最终调整的手段

@sniper00
Copy link
Owner

没有直接提供debug console服务,但提供了相关API。游戏console应该是是管理批量 进程的,可以参考demo的实现:

单独开启进程,提供 telnet/http 端口,批量转发请求到对应节点进程:
https://github.com/sniper00/MoonDemo/blob/master/server/main_hub.lua
https://github.com/sniper00/MoonDemo/blob/master/server/game/service_hub.lua

节点进程开启对用服务
https://github.com/sniper00/MoonDemo/blob/master/server/game/node/Console.lua#L34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants