Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

small flaw in nuke.oxp

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

small flaw in nuke.oxp

Post by Commander McLane »

While testing another OXP and examining the logfile I stumbled across a small flaw in the Nuclear Torpedo OXP. The homebrew parser can deal with it, but the normal one can't.

In the equipment.plist there is an ampersand in the description of the torpedo. This has to be escaped according to the XML-rules.

So instead of

Code: Select all

S&W Harpoon Nuclear Torpedo, an extended range ECM resistant ordinance, packing a 2mT fission nuclear warhead. Can kill or cripple large, slow cruisers with minimal collateral damage, yet too slow to intercept fast or agile craft.
it has to be

Code: Select all

S&W Harpoon...
PM'd Cmdr Wyvern (the creator of the OXP) as well.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

It's a small error, and easily overlooked as 1.65 runs the OXP fine without complaint.

I PM'd you back, McLane. :)
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

A fixed version is now ready for download on the wiki.
Post Reply