just browsing through the files...

Find any bugs in Vega Strike? See if someone has already found it, or report them here!
Post Reply
Oxidative

just browsing through the files...

Post by Oxidative »

typo in file mission/cargo/confed/to_base_critical_outsystem.mission, line 28

Code: Select all

	<madule name="director">
Guest

Post by Guest »

oh btw it looks like all the files in that folder have this typo :shock:
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

no worries
it's not a typo
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
stampsm
Trader
Trader
Posts: 26
Joined: Fri Sep 19, 2003 2:59 am

Post by stampsm »

what is it then for curiosities sake
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

In an old version of vegastrike, before converting to python, missions were written in a language called C flat which was converted to XML.

When we converted to python, we needed to get rid of the module tag to prevent errors.

So we renamed it to madule so ppl could change it again. :-)
Guest

Post by Guest »

but all the tags still close with </module>
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

That doesn't matter :-)
It only looks at the start tags. It ignores the end tags.

Also, those missions are not currently in use, even if they are broken.
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

ace123 wrote:That doesn't matter :-)
It only looks at the start tags. It ignores the end tags.

Also, those missions are not currently in use, even if they are broken.
That's true, but it is bad syntax anyway.
Doesn't the xml-parser vomit on this (log) ?

Pontiac
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

The XML parser does vomit, but it's at the end of the file already by the time that the XML parser realizes that it's bad XML. And if it's gotten to the end, that means that the important part of the mission has already been parsed.
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

ace123 wrote:The XML parser does vomit, but it's at the end of the file already by the time that the XML parser realizes that it's bad XML. And if it's gotten to the end, that means that the important part of the mission has already been parsed.
i just wanted to nitpick a bit ;-)

Pontiac
Post Reply