-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant passevent to biab #20
Comments
ArrayIndexOutOfBoundsException leads me to guess for a to small table index, but would probably also count for a sql lite stored index. When i store small objekts, it sometimes works, but other times, plugin crashes and need reload. |
The array index it's referring to is actually one of the coordinates of the clipboard it's trying to copy, its looking for your enderchest outside of the selected region.. does your selection encompass the enderchest as well? If you can, please try build #133 from here: http://mcgitlab.norcode.com:8081/job/BuildInABox/133/com.norcode.bukkit.buildinabox$BuildInABox/ If that is the problem, this version will tell you with a nicer error message :) thanks your your report. |
Yes, i would, but is a broken link http://mcgitlab.norcode.com:8081/job/BuildInABox/133/com.norcode.bukkit.buildinabox$BuildInABox/ |
Wierd, github broke the link... try this one http://mcgitlab.norcode.com:8081/job/BuildInABox/133/ but you'll have to click the link at the bottom under 'Module Builds' to get to the jar download. |
thanks, i went to the page, silly me, could have found dev builds there. |
i am testing the dev build now, at mcraft.dk |
well, i get this a lot, when i have said /biab save itemname, and clicking the box: 21:14:14 [SEVERE] Could not pass event PlayerInteractEvent to BuildInABox v0.2.1-SNAPSHOT |
It still seems like the enderchest might still be outside of the selected region, on the other side this time, and i didn't catch that. you are sure that the enderchest you hit is inside of the clipboard region? I uploaded a new build, if you set 'debug: true' in your config file, it should log some extra information instead of that error message. (enderchest location vs. clipboard size) can you try it again and paste the results? |
hmm now i get it. its possible it has been placed on the row outside sometimes. I have a lighttower in a box now, which works 90% at the times folded out. Sometimes it will start expand it, and stop after first layer. Smaller selections are cool. It works now, but larger selections is not so good. biab will discard info and fail to pass it, noticeable in the console. |
can you paste whatever console output you're getting with |
hmm i had no errors this time. Tryed with a 20x20 liebhavervilla and no errors with debug on. |
the chest.yml doesnt look good, and complains to the console at server startup. 05:50:40 [INFO] [BuildInABox] Loading chest: 2 |
The only world shown on above list is world1, where there is no GriefPrevention active as the only world without. |
That's just debug info because you have debug: true, it's all normal. you should probably set it to false again to be less spammy. :) |
Another strange case is passing a box to my alt and letting him build at my ground with trust. 07:06:47 [WARNING] [BuildInABox] Task #3150 for BuildInABox v0.2.1-SNAPSHOT generated an exception |
thanks, i'm going to open a separate ticket for this and look into it tomorrow. |
i dont know what you mean, npe? my mistake here might have been trying to use the same box without exchanging it to the new one with same name. |
ah ok. NPE yes. hehe had to look again. |
NullPointerException :) |
It worked the first time but didnt fold out a house. Now it stops when trying to mark the chest after saving.
biab ver 0.2.0
bukkit ver git-Bukkit-1.5.2-R0.1-1-g53734d2-b2779jnks (MC: 1.5.2) (Implementing API version 1.5.2-R0.2-SNAPSHOT)
Now, everytime i put down the box on the ground, i get kicked with "read time out".
My server has octacore cpu with 24gb mem, and can handle large schematics.
07:51:45 [INFO] [Alerter]: º6[Alerter]: ºeºf[3] ºaFungreenfoxºf use a command: ºc/biab save strandhusºf
07:51:45 [INFO] Fungreenfox issued server command: /biab save strandhus
07:51:47 [SEVERE] Could not pass event PlayerInteractEvent to BuildInABox v0.2.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:186)
at net.minecraft.server.v1_5_R3.PlayerInteractManager.dig(PlayerInteractManager.java:108)
at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:541)
at net.minecraft.server.v1_5_R3.Packet14BlockDig.handle(SourceFile:46)
at net.minecraft.server.v1_5_R3.Packet14BlockDig$$EnhancerByCGLIB$$82409193.CGLIB$handle$0()
at net.minecraft.server.v1_5_R3.Packet14BlockDig$$EnhancerByCGLIB$$82409193$$FastClassByCGLIB$$5e2194f6.invoke()
at com.comphenix.net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at com.comphenix.protocol.injector.packet.ReadPacketModifier.intercept(ReadPacketModifier.java:102)
at net.minecraft.server.v1_5_R3.Packet14BlockDig$$EnhancerByCGLIB$$82409193.handle()
at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292)
at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109)
at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at com.norcode.bukkit.schematica.Clipboard.getBlock(Clipboard.java:405)
at com.norcode.bukkit.buildinabox.BuildingPlan.fromClipboard(BuildingPlan.java:135)
at com.norcode.bukkit.buildinabox.listeners.PlayerListener.onPlayerSelection(PlayerListener.java:74)
at sun.reflect.GeneratedMethodAccessor238.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 22 more
The text was updated successfully, but these errors were encountered: