frash23 / smashhit Goto Github PK
View Code? Open in Web Editor NEWAsync hit pre-processor for Bukkit
License: Other
Async hit pre-processor for Bukkit
License: Other
Does the latest version work on 1.8? I saw you "updated to 1.9 and 1.10" but many PVP servers use 1.8.8, paperspigot 1.8.8 infact. I want to use this, but I don't want to cause huge errors. Thanks @frash23
Whilst testing this plugin on a test server I noticed enchantments like fireaspect not working.
On latest version of PaperSpigot 1.11.2
This plugin fires of the noswing check on nocheatplus, meaning that players can not hit any entity unless I completely turn of the noswing check, but that allows some cheat clients to do their thing without getting blocked.
When I try to punch something, or someone I get this error.
[code][08:46:30 ERROR]: [AsyncHitDetection] Unhandled exception occured in onAsyncPacket() for AsyncHitDetection
java.lang.ClassCastException: org.bukkit.craftbukkit.v1_7_R4.entity.CraftIronGolem cannot be cast to org.bukkit.craftbukkit.v1_7_R4.entity.CraftPlayer
at com.frash23.smashhit.damageresolver.DamageResolver_1_7_R4.getDamage(DamageResolver_1_7_R4.java:25) ~[SmashHit.jar:?]
at com.frash23.smashhit.SmashHitListener.onPacketReceiving(SmashHitListener.java:98) ~[SmashHit.jar:?]
at com.comphenix.protocol.async.AsyncListenerHandler.processPacket(AsyncListenerHandler.java:643) [ProtocolLib%20(1).jar:?]
at com.comphenix.protocol.async.AsyncListenerHandler.listenerLoop(AsyncListenerHandler.java:597) [ProtocolLib%20(1).jar:?]
at com.comphenix.protocol.async.AsyncListenerHandler.access$200(AsyncListenerHandler.java:49) [ProtocolLib%20(1).jar:?]
at com.comphenix.protocol.async.AsyncListenerHandler$2.run(AsyncListenerHandler.java:229) [ProtocolLib%20(1).jar:?]
at com.comphenix.protocol.async.AsyncListenerHandler$3.run(AsyncListenerHandler.java:300) [ProtocolLib%20(1).jar:?]
at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) [PaperSpigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [PaperSpigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_101]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_101] [/code]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.