-
Notifications
You must be signed in to change notification settings - Fork 100
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
Multi-player game with 4 players causes multiple players to be playing the same card at the same time, then hangs. #373
Comments
hi proper tags are in separate client repo https://github.com/farin/JCloisterZone-Client anyway I going to investigate it |
just one question? did everybody used own "app instance" (I mean app run under different machine or user account -> with unique client id in configuration) (still even with copied config it should be working at least up to first reconnect) |
Hi, I was using ssh tunnelling in the following scheme to circumvent NAT: Fedora33 JCloisterzone client acting as host <-- This has the effect that all Connections to publicServerIp port 4000 get forwarded to localhost of the Fedora33 game host port 37447 through the tunnel by opening TCP sockets there. So if you are using "IP address only" somewhere to distinguish players, it might explain the observed behavior. Might need some more experiments. |
ip address is not used, it just about unique id i think that key informations is "Two players somehow see their own color as the color of another player respectively." One more question. did you set up game with radomized player order? |
No, used fixed player order (did not change any default settings except adding 2 extensions) |
This happened to me when several players had the same preferred colour in settings |
Hi, just to report back and maybe give some more information: Not sure if this helps, but maybe the bug was kind of hidden in v4.6 and now appears hard in new versions. |
@bamx23 that's interesting observation, thx for it. i am going to investigate it |
Not observed on localhost, even with multiple players. |
Background info:
Yesterday I was trying to host an online game
Version 5.5.0 downloaded as App-image from https://jcloisterzone.com
OS: Linux (all players)
Java openjdk v.11.
Network: SSH tunnel (
ssh -R
style tunnel) forwarding connection of my public v-server to my local machine on port 37447(I am not 100% sure if and how the release versions on https://jcloisterzone.com relate to the git tags in GitHub, as latest tagged version on GitHub seems to be 5.3.2)
What worked:
The multi player game worked fine when playing with 2 players (host + one client).
What did not work:
But when I played with 4 online players weird things started to happen:
Consistency of the error:
This was consistently reproducible twice in a row, each time observing a slightly different combination of the issues listed above.
Workaround:
I then switched to version 4.6 (legacy) which worked fine.
The text was updated successfully, but these errors were encountered: