Code Monkey home page Code Monkey logo

anticheat's People

Contributors

elchilen0 avatar gravitylow avatar kjhf avatar mbax avatar psycowithespn avatar superspytx avatar terrorbite avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

anticheat's Issues

Ladder (tried to fly on y-axis)

Using build #156

Player says they cannot climb a ladder because it thinks they're hacking. In the log I see this:

[SEVERE] [AntiCheat] player tried to fly on y-axis

Not sure what else you need but if there's anything else I can do to help just let me know =)

Too laggy

I've decided that while you guys are still figuring things out, I'm going to have to go back to using NoCheat temporarily. I like AntiCheat but it still needs a lot to be up to par. I know that NoCheat is outdated and will mean more work for me and my admins, however I cannot have a laggy server whatsoever. http://www.mediafire.com/?hp2jfzctp6ce01j (nolagg report)

false positive y-axis check when swimming

ver AntiCheat
11:15:29 [INFO] AntiCheat version 1.3-DEV-b156
11:15:29 [INFO] Prevention of hacks and other malicious tinkering on a Minecraft server.
11:15:29 [INFO] Author: H31IX

ver
11:21:46 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R3.0-b2203jnks (MC: 1.2.5) (Implementing API version 1.2.5-R3.0)

A player swimming across a lake gets y-axis messages and is teleported to the top of the water and then sinks again. Eventually he gets kicked for y-axis hacking.

Another player has an indoor pool (roof overhead). He gets in the water and all is fine. As soon as he begins to swim with space bar, he gets teleported to the roof and a y-axis message is logged.

11:17:09 [SEVERE] [AntiCheat] xxxx tried to fly on y-axis

I believe this is related to the recent checkAscension() changes that detect upwards motion and use the getHighestBlockAt()

b8dd6b0

Delay for Log.

It would be great if there could be a delay for the log configurable.
With like 100/200 players online the log is growing really really fast and i don't wanna have to clear it every day.
So i think it would be a great idea to have a configurable delay for the messages reported tot he log.
In ticks or seconds or whatever that doesn't really matter but it's just annoying that the log is getting extremely big.

Wall Climb not getting blocked

While testing by myself, I discovered that wallclimb was not getting detected by anticheat. The client I used to test it with is called "Platinum Client" (a quick Google search will find it). Latest dev build of AntiCheat

Permissions not working

Hi,

I've got the latest dev build #131. The issue I am having is that none of the permission nodes are actually allowing my players to e.g. fly. It is still being blocked. This is especially the same with fast place and fast break even with creative.

Thanks

cuddylier

A problem with /spawn and McMMO

My Plugins (26):

Autosneak
Minequery
WorldEdit
VoxelSniper
BuyCraft
Vault
PermissionsEX
CombatTag
WorldGuard
MCDocs
iConomy
OpenInv
ScheduledAnnouncer
NoCheat (temporarily since I experienced the bug with anticheat)
Votifier
McMMO
LogOres
Essentials (which is being used for /spawn)
WorldBorder
ServerSigns
EssentialsSpawn
VanishNoPacket
LWC
EssentialChat
Factions

The Bug:

Using beta build #113 as provided here, dev.bukkit.org/server-mods/anticheat/ (for the sake of McMMO), I experience a little bug where sometimes (not all the time), when players do /spawn, AntiCheat detects this as some form of Flying on the y Axis. I think that this might have to do with the fact that my spawn is floating in the air, and people are ported up. Just a possibility. Lastly, the tree feller ability in McMMO is still having a bit of problem, with AntiCheat detecting it as hacking as well. With all the other skills it's working fine. People have also experienced the Flying on the y axis problem when they /home into their base in the air. I am using EssentialSpawn to for /spawn management. If you have any other comments related to my plugins or anything else feel free to let me know.

Many Thanks,

Mentalist.

Any attempt to eat results in "* tried eating too fast"

We are running the latest stable build of Bukkit++ and a few minutes after restarting the server with Anticheat installed it began reporting that nearly everyone was eating too fast. There where 37 players online and a tick of 12 or so. To players it looked like they ate some food and their hunger bar was unaffected.

