catageek / ByteCart

Minecraft plugin for bukkit to create a LAN/WAN rail network with routing algorithm
GNU General Public License v3.0
27 stars 9 forks source link

/bcupdater backbone not adding an address to the BC8020 signs. #41

Closed LaxSlash closed 7 years ago

LaxSlash commented 7 years ago

Log:

1:53:19 PM CONSOLE: [INFO] ByteCart : Flushing 2504 bytes of data to meta
1:53:19 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:53:19 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:53:22 PM CONSOLE: [INFO] ByteCart: BookProperties : setting key net.dst.addr to 0.0.0
1:53:22 PM CONSOLE: [INFO] ByteCart : set title
1:53:22 PM CONSOLE: [INFO] ByteCart: BookProperties : setting key net.ttl to 64
1:53:22 PM CONSOLE: [INFO] ByteCart: BookProperties : clearing key net.train
1:53:22 PM CONSOLE: [INFO] ByteCart : Flushing 69 bytes of data to meta
1:53:22 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:53:22 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:53:22 PM CONSOLE: [INFO] ByteCart: BC8020.trigger()
1:53:22 PM CONSOLE: [INFO] ByteCart : Router : coming from SOUTH going to NORTH
1:53:22 PM CONSOLE: [INFO] ByteCart : Wanderer : storing ring 0 direction SOUTH
1:53:22 PM CONSOLE: [INFO] ByteCart : Route exchange : give ring 0 with metric 0 to SOUTH
1:53:22 PM CONSOLE: [INFO] ByteCart : serialize() : object written, now closing
1:53:22 PM CONSOLE: [INFO] ByteCart : Flushing 768 bytes of data to meta
1:53:22 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:53:22 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:53:22 PM CONSOLE: [INFO] ByteCart : doAction() : current is 0
1:53:22 PM CONSOLE: [INFO] ByteCart : Flushing 2504 bytes of data to meta
1:53:22 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:53:22 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:53:26 PM CONSOLE: [INFO] ByteCart: BC8020.trigger()
1:53:26 PM CONSOLE: [INFO] ByteCart : Router : coming from NORTH going to EAST
1:53:26 PM CONSOLE: [INFO] ByteCart : Route exchange : give ring 0 with metric 0 to SOUTH
1:53:26 PM CONSOLE: [INFO] ByteCart : doAction() : current is -1
1:53:26 PM CONSOLE: [INFO] ByteCart : Flushing 2504 bytes of data to meta
1:53:26 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:53:26 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:53:35 PM CONSOLE: [INFO] ByteCart: BC8010.trigger()
1:53:35 PM CONSOLE: [INFO] ByteCart : Router : coming from WEST going to WEST
1:53:35 PM CONSOLE: [INFO] ByteCart : track number is 2
1:53:35 PM CONSOLE: [INFO] ByteCart : current is -1
1:53:35 PM CONSOLE: [INFO] ByteCart : doAction() : current is 2
1:53:35 PM CONSOLE: [INFO] ByteCart : Flushing 2504 bytes of data to meta
1:53:35 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:53:35 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:53:43 PM CONSOLE: [INFO] ByteCart: BC8020.trigger()
1:53:43 PM CONSOLE: [INFO] ByteCart : Router : coming from EAST going to WEST
1:53:43 PM CONSOLE: [INFO] ByteCart : Wanderer : storing ring 2 direction EAST
1:53:43 PM CONSOLE: [INFO] ByteCart : Route exchange : give ring 0 with metric 0 to SOUTH
1:53:43 PM CONSOLE: [INFO] ByteCart : Route exchange : give ring 2 with metric 0 to EAST
1:53:43 PM CONSOLE: [INFO] ByteCart : serialize() : object written, now closing
1:53:43 PM CONSOLE: [INFO] ByteCart : Flushing 768 bytes of data to meta
1:53:43 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:53:43 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:53:43 PM CONSOLE: [INFO] ByteCart : doAction() : current is 2
1:53:43 PM CONSOLE: [INFO] ByteCart : Flushing 2504 bytes of data to meta
1:53:43 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:53:43 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:53:54 PM CONSOLE: [INFO] ByteCart: BC8010.trigger()
1:53:54 PM CONSOLE: [INFO] ByteCart : Router : coming from WEST going to WEST
1:53:54 PM CONSOLE: [INFO] ByteCart : track number is 1
1:53:54 PM CONSOLE: [INFO] ByteCart : current is -1
1:53:54 PM CONSOLE: [INFO] ByteCart : doAction() : current is 1
1:53:54 PM CONSOLE: [INFO] ByteCart : Flushing 2504 bytes of data to meta
1:53:54 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:53:54 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:54:06 PM CONSOLE: [INFO] ByteCart: BC8020.trigger()
1:54:06 PM CONSOLE: [INFO] ByteCart : Router : coming from WEST going to NORTH
1:54:06 PM CONSOLE: [INFO] ByteCart : Wanderer : storing ring 1 direction WEST
1:54:06 PM CONSOLE: [INFO] ByteCart : Route exchange : give ring 0 with metric 0 to SOUTH
1:54:06 PM CONSOLE: [INFO] ByteCart : Route exchange : give ring 1 with metric 0 to WEST
1:54:06 PM CONSOLE: [INFO] ByteCart : Route exchange : give ring 2 with metric 0 to EAST
1:54:06 PM CONSOLE: [INFO] ByteCart : serialize() : object written, now closing
1:54:06 PM CONSOLE: [INFO] ByteCart : Flushing 768 bytes of data to meta
1:54:06 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:54:06 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:54:06 PM CONSOLE: [INFO] ByteCart : doAction() : current is 1
1:54:06 PM CONSOLE: [INFO] ByteCart : Flushing 2504 bytes of data to meta
1:54:06 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:54:06 PM CONSOLE: [INFO] ByteCart : BookFile : closing
1:54:09 PM CONSOLE: [INFO] ByteCart: BC8020.trigger()
1:54:09 PM CONSOLE: [INFO] ByteCart : Router : coming from NORTH going to EAST
1:54:09 PM CONSOLE: [INFO] ByteCart : Route exchange : give ring 0 with metric 0 to SOUTH
1:54:09 PM CONSOLE: [INFO] ByteCart : Route exchange : give ring 1 with metric 0 to WEST
1:54:09 PM CONSOLE: [INFO] ByteCart : doAction() : current is -1
1:54:09 PM CONSOLE: [INFO] ByteCart : Flushing 2504 bytes of data to meta
1:54:09 PM CONSOLE: [INFO] ByteCart : Flushing meta to itemstack
1:54:09 PM CONSOLE: [INFO] ByteCart : BookFile : closing

