Topic: Debug-Script
MarkMcWire![]() Topic Opener |
Posted at:
2020-10-28, 13:15 UTC+1.0
Here my script as attachement. My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing ![]() ![]() |
hessenfarmer![]() |
Posted at:
2020-10-28, 13:28 UTC+1.0
Would be nice if you could keep us updated with any observations you make ![]() ![]() |
MarkMcWire![]() Topic Opener |
Posted at:
2020-10-28, 14:03 UTC+1.0
My europeans KI dont dismantle fisher huts, even if they have 0% fish left. I don't know, if this is an error in my tribe code or a general problem. My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing ![]() ![]() |
hessenfarmer![]() |
Posted at:
2020-10-28, 14:38 UTC+1.0
I don't have much time for analysis currently, but this sounds not ok. Did you try with other tribes as well? ![]() ![]() |
MarkMcWire![]() Topic Opener |
Posted at:
2020-11-11, 11:42 UTC+1.0
Here a new extended version of the script. My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing ![]() ![]() |
hessenfarmer![]() |
Posted at:
2020-11-11, 19:59 UTC+1.0
Thanks for the script. ![]() ![]() |
GunChleoc![]() |
Posted at:
2020-11-12, 09:40 UTC+1.0
I'll need the pathfinding bit of the road connection for the training wheels too. +1 for implementing in C++.
Edited:
2020-11-12, 09:40 UTC+1.0
Busy indexing nil values ![]() ![]() |
MarkMcWire![]() Topic Opener |
Posted at:
2020-11-12, 16:21 UTC+1.0
The code isn't final. Actual, the function make only one step in the right direction but don't connect the flags. I have to implement a loop, which executes the code multiple times. My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing ![]() ![]() |
GunChleoc![]() |
Posted at:
2020-11-12, 20:31 UTC+1.0
I very recently wrote this bit that might come in useful:
Busy indexing nil values ![]() ![]() |
MarkMcWire![]() Topic Opener |
Posted at:
2020-11-19, 18:44 UTC+1.0
Some extensions of my script. Just for fun or developement. Not to cheat My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing ![]() ![]() |