Known errors: a summary

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

Moderators: winston, another_commander

Fleurghber
Dangerous
Dangerous
Posts: 93
Joined: Sat Oct 07, 2017 1:24 pm

Known errors: a summary

Post by Fleurghber »

After an intense testing session, I've been able to locate and identify the errors in a number of OXZs which should be relatively easy to correct. Hopefully this will be of use to those in charge of the OXZs in question.

The line numbers refer to unmodified versions as displayed by BBEdit.

Telescope/Config/effectdata.plist lines 2114, 2123, 2132, 2141, 2535, 2544, 2553, 2562

weapon_range = 7500;

should read

weapon_range = 7200;

Griff Prototype Boa/Config/shipdata.plist lines 59, 68, 77, 86, 243, 252, 261, 270, 428, 437, 446, 455

weapon_range = 7500;

should read

weapon_range = 7200;

Breakable Torus Drive/Config/shipdata.plist line 11

script = “btd_dummy_entity.js”

should read

script = “btd_dummy_entity.js”;

ETT Homing Beacon/Config/shipdata.plist line 81

“weapon_energy” = 0.0

should read

“weapon_energy” = 0.0;

line 82

}

should read

};

Liners/Config/shipdata.plist lines 167, 174, 181, 188, 195

color = { hue = 0 };

should read

color = {hue = 0; };

YellOo Cabs/Config/shipdata.plist line 26

specular_map = {name = “contract-a-cab_normal-specular.png”; extract_channel = “a”};

should read

specular_map = {name = “contract-a-cab_normal-specular.png”; extract_channel = “a”; };

Interstellar Tweaks/Config/shipdata.plist line 347

script_info = {“randomshipnames” = “military”;}

should read

script_info = {“randomshipnames” = “military”;};

line 1768

roles = “IST_pirate(0.8)”

should read

roles = “IST_pirate(0.8)”;

QTHI AntiZap/Config/equipment.plist line 10

“script” = “EQ_QTHI_AntiZap.js”

should read

“script” = “EQ_QTHI_AntiZap.js”;

QTHI Auxiliary Energy Generators/Config/equipment.plist lines 12, 36, 60

“script” = “EQ_QTHI_AuxEnergyGenerator.js”

should read

“script” = “EQ_QTHI_AuxEnergyGenerator.js”;

Andromeda/Config/effectdata.plist line 212

}

should read

};

Additional Planets SR Demux Gas Giants/manifest.plist line 16

“tags” = (“additional planets”)

should read

“tags” = (“additional planets”);

Xenon UI Resources L/manifest.plist line 54

}

should read

};

Reduce Weapon Damage/manifest.plist line 10 may be deleted

No errors found in Extra Thargoids, but it has a tendency to report them when errors occur in other OXZs. Can anyone explain?

Ship Configuration, Shipset Compatibility, Xenon Redux UI, ZygoUgo Noshaders Asteroids and ZygoUgo Shady Asteroids report download failure from the manager, but I've been unable to locate the source of the errors.

Please let me know if I've missed anything which should be included here!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Known errors: a summary

Post by another_commander »

Re ZygoUgo's asteroids, I think the error is related to incorrect OXP dependency version reported in the manifest file. Can't remember the details because it's been a long time since I had to tweak it in my game files and I removed the OXP since.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Known errors: a summary

Post by phkb »

Ship Configuration, Xenon Redux UI, and Xenon Resource Pack L should all be fixed now. Thanks for doing all that checking/debugging!
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Known errors: a summary

Post by Smivs »

Thanks for all your effort with this, even if it has made a load of work for me and others :lol:
Re Liners, I am handing this over to cbr but have already made the corrections to shipdata, so the new version (when released) should be OK.
Re Yelloo Cabs, this has already been done unless I've missed something - v2.6 released on 3rd March.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Fleurghber
Dangerous
Dangerous
Posts: 93
Joined: Sat Oct 07, 2017 1:24 pm

Re: Known errors: a summary

Post by Fleurghber »

Thanks for reading it over!

YellOo Cabs v2.6 still has a missing semicolon in line 26, as I've indicated.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Known errors: a summary

