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

Issue locating a stuck cart on the Network #56

Closed thiefa closed 6 years ago

thiefa commented 6 years ago

Hi catageek, i still have the higher level of debug messages enabled, else i might not have noticed this: i get console spamed a message of a cart "coming from NORTH going to NORTH" obviously this cart is somehow stuck on a dead end on a router, doing endless loops, since it gets triggered every few seconds

Now my issues are:

in the end i need to find that router to fix the break. is there a way to make the messages contain the world and the location of the triggered router? atleast in higher debug messages?

alltought it might be interesting for other users aswell, if they get informed when a router gets more often activated then x times in y minutes.

thanks for having a look.

Snipped of the log: "[19:42:40 INFO]: ByteCart: BC7007.trigger() [19:42:40 INFO]: ByteCart: BC8020.trigger() [19:42:40 INFO]: ByteCart: property string : 0 [19:42:40 INFO]: ByteCart: property string : 0 [19:42:40 INFO]: ByteCart : TTL is 0 [19:42:40 INFO]: ByteCart : Flushing 68 bytes of data to meta [19:42:40 INFO]: ByteCart : Flushing meta to itemstack [19:42:40 INFO]: ByteCart: property string : 0 [19:42:40 INFO]: ByteCart : Router : coming from NORTH going to NORTH [19:42:42 INFO]: ByteCart: BC7007.trigger() [19:42:42 INFO]: ByteCart: BC8020.trigger() [19:42:42 INFO]: ByteCart: property string : 0 [19:42:42 INFO]: ByteCart: property string : 0 [19:42:42 INFO]: ByteCart : TTL is 0 [19:42:42 INFO]: ByteCart : Flushing 68 bytes of data to meta [19:42:42 INFO]: ByteCart : Flushing meta to itemstack [19:42:42 INFO]: ByteCart: property string : 0 [19:42:42 INFO]: ByteCart : Router : coming from NORTH going to NORTH

"

i know its a backbone router, but i still have over 16 regions that are cross connected....