Empire Overview

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

< Empire Overviewについてのフィードバック

レート:可 - スクリプトは動作するがバグがある

§
投稿日: 2020/05/17
編集日: 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.

§
投稿日: 2020/06/20

Is there anyone that can contact the developer?

e41
§
投稿日: 2020/09/22

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

§
投稿日: 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
§
投稿日: 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.
:-)

§
投稿日: 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
§
投稿日: 2020/12/10

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

§
投稿日: 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
§
投稿日: 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.
:-)

§
投稿日: 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
§
投稿日: 2020/12/14

I found the announcement!

§
投稿日: 2020/12/17

There it is! ;)

返信を投稿

返信を投稿するにはログインしてください。

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元