12-22-2014, 02:59 AM
I edited some stuff.
Most significant is the ReturnHome function.
I added a timer wich will run 150 Seconds (you can see the actual countdown in the GUI) and then return home.
Also it is always showing which function is called at the moment to recognise where potential errors are happening.
what i found out: if you pick goblins or giants in the comboboxes, it closes the script after developing because it seems to crash in AssignTroop.
http://pastebin.com/FTsnMPbT
Most significant is the ReturnHome function.
I added a timer wich will run 150 Seconds (you can see the actual countdown in the GUI) and then return home.
Also it is always showing which function is called at the moment to recognise where potential errors are happening.
what i found out: if you pick goblins or giants in the comboboxes, it closes the script after developing because it seems to crash in AssignTroop.
http://pastebin.com/FTsnMPbT