Eggs thrown are not blocked

Then.. I with my friend and cheaters from nodus IRC check this anti-cheat:

() Bukkit R3.0
() AntiCheat v.1.2.1 (Newest development build)

AntiCheat v.1.2.1 (newest dev) dont block:
() Freecam
() Unpushable
() Don't roll back completly destroyed/placed blocks (Problems with FastBreak/FastPlace)
() Bow Aimbot

FastPlace + Eggs -> cause this:
http://i.imgur.com/LnO1A.png

:)

sprint jump+ sneak

When you jump while sprinting and then press shift to sneak it always logs this as trying to sneak to fast.

edit: it also logs this when in creative mode and flying if you hit the ground while moving forward (not straight down) by holding shift to go down at the same time it thinks you sneaked to fast.

Error messages

I was playing in my server just walking around and nothing seemed wrong but i just clicked my cmd to see if any errors and there was one and it kept spamming it, i updated to newest build but it kept saying this:

at net.h31ix.anticheat.util.Utilities.isUsingMcMMOAbility(Utilities.java:101)
at net.h31ix.anticheat.manage.Backend.checkLongReachBlock(Backend.java:145)
at net.h31ix.anticheat.event.PlayerListener.onPlayerInteract(PlayerListener.java:130)

Using Shears causes escalation, and eventually kick.

Some members of my server have been having issues when shearing leaves. More specifically when they shear leaves in a continuous fashion it causes it an escalation and kick if they do not listen. I will get more info to you when the member gets back on.
As for the log, no errors posted, just "Kicked for hacking". Anti-cheat seems to be doing it's job right.

Thanks for any help,
Alex J.

Giga Drill Breaker causes false positives

I really want this plugin to run on our servers, since it detects a lot more than nocheatplus, but the problem is that we are using mcMMO abilities and anticheat thinks when a player is using an ability, he is hacking and kicks him.

Versions:
AntiCheat v1.3-DEV-b153
Craftbukkit #2206

Player who got kicked said:
"I used giga drill and it said hacks are not allowed in this serve"

I had disabled the plugin immediately afterwards, but i would be glad to run it again in a more detailed mode if it helps.

Can you insert mcmmo abilities into AntiCheat?

Regards,
TheFarmerNL

AC prevents y-axis change when using a MultiVerse portal

AC Build 129.

When a player uses a multiverse portal, it logs a warning:

[WARNING] [AC] xxxxxxx tried to fly on y-axis

MV changes their x and z positions, but their y position stays the same and they end up above or below the actual portal, often resulting in player death.

Multiverse-Core 2.4-b525
Multiverse-Portals 2.4-b540
CraftBukkit build 2149

Convert Message Logging

Use the plugin's private logger, rather than the "Minecraft" logger so messages are printed with [AntiCheat].

Sprint Hack

A user goes faster then a person with speed 2 using this hack. I guess to fix it you basically just need to check if they have a speed 2 and if not they logically they should not be going that fast.

Moving on y coordinates on Enderpearl use and Teleport.

When players are using enderpearls they are getting warnings for flying on y axis.
And also when players use as example /spawn they get warned.
But after that they also glitch in the floor and in this example spawn is a safe location but /home as example not.
That means players lose often all there items they had and is really annoying.
Also using FalseBook and lift signs are having the same issue as teleporting.

People typing /spawn and glitching

When people on my server type /spawn, they should go to a floating platform in the sky. They can jump down onto the terrain and PvP. Below the terrain is a huge carved out area lined by glowstone. This makes it so people's clients don't have to load as many blocks and there aren't really any lighting updates down there. However, it seems that some people shoot all the way below the platform (which is actually a bunch of skyships) and then all the way through the terrain into the glowstone outline which is just above bedrock. When one player did this (it doesn't happen every time), I made sure to check the console and this is what it said.

2012-06-03 08:55:58 [SEVERE] [AntiCheat] vnny28p tried to fly on y-axis

I was also told this happened while a player was going through a portal to the nether. ALSO, when a player is on the edge of spawn, even sneaking, it shoots them down without an error at all.

