Skip to content
catageek edited this page Dec 13, 2012 · 24 revisions

Address are used by Bytecart to identify a specific station in the world.

Address are composed of 3 parts :

  • A region number, between 1 and 53
  • A ring number, between 1 and 53
  • A station, between 1 and 15

Address are represented by putting the 3 parts together, separated by a dot : region.ring.station

Address shift

Any address may be shifted to hold some properties :

  • +32 to station number mark the first cart of a train.

Subnet

Any address belong to a subnet. The subnet is identified by the region and the ring number.

Address sharing the same region numer and the same ring number are in the same subnet. Stations in the same ring must have an address in the same subnet, i.e same region and ring number.

Example

22.7.11 designates station #11 in the subnet 22.7.0 (i.e in region #22, track #7).

22.7.7 is an address in the same subnet: the station is located in the same ring.

22.4.10 is an address in another subnet, and necessarily in another ring.

Representation of address

Address can be represented in 2 forms :

  • litterally in the form region.ring.station in commands and on signs.
  • in inventories of player or storage cart to be readable by ByteCart devices (see below).

Address in inventory

When a player wants to travel to a specific station from any point of the network, he needs to set his destination address in his own inventory before riding a cart. The inventory is the place where each ByteCart device will read the address when performing routing operations.

When one wants to send a storage cart, one will use the inventory of the storage cart.

An address can be "written" in inventory of player or storage cart by filling slots #0, #1 and #2 with each part of the address. See Inventory slot number to match slot number with cell of inventory window. The slots can be filled with whatever type item of the game.

For example, to set destination address 12.25.10 in an inventory, one would put 12 cobbles in slot 0, 25 wheat in slot 1 and 10 wood in slot 2. we can also use only cobbles if we want.

As such, a player will be transported to station 12.25.10 when using the network.

Filling the inventory of a storage cart follow the same rules, with additional requirement : the slot #3 must contain the TTL. Putting a full stack (64 items) in slot #3 is a good practice.

Clone this wiki locally