Jump to content

Players rejoining as specs


Yekaterina
 Share

Recommended Posts

Dear developers,

Sometimes, when a player disconnects from a game, they rejoin as a spectator. For example it happened to 0AD2121 today:

image.thumb.png.be139da517d3e8ab1772ea2047463d54.png

The most common solution is to delete all cache files and reboot, which solves the problem.

However, it would be great to eliminate this bug from the very beginning.

In addition, multiplayer games with AI always result in OOS error, is there a way to fix this?

Best,

Heli

 

Edited by Helicity
  • Thanks 1
Link to comment
Share on other sites

28 minutes ago, Helicity said:

In addition, multiplayer games with AI always result in OOS error, is there a way to fix this?

Yes but it's non trivial. You also get a popup on match start warning you about it. You can't rejoin a game with AI.

In your screenshot it seems that player has no longer a rating in his name.

Link to comment
Share on other sites

10 hours ago, Feldfeld said:

Maybe wait a little in the lobby before trying to rejoin the game, in case the bot is slow to assign ratings. Or use custom ratings mod to eliminate that possibility?

In many cases you can not rejoin immediatly, and you get a message saying something like " you are already in the game". It is fixed if the host kicks you.

Link to comment
Share on other sites

it's unlikely that its customratings that causes that because when registering a game your actual ratings is assign not the custom ratings that's why its still possible to be able to play 1v1 or team games and the original ratings is adjusted once the game ends instead of the customratings , I think there's PlayerAssignmentsController.js that checks and assign empty slots for each player, once player is disconnected and tries to reconnect it does give them their old assignments back. Probably the bots slightly delays removing a player that has been disconnected from a game which may results in the "you are already in the game" message @MarcusAureliu#s is talking about and a delay in assigning a ratings when the player joins the lobby and tries to enter a game immediately which may also end up in the player joining as spec. Another cause could be internet connection. Not a major problem tho and doesn't really happen often

Link to comment
Share on other sites

50 minutes ago, rossenburg said:

bots slightly delays

Why do bots have such delays? Many bugs seemed to be related to the bots not being able to respond quickly enough - surprising as human reaction time is about 200ms and computers can process much in that time interval.

Link to comment
Share on other sites

8 minutes ago, Helicity said:

Why do bots have such delays? Many bugs seemed to be related to the bots not being able to respond quickly enough - surprising as human reaction time is about 200ms and computers can process much in that time interval.

no idea, that may not be the major cause. There are several factors to consider also, like internet connection etc

Link to comment
Share on other sites

To find out if this is customrating issue you should observe 2 situations:

Host of the game have customrating

Guest connecting has customrating

I only know if you set fixed string and in customrating you will always join with that string to that game.

Also make sure you don't use experiemental random numeric setup, which is there only for situation you host game (you cant disconnect). it would generate your random rating every time you connect.

 

image.png.84bfa4f3dad5c218ce19b2b4dbb37320.png

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...