croxis / Lift

Minecraft/Bukkit elevator plugin
23 stars 26 forks source link

Does not work with AntiCheat #110

Closed OriginalMadman closed 10 years ago

OriginalMadman commented 10 years ago

I haven't tried this with NoCheatPlus (is it compatible?). At least I can tell you it is very not compatible with AntiCheat: http://dev.bukkit.org/bukkit-plugins/anticheat/

See error message below. Lifts are broken, but there is also an unintended consequence of allowing players to enter flymode!

Everything works fine with either plugin on, not both. Plugin order of loading does not seem to matter either.

Please consider to make the Lift plugin use the hooks/API of the bigger anticheat plugins (saw no info if you support NoCheatPlus, you should do that first since it is the biggest I think - if you already do, please add info. AntiCheat 2nd).

Error message:

[21:12:46] [Server thread/ERROR]: Could not pass event BlockRedstoneEvent to Lift v45 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigot.jar:git-Spigot-1280] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1280] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[spigot.jar:git-Spigot-1280] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) [spigot.jar:git-Spigot-1280] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.BlockButtonAbstract.interact(BlockButtonAbstract.java:153) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.PlayerInteractManager.interact(PlayerInteractManager.java:384) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:629) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.PacketPlayInBlockPlace.a(SourceFile:60) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.PacketPlayInBlockPlace.handle(SourceFile:9) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:698) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:560) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:467) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1280] Caused by: java.lang.NoClassDefFoundError: net/gravitydevelopment/anticheat/manage/CheckType at net.croxis.plugins.lift.BukkitElevatorManager.setupPlayer(BukkitElevatorManager.java:369) ~[?:?] at net.croxis.plugins.lift.BukkitElevatorManager.addPassenger(BukkitElevatorManager.java:478) ~[?:?] at net.croxis.plugins.lift.BukkitLiftRedstoneListener.onBlockRedstoneChange(BukkitLiftRedstoneListener.java:169) ~[?:?] at sun.reflect.GeneratedMethodAccessor576.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_40] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_40] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) ~[spigot.jar:git-Spigot-1280] ... 16 more

croxis commented 10 years ago

Anticheat should work. Please also send me craftbukkit or spigot version, as well as anticheat version/build number.

On Mon, Jan 27, 2014 at 12:10 PM, OriginalMadman notifications@github.comwrote:

I haven't tried this with NoCheatPlus (is it compatible?). At least I can tell you it is very not compatible with AntiCheat: http://dev.bukkit.org/bukkit-plugins/anticheat/

See error message below. Lifts are broken, but there is also an unintended consequence of allowing players to enter flymode!

Everything works fine with either plugin on, not both. Plugin order of loading does not seem to matter either.

Please consider to make the Lift plugin use the hooks/API of the bigger anticheat plugins (saw no info if you support NoCheatPlus, you should do that first since it is the biggest I think - if you already do, please add info. AntiCheat 2nd).

Error message:

[21:12:46] [Server thread/ERROR]: Could not pass event BlockRedstoneEvent to Lift v45 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigot.jar:git-Spigot-1280] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1280] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[spigot.jar:git-Spigot-1280] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) [spigot.jar:git-Spigot-1280] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.BlockButtonAbstract.interact(BlockButtonAbstract.java:153) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.PlayerInteractManager.interact(PlayerInteractManager.java:384) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:629) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.PacketPlayInBlockPlace.a(SourceFile:60) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.PacketPlayInBlockPlace.handle(SourceFile:9) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:698) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:560) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:467) [spigot.jar:git-Spigot-1280] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1280] Caused by: java.lang.NoClassDefFoundError: net/gravitydevelopment/anticheat/manage/CheckType at net.croxis.plugins.lift.BukkitElevatorManager.setupPlayer(BukkitElevatorManager.java:369) ~[?:?] at net.croxis.plugins.lift.BukkitElevatorManager.addPassenger(BukkitElevatorManager.java:478) ~[?:?] at net.croxis.plugins.lift.BukkitLiftRedstoneListener.onBlockRedstoneChange(BukkitLiftRedstoneListener.java:169) ~[?:?] at sun.reflect.GeneratedMethodAccessor576.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_40] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_40] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) ~[spigot.jar:git-Spigot-1280] ... 16 more

Reply to this email directly or view it on GitHubhttps://github.com/croxis/Lift/issues/110 .

johnjuhl commented 10 years ago

Anticheat versions 2.0, and version 2.01 were released the other day, I believe it has to do with him recoding the entire plugin. I'm using "bukkit-1.7.2RO.2-b2947jnks" (Most current beta build for 1.7.2 currently)

I get an error in console too.

:48:51 AM CONSOLE: ERROR]: Could not pass event BlockRedstoneEvent to Lift v45 6:48:51 AM CONSOLE: java.lang.NoClassDefFoundError: net/gravitydevelopment/anticheat/manage/CheckType 6:48:51 AM CONSOLE: Source) ~[?:?]

PM me on bukkit if you need any other information, thanks for the help croxis!

croxis commented 10 years ago

At the start of the log Lift should report if it is loading anticheat 1 or 2. Can you verify that for me?

croxis commented 10 years ago

Issue should be resolved in version 46, which I am uploading now

johnjuhl commented 10 years ago

Thanks for the quick response and update to your plugin! On Jan 28, 2014 5:58 PM, "croxis" notifications@github.com wrote:

Issue should be resolved in version 46, which I am uploading now

Reply to this email directly or view it on GitHubhttps://github.com/croxis/Lift/issues/110#issuecomment-33549487 .

hanamj commented 10 years ago

Howdy! That's fantastic, thanks! Any chance we could get a direct link? I don't see it up on Bukkit/Curse yet.