Empire Overview

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

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

レート:良 – スクリプトは良好に動作する

§
投稿日: 2023/01/14

Вместимость складов исправить бы еще

mrfix作者
§
投稿日: 2023/03/11

Попробую и это подправить

§
投稿日: 2023/03/17

Уровень довольства жизнью на Гамме отображается неправильно. Еще бы и это исправить

e41
§
投稿日: 2023/04/13

Уровень довольства жизнью на Гамме отображается неправильно. Еще бы и это исправить

Satisfaction is affected by the tavern level, museum level and CTs.
After the last updates, happiness differs per level for tavern and museum.
For example, for taverns, the per level happiness follows the following array:
[0,12,24,36,48,61,73,86,99,112,125,138,152,165,179,193,207,222,236,251,266,282,297,313,329,345,361,378,395,412,430,448,466,484,502,521,540,560,580,600,620,641,662,683,705,727,749,772,795,819,843,867,891,916,942,968,994,1021,1048,1075,1103,1131,1160,1189,1219,1249,1280,1311,1343,1375,1408]
and for museum the respective array is:
[0,20,41,63,88,114,144,176,211,250,294,341,395,453,518,590,670,759,857,965,1086,1219,1367,1530,1711,1912,2134,2380,2652,2953,3286,3655,4064,4516,5016,5569,6182]
:-)

§
投稿日: 2023/04/25

Я так понимаю, e41, эти значения УЖЕ присутствуют в скрипте. Так что надо изменить и где? 9947 museum
10081 tavern

e41
§
投稿日: 2023/04/25

Please write in English, so I won't have to translate what you write.

For example, for tavern, you should change these lines:
r.tavern.level = this.getBuildingFromName(Constant.Buildings.TAVERN).getLevel * 12;
r.tavern.wineConsumption = 60 * i;

with these lines, respectively:
r.tavern.level = Constant.BuildingData[Constant.Buildings.TAVERN].wineUse2[this.getBuildingFromName(Constant.Buildings.TAVERN).getLevel];
r.tavern.wineConsumption = Constant.BuildingData[Constant.Buildings.TAVERN].wineUse3[this.getResource(Constant.Resources.WINE).getCurrLevel];

and for museum, this line:
r.museum.level = this.getBuildingFromName(Constant.Buildings.MUSEUM).getLevel * 20;

with this line:
r.museum.level = Constant.BuildingData[Constant.Buildings.MUSEUM].lf[this.getBuildingFromName(Constant.Buildings.MUSEUM).getLevel];

§
投稿日: 2023/04/25

Replaced with lines from e41.
Residents = ∞
Satisfaction = ∞
Money = ∞
So not good

e41
§
投稿日: 2023/04/25

The before-mentioned arrays are for taverns and museums.
So the line changes I have mentioned are not the only ones.
You should find all the lines of the code that you have multiplication by 12 for taverns and 20 for museums.
Find them and change the multiplication with the respective code.
You should complete all the changes and then it should work.
Have fun!
:-)

§
投稿日: 2023/04/26

e41 не знает сам, что надо еще подправить, и поэтому предлагает веселиться? Жаль mrfix пропал

e41
§
投稿日: 2023/04/26

Γράφε αγγλικά, δεν καταλαβαίνω τι γράφεις!!!!

返信を投稿

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