Empire Overview

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

< Feedback on Empire Overview

Review: OK - script works, but has bugs

§
Posted: 2020-05-17
Edited: 2020-05-20

Sea Chart Archive time is not correct

The per-level time calculation to update the Sea Chart Archive is wrong. I've had a look at the code, and on line 10044 it says marineChartArchive:{ //time is not correct. More precisely, the incorrect line is probably a few lines below, in time :{a:1550, b:1, c:1.2, d:1800},, although I can't fix it since I don't know the right values of a,b,c,d, nor how to calculate them.

§
Posted: 2020-06-20

Is there anyone that can contact the developer?

e41
§
Posted: 2020-09-22

These are the correct coefficients:
time:{a:1472465,b:509,c:1.12,d:504.5},
:-)

§
Posted: 2020-12-06

Hi! I've just tested them, and although they look much better (few hours error instead of +10 days xD), they are still not correct.

This is the time, according to the game, and to the script:
- for a level 30 update: game=21h 32m, script=1D 4h 43m
- for a level 34 update: game=1D 9h, script=1D 21h 17m

Hope this can help you to fix it. Thank you! :)

e41
§
Posted: 2020-12-07

These coefficients have been checked in more than 15 accounts in various servers around the world.
Keep in mind that this period there is a reduction in building time in all servers.
These reductions is quite difficult, at least for me, to implement them to the code.
I don't know why there is such a difference.
:-)

§
Posted: 2020-12-07

I have no idea why I get those times then xD. I will check again beginning next year, when the reductions are over.

PD: For future time reductions, I'd suggest maybe to add, in the options tab, some boxes (text box or choice box) so the user can select a time or resource bonus of 10, 15%, 20%, 25%, and 33%, which are the typical values. Just an idea, if it can help for the future :)

e41
§
Posted: 2020-12-10

You suggestion probably can be an option in the future.
We will see.
:-)

§
Posted: 2020-12-12

As a quick fix, I I figured out where the time is calculated and I added manually a *0.75 to line 747 (if I remember right), and that did the fix for the time reduction.

Here is the line, if it can be useful for anyone:
time : Math.round(time.a / time.b * Math.pow(time.c, level + 1) - time.d) * 1000 * bonTime * 0.75

e41
§
Posted: 2020-12-12

This 25% reduction in calculation of travel duration implies that the server you are playing is a special server.
I am not quite sure but I think that this type of reduction should have been calculated from the code.
For sure it requires more research.
:-)

§
Posted: 2020-12-14

I think it's a special reduction during this Christmas period. I am not sure how this can be calculated from the code... maybe by getting the time from the source code and then comparing to the one calculated with the formula, no idea... I will let know here when the time changes "back to normal", after this Christmas period.

e41
§
Posted: 2020-12-14

I found the announcement!

§
Posted: 2020-12-17

There it is! ;)

Post reply

Sign in to post a reply.