Conquer Club

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.

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

Postby ender516 on Sat Jun 26, 2010 2:10 pm

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?
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

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

Postby sherkaner on Sat Jun 26, 2010 4:15 pm

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.
Colonel sherkaner
 
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle

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

Postby ender516 on Sun Jun 27, 2010 9:34 pm

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.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

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

Postby Dako on Mon Jun 28, 2010 2:25 am

Happened to me as well. Now I always refresh the whole page on miscomm at deploy phase.
Image
User avatar
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

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

Postby ender516 on Mon Jun 28, 2010 10:33 am

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?
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

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

Postby Dako on Mon Jun 28, 2010 1:37 pm

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
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

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

Postby ender516 on Mon Jun 28, 2010 11:01 pm

What about when one presses Ctrl-F5, which I believe affects the use or contents of the cache?
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

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

Postby Dako on Tue Jun 29, 2010 4:27 am

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
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

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

Postby ender516 on Tue Jun 29, 2010 7:28 am

Thanks for the details.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario


Return to Tool Archives

Who is online

Users browsing this forum: No registered users

cron