Difference between revisions of "Nexus"

From Elite Wiki
(Install =)
m (Tagged as an External Programme)
 
(15 intermediate revisions by 3 users not shown)
Line 14: Line 14:
 
== Requirements ==
 
== Requirements ==
 
*Nexus (Oolite Communicator)
 
*Nexus (Oolite Communicator)
*A compatible Java language
+
*An up to date Java runtime (see https://openjdk.java.net/)
*An XMPP account
+
*An XMPP account (see https://xmpp.org/)
 
*The [http://www.oolite.org/download/ Developer Release] version of Oolite (also known as Oolite TR): this is a separate download for AppleMac or Linux but is instead a converter for Windows.
 
*The [http://www.oolite.org/download/ Developer Release] version of Oolite (also known as Oolite TR): this is a separate download for AppleMac or Linux but is instead a converter for Windows.
  
Line 23: Line 23:
 
* The Windows version works well but needs to be started up from the windows cmd (Command Shell).
 
* The Windows version works well but needs to be started up from the windows cmd (Command Shell).
 
* Running on MacOS it seems that Oolite needs help connecting to Nexus. See  
 
* Running on MacOS it seems that Oolite needs help connecting to Nexus. See  
** [http://aegidian.org/bb/viewtopic.php?p=281694#p281694 Oolite on MacOS]
+
** [https://bb.oolite.space/viewtopic.php?p=281694#p281694 Oolite on MacOS]
** [http://aegidian.org/bb/viewtopic.php?p=274239#p274239 Problem with external debug console on Mac]
+
** [https://bb.oolite.space/viewtopic.php?p=274239#p274239 Problem with external debug console on Mac]
** [http://aegidian.org/bb/viewtopic.php?f=3&t=20891 MacOS debug version does not work with external console]
+
** [https://bb.oolite.space/viewtopic.php?f=3&t=20891 MacOS debug version does not work with external console]
  
 
If your operating system behaves very strange or you have two left feet there is a Virtualbox appliance available that you can download and execute. It resembles an Ubuntu Linux machine, preinstalled with Oolite and Nexus.
 
If your operating system behaves very strange or you have two left feet there is a Virtualbox appliance available that you can download and execute. It resembles an Ubuntu Linux machine, preinstalled with Oolite and Nexus.
Line 31: Line 31:
 
== Downloads ==
 
== Downloads ==
 
*[https://app.box.com/s/6lw8q49pw7hhxnziatkipdejhu2wiaht Current Versions for the various platforms]
 
*[https://app.box.com/s/6lw8q49pw7hhxnziatkipdejhu2wiaht Current Versions for the various platforms]
:The torrent file is for downloading a version of Ubuntu Linux which runs inside the AppleMac on VirtualBox complete with OoliteTR & Oolite Communicator/Nexus
+
:The torrent file is for downloading a VirtualBox appliance with Ubuntu Linux plus Oolite Debug version & Nexus - just add hot water
  
 
== Installation ==
 
== Installation ==
=== AppleMac ===
+
=== <font color="Green"> AppleMac ===
 
'''Currently needs Terminal''' - found in the Utilities folder in Launchpad (F4)
 
'''Currently needs Terminal''' - found in the Utilities folder in Launchpad (F4)
  
==== 1) Download ====
+
==== Download ====
 
:A version of Java needs to be installed (details in ReadMe file) as does the Developer version of Oolite (containing its Debug console).
 
:A version of Java needs to be installed (details in ReadMe file) as does the Developer version of Oolite (containing its Debug console).
  
Line 43: Line 43:
  
  
==== 2) Unzip ====
+
==== Install ====
 
Using the Terminal programme (AppleMac utilities folder - F4 button) unpack the Oolite communicator distribution (from the downloads folder) into my Nexus folder:
 
Using the Terminal programme (AppleMac utilities folder - F4 button) unpack the Oolite communicator distribution (from the downloads folder) into my Nexus folder:
  
Line 49: Line 49:
  
  
==== 3) Start ====
+
==== Start ====
 
:Using Terminal, look inside this new version of Nexus:
 
:Using Terminal, look inside this new version of Nexus:
 
  accountname@Fulls-Air OoliteCommunicator-1.0-20211221-202253 % ls
 
  accountname@Fulls-Air OoliteCommunicator-1.0-20211221-202253 % ls
Line 55: Line 55:
 
You should see this:
 
You should see this:
 
   Communicator_Logo_Icon.png         readme.txt
 
   Communicator_Logo_Icon.png         readme.txt
   Nexus.oxp         run.cmd
+
   Nexus.oxp run.cmd
 
   configuration.properties.sample run.sh
 
   configuration.properties.sample run.sh
 
   dist
 
   dist
Line 62: Line 62:
 
Now run Nexusr from inside Terminal:
 
Now run Nexusr from inside Terminal:
 
   accountname@Fulls-Air Nexus-1.0-20211221-202253 % ./run.sh
 
   accountname@Fulls-Air Nexus-1.0-20211221-202253 % ./run.sh
 +
</font>
  
=== Windows ===
+
=== <font color="Red"> Windows ===
 
'''Needs windows cmd (command shell)'''
 
'''Needs windows cmd (command shell)'''
  
==== 1) Download ====
+
==== Download ====
 
As mentioned in the ReadMe file, Java & the Oolite Developer version (with the Debug console) need to be downloaded & installed.
 
As mentioned in the ReadMe file, Java & the Oolite Developer version (with the Debug console) need to be downloaded & installed.
  
 
Then download the windows version of Nexus
 
Then download the windows version of Nexus
  
==== 2) Unzip and tuck away ====
+
==== install ====
 
From the Downloads folder, unzip this to (''eg.'') C:Users/Lenovo/Document/Nexus
 
From the Downloads folder, unzip this to (''eg.'') C:Users/Lenovo/Document/Nexus
  
==== 3) Start ====
+
==== Start ====
 
Doubleclick [i]Run[/i] file inside the Nexus folder.
 
Doubleclick [i]Run[/i] file inside the Nexus folder.
 +
</font>
  
=== Linux ===
+
=== <font color="Blue"> Linux ===
 
==== Download ====
 
==== Download ====
 
Download the debian package.
 
Download the debian package.
  
=== Install ===
+
==== Install ====
 
Install it using the system tools:
 
Install it using the system tools:
 
  apt install Nexus.deb
 
  apt install Nexus.deb
Line 87: Line 89:
 
==== Start ====
 
==== Start ====
 
In your desktop, find the Nexus application and click it.
 
In your desktop, find the Nexus application and click it.
 +
</font>
  
 
== Configuration ==
 
== Configuration ==
Line 97: Line 100:
 
== Usage ==
 
== Usage ==
 
Start Nexus. If configured correctly it will automatically connect to your XMPP server and bring up Oolite. The status panel will show two green 'connected' labels.
 
Start Nexus. If configured correctly it will automatically connect to your XMPP server and bring up Oolite. The status panel will show two green 'connected' labels.
 +
 
If Nexus cannot startup Oolite automatically, you may help by starting the Oolite Developer version AFTER you started Nexus. It is still important to see that both connections are marked as green.
 
If Nexus cannot startup Oolite automatically, you may help by starting the Oolite Developer version AFTER you started Nexus. It is still important to see that both connections are marked as green.
  
 
Once inside the game, you can play Oolite as usual. There a few new features available though.
 
Once inside the game, you can play Oolite as usual. There a few new features available though.
  
...
+
===Status===
 +
The Status tab allows you to check if Nexus has everything it should. On one screen you can see the connection status and a few important game parameters.
 +
 
 +
You can even retrieve the ship manifest and check the content of your cargo bay.
 +
 
 +
In case Nexus looses the XMPP connection it will try to reconnect automatically. This does not work on the Oolite side, as it is Oolite that needs to reconnect.
 +
 
 +
===Chat===
 +
The chat panel allows you to see what other users are online.
 +
It also allows you to send messages and see the messages that you and others sent. In case you are busy flying and thus cannot keep an eye on the chat panel, listen closely. All incoming messages are forwarded as comms messages and are read out if you configured Oolite Text To Speech.
 +
 
 +
===Warehouse===
 +
All warehouse functions are only available while docked to a station.
 +
 
 +
You can stash and retrieve cargo from your cargo bay into the station's warehouse. Stashing can happen for yourself or for another player. Goods stashed for other players cannot be claimed back.
 +
 
 +
Since over time your goods will be distributed across stations, stars and galaxies the inventory allows you to get a holistic view of what is where. Sometimes you may experience that you have to wait for the inventory to appear. This can happen if information from the other star systems is not immediately available.
 +
 
 +
While you can see goods across the galaxies, only those at the station you are docked with are accessible. They are marked in bold text.
  
 
== Troubleshooting ==
 
== Troubleshooting ==
Line 107: Line 129:
 
Free XMPP providers tend to be unreliable. You may well find that you go through several of these over the course of several months as they are closed down/withdrawn/attacked by severe bouts of constipation, ''etc''. If you get annoyed by this unreliability, ask for your money back and find another provider.
 
Free XMPP providers tend to be unreliable. You may well find that you go through several of these over the course of several months as they are closed down/withdrawn/attacked by severe bouts of constipation, ''etc''. If you get annoyed by this unreliability, ask for your money back and find another provider.
  
You can easily check if your account is still functioning: lure five Elite:Dangerous fanatics (preferably male) to the top of Macchu Picchu. Do ''not'' forget your sacrificial knife. As they ascend the lower slopes start intoning the second threnody from the fourth codicil of the Codex of Giles the Creator in a low descant and hide in the shrubbery. Does anybody ever read this stuff?
+
You can easily check if your account is still functioning: lure five Elite:Dangerous fanatics (preferably male) to the top of Macchu Picchu. Do ''not'' forget your sacrificial knife. As they ascend the lower slopes start intoning the second threnody from the fourth codicil of the Codex of Giles the Creator in a low descant and hide in the shrubbery. Does anybody ever read this stuff? When they pass, jump out and eviscerate them. You need their pineal glands and their appendices. Climb to the top of Macchu Picchu and with a lit torch scorch the bottom of each appendix. Recite the third threnody in a basso profundo. Drink a glass of decent wine and then investigate each appendix for knots. If there are not any knots, your account should be in fine shape. Possibly even dodecahedral.
  
 
Alternatively just click the 'Test' button in the Nexus Configuration tab.
 
Alternatively just click the 'Test' button in the Nexus Configuration tab.
 +
 +
=== Oolite ===
 +
If Oolite does not start up automatically, very likely the path to the Oolite installation is wrongly configured. Browse for the correct path, or let Nexus suggest suitable paths and try which one works best for you.
 +
 +
If you do not see a green connection on the Nexus status panel it may be that
 +
* you are not running a debug version of Oolite,
 +
* it maybe that Oolite does not connect to an external debug console (especially on MacOS),
 +
* if may be that Oolite expects the debug console not where Nexus is listening.
  
 
== Links ==
 
== Links ==
*[http://www.aegidian.org/bb/viewtopic.php?f=4&t=21033 MultiPlayer Proof Of Concept: Oolite Communicator] (2021+)
+
===Discussion===
*[http://www.aegidian.org/bb/viewtopic.php?f=2&t=20981 Brainstorming for a MultiUser OXP] (2021)
+
*[https://bb.oolite.space/viewtopic.php?f=4&t=21033 MultiPlayer Proof Of Concept: Oolite Communicator] (2021+)
 +
*[https://bb.oolite.space/viewtopic.php?f=2&t=20981 Brainstorming for a MultiUser OXP] (2021)
 
*Author: [[User:Hiran|Hiran]]
 
*Author: [[User:Hiran|Hiran]]
  
 
=== Historic comments on multi-player Oolite ===
 
=== Historic comments on multi-player Oolite ===
*[http://www.aegidian.org/bb/viewtopic.php?f=2&t=6173 Oolite Multiplayer? Please read] (2009-date) - has links to older threads
+
*[https://bb.oolite.space/viewtopic.php?f=2&t=6173 Oolite Multiplayer? Please read] (2009-date) - has links to older threads
 +
 
 +
[[Category:Oolite External Programmes]]

Latest revision as of 20:12, 25 July 2024

Oolite Communicator.png

The Nexus is an addon that adds multiplayer features to Oolite.


Overview

This is not an OXP. Nor a custom build of Oolite. Instead it is a separate component that hooks up via XMPP and shares specific game events with other players.

Current capabilities (5th Jan 2022) are

•communication between players
•ability to store material in a warehouse on station when docked (reclaimable later at the same station)
•ability to gift material to others via a warehouse at a specified station
Further enhancements are expected once the current status issues are sorted out.

Requirements

Current Status

At the time of writing this is a WIP. Nexus can run on Linux, MacOS and Windows. However...

If your operating system behaves very strange or you have two left feet there is a Virtualbox appliance available that you can download and execute. It resembles an Ubuntu Linux machine, preinstalled with Oolite and Nexus.

Downloads

The torrent file is for downloading a VirtualBox appliance with Ubuntu Linux plus Oolite Debug version & Nexus - just add hot water

Installation

AppleMac

Currently needs Terminal - found in the Utilities folder in Launchpad (F4)

Download

A version of Java needs to be installed (details in ReadMe file) as does the Developer version of Oolite (containing its Debug console).
My Nexus folder (with old versions of Oolite Communicator inside) is located here: /Users/accountname/Desktop/Nexus


Install

Using the Terminal programme (AppleMac utilities folder - F4 button) unpack the Oolite communicator distribution (from the downloads folder) into my Nexus folder:

 accountname@Fulls-Air Nexus % tar -xf ~/Downloads/Nexus-1.0-20211221-202253-macos.tar.gz 


Start

Using Terminal, look inside this new version of Nexus:
accountname@Fulls-Air OoliteCommunicator-1.0-20211221-202253 % ls

You should see this:

 Communicator_Logo_Icon.png	        readme.txt
 Nexus.oxp				run.cmd
 configuration.properties.sample	run.sh
 dist


Now run Nexusr from inside Terminal:

 accountname@Fulls-Air Nexus-1.0-20211221-202253 % ./run.sh

Windows

Needs windows cmd (command shell)

Download

As mentioned in the ReadMe file, Java & the Oolite Developer version (with the Debug console) need to be downloaded & installed.

Then download the windows version of Nexus

install

From the Downloads folder, unzip this to (eg.) C:Users/Lenovo/Document/Nexus

Start

Doubleclick [i]Run[/i] file inside the Nexus folder.

Linux

Download

Download the debian package.

Install

Install it using the system tools:

apt install Nexus.deb

Start

In your desktop, find the Nexus application and click it.

Configuration

  • Startup Nexus, go to the Configuration tab.
  • Enter your XMPP data. Press the Test button to verify it is correctly configured.
  • Choose the correct Oolite installation path for your system. Nexus can suggest promising paths for you.
  • Click the Save button in the lower right.
  • Restart Nexus for the changes to be effective.

Usage

Start Nexus. If configured correctly it will automatically connect to your XMPP server and bring up Oolite. The status panel will show two green 'connected' labels.

If Nexus cannot startup Oolite automatically, you may help by starting the Oolite Developer version AFTER you started Nexus. It is still important to see that both connections are marked as green.

Once inside the game, you can play Oolite as usual. There a few new features available though.

Status

The Status tab allows you to check if Nexus has everything it should. On one screen you can see the connection status and a few important game parameters.

You can even retrieve the ship manifest and check the content of your cargo bay.

In case Nexus looses the XMPP connection it will try to reconnect automatically. This does not work on the Oolite side, as it is Oolite that needs to reconnect.

Chat

The chat panel allows you to see what other users are online. It also allows you to send messages and see the messages that you and others sent. In case you are busy flying and thus cannot keep an eye on the chat panel, listen closely. All incoming messages are forwarded as comms messages and are read out if you configured Oolite Text To Speech.

Warehouse

All warehouse functions are only available while docked to a station.

You can stash and retrieve cargo from your cargo bay into the station's warehouse. Stashing can happen for yourself or for another player. Goods stashed for other players cannot be claimed back.

Since over time your goods will be distributed across stations, stars and galaxies the inventory allows you to get a holistic view of what is where. Sometimes you may experience that you have to wait for the inventory to appear. This can happen if information from the other star systems is not immediately available.

While you can see goods across the galaxies, only those at the station you are docked with are accessible. They are marked in bold text.

Troubleshooting

XMPP

Free XMPP providers tend to be unreliable. You may well find that you go through several of these over the course of several months as they are closed down/withdrawn/attacked by severe bouts of constipation, etc. If you get annoyed by this unreliability, ask for your money back and find another provider.

You can easily check if your account is still functioning: lure five Elite:Dangerous fanatics (preferably male) to the top of Macchu Picchu. Do not forget your sacrificial knife. As they ascend the lower slopes start intoning the second threnody from the fourth codicil of the Codex of Giles the Creator in a low descant and hide in the shrubbery. Does anybody ever read this stuff? When they pass, jump out and eviscerate them. You need their pineal glands and their appendices. Climb to the top of Macchu Picchu and with a lit torch scorch the bottom of each appendix. Recite the third threnody in a basso profundo. Drink a glass of decent wine and then investigate each appendix for knots. If there are not any knots, your account should be in fine shape. Possibly even dodecahedral.

Alternatively just click the 'Test' button in the Nexus Configuration tab.

Oolite

If Oolite does not start up automatically, very likely the path to the Oolite installation is wrongly configured. Browse for the correct path, or let Nexus suggest suitable paths and try which one works best for you.

If you do not see a green connection on the Nexus status panel it may be that

  • you are not running a debug version of Oolite,
  • it maybe that Oolite does not connect to an external debug console (especially on MacOS),
  • if may be that Oolite expects the debug console not where Nexus is listening.

Links

Discussion

Historic comments on multi-player Oolite