matte-ek / BanchoMultiplayerBot

Auto host rotation multiplayer bot for osu! written in C#
GNU General Public License v3.0
24 stars 5 forks source link

Remember player queue position if quickly reconnecting #4

Closed matte-ek closed 1 year ago

matte-ek commented 1 year ago

Some players gets randomly disconnected from time to time. The queue system should probably be updated to restore the queue position of those players if they quickly reconnect (within like 60 seconds or so), as losing your place in the queue for random network issues (or whatever the reason may be) can be quite frustrating.

As for how the bot should treat players who happens to reconnect while being first in the queue, I have no idea. Stealing the current host doesn't sound like a good solution. Possibly put them in second place either way?

matte-ek commented 1 year ago

This feature has now been added. Reconnecting to the lobby within 30 seconds will restore your queue position, unless you're host. Might increase the limit to 60 seconds if necessary.