Xenon UI OXP

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

Moderators: winston, another_commander

User avatar
phkb
Commodore
Commodore
Posts: 2282
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Tue Jul 18, 2017 10:57 pm

Version 2.1.2 of Xenon UI (and the Redux version) is now available, which should work much better with Library GUI.

gizmo
Deadly
Deadly
Posts: 146
Joined: Mon Nov 22, 2010 2:40 pm
Location: aboard the "Kiss of Time"

Re: Xenon UI OXP

Post by gizmo » Sat Jul 22, 2017 9:32 am

Exception when opening the cargo or parcel screen in the latest trunk version:

Code: Select all

Exception: ReferenceError: missionScreenID is not defined
    Active script: XenonUI 2.1.2
    xenonui.js, line 376:
if (this._missionOverlay[mission.screenID]) overlay = this._missionOverlay[missionScreenID];

User avatar
phkb
Commodore
Commodore
Posts: 2282
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Sun Jul 23, 2017 12:49 am

gizmo wrote: Exception when opening the cargo or parcel screen in the latest trunk version:
Thanks for the report, gizmo! Version 2.1.3 is now available which should fix this issue.

gizmo
Deadly
Deadly
Posts: 146
Joined: Mon Nov 22, 2010 2:40 pm
Location: aboard the "Kiss of Time"

Re: Xenon UI OXP

Post by gizmo » Sun Jul 23, 2017 9:39 am

Thanks!

User avatar
Nite Owl
Dangerous
Dangerous
Posts: 88
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Xenon UI OXP

Post by Nite Owl » Thu Jan 25, 2018 9:51 pm

Currently using the latest version of Xenon UI (released today) along with Resource Pack G and the latest version of The Library. Decided to catch up on some history about this OXP and noticed something odd. Regardless of the version used in the past or am using now never have had the image of My Ship in the upper right quadrant of the initial F5 screen. This is not something that mattered in the past but now having read this entire thread and the Wiki entry and having seen all of the screenshots that include a Commander's Ship in that position it feels as if something is missing from my game. The only time (aside from external views) that My Ship is visible to me is from the Load Commander Screen which just no longer seems to be enough. If it helps My Ship is currently outfitted with one of gsagostinho's Cobra Mk. III textures. Looked through the Xenon UI code but did not notice anything specifically relating to the showing of a Commander's Ship on the F5 screen. If it is a matter of adding some code somewhere to accomplish this then that should be doable if the specific code was known to me. Please advise and Thank You in advance.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13554
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Xenon UI OXP

Post by Cody » Thu Jan 25, 2018 9:58 pm

Add "show-ship-model-in-status-screen" = YES; to your .GNUstepDefaults file (back it up first, perhaps). That should do it.

User avatar
Nite Owl
Dangerous
Dangerous
Posts: 88
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Xenon UI OXP

Post by Nite Owl » Fri Jan 26, 2018 12:10 am

Thank You for the very simple fix, have it working now. Two further questions though:

Is there a reason that this option is not listed on the .GNUstepDefaults Hidden Options Page on the Wiki? Other than the fact that no one has placed it there because it is such common knowledge to all but the newest of players. Would have found it sooner on my own if it had been there.

Is there a further option to prevent My Ship from spinning on the F5 screen? Admittedly this one is pushing it a bit but hey, it cannot hurt to ask.

Will stop derailing the thread now. Thank You Once Again.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon

User avatar
phkb
Commodore
Commodore
Posts: 2282
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Fri Jan 26, 2018 2:01 am

Nite Owl wrote: Is there a reason that this option is not listed on the .GNUstepDefaults Hidden Options Page on the Wiki?
No idea, but it does now!

User avatar
phkb
Commodore
Commodore
Posts: 2282
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Wed Jul 11, 2018 10:51 pm

Major update to Xenon UI today. There is now an "Amber" color option (selectable via Library Config). Here's how it looks:

Image

All the resource packs have been updated as well, and because of this new option they have all doubled in size (sorry!). But I think the option is worth it.

The effect is best seen with the latest Trunk version of Oolite, which has a new option to allow the color settings in the "gui-settings.plist" file to be changed via JS. This means the page header and underline colors can be changed to match the background whenever you switch. If you aren't using trunk, the colors will stay as blue. If there's any call for it, I might release a small pack that will force the amber colors on the header for users of 1.86 and prior.

Same option has been added to the Redux pack.

User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2542
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Xenon UI OXP

Post by Norby » Thu Jul 12, 2018 6:14 am

Nice and dangerous. ;)

User avatar
phkb
Commodore
Commodore
Posts: 2282
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Thu Jul 12, 2018 2:13 pm

Norby wrote:Nice and dangerous.
I'd be happy to settle for just Competant, at this stage. :)

User avatar
Nite Owl
Dangerous
Dangerous
Posts: 88
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Xenon UI OXP

Post by Nite Owl » Thu Nov 15, 2018 5:52 pm

A bit of a conflict has arisen between Xenon UI v3.0 and Library v1.7. The Latest Log keeps filling up with the following errors.

Code: Select all

21:31:59.177 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
21:32:02.141 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
21:32:50.642 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
21:32:53.614 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
21:32:56.400 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
21:32:58.820 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
21:32:59.574 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
21:33:00.495 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
21:33:01.654 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
21:33:06.311 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
21:33:12.962 [script.javaScript.exception.readOnly]: ***** JavaScript exception (XenonUI 3.0): TypeError: lib.$IDRules[missionScreenID] is read-only
None of these errors are causing problems within the game, everything is working as expected, but they are slightly annoying when one is visually parsing the Latest Log. As far as can be determined the offending JavaScript exists in the xenonui.js at lines 226 through 240 in Notepad+. Tried a workaround by changing the 1's (true) to 0's (false) but the result was a loss of the side panels on the screens within the Read Only portion of the aforementioned script. Better scripting minds then mine are needed. Thank you for your time and effort on our behalf. It is much appreciated.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon

User avatar
phkb
Commodore
Commodore
Posts: 2282
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Thu Nov 15, 2018 8:48 pm

Version 3.1 is now available which corrects the compatibility issue with Library 1.7.

User avatar
Nite Owl
Dangerous
Dangerous
Posts: 88
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Xenon UI OXP

Post by Nite Owl » Thu Nov 15, 2018 9:32 pm

WOW TWICE !!

Fast bug smashing. Thank you very much phkb.

Upon comparing the 3.0 and 3.1 xenonui.js was it possible for me to have been more wrong in my feeble attempts to find the error generating portion of that JavaScript. Chalk it up to another learning experience.

One day it will all make sense - Maybe - Maybe Not.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon

User avatar
Svengali
---- E L I T E ----
---- E L I T E ----
Posts: 2365
Joined: Sat Oct 20, 2007 2:52 pm

Re: Xenon UI OXP

Post by Svengali » Mon Nov 19, 2018 12:14 am

@phkb: Sorry about the extra work. I just forgot to send you a pm about the locked defaults.

Post Reply