Members | Sign In
All Forums > Mission Scripting
avatar

Numerology

posted May 14, 2011 01:00:08 by Mike_Substelny
Today is Friday the 13th. I just discovered that my mission script will not function after line 666. Coincidence?

Seriously, I can rearrange the events all I want. No matter what the order, the events at the physical bottom of the XML will never execute. It doesn't matter what event I put before line 666, the events after 666 will not execute. If I move the same event above line 666 it works, but then another event won't work.

Suggestions?
"Damn the torpedoes! Four bells, Captain Drayton!"

(Likely actual words of Admiral David Farragut, USN, at the battle of Mobile Bay. Four bells was the signal for the engine room to make full steam ahead).
page   1
4 replies
avatar
Mike_Substelny said May 14, 2011 01:53:27
The mission has about 47 events. Only the first 36 at the top of the physical file work.
"Damn the torpedoes! Four bells, Captain Drayton!"

(Likely actual words of Admiral David Farragut, USN, at the battle of Mobile Bay. Four bells was the signal for the engine room to make full steam ahead).
avatar
Mike_Substelny said May 17, 2011 13:08:46
Problem solved! Thom took a look at it and discovered numerous syntax errors. It's a wonder the script worked at all, but now it works perfectly. Now it's in playtesting to boost the fun quotient.
"Damn the torpedoes! Four bells, Captain Drayton!"

(Likely actual words of Admiral David Farragut, USN, at the battle of Mobile Bay. Four bells was the signal for the engine room to make full steam ahead).
avatar
BenTaggart said Jun 21, 2011 22:58:03
If Thom can provide a document definition file, any XML validator would catch all the syntax errors. You'd still be on your own to debug the mission logic, but that would fix most of the "why isn't this working!?!?" issues.
avatar
Mike_Substelny said Jun 22, 2011 13:01:31
Last month Thom got me started using XMLPad Pro as my an XML validator. It's good enough.

I prefer to do everything in Google Docs. Perhaps someday Google Docs will have XML validation features.
"Damn the torpedoes! Four bells, Captain Drayton!"

(Likely actual words of Admiral David Farragut, USN, at the battle of Mobile Bay. Four bells was the signal for the engine room to make full steam ahead).
Login below to reply: