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

    faroutmat

    Thank you very much. I believe it's time for me to go back to computer school. That was an epic fail on my part lol
    Mine with Pride my friend
     
  3. Offline

    Evenprime

    Actually NoCheat never stopped working and you can just use it like before the 1.5 Minecraft update if you set the allow-flying setting in the server.properties to true. :)
     
  4. Offline

    ScottSpittle

    how can i stop this from showing up

    2011-04-29 18:05:36 [WARNING] [NoCheat] version [0.9] couldn't find CrafTIRC plugin. Disabling logging to IRC.
     
  5. Offline

    o0AzzA0o

    thats just a debug message to show that the irc feature isnt being used its safe to just ignore it as im sure the logging to irc is dissabled in the default config

    logtoirctag: off
     
  6. Offline

    Evenprime

    What o0AzzA0o said. It just indicates that the IRC related features won't work because you don't have that plugin. But to reduce confusion, I converted that WARNING into a INFO now.

    Version 0.9.2

    • only cache permissions that are really used

      Instead of refreshing all cached permissions of a player every 10 seconds, only refresh those that are used. Reduces the calls to the Permissions plugin and therefore improves performance (a bit). I had to do that because the list of permissions a player can have keeps growing and therefore slowly becomes performance relevant.
    • new sub-check for "moving" called "fakesneak" - identify players that sneak at more than normal sneaking speed (deactivated by default because some plugins may want this behaviour, like HeroSneak)

      I promised to do this some time ago, finally got around to finish it (it was almost complete for the whole time). Basically if a player claims he is sneaking but still moves at normal walking speed, he will be detected and treated as usual (whatever you decided to do in case of moving violations).
    • again some code cleanup

      Nothing important, a bit of code moving to improve readability (for me).
    • Degraded message about missing CraftIRC at startup from "warning" to "info" level

      To prevent people from thinking that they broke something. CraftIRC isn't needed at all to run this plugin, so not having it isn't really worth more than a small notification.
    PS: As usual, I've updated my OP to show and explain the new configuration options that come with this new feature.
     
  7. Offline

    o0AzzA0o

    latest version isnt catching speedhack for me at all.......
    this is using zombe. It catches the fly cheat just fine. I have totaly deleted the old NoCheat folder and jar and used default config just to make sure.

    Could be new sneak capture code causing problem?

    post log here just to show im using right version and which options are enabled.

    04:56:22 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-gf53e007-b740jnks (MC: 1.5_02)
    04:56:22 [INFO] Preparing level "world"
    04:56:22 [INFO] Preparing start region
    04:56:23 [INFO] LWC Loading shared objects
    04:56:23 [INFO] LWC Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so
    04:56:23 [INFO] [Permissions] (Phoenix) was Initialized.
    04:56:23 [INFO] [ecoCreature] v0.0.5a (Lederhosen) loaded.
    04:56:24 [INFO] [NoCheat] version [0.9.2] couldn't find CrafTIRC plugin. Disabling logging to IRC.
    04:56:24 [INFO] [NoCheat] version [0.9.2] is enabled with the following checks: moving bedteleport speedhack itemdupe flying
     
  8. Offline

    Evenprime

    Thanks for telling me! I've found the bug and will fix it now.

    Should be fixed now.

    Version 0.9.3:

    - fixed a bug introduced with 0.9.2 that caused parts of the "moving" check to not work properly

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

    o0AzzA0o

    Thanks for the fast update :) test and works flawless thanks.
     
  10. Offline

    ZachBora

    Just wanted to say I've disabled this plugin from my server because it was causing too much lag. Tons of these messages :
    Code:
    2011-04-30 07:41:37 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 07:41:40 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 07:41:42 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    We're not a survival server so it doesn't matter much, I only used this to prevent flying and minecraft does it for us now. I haven't tried 0.9.3 but I don't think it'll be necessary.
     
  11. Offline

    Evenprime

    How many players does your server have? Did you get any error messages from my plugin on startup or before the "Can't keep up" messages appeared?

    I didn't change anything in the last versions of the plugin that would cause it to take any more resources than before, so I am quite surprised by that and would like to find out what is causing this.

    EDIT: And a final question: Did you always have performance problems with the plugin, or only recently?
     
  12. Offline

    ZachBora

    I did not mean your plugin is causing ALL of the lag, but I am trying to reduce server load. We increased our server capacity some weeks ago and have been having additional lag since then (from 32 to 52). But since bukkit 1.5 it got worse so we've decided to disable plugins that could cause additional lag.

    I'm also suspecting WorldGuard to cause lag but I can't do much about that one.

    Example of 1 minute of my server log at full capacity (without NoCheat) :
    Code:
    2011-04-30 08:41:07 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:09 [INFO] Disconnecting ****** [/68.174.213.174:1390]: The server is full!
    2011-04-30 08:41:10 [INFO] Disconnecting ****** [/81.233.50.235:49617]: The server is full!
    2011-04-30 08:41:10 [INFO] ?2[MagVip]<****** >?f yes
    2011-04-30 08:41:10 [INFO] Disconnecting ****** [/89.100.134.122:49996]: The server is full!
    2011-04-30 08:41:11 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:12 [INFO] ?b[Ice]<****** >?f sure but im gona start a new city
    2011-04-30 08:41:14 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:16 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:17 [INFO] ?9[IceVip]<~****** >?f cool
    2011-04-30 08:41:19 [INFO] Disconnecting ****** [/89.100.134.122:50001]: The server is full!
    2011-04-30 08:41:19 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:21 [INFO] Disconnecting ****** [/68.174.213.174:1393]: The server is full!
    2011-04-30 08:41:21 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:22 [INFO] ?b[Ice]<****** >?f im gonna call it FUTURAMA
    2011-04-30 08:41:23 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:24 [INFO] Disconnecting ****** [/89.100.134.122:50006]: The server is full!
    2011-04-30 08:41:24 [INFO] ****** tried command: raise mc 40
    2011-04-30 08:41:25 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:26 [INFO] ?a[Mag]<****** >?f grrr does any1 know how to get rid of the fire on  gold blocks on a hd texture pack. ive used the la
    2011-04-30 08:41:27 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:30 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:30 [INFO] ?b[Ice]<****** >?f for digging this out can i get a cut of the pay?
    2011-04-30 08:41:31 [INFO] ****** tried command: raise mc 40
    2011-04-30 08:41:32 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:32 [INFO] ?8<****** >?f the pwego olimpics
    2011-04-30 08:41:39 [INFO] ****** tried command: noob builder
    2011-04-30 08:41:40 [INFO] ?9[IceVip]<****** >?f sure
    2011-04-30 08:41:41 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:43 [INFO] ?2[MagVip]<****** >?f i already have land
    2011-04-30 08:41:43 [INFO] ?a[Mag]<****** >?f latest hd fixer but nothing has worked
    2011-04-30 08:41:44 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:46 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:50 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:50 [INFO] ?b[Ice]<****** >?f are there any admins or staff peeps on?
    2011-04-30 08:41:52 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:54 [INFO] ?b[Ice]<****** >?f nvm
    2011-04-30 08:41:55 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:41:57 [INFO] [Kit] ****** requested kit tools
    2011-04-30 08:41:57 [INFO] [Kit] Giving a kit to ****** : tools
    2011-04-30 08:42:00 [INFO] ?b[Ice]<****** >?f i love your inside
    2011-04-30 08:42:01 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:42:02 [INFO] ?6[Staff(2)]?c<****** >?f ugh
    2011-04-30 08:42:04 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:42:11 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-30 08:42:21 [INFO] Disconnecting ****** [/68.174.213.174:1434]: The server is full!
    2011-04-30 08:42:27 [INFO] Disconnecting ****** [/68.174.213.174:1437]: The server is full!
    2011-04-30 08:42:35 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
     
  13. Offline

    Horia0310

    There is a bug when you spawn, you fall through the map and they get spammed with "Flying is disabled"
     
  14. Offline

    Evenprime

    "Flying is disabled" is not from my plugin, it's (probably) Minecrafts builtin anti-fly mechanism. You'll have to set the entry "allow-flying"in your "server.properties" file to true to get rid of that.

    My plugin can handle people falling into the void nicely without flagging them as flying.

    PS: I wished the new Minecraft no-fly feature were disabled by default. It labels and kicks players who are not flying, doesn't work well together with plugins and is simple to bypass. :(

    New Version 0.9.4:
    • Big performance improvements for the "moving", "flying" and "fakesneak" check

      Now that people seem to hit a performance wall I've invested a lot of time to improve the performance of the most called event: "player_move". It's hard to give absolute performance numbers, but to give you an idea about how much changed: 0.9.3 needed ~34 us to process a player_move event on average, 0.9.4 only needed ~ 18 us on average (us = microseconds, therefore it took only 0.000018 seconds to process one player_move event). That's a big improvement.

      You can get these performance numbers for your server by calling the command "/nocheat" (ingame or from console). It will detail how much time in total has been spent in the "player_move" event handler of the "moving" check of my plugin and the average time needed to process a event within there. The longer the plugin has been running the more reliable the displayed average time will be.

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

    tomgsx

    Any chance you could make it check and ignore speed-checks while a player is in a vehicle? Minecarts/boats and stuff like that. Players using the booster tracks keep getting kicked from my server, but I want to keep NoCheat enabled because it helps a ton keeping all those flyers/speed guys out of my server.
     
  16. Offline

    Evenprime

    Sorry about that. I just saw I made an error with the last version. A new version with a fix for that will be online in a few minutes.

    I was wrong. My plugin definitely doesn't check players that are in vehicles and it also doesn't/can't kick players. There must be something else that is kicking your players.

    Version 0.9.5:

    - fixed a bug that caused a small part of the moving check to be executed twice.
     
  17. Offline

    tomgsx

    Hmm.. because I have a few members that made a booster track, and it spams the NoCheat movement violations, then the player gets kicked after a few. I'm using a version I downloaded yesterday, maybe that's why?
     
  18. Offline

    andrewkm

    [74-] + 0.9.5
    Confirmed! Perfect :)
    God im so happy that your still supporting this. I dont know what i would do without it :(
     
  19. Offline

    Ahfaichucky

    Code:
    2011-04-30 16:43:00 [WARNING] Failed to handle packet: java.lang.IllegalStateException: Failed to add player. net.minecraft.server.EntityPlayer@21d5(Muna at -1399.134498833511,186.00000151991844,3150.0) already is in chunk -92, 207
    java.lang.IllegalStateException: Failed to add player. net.minecraft.server.EntityPlayer@21d5(Muna at -1399.134498833511,186.00000151991844,3150.0) already is in chunk -92, 207
        at net.minecraft.server.PlayerInstance.a(PlayerInstance.java:38)
        at net.minecraft.server.PlayerManager.movePlayer(PlayerManager.java:141)
        at net.minecraft.server.ServerConfigurationManager.b(ServerConfigurationManager.java:107)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:335)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Right after i installed the latest version, i turned on flying in server properties.
     
  20. Offline

    Evenprime

    Can you give me the exact message of the movement violation (all messages by my plugin either contain "NoCheat" or "NC" at the beginning)? I just tried, but I can't reproduce it. And with booster track do you mean the new "powered rail" or something from another plugin?

    EDIT: Or can you send me some pictures of the track?
     
    o0AzzA0o likes this.
  21. Offline

    untergrundbiber

    Can you please also record the date in the log?
     
  22. Offline

    o0AzzA0o


    i would ignore the block cant keep up....... warning lol there is a plugin to avoid that annoying message most servers run with that message........

    All i can say is if you allow flying and dont use this plugin i promise you it will cause more lag having players speedhack over terrain causes 100x the load this plugin does trust me if you disabled this plugin and allow flying i bet you i could crash ur server without much effort.
     
  23. Offline

    Evenprime

    Should be easy to do. Will be in the next version.
     
  24. Offline

    TheStentch

    Thank you for making this! MUCH LOVE
     
  25. Offline

    andrewkm

    I may have found a bug. Not 100% sure. Users using minecarts in 1.5_01 get teleported back to start of trip (After trip is finished) if it has curves and poweredrail tracks...however doesnt happen for OP. I have "cancel" in config file to bump back to original position after speed/fly hack.
    I will fully test tonight and let you know far more details once i get them and if its a problem with this plugin or not. I've scheduled a downtime (Its just hard with a server averaging 30~ users lol)
     
  26. Offline

    Evenprime

    I believe I have tracked down that problem now. It only happens if people destroy their minecart after their travel instead of leaving it pressing the use key (I always use the use key, therefore didn't experience it when testing). It is actually a old bug that seems to have creeped back in with one of the last updates. A fix is on the way.

    Version 0.9.6
    • Fixed a bug where destroying your minecart instead of just leaving it could cause you to be teleported to the start of your ride
    I'm still not sure why this suddenly became a problem, but now it should be fixed. This only occured if somebody destroyed their minecart instead of leaving it (by pressing the use key), therefore I wasn't able to reproduce it before. I'm also quite surprised that riding a minecart now generates PLAYER_MOVE events (when I wrote that code part for MC 1.4, those were only generated by boats, because boats were the only vehicle that can be controlled).

    @andrewkm : the hint about this only happening when players finished their trip helped a lot in tracking this down. Thanks for that.

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

    ZachBora

    It's very hard to read your post. From what I understand you are saying that this plugin is better than having people use speedhack causing tons of block to load and slowing the server. I do know we aren't the only server with these warnings.

    Fact is, we have flying disabled. Does the built-in anti-flying block speedhack?

    From what I understand this plugin only warns about hackers, it doesn't block or stop anything. All I want is something that prevents hackers without me needing to be present.
     
  28. Offline

    o0AzzA0o

    this plugin stops they fly hackers dead they cant move more then 1 block up before they get rubber banded back same for speadhackers which i belive the build in function doesnt detect. This plugin is what you need
     
  29. Offline

    Mountaineer

    NoCheat causes problems with minecart systems that use boosters (i.e. CraftBook's gold block boosters). If the player breaks the minecart to exit instead of left-clicking, it teleports them back to the starting point as if they were speedhacking. Not sure if this is an issue with any rail line. I would guess that the problem is caused by NC not registering a vehicle exit when the cart is broken.
     
  30. Offline

    Evenprime

    This should be fixed in 0.9.6. If you still experience it, please let me know.
     
  31. Can somebody help me to interpret this logs - the player claims that it is not mod but his w-lan connection:

     

Share This Page