[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

    lishid

    If you guys want.

    Hm... I'll have a look.

    This shouldn't cause any performance loss at all, especially wouldn't cause anything to degrade overtime.
    It's likely that you have some Java settings (GC, memory, etc) that's unsuitable.

    I don't have this problem if I don't have x-ray(zombe, cjb) installed.

    http://dl.dropbox.com/u/18947504/Orebfuscator/Test/Orebfuscator.jar
    download this test 0.9.9 version
    Set InitialRadius to 0 to enable.

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

    phrstbrn

    It happens to me with a 100% vanilla minecraft client and the default texture pack. That was the first thing I tried.
     
  4. Offline

    lishid

    hmm weird...
    I'll finish investigating WorldEdit problems and get back on this.
    Thanks for reporting.

    Using spout?

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

    o0AzzA0o

    lishid well done on the latest updates..... I have been testing this plugin on and off for some time until recently it was eating up like double the cpu require to run bukkit server. Now it feels like its only a 10-20% cpu cost which now makes this plugin a worth while cost to run.

    i have 2 50 slot full servers and its working great on latest bukkit-spout thanks for your dedication on taking on a exsisting plugin and improving it.
     
  6. Offline

    phrstbrn

    Yes, I was using Spout and the Spout Bridge. I haven't tried to see what happens when I remove Spout.

    I noticed one of the areas that caused problems had one of those underground mines nearby, but I don't know if that has anything to do with it, or if that was just a happenstance.
     
  7. Offline

    Sh4d0w

    can you add a multiworld support with the ability for different settings?
    Now i got performance problems with my server.
    I have 3 maps.

    This were my wish:
    1. City - no farming allowed, blacklisted with wg -> no obfuscation or engine mode 1
    survival map - only faming and mobs - obfuscation engine mode 2
    nether - maybe no obfuscation, I must see

    What can I do to prevent heavy lags or save more power? special parameters in the config?
    It looks that orebfuscator consumed more power than otc, because after the switching from tc to your plugin my server produces more "Did the server overloaded..." and more lags...

    2. Can you fakr the caves? maybe all air blocks from y 0-40?

    3. And i think i got a good idea to optimize the plugin better. Instead to hiding ALL ores with fake ores, the player get only fakeblocks in the radius of 10 blocks. So he didn't get alle fake ores, which is lesser to hiding and lesser cpu performance cost.

    Or in a small sentence. All players get a fakewall with fakeores in a radius of 10 blocks. Maybe (NEW) Engine mode 3? Then the player can't see through the wall and alle behind too.


    btw: I can confirm this:

    when comes 0.99 and what is the changelog?
     
  8. Offline

    cartman-2000

    I am, updated to the latest builds as I was testing it yesterday, the performance in the older one and the newest one was pretty much the same, with the performance drop if I have it on, I may be able to get rid of the slowness by disabling by permission for my self but it'll slowdown if I do it in an area where other players are in.
     
  9. Offline

    jtl999

    I think after installing this plugin some of our players get kicked with disconnecting.overflow
    I dont
    I play on same computer as server
     
  10. Offline

    cartman-2000

    The overflow disconnect is something new in 1.8 that I've seen, it exist without this plugin, however it can be made to some degree worse with this plugin if they have a bad connection, especially if you use render mode 2 as it uses a bit more bandwidth then the server normally would without the plugin or with it set to render mode 1.
     
  11. Offline

    jtl999

    Any fix you think
    render mode 2
     
  12. Offline

    cartman-2000

    Try using render mode 1, it's not as effective but should help with users with bad connections, nothing can really be done with render mode 2 as the random ore pattern increases packet size.
     
  13. Offline

    jtl999

    Still happens with mode 1 :-(
     
  14. Offline

    lishid

    Is it possible for you to just test without spout? Just to make sure it's not my SpoutBridge acting up.
    Thank you.

    1. I can do something about hooking to WG so you can define regions for different engine types?

    2. yes, but it's gonna take ~50% more CPU just to calculate where the caves go...

    3.well that will do a certain things.
    1. send packets when players walk. This will be triggered for the PLAYER_MOVE trigger. Each player gets this, calculated per tick or something, you end up with much more data and processing
    2. calculate when players walk. Bad idea, you end up with much more calculations.
    3. vs Chunk loading: chunk loading is the initial minute when someone logs in. It only calculates then. Also when players move towards the end of loaded chunks, new chunks loads. This vs calculate when players move around?

    0.99 comes when I get a fix for WorldEdit (or not? if not then I'll get some bugfixes done first)

    The overflow happens when your server is either very slow, or in other words don't have enough processing power. It's caused by other threads that chokes NetworkManager's thread. When that happens packets gets queue'd up behind one another but NetworkManager doesnt get enough processing time to send all of them. When packets accumulate too much, the server kicks the player. Specifically, If there are more than 12 full chunk packets, It will kick the player. Minecraft's original code is not flexible enough to do any effective queue size check before sending packets, meaning it is very difficult to ensure the network isn't choked off, and to not send more packets when it gets to its limits. I will try a few possible fixes I can think of.

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

    Ycros

    I get block-lag whenever I enable this plugin, how latency sensitive is it? I'm in Australia, while my server is in the US.
     
  16. Offline

    Guess?Who

    Code:
    Connection reset
    2011-10-01 09:57:27 [INFO] Read timed out
    2011-10-01 09:58:45 [INFO] Read timed out
    2011-10-01 10:00:30 [INFO] Read timed out
    2011-10-01 10:03:04 [INFO] Read timed out
    2011-10-01 10:03:42 [INFO] Read timed out
    2011-10-01 10:04:44 [INFO] Connection reset
    And the server freeze.

    CB#1222
     
  17. Offline

    dwi

    Same here. What plugins we have in common? And no, its not caused by //set or any other WE tool, must be something else :/

    Plugins: NoCheat, SharedBanlist, CFBanner, 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
     
  18. Offline

    Sh4d0w

    1. regions would be very nice. My Farm world would get a global region, like in WG with __global__.

    2. hm ok bad idea :)

    3 This is theoretical, but he have no practical tests.
    -A radius of 5 and height 10 needs ca. 610 other fakeblocks.
    -And a radius of 4 and height 8 needs 328 fakeblocks.
    If a player is walking there must be calculated a tiny new part with the player_move event instead calculate all chunks if the player logged in/warped...

    The client get anyway the information which blocks were sendet if he walking. Does it cost more ressources if orebfuscator use a mix of more blocktyps to hide the ores? So OTC use in the botttom diamondfakes, above ironfakes and the coalfakes. Is there a compression ablility?

    -------------------------

    What does Orebfuscator exactly? It looks, that the plugins hide all stone into fake miner ressources. Is it not, the plugin scan for miner ressources and hide it into stone? Stone is more than the miner ressources i think




    btw: i use the latest we build.
     
  19. Offline

    shaggy2010

    This was working Ok i beleive, dont have xray to test, but a few hours later when I & everyone joins, they are just floting in an empty world, if they try to mine that chunk appears...
    I reloaded all plugins and chunks started to load, any idea what this is?

    I think I removed the problem, was using nolagg at same time, my issue now is unuseable worldedit - Cant use the superpick and it hangs when trying to use //wand - Ive got the latest version I can see available.

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

    Junrall

    Here is a quote from one of my visitors "everyone who is playing on this server now has to play in normal render distance to stop Java from crashing! plus it takes ages for our games to catch up when we log in...creating fake ore blocks and wood EVERYWHERE"
    All of my visitors are experiencing this... can't imagine everyone is using a client side hack.

    I'm running latest Bukkit and Spout... Engine Mode 2, and am using the OrebfuscatorSpoutBridge.
     
  21. Offline

    mrciku

    Hey are you able to make this plugin compatible with NoLaggChunks (Spout addon)? Seems like it doesn't work together to me.
     
  22. Offline

    Guess?Who

    We have in common just dynmap and lwc :rolleyes:
     
  23. Offline

    lishid

    I'm contacting the plugin's author negotiating for a fix...

    I have LWC and it doesnt cause problems. Dynmap shouldn't either, it has nothing to do with Pakcet51MapChunk...

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

    mrciku

    Already did, but uhm, he made it better/worst. At first after running the server for awhile, it'll give a fatal error and my toolkit would restart, after the update, it doesn't seem to load...
     
  25. Offline

    StrikeForceZero

    yes I tried the latest version, (Server is my signature), I'm curious if its something to do with garbage collection parameters I'm using
     
  26. Offline

    lishid

    If it's an out of memory issue, then maybe.
     
  27. Offline

    ledhead900

    @lishid
    This does not seem to work in 1.8 period, I have been following the issues on the Nolagg thread and its not spout its not Nolagg its just this.

    Look for your self
    PHP:
    161 recipes
    17 achievements
    18
    :50:43 [INFOStarting minecraft server version Beta 1.8.1
    18
    :50:43 [INFOLoading properties
    18
    :50:43 [INFOStarting Minecraft server on *:25565
    18
    :50:43 [INFOThis server is running Craftbukkit version git-Bukkit-0.0.0-1067
    -g6301507-b1185jnks (MC1.8.1)
    18:50:43 [INFOPreparing level "world"
    18:50:43 [INFO] Default game type0
    18
    :50:43 [INFOPreparing start region for level 0 (Seed6348728389892914426)
    18:50:44 [INFOPreparing start region for level 1 (Seed1522655051268693554)
    18:50:44 [INFOPreparing spawn area52%
    18:50:45 [INFO] [OrebfuscatorSpout not foundusing Non-Spout mode.
    18:50:45 [INFO] [Orebfuscatorversion 0.9.8 initialization complete!
    18:50:45 [INFOServer permissions file permissions.yml is empty, ignoring it
    18
    :50:45 [INFODone (0.135s)! For helptype "help" or "?"
    18:51:02 [INFOledhead900 [/127.0.0.1:63824logged in with entity id 2 at ([wo
    rld
    163.2341318940034425.0171.90598106903005)
    18:51:02 [INFO] New max size484
    18
    :51:02 [INFO] New max size784
    18
    :51:47 [INFOledhead900 lost connectiondisconnect.quitting
    18
    :51:47 [INFOConnection reset
    >
    PHP:
    Integers:
        
    EngineMode1
        InitialRadius
    1
        UpdateRadius
    2
        ProcessingThreads
    1
    Booleans
    :
        
    Enabledtrue
        UpdateOnPhysics
    true
        DarknessHideBlocks
    true
        UpdateOnDamage
    true
        UpdateOnExplosion
    true
        NoObfuscationForPermission
    true
        NoObfuscationForOps
    true
        UpdateOnBreak
    true
    Lists
    :
        
    ObfuscateBlocks:
        - 
    14
        
    15
        
    16
        
    21
        
    54
        
    56
        
    73
        
    74
        RandomBlocks
    :
        - 
    5
        
    14
        
    15
        
    16
        
    21
        
    48
        
    56
        
    73
        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
    PHP:
    @echo off
    "C:\Program Files\Java\jre7\bin\java.exe" -server -Xmn250M -Xmx3G -Xincgc -Xss15m -cp craftbukkit-0.0.1-SNAPSHOT.jar org.bukkit.craftbukkit.Main nogui
    EXIT
    [​IMG]

    Uploaded with ImageShack.us
     
  28. Offline

    Ycros

    I've been reading the code, and I have an idea on how to fix the block lag issue that I mentioned a few posts ago. When updating the blocks on BLOCK_BREAK, you could sendBlockChange for the block they just broke *first*, I'm assuming that currently you let the event handle that normally, but this results in that block change being the last thing that gets sent.
     
  29. Offline

    lishid

    Your server log has nothing inside, your config is play, and I don't understand what the problem is in the image.
    Can you explain why you say "This does not work"?

    Very interesting! I'll try it!
     
  30. Offline

    ledhead900

    What do you mean by config = play and server log shows nothing, I know it shows nothing I posted it to merely show you that its not nolagg and its not spout.

    The image shows redstone and blocks a level below me clearly visible in a room where the entire floor is wool.

    Look below the floor I am walking on you can see glowstone and redstone ironblocks and stuff, light and torch's. Look again a little more to the right u see another room.

    If I use this on my main map I can see chests and things thru walls as well hidden passageways and all sorts of stuff. W8 I could be missing something, does this only hide ores ?...

    Oh I see I think If I wanted to Hide everything I need to add everything to the list.
     
  31. Offline

    lishid

    Well... That's a little hard to do, hiding stuff in your 'hidden' rooms and mazes.
    The thing is, it's not that easy to calculate when to show players and when not to.
    There are several factors such as light level, blocks nearby, players nearby, etc.
    If the calculation isn't perfect, players will see fake blocks when they're not supposed to, or see the real blocks when they're not.
    Even if the algorithm is perfect, it's only theoretical.
    It must run very frequently (because of player position updates) and thus will result in performance impact.

    All in all, this is not a productive way of doing it.

    Although I might add a by-region obfuscation and you can choose to obfuscate every block in a certain region.
    It should be using WorldEdit though.
     

Share This Page