We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我尝试在agentmgr的s.resp.relogin回调方法的player.status=STATUS.LOGIN前面,sleep一小会,然后用两个客户端登录相同的账号,结果是两个账号都登录成功了,生成了两个agent服务。相同账号同时登录的情况应该是存在的,现实服务器开发过程中,这种问题如何避免?
The text was updated successfully, but these errors were encountered:
hihi,sleep加的地方不对呢,加在设置status之后就不会有问题了。 因为如果状态没变成LOGIN,而发生阻塞,虽然该协程阻塞,但其他协程可以运行,导致通过状态判定。
Sorry, something went wrong.
No branches or pull requests
我尝试在agentmgr的s.resp.relogin回调方法的player.status=STATUS.LOGIN前面,sleep一小会,然后用两个客户端登录相同的账号,结果是两个账号都登录成功了,生成了两个agent服务。相同账号同时登录的情况应该是存在的,现实服务器开发过程中,这种问题如何避免?
The text was updated successfully, but these errors were encountered: