Oxygen Not Included

Oxygen Not Included

91 ratings
ZTransport
6
2
5
8
5
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.092 MB
Oct 7, 2020 @ 1:19pm
Aug 20, 2021 @ 12:41pm
14 Change Notes ( view )

Subscribe to download
ZTransport

Description
Works with Spaced Out!

ZTransport allows multiple Oxygen Not Included colonies to exchange energy, gases, items, and liquids, as though they were different Z-slices of the same asteroid. This adds some interesting teamwork opportunities to the game.

Installation

One of the players must run a server in order for the mod to be useful. The server is not included. The server is found here[github.com]

Features

  • Transport gases, liquids, items, and energy between colonies running at the same time on different computers
  • All elements can be transmitted
  • Temperature, mass, and even germs are preserved

Usage

Let us use a simple example. Alice has long ago created a sustainable oxygen system, and has much more oxygen production than she needs. Bob, however, has been having trouble with his algae supply; in fact, it has just run out, bringing his oxygen generation to a screeching halt. His Duplicants only have a few cycles to live. What can he do!?

Well, he can take some of Alice's oxygen, of course.

First, Alice and Bob must both be connected to the same server. Say Alice is the one running onizd[github.com] and her IP address is "192.0.2.55". Both Alice and Bob can click on their Printing Pod (or any Z building), click on the "ZTransport" button, type "192.0.2.55" in the Server Address field, and click "Confirm". They will now be connected to the same server. The setting will persist with the world, so they only need to do this step once per world. (If Alice and Bob are on different networks, figuring out what IP address to use will be a fun task, way beyond the scope of this readme... but it may help them to know that the default port is 5496, and the protocol uses TCP, not UDP.)

Now, Alice must build a Z Gas Sender, and Bob must build a Z Gas Receiver, both at the same coordinates. This Sender will send gas to the Receiver, acting something like a Gas Bridge with one end in Alice's asteroid and the other in Bob's. (Once a Z building has been constructed, it will show its coordinates when either selected or moused over; positive X goes to the right, and positive Y goes up. It's clumsy, but this lets you figure out where you are relative to one another, and with patience and precision, get everything linked up.)

Once these buildings are constructed, Alice must run a Gas Pipe from her oxygen generation system to the Z Gas Sender, and Bob must run Gas Pipe from his Z Gas Receiver to a Gas Vent somewhere in his base. Once this is completed, oxygen should begin flowing from one colony to another. Bob is saved! Hooray! (Until Alice's water runs out from all the extra load on her SPOM...)

Missing

These features are not yet present, but are planned to be added some day:

- Z Power Sender working more like a Transformer than a Battery (and multiple versions of it at different power ratings
- Optional game speed syncing, for players who would rather annoy each other than slightly cheat time in a game whose plot revolves around a giant apocalyptic time anomaly...

Bugs

If (when) you encounter any bugs, report the issue on github[github.com], along with the Player.log file which is located in ONI's configuration directory.

This mod was produced as part of an apprenticeship. The bulk of the client's code was written by BloodyRum, under the oppressive and pedantic gaze of Solra Bizna (who also wrote most of this description).
116 Comments
Elro Feb 1 @ 7:05pm 
Hey! Thank you for making this mod! I have some issues with the senders (we tested 20k joules sender and Z drop box sender). We are both connected to the server, I can see the logs of the connections for both players as well as all the receiver asking for resources. However I never see logs for the senders, I just see the message when players join to the server. Sender and receiver are placed at a validposition, I can see this in the log too.

Example of logs:
Player A registered a "JoulesSender" at {40,100}
Player A registered a "SolidRecver" at {38,102}
Player B registered a "JoulesRecver" at {40,100}
Player B registered a "SolidSender" at {38,102}

Player A sunk an object from {38,102} (got nothing)
Player B wanted up to 20000J from {40,100} (0J gotten)
... continues forever

Do you know what could be happening there?

Thanks!
Austen Jan 18 @ 9:11am 
@Solra Bizna And a little suggestion. Is that possible to connect the receiver and sender by code or channel? Which much easier for base design
Austen Jan 18 @ 9:10am 
@Solra Bizna Thank you! And may I had another question? That will different game speed cause error? So I had four people play with me, two of us used game speed mod which multiply game speed by 2.
Solra Bizna  [author] Jan 15 @ 4:12pm 
It's okay if some mods are different. However, if you try to send items, materials, germs, etc. that don't exist for everybody, things will break.
Austen Jan 15 @ 7:28am 
Just a small question ,should all players have same mod and all same setting?
Solra Bizna  [author] Dec 6, 2023 @ 8:42pm 
It sounds like there's an issue with the way they implemented dehydrated food. Our own attempts to run the server have broken (?!) so it will be a bit before we can look into these problems.
Cruel-Tyrannical-Dictator Dec 6, 2023 @ 6:16pm 
Hi, I'm testing with my friend transferring resources. We are having issues sending food, dehydrated food and eggs through the drop-box and conveyor port. The error we get says "(IP Address) ERROR: failed to write frame in transport." As for the dehydrated food, it ends up getting spit out and re-hydrating itself.
Silvaarht Dec 6, 2023 @ 5:15pm 
Game still works, I only had to disable my antivirus firewall!
Silvaarht Dec 6, 2023 @ 5:05pm 
Hey!

Thanks for the (very) short answer. I did portfoward using my IPv4 and the right ports (5496) open. Same for when I boot the server: ''my IPv4'':5496 and ingame, I type my external ip with the port, but nothing appears as a successful connection. I might be doing something wrong
BloodyRum  [author] Dec 6, 2023 @ 4:58pm 
The mod should still work just fine.
Are you connecting to the right IP? Is the port forwarded?
Is the mod/server giving you any error information?