Jump to content

Recommended Posts

Posted

Hello. Can you fix transmutation tablet bug too ? Would be great. Thanks

Btw. It doesn't work

[sEVERE] Could not pass event PlayerTeleportEvent to BedCraftSD

org.bukkit.event.EventException

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)

    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)

    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)

    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:431)

    at forge.PacketHandlerServer.finishLogin(PacketHandlerServer.java:170)

    at forge.PacketHandlerServer.onModListResponse(PacketHandlerServer.java:108)

    at forge.PacketHandlerServer.onPacketData(PacketHandlerServer.java:42)

    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:419)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1361)

    at net.minecraft.server.Packet250CustomPayload.handle(SourceFile:46)

    at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)

    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83)

    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: java.lang.NullPointerException

    at com.bukkit.darkdeath1332.alchtpfix.teleport(alchtpfix.java:13)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.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:302)

    ... 16 more

Posted

Plugin updated;

- Added config

- Fixed 2 more dupes.

Plugin added to server. Seems to ignore config, dupes still work and the EE tools are disabled, despite me setting that option to false..

  • 2 weeks later...
Posted

Well I went ahead and previewed a decompiled class from your jar to see just what was wrong. I cant find any linux decompilers that I can actually download or that function, so im going to suggest a few things to fix in your alchtpfix.class (Don't worry, ill leave your source out as best as I can)

This is the suspected offending statement causing massive console spam:

if(main.alchtpfix.equals(Boolean.valueOf(true))) {}


 

First off, instead of doing nothing inside your brackets here, you need to move the two lines under your conditional statement to inside those empty brackets. Otherwise it's going to "fix" every player's actions no matter what. Hence the spam.

 


if(main.alchtpfix.equals(Boolean.valueOf(true)))

{Whatever you want to do upon receiving 'true' should be here}


 

Second, you retrieved your boolean config values as strings, and now you're trying to get the value of in boolean terms. Why not try .equalsIgnoreCase("true")?


if(main.alchtpfix.equalsIgnoreCase("true"))

{OMITTED}

The errors here are causing MASSIVE amounts of output to my server log each second. I would upload a fixed .class file for you since this is a pressing issue and I havent seen a reply yet. Maybe ill do that later. Ill make sure to credit you if I do.

I did a lazy workaround. For some reason the alchtpdupe variable from the config would only be seen as null, so I removed the if... and put the statements in a try catch, where all the spam is replaced by a simple warning message. I figured this would be ok for anyone installing. I mean, why get a patch plugin if they dont want to patch a dupe? >.>

Anywho:

Fixed class: http://www.mediafire.com/download/mkvsqhvi8pk3f53/alchtpfix.class

Author: darkdeath1332

INSTALLATION:

  1. Open the BedCraftSD.jar file with your favorite jar reader tool (ie winrar, 7zip)
  2. Navigate to com, and proceed until you see .class files
  3. Delete alchtpfix.class and paste/drag in the new one.
  4. ????
  5. PROFIT!

LINUX USERS:

If you have any problems pasting in the file, go into terminal and navigate to wherever your jar (assuming the class file is in the same place) is and type jar uf BedCraftSD.jar alchtpfix.class. Afterwards just drag it through the folders till you hit the class files or copy the file just put in and paste it into the class folder.

  • 3 weeks later...
Posted

Suggestion: Make an option to show the message that you're not allowed to dupe or not.

Bug Report: Because is spelt Becouse

Bug Report: noclick.java/noclick.class does not correctly read the config file

Posted

Hey darkdeath1332, I enjoy your plugin, but can you edit it so I don't continuously get a error that has to do with PlayerTeleport Event?

1. Error begins with somebody who logs into the server, as well as other ./tp commands.

Posted

11:35:40 AM [severe]  Could not pass event PlayerTeleportEvent to dntSD

11:35:40 AM [javastacktrace]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)

11:35:40 AM [javastacktrace]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)

11:35:40 AM [javastacktrace]    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)

11:35:40 AM [javastacktrace]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)

11:35:40 AM [javastacktrace]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:431)

11:35:40 AM [javastacktrace]    at forge.PacketHandlerServer.onModListResponse(PacketHandlerServer.java:108)

11:35:40 AM [javastacktrace]    at forge.PacketHandlerServer.finishLogin(PacketHandlerServer.java:170)

11:35:40 AM [javastacktrace]    at forge.PacketHandlerServer.onPacketData(PacketHandlerServer.java:42)

11:35:40 AM [javastacktrace]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1361)

11:35:40 AM [javastacktrace]    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:419)

11:35:40 AM [javastacktrace]    at net.minecraft.server.Packet250CustomPayload.handle(SourceFile:46)

11:35:40 AM [javastacktrace]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)

11:35:40 AM [javastacktrace]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)

11:35:40 AM [javastacktrace]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83)

11:35:40 AM [javastacktrace]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)

11:35:40 AM [javastacktrace]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

11:35:40 AM [javastacktrace]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

11:35:40 AM [javastacktrace] Caused by: java.lang.NullPointerException

11:35:40 AM [javastacktrace]    at com.bukkit.darkdeath1332.alchtpfix.teleport(alchtpfix.java:13)

11:35:40 AM [javastacktrace]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

11:35:40 AM [javastacktrace]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

11:35:40 AM [javastacktrace]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

11:35:40 AM [javastacktrace]    at java.lang.reflect.Method.invoke(Unknown Source)

11:35:40 AM [javastacktrace]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)

  • 2 weeks later...
Posted

Thanks so much :D been searching for a while now for a plugin like this :D.

Suggestion: Have people able to edit the message's such as "You're unable to right click with the tools due to mass griefing."

-Opti

Tech-iT Craft

  • 3 weeks later...
  • 5 months later...
  • 9 months later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...