GAME/EDITING: NULL opby for Floortriggers
Posted: Sun Jan 25, 2004 4:45 pm
Gah, it took me ages to find out what was going wrong here as between two versions of my map, something caused RTC to crash and I couldn't find it until I did a file compare.
If you place a FLOORTRIGGER and assign it a target, but leave the OPBY as NULL, RTC crashes during the "Saving dungeon" message with no error messages and just the standard diags file:
Error:
an access violation exception.
Stack Dump:
RTC.InitSecondary();
RTC.DoFrame(int 7);
RTC.WinMain();
By default, I think all floor triggers should be set either to PARTY or NONE. Leaving them as NULL is pretty dangerous!
If you place a FLOORTRIGGER and assign it a target, but leave the OPBY as NULL, RTC crashes during the "Saving dungeon" message with no error messages and just the standard diags file:
Error:
an access violation exception.
Stack Dump:
RTC.InitSecondary();
RTC.DoFrame(int 7);
RTC.WinMain();
By default, I think all floor triggers should be set either to PARTY or NONE. Leaving them as NULL is pretty dangerous!