Page 1 of 1

Two problems, one nuisance, one serious.

Posted: 24 Jun 2008, 04:37
by armigus
The nuisance: Ctrl-left click with groups is not automatic as is once was. If a unit was in the primary group then Ctrl-click removed it, otherwise it was added. Is this an oversight or was it deliberate?

Trouble: Warzone cannot run for extended periods of time without crashing. StdErr gives the following:
error: loadFile2: optional file sequenceaudio/brfcom.txt could not be found!
error: loadFile2: optional file sequenceaudio/cam1/cam1ascv.txt could not be found!

Known Bugs 11583 and 11597 report crashes involving these files. Are they available in the source?

Re: Two problems, one nuisance, one serious.

Posted: 27 Jun 2008, 00:56
by armigus
Update: This might be the real problem.

never: setWarCamActive(0)
error: unit direction out of range
error: Assert in Warzone: action.c:1121 : actionUpdateDroid (psDroid->direction < 360)
error: moveCalcTurn: cur ang out of range
error: Assert in Warzone: move.c:993 : moveCalcTurn ((*pCurr) < MAKEFRACT(360) && (*pCurr) >= MAKEFRACT(0))

It's the sort of thing that happens periodically and randomly, especially if the timer is set fast.
You might want to add a check to the result from any rotation function so this won't happen again.