treeform / istrolid-bugs

Official Istrolid Bug Tracking
4 stars 1 forks source link

Add reconnect to server button #19

Open Zowdie opened 7 years ago

Zowdie commented 7 years ago

Sometimes if you're in a game, and the game freezes, it becomes impossible to reconnect to the server if it is already locked, resulting in a player being unable to do anything and unable to reconnect without opening the console. Adding a button right above the "Leave Game" one that runs battleMode.joinServer(battleMode.serverName); would solve that problem.

treeform commented 7 years ago

You mean its locked if there are too many people on a server?

Zowdie commented 7 years ago

Yes. In rare cases your game will freeze while you're in a match, and there is no convenient way without scripting to get back in to un-freeze the game if there are already too many people in the server.

treeform commented 7 years ago

Yeah that is stupid. I will think about this.

Do you know why guy freezes in the first place? Does it freeze in like you can't click on anything? Does it freeze in like the game still works but it feels disconnected? Can you open up a console (pressing F10) and see if it has any errors?

Zowdie commented 7 years ago

Freezing seems pretty arbitrary but sometimes happens when people leave the game. You CAN click on things but the game itself freezes (the ships, projectiles, etc). No ships work, and yeah it does feel disconnected.

lectrician1 commented 7 years ago

Also if you become disconnected say if your wifi goes down and you want to rejoin the battle, the moment you login, you should be redirected back to the battle. This way it makes sure you don't have to find the server again and you can get back to your needy teammates faster. This also has to do with another issue (see #36 ).

Zowdie commented 7 years ago

I am not referring to that type of disconnection; freezing does not disconnect you, rather it is a problem with the client freezing up. Unrelated to that issue.

apatarty commented 6 years ago

it happens in moments of extreme lag for me

lectrician1 commented 6 years ago

Also, the reconnect rate should be faster. I usually play Istrolid on a laptop (browser version) and when I close it for a period of time and then reopen it, it can take up to 30 seconds for the battle to re-sync (the reconnect to server button then pops up). I also think there shouldn't be a reconnect to server button at all. Have it so that the player remains in an AFK state until the browser/steam window is refocused. Then add a "Reconnecting..." alert stating that the game is trying to connect.

Vaxyyy commented 3 years ago

This is a little addon that can fix this problem, it adds a button to the top right that will force disconnect form server you are on and then re-join it with the suggested way.