[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

    Hydrosis

    Engine mode 1 is broken for me and Engine mode 2 causes the chunks AROUND the player to load, but the chunks they are one (and about 2-3 more chunks around them) do not load. No errors in the console.
     
  3. Offline

    TheBeast808

    Just wondering, does this do processing in separate thread from the main Minecraft thread?
     
  4. Offline

    lishid

    yes.
     
  5. Offline

    lelithdel

    Thanks for the reply, does this cause client side lag only if they are trying to use x-ray?
     
  6. Offline

    lishid

    Well, someone explained to me in an earlier post that Minecraft will try to render every block that is transparent or that is Air, with X-ray or not. I have not personally tested the theory but it could certainly be very possible.
     
  7. Offline

    TheBeast808

    What does the " ProcessingThreads" exactly do? If I raise the amount, does it allow it to utilize other cores for processing(for the plugin, obviously not all of Minecraft)?
     
  8. Offline

    lishid

    It uses multiple threads to calculate the chunk data to be sent. It uses multiple 'threads', which should be automatically allocated to different cores. That's the job of your OS to determine which thread should run on which core.
     
  9. Offline

    Pr4w

    I'm having issues with this. :(

    Basically, and for no logical reason, this freezes clients in certain areas, but mainly close to the spawn area (big structures), basically all people in that area get very big visual lags and freezes, until eventually they have to force the client shut to try and connect again, I've had to disable it because of that.

    Using latest version with Spout bridge, on CB 1240. Any ideas ?
     
  10. Offline

    Greylocke

    I think I'm seeing the same thing, but I don't know if it is in certain areas or not -- I spawn in (near the world spawn) and everything is horribly lagged. No errors at the console. Stop server, remove Orebfuscator (9.8) and SpoutBridge (9.2) , restart -- everything is fine.
    CB 1323, Spout 1.0.6.449.
     
  11. Offline

    Stabhappy

    Running CB 1240, I can confirm that there is a large client lockup when new chunks are generated. Have had to remove the plugin temporarily while we start our new map.
     
  12. Offline

    lelithdel

    Edit: Deleted post and have contacted you by other means
     
  13. Offline

    GODSWIND

    hi lishid,i have read your code and i didin't understand the bukkit code but i think i can help you making the process a little faster with ores, pm me and i say you what i thought xd
     
  14. with bukkit 1317, and since 1240 (or maybe sooner) the server just spikes up to 100% cpu (sometimes just one core, sometimes all of them) and this happens with engine mode 1 and 2, and within the first few minutes usually, sometimes a half hour, but inside an hour for sure. This is on a dedicated server. The only way to recover is to reboot the machine. Removing the plugin removes the problem, otherwise there are no errors in server.log.
    I have stripped down to a few necessary plugins, including worldedit, but it is the latest dev version there too.

    This plugin is one of those few necessary ones, I can help test the next update. Thank you, though, this is an AWESOME solution, I hope we can use it again, and I love the idea of fake ores to send the x-rayers on a wild goose chase. I am so anxious for that feature.
     
  15. Offline

    Raycrash

    So what do I do if I get problems with worldedit ?
     
  16. Offline

    Sh4d0w

    when comes 0.9.9?
     
  17. Offline

    subram

    Server will crash after few minutes, whit out a error.
     
  18. Offline

    Aeron

    0.9.8 version works a lot better than previous one, that I tested a while ago! I even get less CPU usage than without this plug-in lol :D

    Though it still makes the game very unstable at areas with large structures and with several hundred glassed windowed areas with lots of detail.

    Maybe you could make it obfuscate the ore below a certain Y axis Height in the config?
     
  19. After 2 Minutes of using this plugin, the Server freezes and one more minute later all users get a "Read time out".
    How to fix that problem? (bukkit version 1240)

    greetings
    Chriss

    And by the way: If this plugin works, it is the best plugin ever!
    nice work!

    greetings
    Chriss

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

    Greylocke

    It does work! My advice would be to employ basic troubleshooting techniques -- remove all plugins except what is absolutely necessary, then add plugins back in one-by-one until the problem shows up. If the lockup still seems to be caused by Orebfuscator, then post pertinent data here like: console or java errors, your CB version, Spout version, Orebfuscator version and config file. Maybe even the specs on your server. With that information someone might be able to help resolve your problem.
     
  21. Maybe it has something to do with a 64-bit OS. I used debian 6 for instance, on two machines. It worked on the 32 bit system, but when I moved all the files to a 64 bit system (more memory, better server), then the server would crash in first minutes while using this plugin, including latest dev build of WorldEdit, bukkit 1317(RM) and Spout RM, and even tried latest Sun's Java 1.6 and 1.7, both crashed.
    Maybe someone else who is having this crashing issue can confirm its on a 64 bit system.
     
  22. Offline

    Kiwz

    I use 64bit system, and this plugin is working perfect exept I cant use WorldEdit, if I use WE the server kicks all players and stops responding for 5min. I know this cuz it is only me that has acces to WE among 200 players. Solution: /ofc disable then use WE then /ofc enable (but I almost allways forget to enable it again :p )
     
  23. Offline

    Greylocke

    Considering data compression issues, doesn't having a lot of RandomBlocks decrease the amount of compression that can be applied and increase the CPU cycles required to compress it? If so, would we see decreased bandwidth requiresments and some CPU performance increase if we reduce the number of RandomBlocks?

    ( @Kiwz @yetanotherusername )Regarding 64bit OSes, I use Orebfuscator on a 64bit CentOS system alongside WorldEdit 4.7 and have no issues.
     
  24. Offline

    Kiwz

    @Greylocke I have tryed CB#1240 with only WE and Orebfuscator and just me online on a dedicated win7 64bit 16Gb memory 3,7Ghz cpu server, and when I change more than 20k blocks the server throws me out and stops for about 2min after that I can just log in and the editet blocks are editet. This problem is gone if I remove Orebfuscator, or just /ofc disable.
    This is a little annoying when I have more than 20-30 players.
    Here is my config file, would you also provide your config?
    Code:
    Integers:
        EngineMode: 2
        InitialRadius: 1
        MemoryFlushInterval: 10
        UpdateRadius: 2
        ProcessingThreads: 1
    Booleans:
        Enabled: true
        UpdateOnPhysics: true
        DarknessHideBlocks: false
        UpdateOnDamage: true
        UpdateOnExplosion: true
        NoObfuscationForPermission: true
        NoObfuscationForOps: true
        UpdateOnBreak: true
    Lists:
        ObfuscateBlocks:
        - 14
        - 15
        - 16
        - 21
        - 54
        - 56
        - 73
        - 74
        RandomBlocks:
        - 14
        - 15
        - 16
        - 21
        - 56
        - 73
        DarknessObfuscateBlocks:
        - 14
        - 15
        - 16
        - 21
        - 54
        - 56
        - 73
        - 74
        - 48
        - 52
        LightEmissionBlocks:
        - 10
        - 11
        - 50
        - 51
        - 62
        - 74
        - 76
        - 89
        - 90
        - 91
        - 94
        TransparentBlocks:
        - 6
        - 8
        - 9
        - 10
        - 11
        - 18
        - 20
        - 26
        - 27
        - 28
        - 30
        - 31
        - 32
        - 34
        - 37
        - 38
        - 39
        - 40
        - 44
        - 50
        - 51
        - 52
        - 53
        - 54
        - 55
        - 59
        - 63
        - 64
        - 65
        - 66
        - 67
        - 68
        - 69
        - 70
        - 71
        - 72
        - 75
        - 76
        - 77
        - 78
        - 79
        - 81
        - 83
        - 85
        - 90
        - 92
        - 93
        - 94
        - 96
        - 101
        - 102
        - 104
        - 105
        - 106
        - 107
        - 108
        - 109
        - 111
        - 113
        - 114
        - 115
    
     
  25. Offline

    Greylocke

    @Kiwz maybe I just haven't stressed it enough to boot me! I rarely change more than a couple thousand blocks at a time with WorldEdit. I do any major world changes offline.

    But here's my Orebfuscator config -- there aren't a lot of differences:
    config.yml (open)

    Integers:
    EngineMode: 2
    InitialRadius: 1
    UpdateRadius: 2
    ProcessingThreads: 3
    Booleans:
    Enabled: true
    UpdateOnPhysics: true
    DarknessHideBlocks: true
    UpdateOnDamage: true
    UpdateOnExplosion: true
    NoObfuscationForPermission: true
    NoObfuscationForOps: false
    UpdateOnBreak: true
    Lists:
    ObfuscateBlocks:
    - 14
    - 15
    - 16
    - 21
    - 54
    - 56
    - 73
    - 74
    RandomBlocks:
    - 5
    - 14
    - 15
    - 56
    DarknessObfuscateBlocks:
    - 48
    - 52
    LightEmissionBlocks:
    - 10
    - 11
    - 50
    - 51
    - 62
    - 74
    - 76
    - 89
    - 90
    - 91
    - 94
    TransparentBlocks:
    - 6
    - 8
    - 9
    - 10
    - 11
    - 18
    - 20
    - 26
    - 27
    - 28
    - 30
    - 31
    - 32
    - 34
    - 37
    - 38
    - 39
    - 40
    - 44
    - 50
    - 51
    - 52
    - 53
    - 54
    - 55
    - 59
    - 63
    - 64
    - 65
    - 66
    - 67
    - 68
    - 69
    - 70
    - 71
    - 72
    - 75
    - 76
    - 77
    - 78
    - 79
    - 81
    - 83
    - 85
    - 90
    - 92
    - 93
    - 94
    - 96
    - 101
    - 102
    - 104
    - 105
    - 106
    - 107
    - 108
    - 109
    - 111
    - 113
    - 114
    - 115
     
  26. Offline

    Kiwz

    @Greylocke could it be possible to ask if you could try and copy 100k blocks and paste them in another place with WE?
    You see I got players online 24/7 and up to 50 at the evening, so to take my server offline is not an option.
    For now I just stick with the /ofc disable, its not a big problem.
     
  27. I did a few things and somehow my problem with server crashing fixed itself. First I downloaded the spoutbridge and Orebfuscator.jar separately instead of the zip file and replaced them on server. Next I removed WE and disabled ofc with /ofc disable. Then I enabled ofc but disabled the OPs/Perms configs, making them false, then put WE back, with restarts in between, and now no more crashes. I even put the two configs back to true and that seemed to still work, but I dont need to reveal the ores to anyone, so back to false anyway.
    I am so happy I kept troubleshooting and trying over.
     
  28. Offline

    Greylocke

    @Kiwz you run a large server and don't have a test environment??!:eek: Wow. Seriously think about setting up something offline.

    Anyway-- I did a 4-chunk copy & paste with WorldEdit. One core went to 100%, clients got "Read error" and were dropped. After about 30 seconds the CPU utilization dropped to normal numbers and I was able to re-connect normally. The same thing happened when I did a WE //regen on the area. I did not try turning off Orebfuscator, but I have done large-area //regen before Orebfuscator and had NO problems at all.
     
  29. Offline

    Kiwz

    Ofc I have test environmet, 2 laptops at 3ghz 8gig memory. Thank you for testing, seems like its not just me that have this problem. But I do sometimes forget to disable ofc when I am on the online server (btw, it is just me that has access to WE) :p
     
  30. Offline

    Zeeky

    Kinda lags me while hosting the server and playing it on the same laptop...

    Good thing I'm getting a real server soon!

    ty!
     
  31. Offline

    Trollkemada

    For me, lags the server like hell :\ (with about 50-60 players)
     

Share This Page