Ikariam: End Time

By Phate72 Last update Oct 30, 2011 — Installed 251,846 times.

Time is not OK

in
Subscribe to Time is not OK 7 posts, 3 voices



Shakall User
Firefox

Look at the image!
http://prntscr.com/3n7ss
need 18 hours and 23min and he said me tommorow at 1:31AM but now is 23:42 so the time cant be ok

 
Phate72 Script's Author
Firefox

The bug is caused by improper acquisition points per hour. Your points have 1 decimal place.
example: 100.3 for the script is 1003.
In the next version will correct the script.

Regards
Phate

 
Shakall User
Firefox

Thanks Phate is it a big problem to change it ? If you said where we can all change it self in grasemonkey :)

 
Phate72 Script's Author
Firefox

Before publishing a new version I wanted to make changes to the calculation of time loading troops.
The change is simple in line 1582 the code is this:

	var tmpoint = $('ul.researchLeftMenu > li.time').text().replace(/\D/g,'')*1;

The new code is this:
	var tmpoint = $('ul.researchLeftMenu > li.time').text().replace(/[A-z, ,:]/g,'')*1;

 
Shakall User
Firefox

Great Job Phate ;) Thanks

 
michaelb42 User
Firefox

The new code (V1.0.3) gives wrong results, too. Future research levels 4 and 5 time spans, i.e. a month or two, leads to dates in november 2147 or august 2190...

 
Phate72 Script's Author
Firefox

Could you give me the format of your points per hour.
The new code provides a format xxx.x. I did not think that the score would be above 1000. In this case the format is 1,000.0, the script will most likely take significant value as 1.

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