Trunk nightly

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5397
Joined: Wed Feb 28, 2007 7:54 am

Re: Trunk nightly

Post by another_commander » Sat Dec 10, 2016 10:07 pm

Done - thank you!

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 960
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: Trunk nightly

Post by Getafix » Thu Dec 15, 2016 9:21 am

<Creaky sound of door opening... Approaching gasping and panting sounds... Getafix crawls slowly in the room in a rather unpleasant shape...>

Image

Guys 'n' gals, disproportionally balancing between R/L and OO/L realms, and with disk cylinders resembling to something between swiss cheese and blue cheese, the nightly server is slowly recovering.
There will be interruptions, as the server is still in ER, hopefully gradually fading out.

<Getafix, painfully exits the room...>
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

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

Re: Trunk nightly

Post by Cody » Thu Dec 15, 2016 10:51 am

Muchas gracias, amigo!

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

Re: Trunk nightly 1.85.0.6875-161215-b779a8f

Post by Cody » Fri Dec 16, 2016 3:06 pm

Cody wrote:Not a bug as such, but I've not seen this before: no docking clearance message from the station.
Had this happen again last night - no request acknowledgement, no clearance message, but I did get the thirty-second warning.

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 960
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: Trunk nightly

Post by Getafix » Mon Jan 09, 2017 8:13 am

The nightly server shows clearly its age and it's down. :(
I'll have a look as soon as I manage to get my hands on it, i.e. tonight.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

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

Re: Trunk nightly

Post by Cody » Tue Jan 10, 2017 11:18 pm

If the ASC gets damaged, it defaults to the basic planet only, yes?

Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 278
Joined: Sat Aug 09, 2014 4:16 pm

Re: Trunk nightly

Post by Commander_X » Wed Jan 11, 2017 4:40 pm

... or to the station when close enough to it.

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

Re: Trunk nightly 1.85.0.6881-170102-2ef7784

Post by Cody » Wed Jan 11, 2017 6:30 pm

Thanks, that's what I thought... which is why this had me puzzled. The damaged ASC seemed to work fine, showing planet, sun, nav buoy, and hermit.

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5397
Joined: Wed Feb 28, 2007 7:54 am

Re: Trunk nightly

Post by another_commander » Thu Jan 12, 2017 7:01 pm

Interesting... This bug goes as far back as at least v1.82.

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5397
Joined: Wed Feb 28, 2007 7:54 am

Re: Trunk nightly

Post by another_commander » Fri Jan 13, 2017 2:31 pm

This should now be fixed with commit 3207533. In order to fix this, a new JS PlayerShip property, compassType, was introduced. What it does, is basically make the compass work as a dual-mode piece of equipment, if one wishes so, rather than being two separate pieces (basic and advanced equipment).

It is meant to be used mostly internally, but of course scripters can make use of it as well; they will just need to be a bit careful with it, because it lets you do stuff that would not be allowed in the normal game.

player.ship.compassType had to be introduced because the compassTarget and compassMode existing properties were by design read-only. What it does is set the compass to either basic mode or advanced mode, without caring about the Advanced Space Compass equipment being present or not. If you do not have the ASC present or have it damaged, then the property will still set the compass type to whatever the scripter wants, but it will print a log warning in this case. Note that switching your basic compass to an advanced one like this is not a permanent change; it all gets reset whenever the universe is recreated, i.e., after a hyperspace jump to a new system, so be careful if you do decide to incorporate it in your scripts.

Usage:
player.ship.compassType = "OO_COMPASSTYPE_BASIC"; or
player.ship.compassType = "OO_COMPASSTYPE_ADVANCED";
Any other value will result in an error.

Of course, if you never use this property in your scripts, the only difference you should see is that when the ASC breaks now, it breaks as expected. And, hopefully, the ASC is the only thing that I've managed to break during this attempt. If you see any problems with this, let me know. If you think that it would be best if the compass type should not be switchable without the Advanced Compass equipment being present, feel free to say so, It should be posible to change the current warnings of the property to errors and reject changes if so desired (although I'd think it's best the way it is now).

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

Re: Trunk nightly

Post by Cody » Fri Jan 13, 2017 3:06 pm

Thanks - sounds like you had some fun with that one.

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

Re: Trunk nightly

Post by Cody » Thu Jan 26, 2017 6:55 pm

My ASC took a hit again... erm, is this correct breakage? Still locked onto the station, I reckon, but showing the red circle?

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5397
Joined: Wed Feb 28, 2007 7:54 am

Re: Trunk nightly

Post by another_commander » Thu Jan 26, 2017 7:07 pm

It should lock on the main station on breakage, if the main station is nearby. If it is not the case, I am suspecting OXP interference because for me it works OK.

Meh, what'd you expect, it's broken anyway...

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

Re: Trunk nightly

Post by Cody » Thu Jan 26, 2017 7:19 pm

Yeah, it's broken anyway... and I'm an old fool! <chortles> Where's my medication?

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 960
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: Trunk nightly

Post by Getafix » Fri Jan 27, 2017 8:24 am

another_commander wrote:
Thu Jan 26, 2017 7:07 pm
...Meh, what'd you expect, it's broken anyway...
:lol:
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

Post Reply