Well, the reason why I'm reasonably convinced of this is simple- the game tends to hang on exiting Bases, right when the Voices start. Or it hangs after a number of minutes of nothing-in-particular, and I see the "sound reference count" errors in Spew.
Commenting out the Voices for the Bases seems to have gotten rid of the immediate hangs. Therefore... I think there's a correlation.
Commenting out the Voices for the Factions in Faction_Prop reduced the errors in Spew to nearly zero, and massively increased the stability of the mod. That "sound reference count" error is almost certainly a killer.
At any rate, I don't think this is a panacea, but it helped make my mod a lot more stable, and the difference was immediate and obvious...
Now... I will add some confusion to the record, and say that none of this seems to apply to MP. MP is waaaaaaaay more fault-tolerant than SP- my mod functions as advertised in MP, but has all sorts of issues in SP. So that's another dimension to this problem, and explains why so many TCs mods, like FreeWorlds, have had to become "MP only".
I've been trying to get Warriors of the Sky to have at least a few areas that are SP-compatible... and elminating Voice-related errors seems to be the last piece I needed to complete this puzzle.
Edited by - Argh on 3/15/2005 2:38:11 PM
Edited by - Argh on 3/15/2005 2:56:17 PM
Commenting out the Voices for the Bases seems to have gotten rid of the immediate hangs. Therefore... I think there's a correlation.
Commenting out the Voices for the Factions in Faction_Prop reduced the errors in Spew to nearly zero, and massively increased the stability of the mod. That "sound reference count" error is almost certainly a killer.
At any rate, I don't think this is a panacea, but it helped make my mod a lot more stable, and the difference was immediate and obvious...
Now... I will add some confusion to the record, and say that none of this seems to apply to MP. MP is waaaaaaaay more fault-tolerant than SP- my mod functions as advertised in MP, but has all sorts of issues in SP. So that's another dimension to this problem, and explains why so many TCs mods, like FreeWorlds, have had to become "MP only".
I've been trying to get Warriors of the Sky to have at least a few areas that are SP-compatible... and elminating Voice-related errors seems to be the last piece I needed to complete this puzzle.
Edited by - Argh on 3/15/2005 2:38:11 PM
Edited by - Argh on 3/15/2005 2:56:17 PM