Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
IkariamPredict
Predicts Ikariam (browser based game) aspects. At that moment it is only one feature: town hall upgrade planning.
Overview:
This script calculates the remaining time until current population growth will equal max population.
It then displays it at the town hall view.
Screenshots:

This script calculates the remaining time until current population growth will equal max population.
It then displays it at the town hall view.
Screenshots:

You could comment on this script if you were logged in.

login to vote
by me is allways Full in: never :(
login to vote
How can I add my own lang?
login to vote
Actually, gradual decrease calculation is the main objective of this script.
But there is no need to calculate Growth Rate. It is already calculated at the town hall page. So I just get it and then decrease it for 0.02 for each man born in town.
login to vote
There's a space under population growth rate that would be a logical place to put this kind of info. I did a messy hack of your script to do it:
var parentNode = divCityOverview.childNodes[3].childNodes[3]; var newNode = parentNode.childNodes[3].cloneNode(true); var insertedElement = parentNode.appendChild(newNode); insertedElement.style.position = "relative"; insertedElement.style.top = "74px"; insertedElement.innerHTML = msg_TimeLeft[lang] + timeRealToString(timeLeftEx, lang);I also shortened the English (for example, one of my towns reads "Full in: 3d 20h 4m") to fit in the space.
login to vote
Actually, to find the Exact growth rate you'll have to divide the number you get by 100 and trim a couple of decimal places.
(((Satisfaction - Penalty)*2)-.01)/100 = Growth Rate
login to vote
Ok, I figured out the algorithm for how the population growth rate is calculated.
Add all positive satisfaction items (Basic Bonuses, Wine, & Culture) and subtract all negative penalty points (Population and corruption). Multiply the number you get by 2 and subtract .01 from it. You now should have the same number as the growth rate in your town.
((Satisfaction - Penalty)*2)-.01 = Growth Rate
login to vote
Does this countdown take into account the gradual decrease in growth rate due to population growth? I'm not sure what the algorithm for that is, but I know the growth rate slows as the town grows.
login to vote
Well. I've made browser language detection and translate messages to English.
login to vote
A new version now available. Some bug fixes:
* didn't work in some conditions - shows 0 - fixed
* added infinity condition support
* remaining time now displayed in days, hours, minutes.
login to vote
I didn't expect any attention to my little script. Just uploaded it here to share it with my ally.
Thank you ocdcsv. You are right. I gonna update script description with your explanation if you don't mind.
And yes, it's only in Russian now. Maybe the next versions will support English.
login to vote
Might also help to edit the script and change this line
divCityOverview.childNodes[3].childNodes[3].childNodes[1].childNodes[3 ].title = "Time to Go: " + timeLeftHour + ":" + timeLeftMinutes;
Change the russion text to english
login to vote
From looking at the script it calculates the remaining time until current population growth will equal max population.
It then displays this result on the town view as a tooltip when hovering over the Max Population figure.
login to vote
Can you tell us what it does?
I installed it but I don't see changes.
Greets
login to vote
wew
what this
what using for
login to vote
wew
what this
what using for