Greasy Fork is available in English.

Ikariam Automation

Attempts to automate all the routine tasks in ikariam, like transporting wine

< Отзив за Ikariam Automation

Въпрос/коментар

§
Публикуван на: 11.06.2017
Редактиран на: 11.06.2017

bug

Hello
I have a problem, here I have 12 cities but there is a small bug on the 11 and 12
For example: if I send a city x the 11th it sends it to me on the 12th, if I send it on the 12th the script hangs, on the other hand if from the city x I send to any other city everything is fine.
cordially

Danielv123Автор
§
Публикуван на: 12.06.2017

I am far away from having 12 towns so I cannot test this for myself. I do not see what could be wrong, but do you have multiple towns with the same name? I know this can cause problems.

Could you also try opening the debug console (ctrl + shift + i on most browsers) and verifying that writing gotoTown(0) using numbers from 0 to 11 is working? That might be a problem as well, but I am not sure.

§
Публикуван на: 21.07.2017

Hello
The problem is always there when I send on the 11 it sends me it on the 12 and if I send it on the 12 it hangs, even by changing the name, is what your script is defined on a number (12 max) or a number x. The destination flag remains on (going to town 2 to send resource).
cordially

§
Публикуван на: 22.07.2017

Hello
The problem is always there when I send on the 11 it sends me it on the 12 and if I send it on the 12 it hangs, even by changing the name, is what your script is defined on a number (12 max) or a number x. The destination flag remains on (going to town 2 to send resource).
cordially

Danielv123Автор
§
Публикуван на: 23.07.2017

I am sorry, but I do not know what is going wrong ¯_(ツ)_/¯

There is no place in the code where it checks how many towns you have, so it should be working fine even if you had 30 towns (in theory).

Unfortunately, this means I can't fix it. If you are able to figure out a fix, please alert me so I can have a look.

Публикувайте отговор

Влезте, за да публикувате отговор.