Rejoining players can't get their team back

1 reply [Last post]
Rapidgame7
Rapidgame7's picture
User offline. Last seen 6 years 13 weeks ago. Offline
Joined: 2017-12-24
Posts: 1

I host a server with a few friends.
Whenever a player disconnects for whatever reason and connects again to the game, they don't get to control their team again. The team's hedgehogs remain transparent and their turns are skipped until the team automatically surrenders and is removed.

In 0.9.22 it used to give the reconnecting player their team back, but since .23 that is not happening anymore. Either that or something wasn't set up correctly.

Is there something I can do?

nemo
nemo's picture
User offline. Last seen 13 hours 35 min ago. Offline
Joined: 2009-01-28
Posts: 1861

unc0rr confirms that he never enabled that for unregistered accounts. So presumably that code is still there even for the servers that aren't linked to a db. So. not sure how you got that working in 0.9.22.

Simplest hack I guess might be to force isRegistered to always true and rebuild the server?

Or, not have people quit and rejoin games - why would people be doing that in a LAN game anyway? ☺

It's not like there should be connection issues. I wouldn't recommend it if they are just taking a break. Use the "p" key instead.

The rejoin thing can be a bit flakey...

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]