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

Netplay stuck on "Starting..." #199

Open
nogarcia opened this issue May 21, 2021 · 3 comments
Open

Netplay stuck on "Starting..." #199

nogarcia opened this issue May 21, 2021 · 3 comments

Comments

@nogarcia
Copy link

I've been trying to get smw-server to work for quite some time, and it works just fine for LAN play. However, this particular setup doesn't seem to work.

I have the server set up and exposed to the public (12521/UDP,) and I have two users: one on LAN (me) and one from outside my network. I'm able to create a room, and we're both able to join it, but pressing "Start" just hangs. Nothing changes on their end. I've confirmed that the server and the client have the same versions: the latest continuous commit.

The full console log is in this Pastebin.
The serverlog.txt is in this one.

(The other user may not be receiving the game start message due to the Windows Firewall, but they say they've turned it off.)

@mmatyas
Copy link
Owner

mmatyas commented May 21, 2021

Could you try also forwarding the 12522 UDP port for both players? This is where the game clients communicate with each other. (Yeah, this part is indeed not documented)

@2Shad
Copy link

2Shad commented Jan 19, 2025

hold on, do the players need to be portforward 12522 themselves as well? as i have port 12521-12522 forwarded on server side, but same issue

@mmatyas
Copy link
Owner

mmatyas commented Jan 19, 2025

Yes, the actual gameplay happens between the players at the moment, so in some cases you might need to port forward for the players too. Alternatively, if only the server player creates the rooms, that should also work.

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

3 participants