Large

Ikariam Empire Board

By oliezekat Last update Feb 10, 2012 — Installed 624,136 times.

Bugs

in
Subscribe to Bugs 37 posts, 13 voices



mpithulaka User
FirefoxWindows

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...

 
regular6 User
FirefoxWindows

Also when building ships or units, it doesn't update the currently building information under amount of ships or units after completing all.

 
oliezekat Script's Author
FirefoxWindows

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.

 
mpithulaka User
FirefoxWindows

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 ;)

 
mpithulaka User
FirefoxWindows

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...

 
oliezekat Script's Author
FirefoxWindows

You are right, something wrong :(

 
oliezekat Script's Author
FirefoxWindows

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) :
1/ I set wine production to 0 per hour.
2/ I set wine usage to 60 wine per hour. That's mean 1 wine per minute.
3/ I let page of this city's warehouse (which display wine amount without update it) opened while 10 minutes.

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 ?

 
regular6 User
FirefoxWindows

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 :~)

 
oliezekat Script's Author
FirefoxWindows

Regular6, you mean that EmpireBoard still display units under construction AFTER you displayed barrack/shipyard which have empty queue ?

 
regular6 User
FirefoxWindows

Exactly! There is no way to make it update building information.

 
oliezekat Script's Author
FirefoxWindows

Stranger, change your scripts order. Move EmpireBoard to top. This script don't change game UI ;o)

 
regular6 User
FirefoxWindows

Oh NO! This is ridiculous. I didn't try that. And now it works. Thank you for everything.

 
mpithulaka User
FirefoxWindows

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...

 
oliezekat Script's Author
FirefoxWindows

@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).

 
regular6 User
FirefoxWindows

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.

 
matteo466 Scriptwright
FirefoxWindows

hi oliezekat.

i found a bug.
when safehouse is upgrading if you open a 'tab' in it (like espionage retport or archive) the script doesn't show that the safehouse is upgrading anymore.

 
oliezekat Script's Author
FirefoxWindows

Right :o( Thank you...

 
GrinchTed User
FirefoxWindows

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.
http://img5.imageshack.us/img5/6563/empire85020...

But a great script Sir.
My sincere thanks.

 
MrBlizzard User
FirefoxWindows

Hmm, GrinchTed beat me out. I was going to ask about the same issue.

 
lauferon User
FirefoxWindows

I have problem with new ver 167. the summary of th troops r not organized correctly.
also have problem with the collection of population and growth data.
Thanks/

 
andreigx User
FirefoxWindows

Same here. After a full reset and delete of the browser cache I ended with corect military totals except hoplites vs spearmen.

 
oliezekat Script's Author
FirefoxWindows

My God ! =(

 
andreigx User
FirefoxWindows

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.

 
oliezekat Script's Author
FirefoxWindows

Did you install version 168 I published today ? ;o)

 
GrinchTed User
FirefoxWindows

You da' man! - that did the job.
All's good with the world again! :)

Thank's oliezekat

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel