Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Xml problems

The general place to discuss MOD''ing Freelancer!

Post Mon May 08, 2006 7:01 am

Xml problems

I'm not great at xml, i tend to spend an hour making a script and several hours debugging it. Is there a better tool that tells you what the problem is?
Flmm just says it can't find the </options> on a line. So i go there and its on the line below. So whats all that about?
Its a script with quite a few options for a server operator choosing start location, ship, money and turning off the movies on start up.
I think its just a syntax problem, or maybe i have the wrong number of options for the data values below.

Post Mon May 08, 2006 8:41 am

if you have external scripts in the mod the main script options can mess up FLMM - the solution i found was numbering options starting at 1, not 0 - is your script like that? there are no flmm script checking tools, so precision is important - one misplaced space in your XML commands and its broken(arg!) - you might try flmm 1.4 beta as i recall its supposed to have more verbose XML debugging. if you'd like i will take a look at your script, just email it to me

Post Mon May 08, 2006 9:57 am

Oh, all of my options go from 0 upwards. I've even tried just having two choices for each option and even that dosen't work. I've downloaded other opensp scripts and they look the same as mine.
I have done a couple of these things before, but i didn't have these problems.
(edit)
Actually, i've just found the answer, i had options default for each of them instead of just the first one. I deleted the other bits and it seems ok now.. Thanks for the offer anyway.

Edited by - M-A-C-E_166 on 5/8/2006 11:02:27 AM

Post Mon May 08, 2006 10:17 am

np, glad you found it

Return to Freelancer General Editing Forum