Empire Overview

Script for Ikariam 0.7.x, Overview tables for resources, buildings and military inspired by Ikariam Empire Board

< Feedback on Empire Overview

Question/comment

§
Posted: 24-09-2022

Is there any plan to update to the version 8.8.2 with the new building levels and satisfaction change?

§
Posted: 24-09-2022

+1
Very need update scripts

e41
§
Posted: 30-10-2022

The last update of the code was about 4 years ago.
Many things have changed and many changes are necessary for the script to work properly.
Also, the last update has changed the way the building durations are calculated and this is also a major task that has to be applied.

§
Posted: 27-11-2022

We need to convince Germano to resume the file to integrate the new functions of version 8.8.3.
I remain available to help him in case he contacts me again to modify the parts of the code.

e41
§
Posted: 27-11-2022

You can try but...
His last words, as far as I can remember, were that he wouldn't be part of this effort anymore.
Since then, nobody has decided to go through with it.
Besides this, from that time, many changes have been made and, in order to put the code up on track, will need hours or probably days to reach a basic compatibility level.

e41
§
Posted: 07-12-2022

To whom it may concern....
The last update requires you to alter the paths of almost all the images.
First, search for the code for: "/skin/" and replace it with: "/cdn/all/both/".
Second, search for the code for: "skin/" and replace it with: "/cdn/all/both/".
These two steps solve the problem.
At least, it did for me.
:-)

§
Posted: 08-12-2022

To whom it may concern....
The last update requires you to alter the paths of almost all the images.
First, search for the code for: "/skin/" and replace it with: "/cdn/all/both/".
Second, search for the code for: "skin/" and replace it with: "/cdn/all/both/".
These two steps solve the problem.
At least, it did for me.
:-)

thanks for that, i was getting mad with the broken image links.

The script nowdays is working to overview your empire and still usable, i hope someone with the knowledge can take over and maintain this script

e41
§
Posted: 08-12-2022

To whom it may concern....
The last update requires you to alter the paths of almost all the images.
First, search for the code for: "/skin/" and replace it with: "/cdn/all/both/".
Second, search for the code for: "skin/" and replace it with: "/cdn/all/both/".
These two steps solve the problem.
At least, it did for me.
:-)

thanks for that, i was getting mad with the broken image links.

The script nowdays is working to overview your empire and still usable, i hope someone with the knowledge can take over and maintain this script

Agree, but since the last version of the script, many things have changed in-game and many hours or even days are required to put the script back on track by a developer, who also plays the game, and wants to offer his time to maintain it.

Just an extra line to update the script for the new building slots, in case you are interested...

Change the line:

this._buildings = new Array(19);

to:

this._buildings = new Array(Math.max($('#locations [id^="position"]').length,24));

:-)

§
Posted: 08-12-2022

https://greasyfork.org/ru/scripts/456297-empire-overview

Minimal patches - only for work.
for alternative this dont work on last version Ikariam

§
Posted: 08-12-2022

@e41
help change script for right work

e41
§
Posted: 09-12-2022

I can help whoever is in charge, but I cannot be in charge.
:-)

§
Posted: 10-12-2022

I make clone this slript with actual changes - dont all fixed
https://greasyfork.org/ru/scripts/456297-empire-overview

e41
§
Posted: 10-12-2022

Two important and crucial steps are the following:
- Expand the current resource quantities based on the new levels and
- Recalculate the building durations because the new levels use a slightly different function.
About the durations, we create a new key in each building object, i.e.: "durs" where it an array will be generated based on the new status.
For example the carpenter should look something like the following:

			carpentering:
			{
				buildingId:23,
				maxLevel: 50,
				wood:[63,122,192,274,372,486,620,777,962,1178,1432,1730,2078,2486,2964,3524,4178,4945,5841,6890,8117,9551,11229,13190,15484,18165,21299,24963,29245,34249,40096,46930,54928,64290,75248,88074,103085,120655,141220,165290,193462,226436,265030,310202,363073,424955,497385,582160,681384,797520],
				wine:0,
				marble:[0,0,0,0,0,0,0,359,444,546,669,816,993,1205,1459,1765,2131,2571,3098,3731,4491,5402,6496,7809,9384,11275,13543,16265,19531,23451,28154,33799,40575,48711,58478,70203,84279,101178,121464,145818,175056,210155,252292,302878,363607,436512,524034,629105,755244,906674],
				glass:0,
				sulfur:0,
				time:{a:125660,b:37,c:1.06,d:2808},
				dur:(()=>{var t=[];var f=[{a:125660,b:37,c:1.06,d:2808},{a:125031,b:56,c:1.069394,d:0}];for(var i=0;i<50;i++){var h=i<32?0:1;var g=(f[h].a/f[h].b*Math.pow(f[h].c,i+1)-f[h].d)-(f[h].e!=undefined&&f[h].e[i+1]!=undefined?f[h].e[i+1]:0);g=i<32?Math.round(g):Math.floor(g);t.push((g>1728e3?1728e3:g));}return t;})(),
				icon:'/cdn/all/both/img/city/carpentering_l.png'
			},
§
Posted: 10-12-2022

Resource ok
Time - difference
level 47->48
game time: 15:31
script time: 14:41:9


Where can I get data on the required resources? In the description of the building there are other numbers in the game

e41
§
Posted: 10-12-2022

The duration for Level 48 is 55903 seconds, which equals to 15h 31m 43s.
So it is the same as the one you see ingame.
The resource quantities you see in the building description to the reductions you have due to research, so they are not the basic quantities.
You can find them if you create a new profile in any world and before finishing any of the research you can retrieve the basic quantities from the description of each building.
I can help you out with some buildings, if you want.
Also, this discussion should go private, I think.
:-)

e41
§
Posted: 29-06-2023

In case you are interested....
Change this:

#setPremiumTransports,

to this:

#setPremiumTransports div.premiumTransporters,

in order to handle the new update 8.11.0

Post reply

Sign in to post a reply.