[SEC] Orebfuscator 2.1.7 - Anti X-RAY [CB 1.4.5-1.7.10]

Discussion in 'Archived: Plugin Releases' started by lishid, Sep 24, 2011.

  1. Offline

    lishid

    Orebfuscator - Anti X-RAY:

    Bukkit-Dev link here:
    All important information available here:
    http://dev.bukkit.org/server-mods/orebfuscator/

    FAQ
    https://github.com/lishd/Orebfuscator/wiki/FAQ

    Configuration guide and performance optimizations:
    https://github.com/lishd/Orebfuscator/wiki/How-to-properly-configure-Orebfuscator


    Download:
    Orebfuscator 2.1.7 for MC 1.4.5-1.7.10

    Legacy versions:
    http://dev.bukkit.org/server-mods/orebfuscator/


    Video:




    Images:
    [​IMG]
    [​IMG]
    CPU testing (open)

    [​IMG]
    Engine modes (open)

    [​IMG]
    [​IMG]


    Support the developer: [​IMG]
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      217.5 KB
      Views:
      657
    • 2.jpg
      2.jpg
      File size:
      131.8 KB
      Views:
      445
  2. Offline

    RodSerling

    Issue with CPU Load.
    Version 0.9.1

    Config:
    Code:
    Integers:
        EngineMode: 2
        InitialRadius: 1
        UpdateRadius: 2
    Booleans:
        Enabled: true
        UpdateOnPhysics: true
        DarknessHideBlocks: false
        UpdateOnDamage: false
        UpdateOnExplosion: false
        NoObfuscationForPermission: true
        NoObfuscationForOps: false
        UpdateOnBreak: true
    All rest default.

    With OTC (Spout version 1.6.4.4) , ores were hidden with a normal CPU load of around 5-10% depending on player-count
    After replacing OTC with Oreb, CPU load went to about 30-40% constant, with as little as one player.
    After replacing Oreb with OTC, CPU load returned back to 5-10%
    Oreb also seemed to use unusually high memory amounts. Though, I did not take the time to confirm or test this, It might've been a coincidence.

    Hope you can fix this. I really prefer your version better, but due to the CPU load I've had to revert.
     
  3. Offline

    junkboy350

    I noticed that, at first I thought it was a glitch with my control panels cpu reading :(

    EDIT: I'm running all default settings too.
     
  4. Offline

    dwi

    Every time someone logs in, i get this error
    Code:
    22:30:30 [INFO] SEGAN50 [/89.102.160.14:52281] logged in with entity id 68898 at ([world] 10675.288892634742, 69.0, -905.7566049879538)
    22:30:30 [SEVERE] java.util.ConcurrentModificationException
    22:30:30 [SEVERE]       at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
    22:30:30 [SEVERE]       at java.util.AbstractList$Itr.next(AbstractList.java:343)
    22:30:30 [SEVERE]       at org.bukkit.craftbukkit.entity.CraftPlayer.isOnline(CraftPlayer.java:63)
    22:30:30 [SEVERE]       at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.handle(OrebfuscatorCalculationThread.java:84)
    22:30:30 [SEVERE]       at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.run(OrebfuscatorCalculationThread.java:63)
    22:30:30 [SEVERE]       at java.lang.Thread.run(Thread.java:662)
    #1185, Plugins: SharedBanlist, CFBanner, Orebfuscator, WorldEdit, Minequery, BigBrother, WhoAreYou, HeroicDeath, WhitelistPlus, Permissions, SimpleReserve, VanishNoPickup, AutoSave, WorldGuard, SpawnControl, RemoteToolkitPlugin, dynmap, Picasso, HeroChat, TelePlusPlus, Landmarks, KiwiAdmin, MyHome, CraftIRC, CraftBukkitUpToDate, Safe Creeper, PluginList, CommandBook, LagMeter, WorldBorder, LWC

    EDIT: After respawn too

    Code:
    22:36:09 [INFO] [SpawnControl] Attempting to respawn player SEGAN50 (respawning).
    22:36:09 [INFO] [SpawnControl] DEBUG: Respawn Location: Location{world=CraftWorld{name=world},x=9999.878227230916,y=77.0,z=-7.212155424315135,pitch=-5.8315864,yaw=0.06949608}
    22:36:09 [SEVERE] java.util.ConcurrentModificationException
    22:36:09 [SEVERE]       at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
    22:36:09 [SEVERE]       at java.util.AbstractList$Itr.next(AbstractList.java:343)
    22:36:09 [SEVERE]       at org.bukkit.craftbukkit.entity.CraftPlayer.isOnline(CraftPlayer.java:63)
    22:36:09 [SEVERE]       at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.handle(OrebfuscatorCalculationThread.java:84)
    22:36:09 [SEVERE]       at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.run(OrebfuscatorCalculationThread.java:63)
    22:36:09 [SEVERE]       at java.lang.Thread.run(Thread.java:662)
    
    EDIT2: wow, it looks like it happens only with some players, not everyone
     
  5. Offline

    lishid

    Update! It was solved in 0.9.1

    Did you use default bukkit? (without OTC installed) If you used the CraftBukkit modified by OTC, it will be conflicting.
    I'll be doing some tests on my own, but so far my conclusions are that it uses less CPU...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
    W.I.N.D likes this.
  6. Offline

    RodSerling

    Oh, I'm running with the spout bridge, and Spout build 381, Craftbukkit build 1190

    Edit: Response to your post above ^

    No, I was using the spout version of OTC, not the modified bukkit version.
     
  7. Offline

    lishid

    What happens to CPU when you /ofc disable?
    (Can you please test? Thanks)
     
    W.I.N.D likes this.
  8. Offline

    oxguy3

    >.<
    Chests appearing smaller is part of Minecraft 1.8.
     
  9. Offline

    dwi

    I have o.9.2
     
  10. Offline

    lishid

    Ah, I think i have a fix for you, but I'm not at my desktop, I'll update when i get home in a few hours.
     
    W.I.N.D likes this.
  11. Offline

    RodSerling

    /ofc disable did not lower the 30% CPU load. Only uninstalling did.
     
  12. Offline

    fragger505

    0.9.1
    Additional confirmation of high CPU load as others have stated.
     
  13. Offline

    lishid

    OHHHH I think I created an infinite loop somewhere -_-
     
    W.I.N.D and Kane like this.
  14. Offline

    HotelErotica

    Heh, I suppose I'll wait to try it out until you fix the infinite loop, There be a [creeper] in your code.
     
  15. Offline

    lishid

    Fixed bad loop.
     
    W.I.N.D likes this.
  16. Offline

    RodSerling

    EDIT: I'M AN IDIOT! THIS WILL CAUSE MASSIVE CLIENT LAG AND CLIENT CRASHES DO NOT ATTEMPT!

    Fix worked.
    However, I would like to suggest a change to the default configuration. With the default config, xray texture packs do indeed still work, because they rely on showing the user only exposed materials.

    Easy fix. Add air to the random "fake" blocks sent to the client. Now the client will think these fake ores are exposed, and the texture pack will be confused as-well. This also blocks zombe's "see through almost everything" cheat.

    Default Settings: Zombe's "See through" mod
    [​IMG]

    The others are dark, but that's the point right?
    With Random Air Pockets: Zombe's "See through" mod
    [​IMG]

    With Random Air Pockets: XRay Texture Pack (Zombe's Ore Finder, but not "See through")
    [​IMG]

    Thanks so much mate.

    (PS you can use those images if you want)
     
  17. Offline

    lishid

    Very good idea indeed!
    I will add that to the default configuration in the next version!

    After a few minutes of testing, I discovered that...
    Wow I can't believe how well this worked!
    This is surely a good thing to add.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
    W.I.N.D likes this.
  18. Offline

    RodSerling

    No no no it's a horrible idea, don't do it :p

    Minecraft clients try to render each of these individual air holes even when not visible, causing massive client lag and crashes :p

    Wish it whould've worked though. That was basically perfect anti-xray
     
  19. Offline

    lishid

    OHHHH... hmmm
    I can do something later...
     
    W.I.N.D likes this.
  20. Offline

    RodSerling

    I think I know what you're thinking....

    Just remember, zombe's "See through" mod is configurable on the distance to clip through, so don't beat your head against the wall on that one too much.

    Code:
    # Distance in meters to see through. [1.0..32.0]
    optCheatSeeDist       = 4.0
    Other than that... can't wait for the next version ;]
     
  21. Offline

    lishid

    yeah...
     
    W.I.N.D likes this.
  22. Offline

    Donny

    There is already air holes all over minecraft subterran. Especially in maps generated after 1.8
     
  23. Offline

    spunkiie

    very good
     
  24. Offline

    Huns

    Tried it in mode 2. Saw the false walls of ores show up through the X-ray texture pack, but then they would disappear in less than a second and it would be possible to see through to lava flows and so on. However, it would still obfuscate buried diamond blocks. Mode 1 works as advertised. Tried running with and without Spout and the spout bridge. No change.
     
  25. Offline

    Kainzo

    Interesting... so does engine 1 hide all ores completely until uncovered?
     
  26. Offline

    lishid

    All ore that is hidden, which means ores exposed to caves and lava are visible to x-ray.
     
  27. Offline

    Kainzo

    ahh, Totally would rather everything completely hidden unless light touched it
     
  28. Offline

    Huns

    Better still would be to do a raycast from the closest five corners of each ore block to the viewer's eye, and if none of them reach it, it's hidden. Slightly more computationally expensive, but would hide all ore that shouldn't be capable of being seen, including ores that are touching air. This could be sped up with frustum culling; anything not within the maximum FOV is not processed.
     
  29. Offline

    fragger505

    Sounds like the original anti-xray which was very memory intensive.

    Running PEX so it doesn't really matter to me but, are permissions tied with bukkit permissions or nijiko/yeti permissions?

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

    warp0ut

    Switched to this plugin today (093), its working for me: mode 2, spout version. Tested on cjb modpack.

    Also, opensource = instawin.
    Thank you!
     
  31. Offline

    darkwarriors

    more than 40 players online the game was unplayable.. server freeze 10/20 seconds before chunk load, the cause semms to be /jump and world.compass movement, any solution?
     

Share This Page