BOB not staying up to date when comms lost/map refreshed?

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
Post Reply
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

BOB not staying up to date when comms lost/map refreshed?

Post by ender516 »

Game 7147200, round 13.

I have had a lousy internet connection lately, so I have been seeing a lot of the "Wait another 10 seconds?" dialog. Generally, I have found that I have to give up and click [refresh map]. (None of the foregoing is BOB's fault.) However, today, I was trying to deploy half of my men in one place and half in another. After clicking to deploy the first half, and clicking yes on the confirm deploy dialog, I had another comm failure. I choose not to wait another 10 seconds, and got the comm failure message in the action area. As suggested there, I clicked [refresh map]. Eventually, the action area redrew, telling me I still had all my men to deploy, with the dropdowns preset to do just what I had tried to do. The map did not show any additional troops on the territory, so I presumed that nothing had been deployed. I repeated the action, and was presented with the attack phase. A quick check of the log showed I had deployed both halves to the same spot, with the timing suggesting that the first action had been performed pretty much when I first tried it. So, somehow, the first deployment was performed without proper feedback to the map or the action area. Whether the log was correct between the two deployments, I don't know, I didn't happen to look. Is this a BOB bug, or did the site itself screw up?
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: BOB not staying up to date when comms lost/map refreshed

Post by sherkaner »

The site itself should redraw the army amounts, I guess that took some time in which you made your move. But the fact that after the refresh the dropdowns were at what you wanted actually is an indication that the move was performed.
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: BOB not staying up to date when comms lost/map refreshed

Post by ender516 »

I guess the most misleading thing was the fact that the page still said I had 8 troops to deploy, which was the original full amount, so I assumed that the first deploy had been lost, and I repeated it.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: BOB not staying up to date when comms lost/map refreshed

Post by Dako »

Happened to me as well. Now I always refresh the whole page on miscomm at deploy phase.
Image
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: BOB not staying up to date when comms lost/map refreshed

Post by ender516 »

Dako wrote:Happened to me as well. Now I always refresh the whole page on miscomm at deploy phase.
Do you click on [refresh map] (which I am pretty sure I did), or use the browser refresh function (which I didn't bother with, because it means the log has to be reprocessed, which is tedious, but acceptable if necessary)? And how does the page say I have all my troops if half have actually been deployed? What exactly does the [refresh map] link do?
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: BOB not staying up to date when comms lost/map refreshed

Post by Dako »

All the links on CC game page call sendRequest(command) function. [refresh] link just calls sendRequest without any parameters so it just makes a POST request to game.php script and get back updated data. This data includes all the armies and so on. So pressing it is mostly the same as pressing browser's refresh, but the data is parsed via AJAX on the clients side, not on the server side.
Image
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: BOB not staying up to date when comms lost/map refreshed

Post by ender516 »

What about when one presses Ctrl-F5, which I believe affects the use or contents of the cache?
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: BOB not staying up to date when comms lost/map refreshed

Post by Dako »

Ctrl+F5 just send the same request as F5 (ie page reload) but it forces not to accept 304 header as an answer (Not Modified) and will retrieve them again (so they are fresh new).
Image
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: BOB not staying up to date when comms lost/map refreshed

Post by ender516 »

Thanks for the details.
Post Reply

Return to “Tool Archives”