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

[Bug] High CPU Usage in the "development" Branch and Player Registration Issue in the "hyper" Branch" | development"分支中的高CPU使用率和"hyper"分支的玩家注册问题 #2458

Open
HongchengQ opened this issue Dec 21, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@HongchengQ
Copy link

"development" branch experiences high server CPU usage when players acquire a large number of items. If the CPU is heavily loaded for an extended period, all online players get kicked out, and no players can reconnect to the game.

The "hyper" branch, on the other hand, exhibits excellent performance, with minimal CPU usage when players acquire a large number of items. However, there is an issue: after starting the server and creating around a dozen new accounts, further attempts to create new accounts fail. Initially, it gets stuck at the naming stage, where clicking the confirm button has no response. If the client is forcefully closed and the user tries to log in to the newly created account, it gets stuck on a blank screen (the UID is visible). Rebooting the server allows for the creation of new accounts again, but after some time, it gets stuck at the registration stage once more.

"development"分支在玩家获得大量物品时服务端cpu占用会特别多 当cpu满载时间过长时会踢出所有在线玩家 且所有玩家无法再连接到游戏
"hyper"分支性能表现特别好 玩家获得大量物品时不会占用太多cpu 但是有一个问题:在开启服务端后 大概创建了十几个新账号 然后再创建新账号时就无法创建新账号了 首先是卡在起名阶段 点击确定按钮没有反应 然后如果将客户端强行关闭 再登录刚才创建的账号就会卡白屏(uid可以显示) 如果重启服务端则可以继续创建账号 但过不了多久又会卡在注册阶段

@HongchengQ HongchengQ added the bug Something isn't working label Dec 21, 2023
@HongchengQ
Copy link
Author

经过大量的测试 我消除了hyper-optimization的错误代码 现在它可以正常登录游玩 并且性能优化非常棒 即使只有两个核心的cpu也可以轻松带百人 (我已经用这套代码开设了好几个月的服务器 不用担心出现任何问题) 参考这里BanxiaServer/GC_fix@0318983

Following exhaustive testing, I have corrected the hyper-optimization errors in the code. It now permits normal login and gameplay, with significantly improved performance optimization. Even systems with just dual-core CPUs can easily support a large number of users. I've been running servers using this codebase successfully for several months, so there's no need to worry about any issues arising. See this for more information.BanxiaServer/GC_fix@0318983

@guyuqaq
Copy link

guyuqaq commented Jun 11, 2024

经过大量的测试我消除了过度优化的错误代码现在它可以正常登录游玩并且性能优化了即使两个核心的cpu也未能带百人(我已经用这套代码开设了好几个月的服务器目录出现任何问题)参考这里BanxiaServer/GC_fix@ 0318983

经过详尽的测试,我已更正了代码中的过度优化错误。它现在允许正常登录和游戏,性能优化显著提高。即使只有双核 CPU 的系统也可以轻松支持大量用户。几个月来,我一直在使用此代码库成功运行服务器,因此无需担心出现任何问题。有关更多信息,请参阅此处。BanxiaServer /GC_fix@ 0318983

能否fix quest 和修正雪山不工作情况

@HongchengQ
Copy link
Author

经过大量的测试我消除了过度优化的错误代码现在它可以正常登录游玩并且性能优化了即使两个核心的cpu也未能带百人(我已经用这套代码开设了好几个月的服务器目录出现任何问题)参考这里BanxiaServer/GC_fix@ 0318983
经过详尽的测试,我已更正了代码中的过度优化错误。它现在允许正常登录和游戏,性能优化显著提高。即使只有双核 CPU 的系统也可以轻松支持大量用户。几个月来,我一直在使用此代码库成功运行服务器,因此无需担心出现任何问题。有关更多信息,请参阅此处。BanxiaServer /GC_fix@ 0318983

能否fix quest 和修正雪山不工作情况

这两个问题不会影响到cpu占用

@guyuqaq
Copy link

guyuqaq commented Jun 13, 2024

经过大量的测试我消除了过度优化的错误代码现在它可以正常登录游玩并且性能优化了即使两个核心的cpu也未能带百人(我已经用这套代码开设了好几个月的服务器目录出现任何问题)参考这里BanxiaServer/GC_fix@ 0318983
经过详尽的测试,我已更正了代码中的过度优化错误。它现在允许正常登录和游戏,性能优化显著提高。即使只有双核 CPU 的系统也可以轻松支持大量用户。几个月来,我一直在使用此代码库成功运行服务器,因此无需担心出现任何问题。有关更多信息,请参阅此处。BanxiaServer /GC_fix@ 0318983

能否fix quest 和修正雪山不工作情况

这两个问题不会影响到cpu占用

知道 但任务bug始终是个困惑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants