Empire Overview

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

< Rückmeldungen aufEmpire Overview

Rezension: OK - Skript funktioniert, hat aber Fehler

§
Veröffentlicht: 26.11.2023

Pirate Fortress

Вероятно, указанное время не соответствует действительности.
Здесь оно дается в абсолютных цифрах, а в других случаях используется формула

The time specified is probably not correct.
Here it is given in absolute figures and in the others there is a formula.

Pirate Fortress
				time:[40,414,817,1253,1721,2228,2779,3370,4010,4702,8989,10487,12150,13997,16045,30528,35449,41058,47455,54745,76684,88880,102906,119034,137585,200203,232974,270994,315090,366246],
				dur:[40,414,817,1253,1721,2228,2779,3370,4010,4702,8989,10487,12150,13997,16045,30528,35449,41058,47455,54745,76684,88880,102906,119034,137585,200203,232974,270994,315090,366246],
				icon:'/cdn/all/both/img/city/pirateFortress_l.png'

For comparison

Palace
				time:{a:11520,b:1,c:1.4,d:0},
				dur:(()=>{var t=[];var c={a:11520,b:1,c:1.4,d:0};for(var i=0;i<20;i++){var d=Math.round(c.a/c.b*Math.pow(c.c,i+1)-c.d)-(c.e!=undefined?(c.e[i]!=undefined?c.e[i]:0):0);t.push((d>1728e3?1728e3:d));}return t;})(),

mrfixVerfasser
§
Veröffentlicht: 26.11.2023

Для правильной формулы нужны правильные константы для расчета.

e41
§
Veröffentlicht: 03.12.2023
Bearbeitet: 03.12.2023

The building durations for the pirate fortress do not follow the same pattern of formula as the rest of the buildings.
That's why you see the absolute values in seconds as an array.
If you are good at mathematics, feel free to help us find the formula.
:-)

§
Veröffentlicht: 03.12.2023

This Excel file contains this time. Unfortunately there is no formula but only a conversion from hours to days.

https://forum.ikariam.gameforge.com/forum/thread/92191-baumeister-produktionsrechner-und-vieles-mehr-f%C3%BCr-alle-server/?postID=1172070#post1172070

e41
§
Veröffentlicht: 03.12.2023

The array with the building durations for pirate fortress have been verified multiple times, so there is nothing to search further more for them.
The second option is someone to find the formula that produces them and add this newly found formula and coefficients in the script.
I don't know if there is any third way to handle this situation but I am open to suggestions.

mrfixVerfasser
§
Veröffentlicht: 20.01.2024

This Excel file contains this time. Unfortunately there is no formula but only a conversion from hours to days.

https://forum.ikariam.gameforge.com/forum/thread/92191-baumeister-produktionsrechner-und-vieles-mehr-f%C3%BCr-alle-server/?postID=1172070#post1172070

Link error now

mrfixVerfasser
§
Veröffentlicht: 21.01.2024

thanx

Antwort schreiben

Anmelden um eine Antwort zu senden.