I'm interesting to know if you have discovered something new about this ctd caused by scripted army spawns.
We are using in lotr-tw a lot of army spawns, mostly using generals (not family memebers) and we do have some random ctds during ai turn that could be caused by the scripts. I'd like to know if it could be related to the command spawn army.
These are the only ctd causes that I have noticed using "spawn army":
-wrong general name (or not allowed for this faction)
-wrong unit name (or unit not allowed to this faction)
-it seems it is not possible to spawn naval units with this command: when you choose character type=admiral, and general unit=naval unit, and the position= sea tile, the army is still spawned as a land unit and this will cause ctds when some other army tries to attack it.
-once, we found a ctd caused by a wrong name in the names.txt that became much more frecuent when we used the scripts: since the scripts creates a lot of armies and the ai tends to split them, they need to use a lot of random names from the name pool of the faction and the ctds are more often if there is a misspelled name in the names.txt.
Maybe you have some kind of similar ctd here ??.
Bookmarks