#6558 closed defect (fixed)

ratings engine always counts me as lost

Reported by: The Elder Rabbit Owned by: Dunedan
Priority: Should Have Milestone: Alpha 26
Component: Multiplayer lobby Keywords:
Cc: Patch:

Description (last modified by Langbart)

Even when I win a game the ratings engine calls me as lost after the game in the lobby and reduces my rating https://trac.wildfiregames.com/raw-attachment/ticket/6558/Screenshot%20from%202022-06-09%2000-06-29.png

related ticket

#4540

Attachments (5)

Screenshot from 2022-06-09 00-06-29.png (1.1 MB ) - added by The Elder Rabbit 23 months ago.
screenshot of victory gamescreen
2022-06-10_0002.zip (221.9 KB ) - added by The Elder Rabbit 23 months ago.
replay files of another game where this happened. Forgot to take screenshot of lobby message
win_.jpg (46.8 KB ) - added by Langbart 23 months ago.
[[Image(...)]]
2022-06-15_0002.zip (1.7 MB ) - added by The Elder Rabbit 23 months ago.
The zipped folder has the replay files and a screenshot of the lobby chat calling the result incorrectly. Build: May 17, 2022 (25860-release)
result.jpg (28.8 KB ) - added by Langbart 23 months ago.
[[Image(...)]]

Change History (20)

comment:1 by Langbart, 23 months ago

Milestone: Alpha 26

In its current state the ticket does not contain much usable information and might be closed in the near term.

Please include your lobby username, the game version (e.g. Alpha XXV), a screenshot of the chat in the lobby announcing the rating adjustment and the rated replay file itself (see wiki/GameDataPaths).

Setting the Milestone to A26 for the time being, so as not to forget to close it or investigate it further if it turns out to be an actual problem and not just an user error.

by The Elder Rabbit, 23 months ago

screenshot of victory gamescreen

comment:2 by The Elder Rabbit, 23 months ago

I have added a couple of screenshots for now. I will try to save the replay file for the next game and add that as well.

Last edited 23 months ago by The Elder Rabbit (previous) (diff)

comment:3 by Langbart, 23 months ago

Description: modified (diff)

Thank you for providing the screenshot/ username: ._

Potentially related ticket

  • #4540 - Lobby rating not working if username contains underscore (27/Apr/17)

EDIT1: (8/Jun/22) user1 was notified about the problem through a message in the forum.

[21:59:56] elexis but if you want you can install the lobby locally
[22:00:15] elexis alternatively you can send user1 a forum message with a link to the ticket, mentioning the username
[22:00:57] Langbart no, i will not install it. https://github.com/0ad/lobby-bots
[22:01:06] Langbart ok, i will contact him.
Last edited 23 months ago by Langbart (previous) (diff)

by The Elder Rabbit, 23 months ago

Attachment: 2022-06-10_0002.zip added

replay files of another game where this happened. Forgot to take screenshot of lobby message

by Langbart, 23 months ago

Attachment: win_.jpg added

[[Image(win_.jpg, 600px, center)]]

comment:4 by Langbart, 23 months ago

it may indeed be the underscore issue from #4540.

user1 responded via the forum.

It does look to me like to be the underscore bug.

Officially it is not allowed to have a second lobby account, it can be banned. You could ask user1 via the forum to create a 2nd account, as I'm not sure when the problem gets fixed.

Last edited 23 months ago by Langbart (previous) (diff)

comment:5 by Langbart, 23 months ago

Description: modified (diff)

adding link to related ticket to the description

comment:6 by Dunedan, 23 months ago

I can't reproduce this issue with a local lobby setup using the exact same username. Ratings work fine there.

@The Elder Rabbit: What version of 0ad do you use and which mods do you have enabled?

Also please try disabling all mods and check if the problem then still occurs.

comment:7 by jprahman, 23 months ago

@Langbart I can take a pass at https://trac.wildfiregames.com/ticket/4540 since that does appear to be related to the report here.

in reply to:  7 comment:8 by Langbart, 23 months ago

Replying to jprahman:

@Langbart I can take a pass at https://trac.wildfiregames.com/ticket/4540 since that does appear to be related to the report here.

We give The Elder Rabbit a little time to provide the requested answers/files and otherwise close the ticket as needsinfo.

#4540 was a guess and considered likely by user1 as well, but Dunedan could not reproduce the problem.

comment:9 by Langbart, 23 months ago

Regarding #4540, elexis suggested that the problem might already be fixed. I have no way of verifying this. You would have to contact user1.

[21:49:29] elexis IIRC user1 applied that underscore patch already on the production environment
[21:57:01] Langbart I don't find the "sqlalchemy_utils" in the "echelon.py"
[21:57:50] elexis applied to production environment without having committed it that is

in reply to:  6 comment:10 by The Elder Rabbit, 23 months ago

Replying to Dunedan:

I can't reproduce this issue with a local lobby setup using the exact same username. Ratings work fine there.

@The Elder Rabbit: What version of 0ad do you use and which mods do you have enabled?

Also please try disabling all mods and check if the problem then still occurs.

Alpha XXV Yauna. Build May 17, 2022 (25860-release). No mods. Let me try and see if the issue is fixed as @Langbart has suggested it might already be fixed.

by The Elder Rabbit, 23 months ago

Attachment: 2022-06-15_0002.zip added

The zipped folder has the replay files and a screenshot of the lobby chat calling the result incorrectly. Build: May 17, 2022 (25860-release)

by Langbart, 23 months ago

Attachment: result.jpg added

[[Image(result.jpg, 600px, center)]]

in reply to:  6 comment:11 by Langbart, 23 months ago

Replying to Dunedan:

I can't reproduce this issue with a local lobby setup using the exact same username. Ratings work fine there.

Was there a change between A25 and A26? The information graciously provided by The Elder Rabbit shows that the bug is real.

comment:12 by Dunedan, 22 months ago

A possible cause for this issue has been identified and a fix has been prepared. For details please check https://github.com/0ad/lobby-bots/pull/10

I'll update this bug report once the fix is merged and deployed to the active lobby, so you can re-test if that fixes the bug for you.

comment:13 by Stan, 22 months ago

Milestone: Alpha 26Alpha 27

Unlikely to happen in A26

comment:14 by Dunedan, 19 months ago

Owner: set to Dunedan
Status: newassigned

@The Elder Rabbit: The mentioned bug fix has been applied for the alpha 26 lobby. Can you please check with alpha 26 if that fixes your problem?

comment:15 by Freagarach, 16 months ago

Milestone: Alpha 27Alpha 26
Resolution: fixed
Status: assignedclosed

Please reopen when not fixed.

Note: See TracTickets for help on using tickets.