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

    1nsane89

    We got this plugin just yesterday and it was working nicely, however, someone with no permission to use flying was still able to fly if he did so very slowly.

    Today not even us admins are able to fly at all.

    It started not letting us fly after we game 2 specific players players flying permission, but taking those out did not fix it.

    Our bukkit version is 820 so are we supposed to use 1.03 or 1.04? We are using 1.04 now.

    Our config file:
    Code:
    logging:
        filename: "plugins/NoCheat/nocheat.log"
        logtofile: "low"
        logtoconsole: "high"
        logtochat: "med"
        logtoirc: "med"
        logtoirctag: "nocheat"
    active:
        speedhack: "true"
        moving: "true"
        airbuild: "true"
        bedteleport: "true"
        bogusitems: "false"
    speedhack:
        logmessage: "%1$s sent %2$d move events, but only %3$d were allowed. Speedhack?"
        limits:
            low: "22"
            med: "33"
            high: "44"
        action:
            low: "loglow cancel"
            med: "logmed cancel"
            high: "loghigh cancel"
    moving:
        logmessage: "Moving violation: %1$s from %2$s (%4$.1f, %5$.1f, %6$.1f) to (%7$.1f, %8$.1f, %9$.1f)"
        summarymessage: "Moving summary of last ~%2$d seconds: %1$s total Violations: (%3$d,%4$d,%5$d)"
        allowflying: "false"
        allowfakesneak: "false"
        allowfastswim: "false"
        waterelevators: "false"
        action:
            low: "loglow cancel"
            med: "logmed cancel"
            high: "loghigh cancel"
    airbuild:
        limits:
            low: "1"
            med: "3"
            high: "10"
        action:
            low: "loglow cancel"
            med: "logmed cancel"
            high: "loghigh cancel"
    bedteleport:
    bogusitems:
    customactions:
     
  3. Offline

    deafgeek


    Were you getting kicked with teh exact message here?
    "Flying is not enabled on this server" ?

    If so, open server.properties and edit Allow-flight=false to say Allow-flight=true then save the map and restart the server for the changes to take affect.
     
  4. Offline

    1nsane89

    No, not getting kicked because it is enalbed from the server.properties, we wouldnt have been able to fly in the first place. It just warps us back like we are stuck on something invisible when trying to fly.
     
  5. Offline

    deafgeek

    Did you add 'nocheat.moving' to the group/user nodes of the allowed players?
     
  6. Offline

    BioRage

    @Evenprime

    Greeting's, I was wondering if you could inform me on how I would go to give my "Guards" or "Mods" that do NOT have OP the ability to see "WARNING" or the "Notfications.."

    Thank you.

    Would this be fly hacking?

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

    1nsane89

    Admins have * permissions wich means everything, so yes we do have the proper permissions but its not letting us fly fast or up and down.

    ... So it looks like setting Moving and Speedhack in the Active section to false is the only way to let us fly again... but wont that let everyone else do so too?

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

    QQCucumber

    @Evenprime When I reuse the reload command, this happens:
    2011-06-15 07:28:31 [INFO] [NoCheat] version [1.04a] is disabled.
    2011-06-15 07:28:33 [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
     
  9. Offline

    1nsane89

    We got that that too but downgrading to 1.03 got rid of that and it works in bukkit version 820.
     
  10. Offline

    Evenprime

    Sounds like a problem with the Permissions plugin or its configuration file. When the Permissions plugin can't give NoCheat an answer if a player has a certain permission, it is considered as a No. You should have either gotten a message when starting NoCheat (a Warning about the Permissions plugin not being found) or soon afterwards a "Asking Permissions-Plugin if [player] has permission caused an Exception [...]" which may point you to the problem.

    give those people the permission "nocheat.notify" within your Permissions plugin. If you don't use a Permissions plugin (GroupManager should work too btw.), then there is no way to let a non-OP view those messages.

    From the looks of it I'd say yes, unless there is something special at those coordinates (e.g. something that would catapult players upwards - which may or may not be accidentially counted as cheating by my plugin) that could be the cause for this. So I'd suggest just go there and look if anything suspicous can be seen.

    I believe I've found the problem that causes this. I'll add a fix in the next version. The message isn't that serious, because bukkit force-shutdowns renegade async tasks anyway.

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

    QQCucumber

    I dunno, I notice it appearing more than once after multiple reloads. What's the ETA on the next version?
     
  12. Offline

    Evenprime

    Already here.

    Version 1.04c
    • Potential fix for async tasks not shutting down
      Too bad that bukkit doesn't say what async task it has a problem with. The one I think that the problem was is now wxplicitly shutdown on plugin disable.
    • new keyword "[distance]" can be used in "moving: logmessage"
      So, if you want to see the distance a player travelled during a move event instead of the coordinates from and to, you can use that to get that info.
    • Warning about disfunctional Permissions plugin now gets displayed (at most) once every 60 seconds instead of just once per reload (if necessary).
      To make debugging problems with Permissions easier, whenever the Permissions plugin is installed, but asking it about a specific permission of a player causes an exception, you'll get a message. Before you'd only get this message once (per plugin reload) and could probably miss it, now you get it once every 60 seconds. This is different from the message about "no Permissions plugin found" (you'll get that message still only once, as it's not a bug).
     
  13. Offline

    QQCucumber

    Thanks, that fixed it.
     
  14. Offline

    BioRage

    @Evenprime
    Thank you for your generous reply.
     
  15. Offline

    PhantomGamers

    There should be an option to block OPs too... other than that this is quite great. :3
     
  16. Offline

    godgodgodgo

    Will this not use a rediculous amount of memory if it's calculating every move of every player?
     
  17. Offline

    The PC Tech Guy

    No, I believe he said something about efficiency some time ago... it doesn't bog down my server.
     
  18. Offline

    Evenprime

    If you use a Permissions plugin, the OP-status of players will be ignored completely.

    Memory is basically no issue, it only keeps about ~2 kb of data per player in memory.

    But it does need some time of your CPU to analyse every move event of every player. That time is however still really small, per MOVE_EVENT it only takes ~35 µs (measured on my desktop PC). Multiply that by 20 (because a player can cause up to 20 move events per second) which gives ~700 µs or 0.7 ms per second per player. So theoretically even with a 100 players on the server (moving around at the same time) it will still only take 70 ms of your CPU time (per second), or said differently 7%.
     
  19. Offline

    godgodgodgo

    That was very well explained! :D Thanks

    Also, might I suggest putting all of your subheadings in those little tab things (changelog, features etc) it would make it alot smaller and neater.
    Thanks again for the great plugin.
     
  20. Offline

    PhantomGamers

    Yeah, but an option in the config for people who DON'T use permissions would be nice as well...
     
  21. Offline

    Evenprime

    Ah, I understand. Should be very easy to implement such an option, so you can probably expect that in the next version.
     
  22. Offline

    PhantomGamers

    Awesome, thanks a lot :)
     
  23. Offline

    Ratchet

    I just saw someone on my server floating in the air, and running around on air, what is this and why doesn't NoCheat stop it?
     
  24. Offline

    Evenprime

    That can have some reasons. If he was floating close above the ground, it could be a glitch in your client. There exists a bug that will draw other players 1-2 blocks above their actual location.

    Can you type "/nocheat -p [playername]" into the chat or "nocheat -p [playername]" in the console the next time that player is online? That will display what NoCheat thinks that the player is allowed to do or not (based on nocheats config file and Permissions/OP settings.

    Is there something written in the nocheat log-file about that player at that time? If so, I'm very interested in those lines, as they'd help me track down the issue if there is one.

    Also, other plugins that prevent players from teleporting (e.g. some jail-plugins) can prevent NoCheat from working properly - after all, it does teleport players back to the ground. Which other plugins do you use?
     
  25. Offline

    Ratchet

    he was floating about 10 blocks above the ground and running around on air, it wasn't the usual client glitch.

    but when you bring this up, I realise it must be the situation he was in. It's the MobArena plugin, it prevents people from warping in or out of the arena while a game is running, which is worrying because someone being able to float above all the monsters could easily survive a large amount of rounds and thus get a ton of free loot - can anything be done on NoCheats side to 'fix' this?
     
  26. Offline

    Evenprime

    Yes, I could probably enforce the teleporting of players back to the ground in such cases by overriding other plugin(s) actions within PLAYER_TELEPORT events. I'll have to look at how MobArena prevents teleporting first to see if that's a good idea or not however.
     
  27. Offline

    parker_digg

    I hadn't updated this plugin for about 2 months or so, and this new version doesn't stop the exploits. I get the warnings, but they aren't stopped / sent back like previously. Why is this? I've watched a speedhacker an flyer move around. Lots of messages, but it didn't affect them. Should it??
     
  28. Offline

    Ratchet

    would be awesome if you could do it! :D thanks Even


    I actually just came to post that one of my players said they logged in and forgot to disable their flying mod and were able to fly around, and asked did I enable it because they never used to be able to.

    any thoughts Evenprime? going to generate a new config anyway with the latest version see if that helps.
     
  29. Offline

    parker_digg

    Let me know if that works.
     
  30. Offline

    imjake9

    Sorry, I just wasn't answered. Could someone answer this? Thanks.
     
  31. Offline

    2zxr1

    i've got a bug its quite big it got my friend banned from a server
    when you get hit sometimes it teleports you back this is becuase you go faster with the jumpback from the hit this happens alot when two people are hitting you. Can you go to a server and get him unbanned if you say yes i will give you ip
     

Share This Page