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

Error and problem #32

Closed mydayy closed 9 years ago

mydayy commented 10 years ago

The router dont do what he should. I build it like tutorial with one ring but the update dont complete and the train drive in endless. I get this Error Message: [18:12:14 ERROR]: Could not pass event VehicleMoveEvent to ByteCart v2.7.3 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:481) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:466) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.EntityMinecartAbstract.h(EntityMinecartAbstract.java:322) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.World.entityJoinedWorld(World.java:1338) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.World.playerJoinedWorld(World.java:1319) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.World.tickEntities(World.java:1207) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.WorldServer.tickEntities(WorldServer.java:480) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:637) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] Caused by: java.lang.NullPointerException at com.github.catageek.ByteCart.Updaters.UpdaterContentFactory.getUpdaterContent(UpdaterContentFactory.java:28) ~[?:?] at com.github.catageek.ByteCart.EventManagement.ByteCartUpdaterMoveListener.onVehicleMoveEvent(ByteCartUpdaterMoveListener.java:54) ~[?:?] at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_65] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[craftbukkit172.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] ... 13 more

I hope u can help me.

catageek commented 10 years ago

Hi,

Did you use a storage cart or a ordinary cart as an updater ? It should be a storage cart.

Let me know if it was the origin of the problem.

Catageek

mydayy commented 10 years ago

No it was a storage cart. Thx for the fast request. My friends play on my server and i want a good railway system and bytecart is the only one what can do it.

mydayy

catageek commented 10 years ago

Did you get the error when executing the command "bcupdater" (ie when you click on the cart) or when the cart is already running ? Is it repetitive (for example, the same error occurs for each router crossed) ? Please give all details of what you did before the error occurs.

mydayy commented 10 years ago

Ok i disable traincarts and get MinecartRevolution like u and dont get the error but the sc dont update right. Then i see that the router schematic ist not right this: https://github.com/catageek/ByteCart/wiki/Step-2-:-Connect-rings-together. I fix the rails and now the cart go all rings but after 5 minutes not in the garbage. I wait a little bit and build rings to test the rest.

catageek commented 10 years ago

The updater does not go immediately to the garbage, it waits exactly twice the time measured from the start time to the last sign update time in case it missed a part of the network. In your case, it should run about 10 minutes after having finished.

catageek commented 9 years ago

Inactive. Closing.