Inactive [SEC] NoCheat v3.5.0 [CB 1.2.4 R1.0][ABANDONED]

Discussion in 'Inactive/Unsupported Plugins' started by Evenprime, Feb 15, 2011.

  1. Offline

    Evenprime

    Xp10d3, Dereku, MyPictures and 35 others like this.
  2. Offline

    coolguy32

    This plugin work great for me, but is there a way that i can stop it from kicking? I checked the config, but i didnt find anything. It keeps getting a false positive from server lag, and it kicks the same player though i know he wasn't speedhacking. I just want to know, how do i stop it from auto-kicking?
     
  3. Offline

    Evenprime

    What "kick-message" do those players get?

    The only part of NoCheat that actually kicks people is the "nuke" check. It is disabled by default though, so it is likely not what kicks your players (it checks if players really look at the blocks that they mine, if they keep breaking blocks that they are not looking at, they'll get kicked). Be sure that you set "allow-flight=true" in your server.properties file. That deactivates the Minecraft internal flying protection, which also kicks players automatically.

    Version 1.11c (for CB 1000+)
    • Made height check for flying/jumping a bit stricter/more precise

      This shouldn't cause any problems for legit players and reduce the maximum "flying height" of cheaters by up to 1 block.
    • Fixed a bug in combination with beds that could cause false positives

      Jumping around on beds or walking accross them could cause violations in certain cases.
    • Added "nocheat.*" permission node for those that use the new superperms system.

      If you want to do bulk permission setting in superperms, you now have the choice to use "nocheat.*" = every permission, including "nocheat.notify" which sends the player log messages and "nocheat.all" which is the same but without "nocheat.notify".
     
  4. Offline

    Kane

    @Evenprime seams like 1043 no cheat kicks for speed hacks when you die.

    Code:
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10337.0
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10345.473346725033
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10362.286840566836
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10387.344656420548
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10420.585985534277
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10461.982793026255
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10511.537685948995
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10569.28188699538
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10635.27330914817
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10709.594726772635
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10792.3520388421
    21:40:26 [WARNING] Pjstorm12 moved too quickly! Elapsed ticks: 1, Distance change: 10883.672620168352
    
     
  5. Offline

    Sniper3

    Hey, I'm using bukkit version 1044 and the latest Spout version 61, and every time someone dies on my server nocheat thinks that they are speed hacking when they get warped to spawn and it kicks them. Any ideas?
     
  6. Offline

    Kane

  7. Offline

    Evenprime


    Did you get a message from NoCheat too, or just bukkits "moved too quickly" messages? I currently can't test this, but will asap.

    For everybody: Please don't use CB #1045 in combination with NoCheat yet, as it has the change to move events I anticipated and may cause false positives for players. I'll publish a new NoCheat version sometime later today that will support work with those changes.
     
  8. Offline

    Kane

    Darn it to make things More complex. Spout changes some packet movements I guess. So if you don't use spout client you get no errors. if you use spout client then you get the errors but only with the dev builds right now..


    Spout 61 (Server)

    http://ci.getspout.org/view/SpoutDev/job/Spout/61/

    SpoutCraft 81 (Client)

    http://ci.getspout.org/view/SpoutDev/job/Spoutcraft/81/

    BukkitCraft 1043
    http://ci.bukkit.org/job/dev-CraftBukkit/1043/


    Like I said you must have all 3. It's with the packet changes with both Spout and Sputcraft enabled. hehe. Thanks if its possible to even fix. If not might want to talk to the devs of spout as you know spouts making pretty big hit.
     
  9. Offline

    Sniper3

    I've disabled the bukkit's nofly anti-hack to install NoCheat properly, so I'm guessing the "Moved to quickly :( (Hacking?)" kick message is a NoCheat error.
     
  10. Offline

    coolguy32

    on the server properties, it says allow-flight is true, but this is the server message i see when someone gets kicked:

    Code:
    23:16:58 [WARNING] Bonesstealer moved too quickly! Elapsed ticks: 1, Distance change: 19500.084903634586
    23:17:31 [INFO] Request: GET http://www.minecraft.net/game/checkserver.jsp?user=Bonesstealer&serverId=58d3ecc58322c453
    23:17:32 [INFO] resp: 200, len: 3
    23:17:32 [INFO] Bonesstealer [/**.***.**.***:53007] logged in with entity id 42149 at ([world] 64.0, 65.0, -110.0)
    23:17:38 [INFO] <[Mod] Bonesstealer>: -.-
    23:17:46 [INFO] <[Mod] Bonesstealer>: It kicked me for going near your manor cool
    23:17:49 [INFO] <[Mod] Bonesstealer>: ^^
    23:18:55 [WARNING] Bonesstealer moved too quickly! Elapsed ticks: 1, Distance change: 13392.870965178387
    23:18:58 [INFO] Request: GET http://www.minecraft.net/game/checkserver.jsp?user=Bonesstealer&serverId=2a74d03713da37f2
    23:18:59 [INFO] resp: 200, len: 3
    23:18:59 [INFO] Bonesstealer [/**.***.**.***:53021] logged in with entity id 45227 at ([world] 77.04456643262499, 89.59999984
    502792, -67.14028374805798)
    >
     
  11. Offline

    Evenprime

    It's a craftbukkit message, a safeguard against people that may try to crash the server. Technically it has nothing to do with minecrafts "allow-flight" or NoCheat. It's a seperate thing and can't be disabled.

    I'll try to find out what's causing this, but I have literally no idea why NoCheat or Spout or SpoutCraft would cause that. Spout and Spoutcraft seem to leave player-move packets the way they are originally, and NoCheat would always give some kind of message before modifying information. As said above, that message is a craftbukkit message.

    If you wait an hour or two, I'll upload a new version of NoCheat that works with CB #1045 and you could try that. It may fix that problem.
     
  12. Offline

    Kane

    Sweet I'm heading to bed early since I got a meeting in the morning. But I will try it when I get up and provide more detailed info and tests.

    Thanks!
     
  13. Offline

    Evenprime

    Version 1.12 (for CB 1046+)
    • Updated for new move event handling

      As far as I can see, it should work now. Maybe I missed something, so if you find something that does seem to be broken related to movement (which wasn't broken before), please tell me
    • Use new PlayerVelocityEvent to fully support other plugins that do player.setVelocity()

      Remember those times when NoCheat would consider people getting propelled around by other plugins as cheating/flying? Well, not any more. Thanks to that new event I can finally support those things (not perfectly, but good enough).
    I suggest people update to that CB version, if they can, because it fixes a bug that allowed hackers to bypass NoCheat and other plugins which rely on movement events to do "their thing" (e.g. it was possible to "teleport" for big distances without NoCheat noticing). Plus the accuracy of the "speedhack" check will be improved now, because all move packets get now counted, not only ~50% of them.

    @Sniper3 :
    @Kane :

    I tried to reproduce the errors with Spout 61, CraftSpout 81 and CraftBukkit 1043 and NoCheat 1.11c - and nothing else - and everything worked fine for me. Changing worlds, respawning in the same world, respawning in a different world, respawning with/without beds. No problems at all. I also made sure that the server console says that Spout is installed on the client and verified successfully.

    It has to be something else that interfers here.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  14. Offline

    theneweasy

    Tested latest NoCheat (with unofficial CraftBukkit patch) using Alias's .up command. I can still teleport through ceilings that are one block thick.
     
  15. Offline

    Evenprime

    Yes, I know. The inofficial patch and now the official CB #1046 which includes that patch just prevent the high distance teleports and bypasses, which allowed people to teleport e.g. 40 blocks up on a tower.

    The problem with teleporting through 1 block thick ceilings/walls will be there until I manage to get my real NoClip check into NoCheat (Minecrafts noclip check for some reason doesn't work at all vertically, and only sometimes horizontally). I'm still refining the one I've written so far and will now adapt it to the new move-system of CB #1046. I've tested it a bit already and it will be able to prevent these teleports through 1-block walls reliably. Please be patient just a little longer. :)
     
  16. Offline

    Sayshal

    NoCheat doesnt believe in Magenta Wool. Its taking it away from my players.
     
  17. Offline

    housemaster

    It seems that no matter what, some players can still move faster than regular speed, some of them talking about a "1.5 multiplier" setting in whatever cheat they use. It also doesn't output this to console or log it. I guess this is limitations and most likely no way to completely fix?
     
  18. Offline

    clitcomander

    doubt that one

    we have a serious issue here, can no cheat save us all???!!???



    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  19. Offline

    Evenprime

    Would be the first time I heard about that. NoCheat only removes stacks that have size < 0, and only if you activated that feature.

    Yes, it's a technical limitation. I'm going to improve on that over time, but atm. I rather have people running faster than people getting incorrectly flagged as cheaters.

    Name changes can be easily prevented by setting "online-mode=true". That trick only works for offline-servers.

    The "climbing" will be fixed eventually.
     
  20. Offline

    Sayshal

    I tested it again. The user type /kit rainbow ( 64 of each colored wool)
    and the magenta is always removed. And i get an error.
     
  21. Offline

    Evenprime

    What is the error message?
     
  22. Offline

    Kane

    Darn. When you had tested did you go for away from spawn to die? If you near spawn then it's not always going to kick / ban.

    I will try a just the 3 things only and see what I can produce locally.
     
  23. Offline

    Evenprime

    Version 1.12a (for CB 1046+)

    • Removed no longer needed workarounds for teleportation/move events

    Finally I can drop all those stupid workarounds for teleports, now that CraftBukkit only creates move events when there is real movement.
     
    Kane likes this.
  24. Offline

    Kane

    So after more and more testing. It looks like it might be multiverse 1.7.2 + spout + spout client + nocheat. Even the newest one does it. But I will try to investigate more.

    Is there maybe a way to turn off say if someone warp hacks within 5 seconds its ignored. Maybe that way I will not get this:

    10:17:09 [WARNING] Kane_Hart moved too quickly! Elapsed ticks: 1, Distance change: 10337.0

    not sure if that would work. But I'm pretty sure now its multiverse also causing the issues. Because of its forced spawn.
     
  25. Offline

    Evenprime

    Unless you get some kind of log message from NoCheat in addition to that line, I doubt it would make a difference. The "moved too quickly" check is bukkit only, and can't be deactivated. Have you tried to do that test without NoCheat, or with full permissions such that NoCheat would ignore you?
     
  26. Offline

    Sayshal

    No error. But ingame I get:
    USER tried to use invalid item! Removing!
     
  27. Offline

    havejack

    @Evenprime When using permissions and i have the - '*' node and i got to dif worlds only one world im alllowed to fly in im using CB 1000 v1.11b
     
  28. Offline

    Kane

    I have not yet tried that. Here is the funny thing though. Today we updated bukkit/spout/nocheat and it was happening. Then 2 of our testers were not being kicked but only I was... I found out I had op on and deop Kane_Hart and no more speed hacks. I tried it then locally on my test server with just spout,nocheat,bukkit newest all. with op and no kick.

    Now I'm going try with multiverse.

    But yeah darn silly thing haha
     
  29. Offline

    Evenprime

    Are you sure it isn't "USER tried to use an invalid item. Item was removed."? That's what a message by NoCheat would look like, but that message would also be logged to the log-file (plugins/NoCheat/nocheat.log) per default.

    Can you set
    Code:
    bogusitems: "false"
    
    in the config file "plugins/NoCheat/nocheat.yml", reload the plugin and then try again? That way I could be sure it really is NoCheat that is causing this.

    In any case, NoCheat just checks if a item stack in the inventory of a player has a size lower or equal to 0 (because such stacks can be used to duplicate items infinitely). So maybe you've setup your rainbow kit incorrectly, giving players a 0 or less size stack of magenta wool instead of 64 units like you do with the other colors.
     
  30. Offline

    Chuckster

    whenever i start my server up i get this error message hmmmmm
    Code:
    12:03:22 [SEVERE] Error occurred while enabling NoCheat v1.12a (Is it up to date?): PLAYER_VELOCITY
    java.lang.NoSuchFieldError: PLAYER_VELOCITY
        at cc.co.evenprime.bukkit.nocheat.checks.MovingCheck.registerListeners(MovingCheck.java:411)
        at cc.co.evenprime.bukkit.nocheat.checks.Check.setActive(Check.java:56)
        at cc.co.evenprime.bukkit.nocheat.checks.MovingCheck.configure(MovingCheck.java:384)
        at cc.co.evenprime.bukkit.nocheat.checks.Check.<init>(Check.java:36)
        at cc.co.evenprime.bukkit.nocheat.checks.MovingCheck.<init>(MovingCheck.java:38)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.onEnable(NoCheat.java:144)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  31. Offline

    Evenprime

    You'll have to use CraftBukkit #1046 to get v1.12a to work

    Well, silly me. I display the warning stating that after the critical part gets loaded (and fails), therefore it's not really showing up.

    Version 1.12b (for CB 1046+)

    • Display important message(s) before loading the rest of the plugin

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
    andrewkm likes this.

Share This Page