Bugs
![]() ![]() |
Looking production of wine (on a specific town of mine) and also how much wine is spent on this town, there should be 1 unit of wine saved per hour. But it isn't. I left it over the night and now amount of wine was kinda 270 units more. So I guess you haven't considered the reduction on wine spent on tavern thanks to the special building... |
![]() ![]() |
Also when building ships or units, it doesn't update the currently building information under amount of ships or units after completing all. |
![]() ![]() |
Scripts (this or others) need you display concerned pages to fetch data. EmpireBoard display red '!' each time the script estimate you may visit this page ;o) 1/ Saved wine is fetch from Tavern 2/ EmpireBoard fetch units under construction from Barracks or ShipYard, and display red '!' for these buildings while construction is finished. |
![]() ![]() |
Your answer is ok for regular6's post but not for mine. You see, no matter if I hit tavern to fetch data, if it's not calculated by you to abstract an amount due to special buildings the overall board of wine left will be wrong. Also, in the previous script I was using (Gigel's ikariam overview table) there are some options to check, which are responsible to calculate if you have completed some specific material reducing researches and thus the amount of materials needed for and upgrade appears as it should when you mouse over the upgrade buttons. It's the same thing as the wine left calculation that I mentioned before but here instead of the researches you have to count in the wine reducing building's current level. Gigel's script isn't updated any more cause gigel gave up playing ikariam and improving his script too, so you could probably use it as a pattern. And please be fast with fixes cause your script is the best one, on it's subject, atm, and I'm not willing to change it for someone else ;) |
![]() ![]() |
Hmmm, something really wrong is going on here. I just noticed that I don't have a wine reduce building on this town. Still I produce one more "wine" than spending and after (let's say) 5 hours, I save much more than 5. I can't say what's wrong... |
![]() ![]() |
You are right, something wrong :( |
![]() ![]() |
INCREDIBLE ! I'm probably sure that is a game bug about how to estimate wine usage (with or without building to save wine) I made this experience into a city which hadn't wine cellar (to save wine) :
And... EmpireBoard spend rightly 10 wine. But original game value (on top of page) display that the game spend NOTHING ! In fact, it's seem the game spend wine each 33mn if choose -60wine/hour, or each 20mn if choose -200wine/hour, etc. But it's seem we spend less wine than displayed into our tavern... Somebody could check EmpireBoard under Ikariam v. 0.3.1 ? |
![]() ![]() |
OK, I know that I must update information about related pages but it is useless, maybe only on my server ikariam.net. Version is 0.3.2 and I used gigel's script too. Maybe it's mysterious :~) |
![]() ![]() |
Regular6, you mean that EmpireBoard still display units under construction AFTER you displayed barrack/shipyard which have empty queue ? |
![]() ![]() |
Exactly! There is no way to make it update building information. |
![]() ![]() |
Stranger, change your scripts order. Move EmpireBoard to top. This script don't change game UI ;o) |
![]() ![]() |
Oh NO! This is ridiculous. I didn't try that. And now it works. Thank you for everything. |
![]() ![]() |
oli, I think there is an explanation for your test. I know that tavern uses the amount set to serve exactly at the moment that you press the button. It abstracts 60 (in your case) units of wine and it's ok for the first hour. That's why after the 10 first minutes you had the same amount of wine. Possibly after the first hour it starts to spend per minute. But this doesn't explain my test...I can't say what's wrong... |
![]() ![]() |
@regular6: which scripts modify Barracks/ShipYards ? @mpithulaka: you are right while we change wine to serve. But game probably spend wine each xx minutes at everytime... I study javascript function which update wine amount on top page if you let it opened while long time. 1/ This function not include saved wine (by wine cellar) while estimate wine amount at real time. 2/ This function decrease wine to serve each xx minutes at everytime. 3/ This function increase produced wine each second. See function's source-code bellow :
this.currentRes=this.startRes+this.production*Math.floor((this.currenttime-this.startdate)/1000); this.currentRes=this.currentRes-this.spendings[i]['amount']*Math.floor((this.currenttime-this.startdate)/1000/this.spendings[i]['tickInterval'])*this.spendings[i]['tickInterval']/3600;} I feel it could explain that you found more 270 wine after one night. You probably choose to serve ~250 wine per hour. And you see that before game decrease your wine. While very long time, EmpireBoard don't bug. But I may change how I decrease wine to apply same method (each xx minutes). |
![]() ![]() |
Ikariam Reloaded was at first place and it was loading reloaded's script first. Now Empire Board is at top of the order. Empire Board effects Reloaded scricpt when diasplaying capital city view (wine) and maybe shipyards or barracks. I suggest you upgrade language content for translating and I know you are working on it. I will edit my native language's translation. |
![]() ![]() |
hi oliezekat. i found a bug.
|
![]() ![]() |
Right :o( Thank you... |
![]() ![]() |
Hi oliezekat. I apologise for pointing out a problem considering how fantastic this script is and the quality of your work...... but I have just updated to v.167 a few moments ago and it appears that the total numbers of military and naval units are out of sync in the bottom 'Summary' column I have tried to reset all the values, and if anything, it confused the matter even further. The numbers published are correct, it's just that they are all in the wrong column.
But a great script Sir.
|
![]() ![]() |
Hmm, GrinchTed beat me out. I was going to ask about the same issue. |
![]() ![]() |
I have problem with new ver 167. the summary of th troops r not organized correctly.
|
![]() ![]() |
Same here. After a full reset and delete of the browser cache I ended with corect military totals except hoplites vs spearmen. |
![]() ![]() |
My God ! =( |
![]() ![]() |
I mean if I have no spearmens will display total ok to hoplites. If I build some spearmens will show hoplite total to spearmens and viceversa. |
![]() ![]() |
Did you install version 168 I published today ? ;o) |
![]() ![]() |
You da' man! - that did the job.
Thank's oliezekat |

