1. bawNg submitted a new resource:

    Cupboard Exploit Fix - Prevents players from exploiting cupboard zones

    Read more about this resource...
     
  2. actually I do not understand what is it for. can you pls give a small example for what purposes it will be necessary?
     
  3. Code:
    https://youtu.be/1dC6oInRnCo
    https://youtu.be/N_wfv9oQbpk
    https://youtu.be/-w9hCIi7Urs
    Enjoy, we fixed this bug 3 days ago on our server. I've posted plugin here today in the morning, but moderators just ignored it :) and this plugin apeared after:)
     
  4. Wulf

    Wulf Community Admin

    It wasn't ignored. If it wasn't approved, there was a reason for it, likely what was discussed in Slack.
     
  5. But for me it looks like:
    1. i Upload plugin
    2. it didn't get approved
    3. some hours later plugin with same func apears.
    No offense, just weird sutiation. Videos from facepunch forum was captured by me and another admin, explaining this bug.
     
  6. Wulf

    Wulf Community Admin

    It was actually approved before this one, but then unapproved as it was pointed out that it didn't fix the issue as well as this one. There isn't any reason to have both.
     
  7. Sure, just delete my version from unapproved
     
  8. continuesly getting below error in console;

    [Oxide] 10:24 PM [Info] Mizie tried to upgrade a roof without hammer privilege!
    [Oxide] 10:24 PM [Info] Twitch.tv/jojo1159 tried to upgrade a wall without hammer privilege!
    [Oxide] 10:25 PM [Info] Twitch.tv/jojo1159 tried to upgrade a wall without hammer privilege!
    [Oxide] 10:25 PM [Info] Twitch.tv/jojo1159 tried to upgrade a wall.doorway without hammer privilege!
    [Oxide] 10:25 PM [Info] Twitch.tv/jojo1159 tried to upgrade a wall without hammer privilege!
    [Oxide] 10:25 PM [Info] Twitch.tv/jojo1159 tried to upgrade a wall without hammer privilege!
    [Oxide] 10:27 PM [Info] Twitch.tv/jojo1159 tried to upgrade a foundation without hammer privilege!
     
  9. He is trying to use exploit?:)
     
  10. Your plugin was reviewed and had a few flaws compared to this one.

    The max distance was less than the building socket sphere casts, which would have caused false detections even without any client desync (which can cause further false detections in normal circumstances).

    You used a 100ms delay for checking player positions, which would likely not detect players who have internet that takes more than 100ms to send all the outstanding player tick packets to the server. This means only players on fast internet would be detected.

    Your plugin also only checked building blocks that were built. This one checks building blocks, all deployables as well as upgrade and rotate hammer actions.
    [DOUBLEPOST=1428269999][/DOUBLEPOST]
    The player is likely trying to exploit.

    I have not seen any false hammer detections on my own servers, but let me know if you manage to reproduce a false detection.
     
  11. Meh man, i've saw your code:) it's much better than my version:) Can't compare my fast-coding with Oxide dev's)
     
  12. bawNg updated Cupboard Exploit Fix with a new update entry:

    Increased max hammer distance to 5 meters

     
  13. It blocks the user of doing this, or it just notifies?
     
  14. It prevents it and logs it to the servers console. A building block or deployable will be destroyed almost instantly and hammer actions will simply do nothing.
     
  15. Nice :3
    [DOUBLEPOST=1428271972][/DOUBLEPOST]In a moment it spammed:
    Code:
      at Oxide.Core.OxideMod.OnFrame (Single delta) [0x00000] in <filename unknown>:0
    [CHAT] MrNaren: manda solicitud de steam
    [Oxide] 6:16 PM [Error] Exception while calling NextTick callback (NullReferenceException: )
    [Oxide] 6:16 PM [Debug]   at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
      at Oxide.Plugins.CupboardExploitFix+<OnBuildingBlockUpgrade>c__AnonStorey0.<>m__0 () [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Apr 5, 2015
  16. Can you also fix the building block distance exploid ?

    I mean this:

    I go to the limit of building block and build a foundation, then i stay at the same place(the limit of building block) and build another foundation(building in the block zone) in front of the one i just build by moving my mouse up and it will attach the new foundation to first one and build in an area that i can't build.
     
  17. Well, i hope there is a way to hook zone out of block placement and check person priveledges in it:)
     
  18. Can you create a config file so i can translate the messages ?
    [DOUBLEPOST=1428274390][/DOUBLEPOST]is this working for locks ? my players even with permission on the tool cup board they can't place locks!
    [DOUBLEPOST=1428274523][/DOUBLEPOST]i've test it and its not working for locks!