Posted May 15, 201312 yr I'm making a cable for my mod, but it seems that the data being sent gets sent back through the way it came. Does anyone know what I'm doing wrong or forgetting to do? https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/entities/tileentity/TileEntityCable.java https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/blocks/BlockCable.java
May 16, 201312 yr I could be completly wrong looking at this as i never made a cable however it seems that you are telling eaxh cable it is the source location then the next cable you send it to finds the cable behind and sends the packet that way making an endless loop. However this could be conpletly wrong if so disregard this and i am sorry just thats what i saw. Creator of Jobo's ModLoader If I helped you could you please click the thank you button and applaud my karma.
May 16, 201312 yr Author it sets the source cable to itself on initialization, but when it recieves a signal, it sets the source cable to where it recieved the signal from. for some reason it doesn't want to detect it as being correct.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.