I think that players might even be shooting into the void, however I have a plugin called Safe Void that prevents players from falling into the void. But either way, AntiCheat seems to think players are flying when they're teleporting.. Even going to the nether through a netherportal. My home plugin that I use is called MultiHome, but I think that's irrelevant.

Anticheat false alarm

Hi,
I use anticheat v1.2.1 and cb #2203
My users have problems with this plugins, since the last version when one of them is under the water and try to go up he is kicked by the anticheat, or when they eat chicken the heal return to 0 and the anticheat kick them for cheating.
What can I do?

Spamming bug

On a server, anticheat is installed. Nothing is done with the config. But people are randomly getting kicked for spaming. When they really aren't. Then, when they join again, if they say anything, it tells them to stop flooding the server, then kicks them. Join again, say anything, you get banned.

PS: Sorry if this doesn't make sense. I'm tired and not really focusing on anything.

PlayerMoveEvent error

17:32:57 [SEVERE] Could not pass event PlayerMoveEvent to AntiCheat
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.callEvent(SimplePluginManager.java:459)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:209)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at net.h31ix.anticheat.manage.PlayerManager.execute(PlayerManager.java:139)
at net.h31ix.anticheat.manage.PlayerManager.reactMedium(PlayerManager.java:48)
at net.h31ix.anticheat.manage.PlayerManager.increaseLevel(PlayerManager.java:76)
at net.h31ix.anticheat.event.EventListener.log(EventListener.java:44)
at net.h31ix.anticheat.event.PlayerListener.checkExploit(PlayerListener.java:210)
at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
... 10 more

Not sure what happened but got a tiny lagspike. Thought I'd just throw that in there. A few days ago I also had a crash:

2012-05-30 22:04:33 [SEVERE] java.lang.NullPointerException
2012-05-30 22:04:33 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:63)
2012-05-30 22:04:33 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
2012-05-30 22:04:33 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
2012-05-30 22:04:33 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-05-30 22:04:33 [SEVERE] Unexpected exception
java.lang.NullPointerException
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:63)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

I asked Bukkit and they said it's a plugin that modifys the network thread in an unsafe way, possibly caused by my auth plugin, but might as well post it here since I'm not 100% sure.

Thanks for great work on the plugin! Can't wait to see more!

Using /spawn causes y-axis fly warnings

Using build 129. A player issues /spawn and AC generates a warning on console:
[WARNING] [AC] xxxxxxx tried to fly on y-axis

The player was prevented and received a message that said he had fly mod.

He tried it 4 times and it issued over a dozen total warnings.

If it matters, my spawn has a lower elevation that ground level.

McMMO tree feller

using tree feller ability specially on jungle trees it causes to kick the player

isolated issues are logged as SEVERE but should be INFO

When an issue gets logged, it looks like this:
[SEVERE] [AntiCheat] xxxx tried avoid fall damage.
[SEVERE] [AntiCheat] xxxx tried to walk on water.
[SEVERE] [AntiCheat] xxxx tried to break a block of STONE without swinging their arm.

These used to be WARNING and now they are SEVERE, but they really should just be INFO since they are isolated incidents that are often not really problems, but lag induced.

If a player's threat level gets moved up, that's a good WARNING.

SEVERE should be reserved for a major error or perhaps a player being KICKED.

As a server admin, if I see SEVERE, I stop whatever I'm doing to investigate.

Request is to change these to [INFO] messages so admins don't get concerned when they don't need to.

Tunneling in Creative Mode Triggers Warning/Escalation...

When using an unhacked client in Creative mode and digging a 2-block high tunnel for long distances by just holding down the mouse and using any item to destroy blocks ahead, AntiCheat begins to escalate and send warnings. This problem may also become worse when using items that have an Efficiency enchantment on them, or when Super Pick-Axe in WorldEdit is in use. Some additional checks/improved threshold control are probably required.

enderpearls

Sometimes when players use enderpearls it will log them flying on the y axis. I have a couple people on my server who have had this issue with the plugin. Also when this happens sometimes the player gets stuck in a wall or somewhere maybe blocks below or a little around it from where they threw the pearl then it starts saying your flying again when you try to move sometimes.

Swimming Under Block Fail

