kestasjk / webDiplomacy

Play Diplomacy online
http://webdiplomacy.net/
GNU Affero General Public License v3.0
179 stars 113 forks source link

Wrong order done #786

Closed HamzaZafar21 closed 2 years ago

HamzaZafar21 commented 2 years ago

Bug Report

Hello, so This bug had happened to me many times before and has ruined many of my games. Basically, it does the orders I never asked it to and ignores the orders that I wanted resulting in setbacks and overall has probably lost me a game.

Expected Behavior

So, on the game, fun-169, I entered the order that Murmansk would hold Urals, my territory which I had just got from Ukraine and was going to use in the future to defeat him. What this would have done is that it would have made it so that I had a strong presence in the north and it took me a while to get them there.

Actual Behavior

What it did instead is that it made Murmansk hold Gorky, Ukrainian territory, a center that I would have definitely gotten if the bug hadn't occurred. Now I have been setback many years and it is just not fair how an in-game error should kill everything that I have built. It is just so weird why this happens. If I had done a move related to my territories then there would have been an excuse but why the hell would I support a territory I wanted. This is not fair and I should be given back the Urals. To you guys this is just a game but to me, It is a lifestyle Now whenever I am using my laptop, I have a tab opened just for diplomacy and I check it for messages every 5 minutes

Steps to reproduce

I guess it can just be reproduced by entering orders. Again, I should be given back Urals

kestasjk commented 2 years ago

Hi Hamzazafar, sorry to hear that. The code actually has a system to log all raw orders as they come in, straight from the browser, before they get validated / stored by the system. This is because every so often someone would say their orders were changed. What we found was that every time we looked up what was submitted it matched what the server stored. In the end there's really nothing the server does that will spontaneously change someone's orders from one valid order to another, and we had to chalk these very occasional things up to people submitting a wrong order (or, in other cases, trying to cover up a stab etc).

Now that's not so say it's not a valid complaint; we will have a point a click UI soon that will show visually the orders being submitted, which will make entry issues much harder, hopefully within 1-2 months. (Variants might take longer though)

Until then I'm afraid there's not much we can do, naturally if we reversed games and changed outcomes based on these reports it would be unfair to other players. Until then please just check and recheck your orders when you submit.

Rgds, webDip team https://webdiplomacy.net/board.php?gameID=407936