-
Notifications
You must be signed in to change notification settings - Fork 83
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
Error when second player tries to loot a scripted loot chest #177
Comments
Saw someone further down with the same Crashlog mentioning a hotfix, is that available for download? |
Thank you for the report. I haven't seen this so far so I doubt there's a fix. Shouldn't take long to fix it, though :) |
Haha thank you :) Was worried i had to postpone the entire project, ty for quick respond :) |
I couldn't reproduce it, so this is kind of a "blind" try. Please tell me if it works! http://feuerstern.bplaced.net/repo/io/github/dre2n/dungeonsxl/ |
Sorta worked, we both got our items now but you can duplicate items by keep doing /dxl rewards and i got all these errors 26-11-2016 21:32:16 [ERROR] Could not pass event PlayerInteractEvent to DungeonsXL v0.15.1-SNAPSHOT-05 |
This should resolve the /dxl rewards bug. |
So just dl newet dev build? |
Yes, build 6 |
Sorry i dont quite follow :) do you want me to add something to the config file? |
No, it should be alright. I haven't fixed everything, yet, but I'm aware of it. |
Ah okay thank you :) |
Could you please tell me a bit more about the circumstances of the end sign bug (the one that still occurs in the latest build)? Like:
|
|
Not entirely sure why this happens at the moment. |
Has any Progress been made on this? |
Not yet. Sataniel is kind of an adult, Sataniel got shit to do ¯\(ツ)/¯ |
Hehe i understand fully, take your time :) |
Glad to hear that, I'm trying to make DXL ready for a production environment at the moment. Please tell me if you notice anything else, even if it's just a minor thing like spelling mistakes or stacktraces without any noticeable impact. |
Finally found an empty evening & the bug. I really hope that this fix does it for you, worked well when I tested it but it might break some other things so I'll test a bit more before I release it officially. The release candidate is available at the dev build server. |
Tested on 0.15.3 wich i suppose is the build your talking about. And it still is causing the crash log, items where not distriputed probely, i got 3 items and my friends got 1, and still had to use ,/dxl rewards even tho my inv was almost empty. |
My bad, I uploaded the build but forgot to add it to the list. Direct download: |
Good News, the crash log is gone, tho there is still a few problems.
|
Thank you. I'm sure I'll find time to fix this in the next days or at least right after Christmas. |
Also some of the items for example the Token i made, is an invalid image file so its just a giant purple/black box. |
Minecraft does not know gold nuggets with durability 35, so it uses a placeholder texture (since 1.8 or 1.9 AFAIK). I'm not an expert, but it should still be possible to make custom MCPatcher CIT or Vanilla sprites for these items with a resource pack. |
I couldn't reproduce the first two problems. However, I fixed the portal bug in 0.15.3. Merry Christmas. |
Hey i get this error whenever my mate tries to loot the same chest as i did, so more players in the dungeon can get loot. Im using 0.15 the latest version available on Spigot, also tried upgrading to latest dev build same thing happens
Also the meesage saying you've been given loot comes up on hes screen but when he acutally leaves the dungeon only i get it
Im working on a large dunegon for a server so it kinda sucks only 1 player can get each loot chest.
Great plugin tho!
26-11-2016 15:57:20 [ERROR] Could not pass event PlayerInteractEvent to DungeonsXL v0.15
26-11-2016 15:57:20 org.bukkit.event.EventException
26-11-2016 15:57:20 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:492) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:877) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_111]
26-11-2016 15:57:20 at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_111]
26-11-2016 15:57:20 at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:692) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:647) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:551) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]
26-11-2016 15:57:20 Caused by: java.lang.NullPointerException
26-11-2016 15:57:20 at io.github.dre2n.debukkit.DebukkIt.end(DebukkIt.java:74) ~[?:?]
26-11-2016 15:57:20 at io.github.dre2n.dungeonsxl.player.DGamePlayer.finishFloor(DGamePlayer.java:774) ~[?:?]
26-11-2016 15:57:20 at io.github.dre2n.dungeonsxl.player.DGroup.finishIfMembersFinished(DGroup.java:799) ~[?:?]
26-11-2016 15:57:20 at io.github.dre2n.dungeonsxl.player.DGamePlayer.leave(DGamePlayer.java:517) ~[?:?]
26-11-2016 15:57:20 at io.github.dre2n.dungeonsxl.player.DGamePlayer.finish(DGamePlayer.java:882) ~[?:?]
26-11-2016 15:57:20 at io.github.dre2n.dungeonsxl.player.DGamePlayer.finish(DGamePlayer.java:821) ~[?:?]
26-11-2016 15:57:20 at io.github.dre2n.dungeonsxl.sign.EndSign.onPlayerTrigger(EndSign.java:74) ~[?:?]
26-11-2016 15:57:20 at io.github.dre2n.dungeonsxl.sign.DSign.onUpdate(DSign.java:180) ~[?:?]
26-11-2016 15:57:20 at io.github.dre2n.dungeonsxl.trigger.Trigger.updateDSigns(Trigger.java:114) ~[?:?]
26-11-2016 15:57:20 at io.github.dre2n.dungeonsxl.trigger.InteractTrigger.onTrigger(InteractTrigger.java:49) ~[?:?]
26-11-2016 15:57:20 at io.github.dre2n.dungeonsxl.listener.PlayerListener.onInteract(PlayerListener.java:247) ~[?:?]
26-11-2016 15:57:20 at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) ~[?:?]
26-11-2016 15:57:20 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
26-11-2016 15:57:20 at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]
26-11-2016 15:57:20 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
26-11-2016 15:57:20 ... 17 more
The text was updated successfully, but these errors were encountered: