Reproducable Crash Bug v1.3: Comment line in a script

Ask here if you experience technical problems with X³: Reunion, X²: The Threat, X-Tension or X-Beyond The Frontier

Moderators: timon37, Moderators for English X Forum

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Reproducable Crash Bug v1.3: Comment line in a script

Post by Gazz »

Writing this script will - by it's mere presence in the scripts folder - CRASH YOUR GAME ON LOADING.

It is not necessary to ever run it for that effect.

Code: Select all

001   * normal comment >>> .
002   
003   return null
Note that it is properly saved in the first part of the actual actual XML.

Code: Select all

<var>normal comment &gt;&gt;&gt; .</var>
But further down in the same file it's put as:

Code: Select all

<sval type="string" val="normal comment >>> ." /></sval>
...and out the window goes the tag structure.

Writing XML files properly would really be a cool thing to add.

This is the first time EVER I had a commented out line crash the app.

Gazz

PS: If you just tell me again that this is not a tech support request: Yes, I know that. It's a bug report. That's what the subject says.

Return to “X³: Reunion, X²: The Threat, X-T and X-BTF - Technical Support”