A rather essential piece of news for those handling big mods.
Came up into a big error while porting the Lombard Leagues from 808 to 894 that I couldn't solve. Specifically I was coming up against this error repeatedly:
exporting scene data...
Traceback (most recent call last):
File "process_scenes.py", line 77 in ?
save scenes (variables, variable_uses, tag_uses)
File "process_scenes.py", line 63, in save scenes
tag_uses [tag_troop][troop_no] = tag_uses[tag_troop] [troop_no] + 1
IndexError: list index out of range
Exporting troops data
Armagan kindly took a look at it himself and noticed it was because I had violated an upper limit on objects (troops in my case). So take note: there is an upper limit of 1024 for number of objects in the 0.894 module system. He has assured me it will be upped in the next version. The following is the temporary fix:
Open the file process_operations.py
Find line 176. It should read:
for j in xrange(1024):
Change it to something like:
for j in xrange(4000):
And it should work (as long as you have less than 4000 troops).
(it worked for me

).