-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Unify --network-ai into server startup command #5148
Comments
To my knowledge, AI that connect to the server are supposed to be another process (client as opposed to server), and so you have to run them separately, and that's why you cannot combine I agree that it would be slightly more convenient in some situations if STK managed that itself, but on the other hand, with what happens now, bots can be connected and disconnected at any desired moment, which can also be useful. |
Yeah I agree with this, but I don't see why both features cannot exist at the same time. The particular use case I have in mind is with the |
Apparently there's an option |
ooh! The
Edit - by "second join" I thought you meant two players joining at the same time. I see now you meant joining, then leaving, then joining again, as I just was able to reproduce the crash. |
Description
I'd like to be able to merge the two commands necessary to get AI onto a server into one. It looks like this is possible, the only hitch being that the AI joining the server takes precedence over the server listener. I feel like the current behavior is more of a bug, and that the two required steps are out of order.
Steps to reproduce
./bin/supertuxkart --server-config=server_config.xml --disable-polling --unlock-all --network-console --connect-now=localhost:2759 --network-ai=11
Expected result: Server starts listener then AI joins the server. The behavior could even be extended to drop the
--connect-now
and--server-password
arguments and just directly join the server with the providedserver_config.xml
information.Actual result: AI eternally attempts joining while the server arguments are presumably ignored.
Configuration
STK release version: e6d0df3
STK Source: git
System: Arch Linux 6.10.2-arch1-1
Graphics card: Radeon RTX 6600 XT
CPU: Ryzen 5800 X3D
Additional information
stdout.log:
The text was updated successfully, but these errors were encountered: