Page 16 of 18

Re: OoliteStarter

Posted: Mon Jul 15, 2024 9:46 pm
by MrFlibble
hiran wrote: Mon Jul 15, 2024 9:03 pm
MrFlibble wrote: Mon Jul 15, 2024 12:26 pm
Ah!! Looking at my somewhat more weathered Linux setup, we're talking about the 'manually installed' addons!

On Linux by default (for me) it's $HOME/GNUstep/Applications/Oolite/AddOns

So... Does that have a default location on the Mac, and if so, should it not get pre-populated by starter?
I'm happy to add such detection if only I knew what to look for. Am poking at nothing since I do not have the target machine.
If someone knows a good way to find the addons directory for a Mac please shout.
I'm not sure there is a 'right' way. If you look at [Wikipedia] OXP, perticularly the "AddOns and Managed AddOns folders", you'll see that on Linux there are three possible locations, and at least two of those could be in use at the same time.

Thinking outside the box.. perhaps there should be multiple (manual) add-ons fields, or the option to add/remove (clicky plus/minus buttons?). That would allow e.g. $HOME/OXP/core and $HOME/OXP/thisQuirkySetup to be used if a user had a base set of manual addons, but wanted extra ones in some scenarios. That would allow the defaults per platform to be pre-populated, be they the one of Windows, the three of Linux, or .. you get the picture :)

Re: OoliteStarter

Posted: Mon Jul 15, 2024 10:37 pm
by hiran
MrFlibble wrote: Mon Jul 15, 2024 9:46 pm
I'm not sure there is a 'right' way. If you look at [Wikipedia] OXP, perticularly the "AddOns and Managed AddOns folders", you'll see that on Linux there are three possible locations, and at least two of those could be in use at the same time.
The link you posted redirects me to https://en.wikipedia.org/wiki/Oxford_Pa ... ay_station. And no, I do not see three possible locations for AddOns... :lol:

Re: OoliteStarter

Posted: Tue Jul 16, 2024 1:58 am
by MrFlibble
hiran wrote: Mon Jul 15, 2024 10:37 pm
MrFlibble wrote: Mon Jul 15, 2024 9:46 pm
I'm not sure there is a 'right' way. If you look at [Wikipedia] OXP, perticularly the "AddOns and Managed AddOns folders", you'll see that on Linux there are three possible locations, and at least two of those could be in use at the same time.
The link you posted redirects me to https://en.wikipedia.org/wiki/Oxford_Pa ... ay_station. And no, I do not see three possible locations for AddOns... :lol:
Never has your avatar (to my knowledge) been more appropriate.

Of course I meant [EliteWiki] OXP

Re: OoliteStarter

Posted: Tue Jul 16, 2024 5:13 am
by hiran
MrFlibble wrote: Tue Jul 16, 2024 1:58 am
hiran wrote: Mon Jul 15, 2024 10:37 pm
MrFlibble wrote: Mon Jul 15, 2024 9:46 pm
I'm not sure there is a 'right' way. If you look at [Wikipedia] OXP, perticularly the "AddOns and Managed AddOns folders", you'll see that on Linux there are three possible locations, and at least two of those could be in use at the same time.
The link you posted redirects me to https://en.wikipedia.org/wiki/Oxford_Pa ... ay_station. And no, I do not see three possible locations for AddOns... :lol:
Never has your avatar (to my knowledge) been more appropriate.

Of course I meant [EliteWiki] OXP
You are leading me to a dilemma. I had a look at Locating your AddOns folder/MacOS, and that is good content. But there is a chance for having two paths. What to do?

Re: OoliteStarter

Posted: Tue Jul 16, 2024 7:06 am
by Cholmondely
The link you posted redirects me to https://en.wikipedia.org/wiki/Oxford_Pa ... ay_station.

Just up the road from where I'm writing this! How on earth did that railway station get a mention?

Re: OoliteStarter

Posted: Tue Jul 16, 2024 11:22 am
by MrFlibble
Cholmondely wrote: Tue Jul 16, 2024 7:06 am
The link you posted redirects me to https://en.wikipedia.org/wiki/Oxford_Pa ... ay_station.

Just up the road from where I'm writing this! How on earth did that railway station get a mention?
I see what happened. I hit Wikipedia link rather than Wiki.

I now know the three letter code for Oxford Parkway station. Every day is a learning day.

Re: OoliteStarter

Posted: Tue Jul 16, 2024 2:53 pm
by hiran
MrFlibble wrote: Tue Jul 16, 2024 11:22 am
I see what happened. I hit Wikipedia link rather than Wiki.

I now know the three letter code for Oxford Parkway station. Every day is a learning day.
That just happens, don't worry.
But it does not answer the question Cholmondely raised ;-)
Cholmondely wrote: Tue Jul 16, 2024 7:06 am
The link you posted redirects me to https://en.wikipedia.org/wiki/Oxford_Pa ... ay_station.

Just up the road from where I'm writing this! How on earth did that railway station get a mention?
Someone living in Hampshire gave in to the itch and created that page in 2016. For the why, it is not documented. Our only chance would be to reach out and ask that guy.

But maybe an explanation: Some german subway stations are also mentioned:
- https://de.wikipedia.org/wiki/Bahnhof_M ... Karlsplatz
- https://de.wikipedia.org/wiki/Bahnhof_B ... rter_Allee
- https://de.wikipedia.org/wiki/Bahnhof_F ... ablerwache

Maybe someone ran a project similar to mine (documenting all the items in Ooniverse) but for earth?

Re: OoliteStarter

Posted: Sun Jul 21, 2024 1:48 am
by Mousenoab
That would allow the defaults per platform to be pre-populated, be they the one of Windows, the three of Linux, or .. you get the picture
Where can I find it? Because I changed to Linux...

https://github.com/OoliteProject/OoliteProject/releases

:cry: :cry:

Re: OoliteStarter

Posted: Sun Jul 21, 2024 5:05 am
by hiran
Mousenoab wrote: Sun Jul 21, 2024 1:48 am
That would allow the defaults per platform to be pre-populated, be they the one of Windows, the three of Linux, or .. you get the picture
Where can I find it? Because I changed to Linux...

https://github.com/OoliteProject/OoliteProject/releases

:cry: :cry:
Look here:
https://github.com/OoliteProject/OoliteStarter/releases

Re: OoliteStarter

Posted: Sun Jul 21, 2024 11:39 pm
by Mousenoab
hiran wrote: Sun Jul 21, 2024 5:05 am
Mousenoab wrote: Sun Jul 21, 2024 1:48 am
That would allow the defaults per platform to be pre-populated, be they the one of Windows, the three of Linux, or .. you get the picture
Where can I find it? Because I changed to Linux...

https://github.com/OoliteProject/OoliteProject/releases

:cry: :cry:
Look here:
https://github.com/OoliteProject/OoliteStarter/releases
:mrgreen: :idea:
Gracias amigo! Y funciona...

Re: OoliteStarter

Posted: Fri Jul 26, 2024 2:29 pm
by MrFlibble
Either I've left my brain in Hyper Cargo, or sending debug via MQTT is not working. I suspect the former, so seek clarification and reminders.

I'm subscribed to '#', so see EVERYTHING going to the server.

Publishing to games/oolite/debug/oolite/input with messages, trying PS, PS.fuel, {"PS.fuel"}, pauseGame(), and even a desperate {"msgType:debug", "PS.fuel"}, all single quoted. None illicit a response on MQTT apart from showing that the server has received the message.

Code: Select all

# Subscribe in xterm 1
> mosquitto_pub -h HOST -p PORT -u USER -P "PASS" -t '#' -v

# Publish in xterm 2
> mosquitto_pub -h HOST -p PORT -u USER -P "PASS" -t 'games/oolite/debug/oolite/input' -m 'PS.fuel'
In the receiver I see:

Code: Select all

games/oolite/debug/oolite/controls {"msgType":"controls","speed":199.2240753173828,"maxSpeed":315}
games/oolite/debug/oolite/controls {"msgType":"controls","speed":229.1977996826172,"maxSpeed":315}
games/oolite/debug/oolite/input PS.fuel
..but nothing comes of the debug command. I did this in mostly empty space to keep output minimal, leaving a speed change in place so you can see the prefix etc. and that subscribe is working.

