Empire Overview

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

< 腳本Empire Overview的回應

評論:OK - script works, but has bugs

§
發表於:2023-11-26

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;})(),

mrfix作者
§
發表於:2023-11-26

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

e41
§
發表於:2023-12-03
編輯:2023-12-03

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.
:-)

§
發表於:2023-12-03

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
§
發表於:2023-12-03

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.

mrfix作者
§
發表於:2024-01-20

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

mrfix作者
§
發表於:2024-01-21

thanx

發表回覆

登入以回復