East track is region 2, west track is region 1. North track is a closed loop, garbage is on the South track. Both Region 1 and Region 2 are configured.

thiefa commented 7 years ago

hi laxslash, thats not a problem, they dont get one

LaxSlash commented 7 years ago

javaw_2016-11-27_18-23-20

This was taken in the sample world file... I'm lost on what makes some signs get addresses and others not?

thiefa commented 7 years ago

hi, i just checked back to my own world, as your statement irritated me..

i have addresses on the BC8020, but only where it connects to configured rings

As i have a few BC8020 span togeter to form an hugh fastpath with teleporting in between, i dont have any address between two BC8020.

so my statement is only half true.

sorry about that

so you should have an address on the BC8020 where it connects to a BC8010, or in the garbage collector in the backbone

LaxSlash commented 7 years ago

Yup, no addresses on any of them for me... region connected rings nor for the garbage collector.

thiefa commented 7 years ago

hmm.. what version of mc do you run? as till spigot 1.10 it worked for me, so its either with 1.11 or an mistake on your side somewhere.. gota have to run an updater on my network with 1.11 now to compare

i can also offer to look at it, although im not sure if i see something ingame

LaxSlash commented 7 years ago

On MC 1.10.2

thiefa commented 7 years ago

well, it worked there for me, so it must be something with your setup.

well, bc aint easy and i still fight with it, yet still worth it ;)

if you like, i spy on your game to see if i see an issue

LaxSlash commented 7 years ago

If you can take a look at it and see if you could figure it out, that'd be sweet.

thiefa commented 7 years ago

send me the ip, and i will join in aprox. 18 hours..

catageek commented 7 years ago

Hi all,

Backbone updaters do not write on signs, they only update the routing table of backbone routers.

Region updaters, when at the frontier of the region they meet a BC8020, write the region address in the form "N.0.0" on the BC8020 sign connected to the region, but this is purely informational and is not really used in route computation.

I wonder why the sample world file has this, probably because it has a long history, and because, as I said, this information is not used.