Search found 4825 matches

by phkb
Thu Aug 01, 2024 10:25 pm
Forum: Expansion Pack
Topic: [WIP] GalCop Missions
Replies: 465
Views: 296818

Re: [WIP] GalCop Missions

There is a way to jump to a quarantined system. :wink:

The other items I will look at. Would a big red cross on the chart help in knowing which systems were quarantined?
by phkb
Mon Jul 29, 2024 10:45 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1757
Views: 768586

Re: Scripters cove

What my friend would really like to do is change the background image on the market screen on every playerBoughtCargo event, but I've advised him not to even bother trying. Is my advice correct? Changing the screen key on every playerBoughtCargo event would probably work, as the content of the scre...
by phkb
Mon Jul 29, 2024 10:41 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1757
Views: 768586

Re: Scripters cove

The problem your friend is facing is that he is setting the background for the screen key for green and orange status. Oolite only looks at the key value when it draws the screen. After that, no matter how often you change the key setting, the screen will stay the same until Oolite gets a message to...
by phkb
Sun Jul 28, 2024 6:40 am
Forum: Expansion Pack
Topic: Javascript Exceptions after Blowup
Replies: 10
Views: 2432

Re: Javascript Exceptions after Blowup

I regularly have to test crashing my ship, to make sure I've included the right tests in the right spots, to prevent these sorts of errors.

Basically, any reference to "player.ship" (or any of its properties) will fail if the player dies.
by phkb
Sun Jul 28, 2024 6:31 am
Forum: Expansion Pack
Topic: [Release] HUD Selector v1.17
Replies: 155
Views: 129454

Re: [Release] HUD Selector v1.17

Just from reading the patch notes, I suspect a better solution for HUD Selector would be to check if Auto Crosshairs is installed, and if so, don't try to redo what Auto Crosshairs is doing. Basically, to get out of the way, and save the settings if ACH is not installed. That may not make any sense ...
by phkb
Sun Jul 28, 2024 6:27 am
Forum: Expansion Pack
Topic: [Release] HUD Selector v1.17
Replies: 155
Views: 129454

Re: [Release] HUD Selector v1.17

As I said, I'll have a look at the code tomorrow - there might be an easier solution than a FCB.
by phkb
Sun Jul 28, 2024 5:20 am
Forum: Expansion Pack
Topic: [Release] HUD Selector v1.17
Replies: 155
Views: 129454

Re: [Release] HUD Selector v1.17

Wildeblood wrote: Sat Jul 27, 2024 11:14 am
Bull*bleep*
I'll take a look tomorrow to see if I can discern what Norby was trying to fix/resolve/achieve.
by phkb
Sat Jul 27, 2024 2:32 am
Forum: Expansion Pack
Topic: [WIP] GalCop Missions
Replies: 465
Views: 296818

Re: [WIP] GalCop Missions

Whi'chud? Looks like the Extra Large HUD with 10 MFD's from The "HUD Selector" OXP. The waypoints are not attached to the escape pod (I'd really not noticed that until today). Correct. They spawn at regular intervals on the pod location at that moment. They don't follow the pod. I suspect...
by phkb
Mon Jul 22, 2024 7:02 am
Forum: Discussion
Topic: Cockpits, HUDs and other displays
Replies: 100
Views: 12614

Re: Cockpits, HUDs and other displays

Aren’t we just taking about the properties of the player ship? Ie https://wiki.alioth.net/index.php/Oolite_JavaScript_Reference:_PlayerShip
by phkb
Mon Jul 22, 2024 6:33 am
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1757
Views: 768586

Re: Scripters cove

And Cataclysm.

:D
by phkb
Mon Jul 22, 2024 4:32 am
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1757
Views: 768586

Re: Scripters cove

More examples: Taranis, TCAT, Tionisla Reporter, Trident Down, UPS, Feudal States
by phkb
Mon Jul 22, 2024 4:27 am
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1757
Views: 768586

Re: Scripters cove

That has previously been my understanding, but can anyone provide a working example? (Of world-script B altering an instruction left by world-script A.) Contracts on Bulletin Board has to use other keys to update instructions for the "Escort Contracts" and "Random Hits" OXPs. Th...
by phkb
Mon Jul 22, 2024 12:57 am
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1757
Views: 768586

Re: Scripters cove

Why, when using mission.setInstructions, do I habitually use a second parameter, always set to this.name? The second parameter is optional *if* you always call setInstructions from the same worldscript. If you had, say, a ship script that needed to update the instructions you added via your worldsc...
by phkb
Mon Jul 15, 2024 4:54 am
Forum: Oolite-Mac
Topic: Attempting to get 1.91 built on Mac
Replies: 104
Views: 15592

Re: Attempting to get 1.91 built on Mac

I'm wondering if the issue is something to do with the initialisation settings. For clarity, this is what I've currently got: // Pixel Format Attributes for the View-based (non-FullScreen) NSOpenGLContext NSOpenGLPixelFormatAttribute attrs[] = { // Specify that we want a windowed OpenGL context. // ...
by phkb
Mon Jul 15, 2024 4:25 am
Forum: Oolite-Mac
Topic: Attempting to get 1.91 built on Mac
Replies: 104
Views: 15592

Re: Attempting to get 1.91 built on Mac

Some additional debugging has found the following: OOGL(glClampColor(GL_CLAMP_VERTEX_COLOR, GL_FALSE)); and OOGL(glClampColor(GL_CLAMP_FRAGMENT_COLOR, GL_FALSE)); FaIl with the error "invaliud enumerant". So I guess it's not as simple as just adding those definitions. Everything down to th...