Post by Smivs »

:D It's a perfect imperfection!
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Known errors: a summary

Post by montana05 »

Not sure who takes care of Serpent Class Cruiser but I don't think that

Code: Select all

weapon_position_port = "-34.1 8.8 -22.1";
weapon_position_starboard = "-34.1 8.8 -22.1";
is accurate,

Code: Select all

"weapon_position_starboard" = "34.1 8.8 -22.1";
probably will work better.

In case that you would like a complete broadside of 5 mounts (30 m distance) this one might work as well:

Code: Select all

"weapon_mount_mode" = "multiply";
"weapon_position_port" = 
(
	"-34.1 8.8 67.9", 
	"-34.1 8.8 37.9", 
	"-34.1 8.8 7.9",
	"-34.1 8.8 -22.1", 
	"-34.1 8.8 -52.1"
);  
"weapon_position_starboard" = 
(
	"34.1 8.8 67.9", 
	"34.1 8.8 37.9", 
	"34.1 8.8 7.9",
	"34.1 8.8 -22.1", 
	"34.1 8.8 -52.1"
);
To get better accuracy not all mounts are attached to the hull, some start pretty much outside. Obviously not a perfect solution but the best I could think of for now.
Scars remind us where we've been. They don't have to dictate where we're going.
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1248
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Known errors: a summary

Post by UK_Eliter »

Fleurghber,

Thanks. I've made corrections - though it turns out I'd fixed one problem already - and will upload a new version in a bit.

By the way: does one really need a semicolon in a line in a config files if the line is the last one before a

Code: Select all

}
?

Also, the curly - 'smart' - brackets you used made it hard to search for the snippets that you gave. Still, you gave line numbers too (though in my case changes meant those were not always correct).
Fleurghber
Dangerous
Dangerous
Posts: 93
Joined: Sat Oct 07, 2017 1:24 pm

Re: Known errors: a summary

Post by Fleurghber »

I'll leave that to a more experienced programmer: I can only tell you what worked (or didn't) for me. :?
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1248
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Known errors: a summary

Post by UK_Eliter »

Well, did the things you picked out (1) actually generate errors in Oolite's log, or did they rather (2) get flagged as errors by some 'linter' (a linter, if you don't know, being an error-checker for code; one can run linters from text editors)? I presume the answer is 1, but I wanted to check.
Fleurghber
Dangerous
Dangerous
Posts: 93
Joined: Sat Oct 07, 2017 1:24 pm

Re: Known errors: a summary

Post by Fleurghber »

It was something of a trial-and-error process. I don't have a linter as such, but I'd set the view options in the folder to "Show Icon Preview". That way, when I saw documents with generic BBEdit document icons, these appeared to correspond to those reporting errors in the log. I would then create a "dummy" document, start copying supposedly good areas from the original document into the dummy, making notes of where this process found apparent errors, and attempting to correct them in the most obvious and logical manner possible (usually an easy task in itself).

I hope that's of use.
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1248
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Known errors: a summary

Post by UK_Eliter »

I don't really understand, but I take it that (1) you are using some sort of error-checker, within an editor (on a Mac?), (2) you are starting (entirely?) from errors in Oolite's logs. But, never mind. EDIT: and thank you for your work.
Fleurghber
Dangerous
Dangerous
Posts: 93
Joined: Sat Oct 07, 2017 1:24 pm

Re: Known errors: a summary

Post by Fleurghber »

I've found another one:

Additional_planets_sr_demux_gas_giants_1.1/manifest.plist line 16

"tags" = ("additional planets")

should read

"tags" = ("additional planets");
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1248
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Known errors: a summary

Post by UK_Eliter »

The OXZ at issue with the latest problem you found seems to be: Additional Planets SR Others Gas Giants pack. The maintainers of that seem to be 'Redspear, spara and collaborators'. I suggest you contact Redspear or Spara - if you don't hear from them - by commenting on one of their threads or, perhaps, by PM.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Known errors: a summary

Post by spara »

Gas giants is very probably in my repertoire. I'll check it when I get back to my computer. Thanks for notifying.
Post Reply