When a player is swimming and they are underneath a block, for example a player was underneath his castle swimming below it, and he was glitching backwards- It was rubber-banding him.

Fly mode bug

With fly mode enabled (essentials) A user can also speed fly with a client mod. I addressed this issue to Supahispii, and he sent me a test build, on which you could not fly fast anymore, yet it was turning up a false positive on regular fly mode, and glitching the user back.

Repeated inventory commands trigger spam warnings...

When repeating certain commands (give, /i, etc.), AntiCheat gives spam warnings. For example, I was trying to fill a bank of dispensers and was issuing the command: /i [item] 576. After the 3rd time, I started getting spam warnings and the command didn't work, which was a pain. I worked around the problem by changing the quantity, but I shouldn't have had to do that.

One way to fix this would be to provide a command list in the config that bypasses the AntiCheat parser. There could be a basic set and server operators could add additional commands to the list, as needed. Maybe there would also be a threshold parameter for the number of times you could use a certain command.

For example:

repeat an inventory command up to 10 times before triggering a spam warning

i:10

repeat the spawnmob command 5 times before triggering a spam warning

spawnmob: 5

never trigger on the give command (or override an AntiCheat built-in default threshold)

give:-1

These comments imply a slight architectural shift, but would make AntiCheat more flexible and customizable. Maybe there are crossovers with plugins like Essentials, but since you are attempting to include flood/spam control, there needs to be additional intelligence, beyond simple string matching, which is triggered by detecting commands vs. regular text (leading "/" character).

Tunneling in Creative Mode Triggers Warning/Escalation...

When using an unhacked client in Creative mode and digging a 2-block high tunnel for long distances by just holding down the mouse and using any item to destroy blocks ahead, AntiCheat begins to escalate and send warnings. This problem may also become worse when using items that have an Efficiency enchantment on them, or when Super Pick-Axe in WorldEdit is in use. Some additional checks/improved threshold control are probably required.

Jumping in water push you back and log

When your jumping in a pool of water then your getting pushed back.
And it's logged as:
WARNING: {player} tried to walk on water.
Hope this can be fixed.
Last tested with Build #131

Digging with Efficiency IV shovel results in MED/Kick

Messages were:
[player] tried to break a block of SAND without swinging their arm.
(repeated 20 times in 3-4 seconds)
[player] has entered the MEDIUM hack level.
This means they may be using a hacked client or may have a bad connection!
[player] tried to break a block of SAND without swinging their arm.
(repeated 30 times in 5 seconds)
[AntiCheat] [player] was kicked for hacking.

Nodus Client Getting Around AntiCheat

Nodus client gets around many things in AntiCheat including forcefield and flying only up and down. I'm sure there is a lot more but that seem to be a huge issue.

Cannot Fly?

I gave myself

anticheat.exempt
anticheat.fly

but I still can't fly.

I also used x-ray and no x-ray stats came up for me? This is before and after I added anticheat.exempt.

But please fix the flying problem.

Here is my permissions file just in case it is my fault(Note:I am under the Emperor Group):
http://pastie.org/3987955

Player teleporting through ground by edge

A player on my server experienced a weird bug where they would teleport through the ground when sneaking and they approach an edge.

I removed all plugins on my server except AntiCheat and the player still had the problem.
I then put all the plugins back and removed AntiCheat, and the problem was solved.

Here is a video of it, since It makes trying to explain a lot easier:
http://www.youtube.com/watch?v=BC70Uui0vP4

Incorrect Fly Hacking Warnings with Normal Mine Cart Movement

AntiCheat throws "Fly hacking on the y-axis" warnings when players are ascending in mine carts on redstone-powered track (for example in a tight spiral).

<>
[AntiCheat] Fly hacking on the y-axis detected. Please wait 5 seconds to prevent getting damage.
(repeated 8 times)
<
>

I have also seen "Fly hacking" or "Moved too quickly" warnings when players are un-flying normally by double-tapping the space bar and falling to earth in creative mode...upon landing maybe.

It looks like besides just movement rate, you also need to check player status. For example, it should probably never warn when a player is in a minecart, since they are not in control of their movement, nor should it warn if they have turned off flying.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.