Page 1 of 1

Barrack bonus bugged

Posted: 10 May 2022, 03:26
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).

Re: Barrack bonus bugged

Posted: 10 May 2022, 05:16
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.

Re: Barrack bonus bugged

Posted: 10 May 2022, 05:36
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

Re: Barrack bonus bugged

Posted: 10 May 2022, 06:45
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)?

Re: Barrack bonus bugged

Posted: 10 May 2022, 07:21
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.

Re: Barrack bonus bugged

Posted: 10 May 2022, 07:28
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...

Re: Barrack bonus bugged

Posted: 11 Jun 2022, 12:06
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.

Re: Barrack bonus bugged

Posted: 12 Jun 2022, 04:55
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.

Re: Barrack bonus bugged

Posted: 13 Jun 2022, 12:02
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"

Re: Barrack bonus bugged

Posted: 13 Jun 2022, 22:11
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.

Re: Barrack bonus bugged

Posted: 14 Jun 2022, 10:21
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.

Re: Barrack bonus bugged

Posted: 16 Jun 2022, 08:45
by ontariomoderate
Today: cap at 8, bugged for around 30min

Re: Barrack bonus bugged

Posted: 17 Jun 2022, 08:14
by ontariomoderate
Today: cap at 8, bugged for 10min only

Re: Barrack bonus bugged

Posted: 19 Jun 2022, 07:28
by ontariomoderate
Today: cap at 7, bugged for 20min

Re: Barrack bonus bugged

Posted: 12 Jul 2022, 07:28
by ontariomoderate
Last weeks werent too bad with max 15min bugged each, but today it felt back with around 3h after cap.