[Q0] Freecraft crashes often, or unexpectedly.
[Q1] My peasants worked for a while, but now refuse to do anything. Why?
[Q2] Can the state report enemy gold/wood/food? eGold/eWood/eFoodStuff don't seem to work.


[Q0] Freecraft crashes often, or unexpectedly.
Unfortunately, the interface has not been fully tested. The easiest way to cause crashes is to try and refer to an object that does not exist (i.e., InitFreecraftData was called with 4 peasants (0 to 3), and at some point an action refers to peasant 4). While many of these cases are checked and will not cause the game to stop, others may still be lingering.

[Q1] My peasants worked for a while, but now refuse to do anything. Why?
There are many possible reasons, but assuming that you have specified the actions correctly, it could be that the pathfinder is stuck. Sometimes in order to get units to do something productive, you'll need to move them around to get them unstuck. See the example players for a simple way to keep peasants happier (look for the "if (iii%31==0)" code).

[Q2] Can the state report enemy gold/wood/food? eGold/eWood/eFoodStuff don't seem to work.
The current version of the interface does not support enemy resources.