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

    SulimirCular

    is there a chance for Multiworld support?
     
  3. Offline

    piousminion

    Considering this affects the server as a whole and has no world features you can look at it in one of two ways. Either it's impossible to for it to have multiworld support, or it already supports it completely. Your question makes me think you don't understand what the plugin does.
     
  4. Offline

    Evenprime

    It works in all worlds, no matter what kind of Multiworld plugin you use.
    In case you want to have different settings for different worlds, you can use Permissions or GroupManager to achieve that (e.g. allow flying for everybody in your nether world), therefore I don't think explicit multiworld support is necessary for my plugin.
     
  5. Offline

    Ratchet

  6. Offline

    Evenprime

    This message has nothing to do with speedhacking (you get it when you move - or better said the server thinks you move - over 10 blocks distance in one instant). It also has nothing to do with NoCheat. You can remove NoCheat and will still (randomly) get that message/get kicked.

    New version is finally online:

    Version 1.00a

    • Fixed an exception when starting with an old configuration file
      Didn't catch that before uploading the new version. It was nothing important, it just looked scary.
    Version 1.00
    • Log file will now contain date and time, instead of just time
      The log lines now have the format "yy.MM.dd hh:mm:ss [level] message". All other log locations still have the old "time-only" format.
    • Warn the user about conflicts if "allow-flight" is set to false and the moving-check of NoCheat is active at the same time
      I now parse the server.properties file on startup to see what that setting is set to. If it is "false", then you'll get a nice warning on startup explaining why that is a bad thing.
    • Added custom actions.
      Wanted to do that for a long time, never got around to do it. Yes, you can now freely define what they do, as long as it is something you can do from writing into the server console (any builtin command and any command by plugins). This feature is a bit experimental, so don't expect too much of it (yet).
      Your custom actions consist of a name (that goes where the "loglow, logmed, loghigh" and "cancel" are), and a line defining what they are. Here is a fictive example that showcases all options:
      Code:
      moving:
          action:
              low: "loglow cancel delayedwarnplayer"
              med: "logmed cancel warnplayer"
              high: "loghigh cancel kickplayer"
      
      customactions:
          delayedwarnplayer: [2,false] tell [player] Please stop that.
          warnplayer: tell [player] Stop that!
          kickplayer: [2] kick [player]
      
      "delayedwarnplayer" will whisper once (the "false" means only do it once) to a player after 2 minor violations within 5 seconds.
      "warnplayer" will whisper every time to a player if he causes a normal violation (if you don't add anything in front of the command, it is considered as [1,true], therefore do it always).
      "kickplayer" will just kick the player after 2 major violations within 5 seconds.
    • Graphical configuration tool: Execute the NoCheat.jar by double-clicking it (windows users) or using the command line "java -jar NoCheat.jar" within the plugin directory (others). This will give you a editor with all the options of the configuration file. It is very beta, that means most descriptions are missing and you'll have to know what goes where. This will change over time and be expanded to an useful and helpful config tool (hopefully).
      That's about it. I want to extend it with Wizard-like settings soon, e.g. predefined profiles, extensive help and explaination for each setting, aso.

    I also changed my versioning scheme. It now goes like this:

    mayorversion.minorversion[bugfixversion]

    Any change in mayor version (currently 1) indicates that you have to do something to make the new version work, besides just copying it into your plugin directory.
    Any change in minor version (currently 00) indicates that there were substantial changes (e.g. small new features, changed behaviour), but those won't need your special attention. It is probably safe to just upgrade, but reading the changelog is a good idea.
    Any change in bugfix version (currently "a") indicate changes that don't break anything. You can safely upgrade.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  7. Offline

    The PC Tech Guy

    I just realized you can configure the program via double-clicking the .jar file! You should mention this (unless you already did) Evenprime! Oh ha ha, just read your post.
     
  8. Offline

    thefoxygranpa

  9. Offline

    Evenprime

    I guess that program allows you to speed up the system clock in a controlled way (e.g. letting it run twice as fast)?

    You can try to set:

    Code:
    speedhack:
        limits:
            low: 21
    
    in the config file to tighten the speedhack check (20 is the games "normal" limit of move events a player can send per second, 30 is what I set as a default - maybe I should reduce that to 25 or something in future versions...).

    If your server experiences a lot of lag, that may however cause some false positives. You'll have to try.
     
  10. 2011-05-17 11:41:53 [SEVERE] Nag author: 'Evenprime' of 'NoCheat' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded. This may cause conflicts with the
    newly loaded version of the plugin
    Using build 793.
     
  11. Offline

    Xin_TiGeR

    just to know, is the problem with magiccarpet fixed? everytime i go down i´m kicked because the plugin thinks im flying
     
  12. Offline

    Evenprime

    If you get kicked, then it is not my plugin. It's the builtin no-fly feature of Minecraft. Set "allow-flight=true" in your server.properties file to get rid of that.

    I found the problem for that now. I accidentially crippled the speedhack check of my plugin when wrapping everything up for the 1.00 release. It should be fixed in this version.

    Should be fixed now, but I'm not sure. I couldn't reliably make this exception appear, therefore I don't know if it's gone completely.

    Version 1.00b (upgrading is recommended)

    • Fixed speedhack check. I totally fubared it when writing version 1.00 - it should now work as expected again.
      As said, it should work now nicely again.
    • New (tighter) default limits for speedhack check limit: 22,33,44 instead of 30,45,60
      It got a bit lag resistant over time, therefore I believe that setting the limits lower like this to catch more speedhackers is possible and reliable.
    • Fixed logging to logfile (now always displays time AND date)
      Another small oversight by me.
    • Easier way to define log messages in the config file. Instead of the %xyz you can now use various things like [player], [world], [from], [to], ... depending on the log message
      So, if you let a new config file be generated, you'll see all options you have. It's basically what you had before, just better readable. The old way of defining log messages with %... still works.
    • (Potentially) fixed nag message about not shutting down async task in a clean way
      I try to explicitly unschedule all tasks when my plugin gets disabled. I'm not sure if that is enough to get rid of that message.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  13. Offline

    JanTTuX

    thx very useful
     
  14. Offline

    Dalbotex

    This plugin is awesome! However, there are still some things it doesn't catch, like using a flymod to bypass falling damage. This can easily be accomplished by flying just a little before one hits the ground. It is even possible to fly over a two block wide gap without space over ones head.
     
  15. Offline

    The PC Tech Guy

    It's only going to do so much. If it was to do falling checks, I suspect a performance impact, but I don't know... anything is possible... Or he could implement taking the damage from certain falls...
     
  16. Offline

    andrewkm

    You, are the KING!
    Cheers for continues support of this AMAZING plugin. My server would NOT function without it.
     
  17. Offline

    BioRage

    Bump for a great plugin.
     
  18. Offline

    Senzuri

    Is there anything you can do about boats? When someone without NoCheat permissions uses a boat and crashes, they are teleported back to the location they initially started from.
     
  19. Offline

    Alex K

    I keep getting this odd error whenever I load this plugin, help? D:
    Code:
    09:53:12 [SEVERE] Error occurred while enabling NoCheat v1.00b (Is it up to date
    ?): null
    java.lang.NullPointerException
            at cc.co.evenprime.bukkit.nocheat.config.NoCheatConfiguration.config(NoC
    heatConfiguration.java:118)
            at cc.co.evenprime.bukkit.nocheat.config.NoCheatConfiguration.<init>(NoC
    heatConfiguration.java:51)
            at cc.co.evenprime.bukkit.nocheat.NoCheat.setupConfig(NoCheat.java:325)
            at cc.co.evenprime.bukkit.nocheat.NoCheat.onEnable(NoCheat.java:138)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:750)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  20. Offline

    embty

    download link is broken?
    Edit: its working now :)
     
  21. Offline

    Evenprime

    I will fix that as soon as I have the time. I'm currently swamped in work for university, so I don't have time before Tuesday to work on the plugin.

    The only thing I can think of is renaming/deleting your plugins/NoCheat/nocheat.yml file to let a new one be generated, then changing its settings to what you used before.
     
  22. Offline

    Alex K

    Oh, Alright, I'll give it a shot.
     
  23. Offline

    andrewkm

    Confirming that this works great on RB #803
    Thanks alot :)
     
  24. Offline

    embty

    Poeple can still speedhack on water?
     
  25. Offline

    Tealk

    hi i become the error:
    Code:
    2011-05-23 18:37:01 [SEVERE] Error occurred while enabling NoCheat v1.00b (Is it up to date?): null
    java.lang.NullPointerException
        at cc.co.evenprime.bukkit.nocheat.config.NoCheatConfiguration.config(NoCheatConfiguration.java:118)
        at cc.co.evenprime.bukkit.nocheat.config.NoCheatConfiguration.<init>(NoCheatConfiguration.java:51)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.setupConfig(NoCheat.java:325)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.onEnable(NoCheat.java:138)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    full server.log
    http://pastebin.com/uY4sSvN3
     
  26. Offline

    Jdbye

    @OP: NoCheat shows a warning when people try to place air on air (i assume right clicking in the air with no item selected), which seems kind of pointless, could you make it not warn for placing air?
     
  27. Offline

    Evenprime

    Time to work off some backlog:

    I answered that already, but now there is some news: Bukkit build 804 claims to have fixed the problem of teleports causing people getting kicked for moving to fast. You might want to give that a try now.

    I tried it with the latest version of my plugin and couldn't reproduce that. Crashing a boat, destroying it or leaving it normally didn't cause any problems. So it is probably fixed now.

    Should be fixed now (I hope). This happened if some entries in the config file were missing. Now the plugin will use default values in that case (as intended) instead of causing a Exception.

    I've never seen that happen, but anyway - I now check if the block placed is something different than AIR.

    Version 1.01+1.01a:
    • Don't count placing AIR in the air in airbuild check
    • Potential fix for the problem(s) with loading the config file
    • Fixed bug that could allow flying (to a limited degree) in certain conditions
      I got informed that a specific client mod would allow flying (very slow, but flying is flying). I couldn't reproduce that myself, but while searching for the potential cause of it I found two weaknesses in my fly check and fixed them. Maybe one of them was the cause of this exploit - I don't know.
    • Try to teleport players closer to the ground, if the original "setback" location is too high above ground
      Just in case I didn't catch the problem, this should fix it anyway. A player will now always get teleported (relatively) close to the ground.
    • Removed some old workarounds for problems that have been fixed by bukkit and/or other plugins
      I hope they really were no longer needed. They messed up my codebase pretty badly and one could've been used to bypass one of my plugin checks, therefore I got rid of them. Some others would have been outdated with MC 1.6 anyway, due to the upcoming native support for multiworld. This change may break something that worked before. I tried the obvious stuff like respawn, "void diving", vehicles, world<->nether teleports and portal usage and didn't notice problems. But if you find some, please tell me.
     
  28. Offline

    andrewkm

    You sir, are a genius :) Thanks! Without this plugin, my server would not exist!
     
  29. Offline

    CoolOppo

    This is a really great plugin. What you need to do next is see if you can integrate AntiXray into it, and make it so you can turn it on and off in the config for servers with performance problems. ;)
     
  30. Offline

    Riolu

    This plugin discuss with RuneCraft. For example: when you use super web (I don't know name) and use it like spiderman, NoCheat place you back very time you use web, because it think, you cheating. :(
     
  31. Offline

    Evenprime

    I don't guarantee that my plugin will work as expected with MC 1.6, and I don't know when I'll release a new version, so to waste your time a bit, here are my thoughts about some of the changes in MC 1.6:

    • Added Nether support to multiplayer
      Depends on how it is done and if/how bukkit can use this for their multiworld support. Probably a good change *crossfingers*
    • Added hatches
      May conflict with "airbuild" check
    • Added tall grass in some biomes
      Probably will lead to players being able to hover over tall grass, because my plugin doesn't know (yet) that tall grass is not something a player can stand on...
    • Players stuck in walls will slide towards the nearest gap if there is one
      depending on what "sliding" means, this could cause problems with the "moving" check
    • Fixed not being able to target blocks when at x or z pos 1000
      If that fix includes changing how the coordinate system works there (I already know about problems with 0,0 coordinates which I actively work around currently), it may cause problems
    • Fixed a system clock change messing up the game speed
      A fix for speedhack? Hopefully it doesn't mess around with how much move packets are sent per second normally, or else "speedhack" check will run amok
    • Fixed the player not being able to sneak off lowered blocks like cacti
      I don't even know what that's supposed to mean, but anything with "sneaking off" something may be problematic, it took sooo long to get that part of my plugin halfway reliable
    • Fixed submerged boats rising very very fast
      I like that.
    • Fixed fire hurting through wall corners and
    • Fixed entities reaching water through wall corners
      What? A fix for the South-West rule causing players to be able to use water elevators? Finally! Now I can remove that ugly workaround from my plugin that especially checks for this bug.
    • Fixed placing doors next to cacti creating half-doors
      Just now that I actually wanted to implement a fix for that myself, it's already done. Good for me.
    • Fixed walking on top of fences not producing step sounds
      If this includes changes to how fences are represented on the server, it may cause or solve problems with my plugin.
    • Fixed network packets being sent unbuffered, causing huge amounts of packets being sent
      Probably no problem, but may cause "speedhack" check to run amok, if way too much buffering is done.
    • Fixed entity positions going out of synch sometimes. They get re-synched every 20 seconds now.
      Probably fixes rather than breaks stuff
    • Fixed players spawning in the wrong location and quickly lerping to the correct location
      Another ugly workaround I can finally get rid of. That lerping around was annoying as hell to identify/predict/allow.
     
    Phaedrus likes this.

Share This Page