For reference, here's what I get in Debug Console:

Code: Select all

> PS
[PlayerShip "D.T.T. War Lance" position: (-3154.8, -104003, 510552) scanClass: CLASS_PLAYER status: STATUS_DOCKED]
> PS.fuel
7
I'm using the same MQTT user in both starter and terminal.

Baffled. I was sure this had worked before.

Today's five minute project, to use pauseGame() via MQTT as an equivalent of "Autopause". Set to pause the game on various events (red alert, low altitude, whatever). Ultimate goal, add to a TTGO with a big toggle switch. This would mark the first step toward basic autopilot and bespoke dashboard hardware for the good ship "Flying Shed".

Otto. Hmm! I have a small electric air pump and an inflatable penguin... another day perhaps.

Anyone know if there's something like unpauseGame() that could be used when the switch is thrown to the "Commander in control" position?

Re: OoliteStarter

Posted: Fri Jul 26, 2024 3:50 pm
by hiran
MrFlibble wrote: Fri Jul 26, 2024 2:29 pm

Publishing to games/oolite/debug/oolite/input with messages, trying PS, PS.fuel, {"PS.fuel"}, pauseGame(), and even a desperate {"msgType:debug", "PS.fuel"}, all single quoted. None illicit a response on MQTT apart from showing that the server has received the message.

Code: Select all

# Subscribe in xterm 1
> mosquitto_pub -h HOST -p PORT -u USER -P "PASS" -t '#' -v

# Publish in xterm 2
> mosquitto_pub -h HOST -p PORT -u USER -P "PASS" -t 'games/oolite/debug/oolite/input' -m 'PS.fuel'
In the receiver I see:

Code: Select all

games/oolite/debug/oolite/controls {"msgType":"controls","speed":199.2240753173828,"maxSpeed":315}
games/oolite/debug/oolite/controls {"msgType":"controls","speed":229.1977996826172,"maxSpeed":315}
games/oolite/debug/oolite/input PS.fuel
..but nothing comes of the debug command. I did this in mostly empty space to keep output minimal, leaving a speed change in place so you can see the prefix etc. and that subscribe is working.
I documented it here:
https://github.com/OoliteProject/Oolite ... ck-channel

Looks like you did not try this form:
{ 'command': "somestring" }

Should OoliteStarter give back error messages if it cannot forward something?

Re: OoliteStarter

Posted: Fri Jul 26, 2024 4:20 pm
by MrFlibble
hiran wrote: Fri Jul 26, 2024 3:50 pm
I documented it here:
https://github.com/OoliteProject/Oolite ... ck-channel

Looks like you did not try this form:
{ 'command': "somestring" }

Should OoliteStarter give back error messages if it cannot forward something?
Ah! That'll be it then. Thanks. Brain recovered from Hyper Cargo.

Starter could benefit from an 'starter_errors' topic or similar, rather than silently dropping stuff.

Re: OoliteStarter

Posted: Fri Jul 26, 2024 7:50 pm
by hiran
MrFlibble wrote: Fri Jul 26, 2024 4:20 pm
hiran wrote: Fri Jul 26, 2024 3:50 pm
Should OoliteStarter give back error messages if it cannot forward something?
Ah! That'll be it then. Thanks. Brain recovered from Hyper Cargo.

Starter could benefit from an 'starter_errors' topic or similar, rather than silently dropping stuff.
There already exists oolite/starter for OoliteStarter related messages. It will be used now.

Re: OoliteStarter

Posted: Thu Oct 03, 2024 9:55 pm
by Simba
I want to report a couple of bugs:
1) The pre-release installers hoopsnake.7 and hoopsnake.8 do not start normally in Windows 11, but the process of the running installer remains in the background.
2) After installing OXP PROHIP Xpat b1 (https://wiki.alioth.net/index.php/Refug ... r#Download), the "Available" and "Instaled" lists on the "Expansions" tab do not load.