webDiplomacy.net new server
-
- Posts: 9
- Joined: Tue Feb 04, 2020 10:05 pm
- Contact:
Re: webDiplomacy.net new server
The process for my game just got rebooted multiple times over the span of 5 minutes or so resulting in all players going into civil disorder and getting booted (then turning into a draw which I wasn't part of )
https://webdiplomacy.net/board.php?gameID=354868
Not sure if this can be reversed and you can reinstate players into the game or not...
https://webdiplomacy.net/board.php?gameID=354868
Not sure if this can be reversed and you can reinstate players into the game or not...
Re: webDiplomacy.net new server
Much less bad, but I also had a game that double-processed an hour ago and gave me a missed turn: https://webdiplomacy.net/board.php?gameID=366305.
-
- Posts: 619
- Joined: Fri Sep 29, 2017 3:06 pm
- Location: Manchester, UK
- Contact:
Re: webDiplomacy.net new server
This one was because I messed around with it a bit to get it to start, sorry!teccles wrote: ↑Tue Jul 06, 2021 8:19 amMuch less bad, but I also had a game that double-processed an hour ago and gave me a missed turn: https://webdiplomacy.net/board.php?gameID=366305.
Re: webDiplomacy.net new server
Damn it.. apologies there, I didn't take into account how votes and game processing interact and it moved the game ahead instead of processing the draw vote.desdemona22 wrote: ↑Tue Jul 06, 2021 7:23 amThe process for my game just got rebooted multiple times over the span of 5 minutes or so resulting in all players going into civil disorder and getting booted (then turning into a draw which I wasn't part of )
https://webdiplomacy.net/board.php?gameID=354868
Not sure if this can be reversed and you can reinstate players into the game or not...
Looks like some people were pretty quick to sneak in and take advantage of that! Let me fix that up..
Re: webDiplomacy.net new server
About half an hour ago, I experienced a problem similar to @desdemona22's: I went into civil disorder in a bot game: https://webdiplomacy.net/board.php?gameID=366377Changes are being made to the game processor to prevent game locking issues. You may notice live games not processing immediately; processing should complete in less than a minute.
However, if you check the maps or orders, you'll see I actually didn't miss any. It all went very quickly, here are the in-game message:
03:35 PM: GameMaster wrote:Game was extended due to at least 1 member failing to enter orders and having an excused missed turn available. This has un-readied all orders.
03:37 PM: GameMaster wrote:Game was extended due to at least 1 member failing to enter orders and having an excused missed turn available. This has un-readied all orders.
03:38 PM: GameMaster wrote:Game was extended due to at least 1 member failing to enter orders and having an excused missed turn available. This has un-readied all orders.
03:39 PM: GameMaster wrote:Game was extended due to at least 1 member failing to enter orders and having an excused missed turn available. This has un-readied all orders.
Please note the time stamps.03:40 PM: GameMaster wrote:Game was extended due to at least 1 member failing to enter orders and having an excused missed turn available. This has un-readied all orders.
And these were the notices outside the game:
Could you investigate?Notices wrote: Against bots-6
03:40 PM Recent message
The game ended and your empire survived, but it was in civil disorder. Better luck next time!
Against bots-6
03:40 PM Recent message
You have missed a deadline and have no excuses left. You missed 1 deadline without an excuse during this year. 3 more misses will impose a temporary ban on you.
Against bots-6
03:40 PM Recent message
Your empire has gone inactive, and fallen into civil disorder. It can now be taken over by anyone, unless you take it back!
Against bots-6
03:39 PM Recent message
Game phase extended due to missing orders by at least one country.
Against bots-6
03:39 PM Recent message
You have missed a deadline and lost an excuse (0 left). Be more reliable!
Against bots-6
03:39 PM Recent message
Game progressed to Builds, Autumn, 1906
Against bots-6
03:38 PM Recent message
Game progressed to Retreats, Autumn, 1906
Against bots-6
03:38 PM Recent message
Game phase extended due to missing orders by at least one country.
Against bots-6
03:38 PM Recent message
You have missed a deadline and lost an excuse (1 left). Be more reliable!
Against bots-6
03:37 PM Recent message
Game progressed to Diplomacy, Autumn, 1906
Against bots-6
03:37 PM Recent message
Game phase extended due to missing orders by at least one country.
Against bots-6
03:37 PM Recent message
You have missed a deadline and lost an excuse (2 left). Be more reliable!
Against bots-6
03:36 PM Recent message
Game progressed to Diplomacy, Spring, 1906
Against bots-6
03:36 PM Recent message
Game progressed to Builds, Autumn, 1905
Against bots-6
03:35 PM Recent message
Game phase extended due to missing orders by at least one country.
Against bots-6
03:35 PM Recent message
You have missed a deadline and lost an excuse (3 left). Be more reliable!
Against bots-6
03:34 PM Recent message
Game progressed to Diplomacy, Autumn, 1905
Against bots-6
03:33 PM Recent message
Game progressed to Retreats, Spring, 1905
Against bots-6
03:32 PM Recent message
Game progressed to Diplomacy, Spring, 1905
Re: webDiplomacy.net new server
Hi Nescio,
Did you put in any votes or did you have any votes going before it started processing in a loop?
The issue should be resolved, but if this happened due to you placing a vote it would make sense, but if it happened spontaneously there might be something strange going on with the bot voting logic (and that would make sense of some other things)
Did you put in any votes or did you have any votes going before it started processing in a loop?
The issue should be resolved, but if this happened due to you placing a vote it would make sense, but if it happened spontaneously there might be something strange going on with the bot voting logic (and that would make sense of some other things)
-
- Posts: 9
- Joined: Tue Feb 04, 2020 10:05 pm
- Contact:
Re: webDiplomacy.net new server
That explains it, I had just thrown up my draw vote and the problem started. Thanks so much for fixing though!kestasjk wrote: ↑Tue Jul 06, 2021 1:57 pmDamn it.. apologies there, I didn't take into account how votes and game processing interact and it moved the game ahead instead of processing the draw vote.desdemona22 wrote: ↑Tue Jul 06, 2021 7:23 amThe process for my game just got rebooted multiple times over the span of 5 minutes or so resulting in all players going into civil disorder and getting booted (then turning into a draw which I wasn't part of )
https://webdiplomacy.net/board.php?gameID=354868
Not sure if this can be reversed and you can reinstate players into the game or not...
Looks like some people were pretty quick to sneak in and take advantage of that! Let me fix that up..
Re: webDiplomacy.net new server
Yes, I think I had voted for a draw, though I believe that was some time before the game unexpectedly ended.kestasjk wrote: ↑Tue Jul 06, 2021 2:40 pmHi Nescio,
Did you put in any votes or did you have any votes going before it started processing in a loop?
The issue should be resolved, but if this happened due to you placing a vote it would make sense, but if it happened spontaneously there might be something strange going on with the bot voting logic (and that would make sense of some other things)
Regardless, games shouldn't end because someone has voted.
By the way, the problem feels similar to one I reported some time ago (see here), though the outcome is different (civil disorder instead of draw).
Re: webDiplomacy.net new server
Same problem with Nescio, I'm temporarily blocked from joining games and lost some RR
-
- Site Moderator
- Posts: 1669
- Joined: Fri Sep 29, 2017 3:17 pm
- Contact:
Re: webDiplomacy.net new server
Hey guys for stuff like RR impacts just send an email to the mods and we'll take care of it. Let's try to keep this thread focused on any actual bugs themselves.
Re: webDiplomacy.net new server
I currently have a player match which is not recognizing that all the players have readied up. I am the only player that has retreats and I have readied up. So perhaps there is now an issue there?
-
- Gold Donator
- Posts: 5
- Joined: Fri Jan 12, 2018 4:17 am
- Location: Milwaukee, WI
- Contact:
Re: webDiplomacy.net new server
Home page seems to have an error showing up.
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/webdiplomacy.net/public_html/header.php on line 95
-
- Lifetime Site Contributor
- Posts: 1099
- Joined: Fri Sep 29, 2017 4:20 pm
- Contact:
Re: webDiplomacy.net new server
Are you still seeing that? I can't reproduce it.MKECharlie wrote: ↑Tue Jul 06, 2021 7:21 pmHome page seems to have an error showing up.Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/webdiplomacy.net/public_html/header.php on line 95
-
- Posts: 7498
- Joined: Fri Oct 20, 2017 2:11 pm
- Location: possibly Britain
- Contact:
-
- Gold Donator
- Posts: 5
- Joined: Fri Jan 12, 2018 4:17 am
- Location: Milwaukee, WI
- Contact:
Re: webDiplomacy.net new server
Yep that's fixed, I just turned up the error reporting to show warnings and previously that was under the threshold to report.
Looking promising.. no deadlocks, stable speeds and no issues for a few hours at least ..
Still more optimizations to go but I think we're making progress
Looking promising.. no deadlocks, stable speeds and no issues for a few hours at least ..
Still more optimizations to go but I think we're making progress
Re: webDiplomacy.net new server
It indeed appears to run smoothly now.
However games with all players ready are not processing before the time is up. They do process after the time expires.
My guess is that you disabled the path where readying up allows to process games?
However games with all players ready are not processing before the time is up. They do process after the time expires.
My guess is that you disabled the path where readying up allows to process games?
Re: webDiplomacy.net new server
Ah thanks I think I missed that. Okay, I think this should be straightforward.
Good news that it seems smoother. Are there any pages in particular or just in general?
Votes previously caused an immediate process in the board code. The api/board code is best to tally votes/orders but not a good place to do game processing, deadlocks are inevitable. So instead it'll set a flag that will queue it for gamemaster. At the moment I don't think the gamemaster recognizes vote situations, which I'll check and resolve asap.
On that topic the server has some new tech to help with performance, memcached a quick caching engine, since there was a lot of repetitive queries that the built-in cache wasn't using, and it's good for firing messages like that around as well without needing to start up a database connection which is costlier than I might have thought.
There will still be a small delay so it won't be as snappy until we improve the tech, but it should be fine (we'll see).
Good news that it seems smoother. Are there any pages in particular or just in general?
Votes previously caused an immediate process in the board code. The api/board code is best to tally votes/orders but not a good place to do game processing, deadlocks are inevitable. So instead it'll set a flag that will queue it for gamemaster. At the moment I don't think the gamemaster recognizes vote situations, which I'll check and resolve asap.
On that topic the server has some new tech to help with performance, memcached a quick caching engine, since there was a lot of repetitive queries that the built-in cache wasn't using, and it's good for firing messages like that around as well without needing to start up a database connection which is costlier than I might have thought.
There will still be a small delay so it won't be as snappy until we improve the tech, but it should be fine (we'll see).
Re: webDiplomacy.net new server
Seems to be running quite smoothly here. Thanks, as always, for all the hard work Kestas.
Who is online
Users browsing this forum: No registered users