Warehouse update
|
|
Hey all, One of the first things that got me when the change to 0.3.0 happened was the warehouse readings so I've modified the values according to the Ikariam wiki: var warehouseWoodCapacities = [0, 8000, 16000, 24000, 32000, 40000, 48000, 56000, 64000, 72000, 80000, 88000, 96000, 104000, 112000, 120000, 128000, 136000, 144000, 152000, 160000, 168000, 176000, 184000, 192000, 200000, 208000, 216000];
In case anyone wants to have them in until the whole script get's updated. If I have done it correctly there should be no problems but I'm a hobby programmer in that I just change stuff to see what happens :-) From my text program these lines are 460 and 461 but you can just do a search for the start. If I've made a mistake please let me know so I can learn! Love the script hope it keeps updating. |
|
|
there is a little error in the wiki
var warehouseWoodCapacities = [3000, 11000, 19000, 27000, 35000, 43000, 51000, 59000, 67000, 75000, 83000, 91000, 99000, 107000, 115000, 123000, 131000, 139000, 147000, 155000, 163000, 171000, 179000, 187000, 195000, 203000, 211000, 219000];
|
|
|
frechi error
To modify var warehouseLevel = getArrValue(res.buildings["warehouse"], "level", "0");
|
|
|
Hi, I started fix Alarm & Overview... Don't forget v3 allow to build several warehouse in same city. You just need to sum warehouses levels ;o) |
|
|
Bump how can we fix this |
|
|
This boy speaks very much but it(he,she) does little, the unique thing that it(he,she) did was to copy this scripts and to put another name. And ultimately it works badly. |
|
|
Clearly I did not read my own post. I am having difficulty with the script not calculating the true amount of storage capacity due to the script only recognizing the smaller warehouse. I am not a scripter nor do I want to learn but I do think there are 2 ways to fix it. 1 is to scan the warehouse page(much like the hideout page) for the capacity. Or you can set up a loop to count the warehouses and calculate the total. |
|
|
To jacs,
To Jiraiya,
|