Barrack bonus bugged

Before posting a new topic make sure that your idea has not been suggested by someone else yet. You can use Forum's "Search" option or Ctrl+F.
Posts in this sub-forum which do not carry an important message can be deleted.
Post Reply
Message
Author
ontariomoderate
Captain
Posts: 67
Joined: 25 Sep 2013, 20:19

Barrack bonus bugged

#1 Post by ontariomoderate »

The global bonus lags behind up to several hours after capping a new barrack. The reduction tooltip shows the correct amount but when recruiting it either substracted more than displayed or an error pops up (if ressources would be negative).
User avatar
Hexxus
Marshal
Posts: 495
Joined: 08 Aug 2013, 13:27

Re: Barrack bonus bugged

#2 Post by Hexxus »

Just like the admin will ask, any screenshot? :lol:

Do you mean the tooltip within the barracks or the ones seen from city training as well?
Did closing and re-opening browser fix it?
I can't see the error you described.
Before day break there were none
And as it broke there was one
The moon, the sun, it goes on'n'on

.:
Any questions? Just ask.
Write message in-game, here on the forums, or start a thread in the Ask Question Board.
:.
"Leave you in peace? ... I will leave you in pieces!" - Darksol
ontariomoderate
Captain
Posts: 67
Joined: 25 Sep 2013, 20:19

Re: Barrack bonus bugged

#3 Post by ontariomoderate »

Tooltips are displayed correct in all domains. But its the server that tells the result of the action so some code wrong there, reloading does not help.

Like here: according to the reduced slave cost and current slave in this barrack it should be possible to order the selected amount but server calcs with previous less barrack discount and denies.
ml.png
User avatar
Hexxus
Marshal
Posts: 495
Joined: 08 Aug 2013, 13:27

Re: Barrack bonus bugged

#4 Post by Hexxus »

I see what you mean, but unable to replicate it myself.

Are we sure it has to do with population count? (population or any resource you think?)
Are you able to train at all (even just 1 troop here, or troops anywhere)?
Before day break there were none
And as it broke there was one
The moon, the sun, it goes on'n'on

.:
Any questions? Just ask.
Write message in-game, here on the forums, or start a thread in the Ask Question Board.
:.
"Leave you in peace? ... I will leave you in pieces!" - Darksol
ontariomoderate
Captain
Posts: 67
Joined: 25 Sep 2013, 20:19

Re: Barrack bonus bugged

#5 Post by ontariomoderate »

In this case yes cause the previous discounted price is higher than current population. Like said, if there is enough of all types it will substract the higher price and queue it properly.
ontariomoderate
Captain
Posts: 67
Joined: 25 Sep 2013, 20:19

Re: Barrack bonus bugged

#6 Post by ontariomoderate »

And to replicate it, when were your recent barrack cap&losses and checking price substraction? I think the time the server needs is not deterministic so migth also be instant some times and several h another...
RIQUEN
Novice
Posts: 19
Joined: 16 Aug 2013, 08:20

Re: Barrack bonus bugged

#7 Post by RIQUEN »

may i ask which browser you been using? i had notice that game do strange things depending if using safari, mozilla, opera browsers, even android app and IOS app have some crazy things when using them.

the only browser that seem to work just fine is chrome, pity cause there are other more light browsers that work better.
ontariomoderate
Captain
Posts: 67
Joined: 25 Sep 2013, 20:19

Re: Barrack bonus bugged

#8 Post by ontariomoderate »

I use firefox or edge but like i said it all points to the server code beeing buggy and not the client code/browser.
User avatar
Hexxus
Marshal
Posts: 495
Joined: 08 Aug 2013, 13:27

Re: Barrack bonus bugged

#9 Post by Hexxus »

Has it occurred since this initial posting?

and another question is perhaps your location you played the game from, was it different that time? Maybe there were some strange firewalls or something going on delaying the server info from reaching your browser as you clicked which caused "cannot do that action right now"
Before day break there were none
And as it broke there was one
The moon, the sun, it goes on'n'on

.:
Any questions? Just ask.
Write message in-game, here on the forums, or start a thread in the Ask Question Board.
:.
"Leave you in peace? ... I will leave you in pieces!" - Darksol
RIQUEN
Novice
Posts: 19
Joined: 16 Aug 2013, 08:20

Re: Barrack bonus bugged

#10 Post by RIQUEN »

ontariomoderate wrote:I use firefox or edge but like i said it all points to the server code beeing buggy and not the client code/browser.

yes notice some weird things even on chrome when working barracks, at times do not let you move back to capital or attack underground targets from barrack. need to refresh the browser couple of times and then allow you to do the normal missions.

we can only wait until future server updates finish to fix the bugs. menwhile try to work game from less troublesome browsers like safari for IOS or chrome for windows.
ontariomoderate
Captain
Posts: 67
Joined: 25 Sep 2013, 20:19

Re: Barrack bonus bugged

#11 Post by ontariomoderate »

Im not a dev but im pretty sure that this is happening in the background:
client -> server: load domains
server -> client: you have 5 barracks
client -> server: load barrak1
server -> client: you have ... ressources
client: you can order max xx warriors with ... ressources
player -> client: order xx warriors
client -> server: order xx warriors
server: calc cost of warriors (<< bug here) and substract them
server -> client: you now have ... ressources / Cannot perform error

The client has the data, it shows the tooltip and cacls cost correctly. Therefore the server also has the data because he the one the client got the info from. But the server somewhy sometimes use a wrong value for calc.

And yes it still happens all the time. I get a new one once a barrack collapse and likely its bugged for a few h.
ontariomoderate
Captain
Posts: 67
Joined: 25 Sep 2013, 20:19

Re: Barrack bonus bugged

#12 Post by ontariomoderate »

Today: cap at 8, bugged for around 30min
ontariomoderate
Captain
Posts: 67
Joined: 25 Sep 2013, 20:19

Re: Barrack bonus bugged

#13 Post by ontariomoderate »

Today: cap at 8, bugged for 10min only
ontariomoderate
Captain
Posts: 67
Joined: 25 Sep 2013, 20:19

Re: Barrack bonus bugged

#14 Post by ontariomoderate »

Today: cap at 7, bugged for 20min
ontariomoderate
Captain
Posts: 67
Joined: 25 Sep 2013, 20:19

Re: Barrack bonus bugged

#15 Post by ontariomoderate »

Last weeks werent too bad with max 15min bugged each, but today it felt back with around 3h after cap.
Post Reply