View previous topic :: View next topic |
Author |
Message |
Nasher1976

Joined: Mar 05, 2018 Posts: 11
|
Posted: Wed Apr 15, 2020 10:10 pm Post subject: Game ID 79514 - Entente Cordiale |
|
|
When I try and undeploy a worker it shows it has undeployed one but when I go to deploy it shows that it undeployed two and then it won't let me deploy the second. |
|
Back to top |
|
 |
Nasher1976

Joined: Mar 05, 2018 Posts: 11
|
Posted: Thu Apr 16, 2020 7:01 am Post subject: |
|
|
I tried it from a mobile device and it worked ok. |
|
Back to top |
|
 |
Logitude

Joined: Jan 06, 2020 Posts: 40
|
Posted: Tue May 12, 2020 8:04 pm Post subject: |
|
|
In the games where "S04-BGG-Admin" is a player, in the log, the file name of the disc image URL for that player is "Disc_.png", which is a broken link. Here's an example:
http://www.mabiweb.com/modules.php?name=GM_Nations&g_id=79965&op=view_game_reset
Any idea why that would be? I figured maybe it was the "-"s in the user name, but I found a game with someone else with one "-" in their name and that game doesn't have the problem. Maybe it's two "-"s or something else about the name? Just a guess. |
|
Back to top |
|
 |
MaBi Site Admin

Joined: Jan 01, 2006 Posts: 1007 Location: Italy
|
Posted: Wed May 13, 2020 9:46 am Post subject: |
|
|
Fixed. I hope I didn't break anything else, if you notice something wrong let me know. |
|
Back to top |
|
 |
S04-BGG-Admin

Joined: Apr 27, 2020 Posts: 4
|
Posted: Wed May 13, 2020 2:59 pm Post subject: |
|
|
Thank you both for solving my problems. It was surprising how disorienting it is to glance at the log without a color to guide my eyes to the start of the line. |
|
Back to top |
|
 |
Logitude

Joined: Jan 06, 2020 Posts: 40
|
|
Back to top |
|
 |
MaBi Site Admin

Joined: Jan 01, 2006 Posts: 1007 Location: Italy
|
Posted: Sun May 24, 2020 9:25 am Post subject: |
|
|
Logitude wrote: | When the Aryan Migration event is evaluated, its name is preceded by an extraneous single-quote |
Fixed (it will be ok for future events). |
|
Back to top |
|
 |
Logitude

Joined: Jan 06, 2020 Posts: 40
|
Posted: Sun May 24, 2020 9:55 pm Post subject: |
|
|
MaBi wrote: | Logitude wrote: | When the Aryan Migration event is evaluated, its name is preceded by an extraneous single-quote |
Fixed (it will be ok for future events). |
Of course. I don’t expect any already-written logs to change. It’s just that this caused an infinite loop in one of my regular expressions, which is how I found it. I got around it with an additional regular expression. (-: I’ll just have to leave the fixup in there for older logs. I’m sure I’ll hit more bugs that need workarounds if I go back in time. |
|
Back to top |
|
 |
S04-BGG-Admin

Joined: Apr 27, 2020 Posts: 4
|
|
Back to top |
|
 |
MaBi Site Admin

Joined: Jan 01, 2006 Posts: 1007 Location: Italy
|
Posted: Thu Jun 18, 2020 3:08 pm Post subject: |
|
|
Strange bug, never heard of this, and it looks more serious than a minor logging issue. I will investigate. |
|
Back to top |
|
 |
Logitude

Joined: Jan 06, 2020 Posts: 40
|
Posted: Wed Jun 24, 2020 12:25 am Post subject: |
|
|
MaBi wrote: | Strange bug, never heard of this, and it looks more serious than a minor logging issue. I will investigate. |
MaBi, have you had a chance to look at this? We wouldn’t want the match to expire before the result is recorded for the tournament. There’s still a couple of weeks before that would happen. It just feels like a loose end dangling. |
|
Back to top |
|
 |
MaBi Site Admin

Joined: Jan 01, 2006 Posts: 1007 Location: Italy
|
Posted: Wed Jun 24, 2020 8:08 am Post subject: |
|
|
I had a look and couldn't find any bug in the code that would explain this strange situation, where the internal game state is not coherent with the database.
I think the game finished regularly, Gamerhood was the winner, but something happened while the server was updating the database, so the Game Manager entry was correctly updated (game completed with Gamerhood as winner) while the game state was not updated and in the DB there is still the previous state, before the last move.
I can change the DB and put the game again in "running", so Timgagnon can repeat his last move and hopefully this time the game will finish correctly. Let me know if it is ok for you and I will proceed. |
|
Back to top |
|
 |
Brutus44

Joined: Apr 14, 2019 Posts: 4
|
|
Back to top |
|
 |
S04-BGG-Admin

Joined: Apr 27, 2020 Posts: 4
|
Posted: Wed Jun 24, 2020 4:36 pm Post subject: |
|
|
MaBi wrote: | I can change the DB and put the game again in "running", so Timgagnon can repeat his last move and hopefully this time the game will finish correctly. Let me know if it is ok for you and I will proceed. |
Sounds good to me. |
|
Back to top |
|
 |
MaBi Site Admin

Joined: Jan 01, 2006 Posts: 1007 Location: Italy
|
Posted: Thu Jun 25, 2020 8:27 am Post subject: |
|
|
Ok, I have "resurrected" the game, let's see if it finishes correctly. |
|
Back to top |
|
 |
|