Oxygen Not Included
Оценок: 91
ZTransport
6
2
5
8
5
2
2
2
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
4.092 MB
7 окт. 2020 г. в 13:19
20 авг. 2021 г. в 12:41
Обновлений: 14 (просмотреть)

Подпишитесь, чтобы загрузить
ZTransport

Описание
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).
Комментариев: 117
ARandomSkunk 1 июн в 13:54 
Does this still work? I'm having trouble getting the server to run under linux. Failure to parse version requirement for gio, then after fixing that (I set it to *, I'm afraid I don't know rust), I get os error 22. I'm not sure what I'm getting an invalid argument over. Any ideas?
Elro 1 фев в 19:05 
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 18 янв в 9:11 
@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 18 янв в 9:10 
@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  [создатель] 15 янв в 16:12 
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 15 янв в 7:28 
Just a small question ,should all players have same mod and all same setting?
Solra Bizna  [создатель] 6 дек. 2023 г. в 20:42 
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 6 дек. 2023 г. в 18:16 
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 6 дек. 2023 г. в 17:15 
Game still works, I only had to disable my antivirus firewall!
Silvaarht 6 дек. 2023 г. в 17:05 
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