[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

    GmK

    Yes, but I havent tested without Spout.
     
  3. Offline

    Johnny Lunder

    Hm, very well, it might be due to the amount of plugins we run on the server. With 30 players I've actually gotten a Java Heap with 4GB, so had to increase.
     
  4. Offline

    darker9999

    Code:
    2011-12-15 09:41:18 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-12-15 09:41:18 [SEVERE]     at net.minecraft.server.World.getMultiChunkData(World.java:2592)
    2011-12-15 09:41:18 [SEVERE]     at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:28)
    2011-12-15 09:41:18 [SEVERE]     at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:251)
    2011-12-15 09:41:18 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:307)
    2011-12-15 09:41:20 [SEVERE]     at lishid.orebfuscator.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:60)
    2011-12-15 09:41:20 [SEVERE]     at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    2011-12-15 09:41:20 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-12-15 09:41:20 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    2011-12-15 09:41:20 [SEVERE]     at lishid.orebfuscator.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
    2011-12-15 09:41:20 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2011-12-15 09:41:25 [SEVERE]     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    2011-12-15 09:41:25 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2011-12-15 09:41:25 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-15 09:41:25 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
        at net.minecraft.server.World.getMultiChunkData(World.java:2592)
        at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:28)
        at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:251)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:307)
        at lishid.orebfuscator.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:60)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
        at lishid.orebfuscator.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-15 10:03:47 [INFO] Connection reset
    2011-12-15 10:45:57 [INFO] Connection reset
    2011-12-15 11:18:32 [INFO] Connection reset
    2011-12-15 11:22:55 [INFO] Connection reset
    2011-12-15 11:28:32 [INFO] Connection reset
    2011-12-15 11:29:08 [INFO] Read timed out
    2011-12-15 11:32:00 [INFO] Connection reset
    2011-12-15 11:32:52 [INFO] Read timed out
    2011-12-15 11:37:03 [INFO] Read timed out
    Could anybody tell why the hell i'm getting this error after some playing time ?
     
  5. Offline

    number1_Master

    Last edited by a moderator: May 20, 2016
  6. Offline

    Raycrash

  7. Offline

    lishid

    That's way less ore you should be seeing normally. If you want you can compare with orebfuscator enabled and disabled.
    If you want to be absolutely sure, use engine mode 2, it doesn't take more power (only a very small percentage) and the end result is pretty good.

    How much memory are you running it on? Also, how many players?

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

    darker9999

    I'm running it with java -jar craftbukkit.net only. I've got 6GB ram, but cant run bukkit on more than 2.5gb ram and idk why. It happens everytime when my server reaches 30-35 players online.
     
  9. Offline

    Spadar Faar

    Tried this plugin again and players complained of sever lag, then this error appears and everyone except me was kicked.
    Code:
    12:50:10 [SEVERE] Could not pass event PLAYER_JOIN to Essentials
    java.lang.NullPointerException
            at com.earth2me.essentials.EssentialsPlayerListener.onPlayerJoin(Essenti
    alsPlayerListener.java:138)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:265)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:129)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:113)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    12:50:10 [SEVERE] java.lang.NoSuchFieldException: p
    12:50:10 [SEVERE]       at java.lang.Class.getDeclaredField(Unknown Source)
    12:50:10 [SEVERE]       at lishid.orebfuscator.OrebfuscatorPlayerListener.setNet
    ServerHandler(OrebfuscatorPlayerListener.java:99)
    12:50:10 [SEVERE]       at lishid.orebfuscator.OrebfuscatorPlayerListener.update
    NetServerHandler(OrebfuscatorPlayerListener.java:92)
    12:50:10 [SEVERE]       at lishid.orebfuscator.OrebfuscatorPlayerListener.TryUpd
    ateNetServerHandler(OrebfuscatorPlayerListener.java:72)
    12:50:10 [SEVERE]       at lishid.orebfuscator.OrebfuscatorPlayerListener.onPlay
    erJoin(OrebfuscatorPlayerListener.java:32)
    12:50:10 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav
    aPluginLoader.java:265)
    12:50:10 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    12:50:10 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:339)
    12:50:10 [SEVERE]       at net.minecraft.server.ServerConfigurationManager.c(Ser
    verConfigurationManager.java:129)
    12:50:10 [SEVERE]       at net.minecraft.server.NetLoginHandler.b(NetLoginHandle
    r.java:113)
    12:50:10 [SEVERE]       at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:39)
    12:50:10 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :94)
    12:50:10 [SEVERE]       at net.minecraft.server.MinecraftServer.w(MinecraftServe
    r.java:527)
    12:50:10 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:425)
    12:50:10 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:457)
    12:50:10 [INFO] Fetching addPacket for removed entity: CraftPlayer{name=mrchaz19
    99}
    12:50:12 [INFO] Connection reset
    12:50:12 [SEVERE] java.net.SocketException: Socket closed
    12:50:12 [SEVERE]       at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    e)
    12:50:12 [SEVERE]       at java.net.SocketOutputStream.write(Unknown Source)
    12:50:12 [SEVERE]       at java.io.BufferedOutputStream.flushBuffer(Unknown Sour
    ce)
    12:50:12 [SEVERE]       at java.io.BufferedOutputStream.flush(Unknown Source)
    12:50:12 [SEVERE]       at java.io.DataOutputStream.flush(Unknown Source)
    12:50:12 [SEVERE]       at net.minecraft.server.NetworkWriterThread.run(SourceFi
    le:104)
    12:50:26 [INFO] InQii lost connection: disconnect.endOfStream
    
    I've never had it happen without Orebfuscator on, default config. Tried increasing processing threads to 4, same result.
     
  10. Offline

    number1_Master

    when I used it it lagged the server a lot... but fine
     
  11. Offline

    nacs

    Is there any multiworld support? I would like to have this active only on one world and disabled on our 2nd world.
     
  12. Offline

    lishid

    Yes, you can disable it on other worlds.

    There isn't really much difference between the two engines except one line where E1 sets blocks to ID=0 and E2 sets blocks to ID=random number

    You're having trouble with Essentials. My plugin gives off an error but will not crash/kick the player usually, it just fails to redirect packets into the obfuscator. Also, only change threads when CPU usage is too high on one core.



    Use "java -Xmx4g -jar craftbukkit.jar"
    Troubleshoot with this website if needed: http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html
     
  13. Offline

    Silarn

    I just want to mention here that I'm pretty sure the performance problems many have with this plugin is not actually the plugin's fault. I have found that there must be one, if not more, plugins on my server that attempt to utilize threading but do so poorly. I sometimes run other programs alongside my server, and very frequently when such programs use threading they get hung up on a process. Which means that some plugin is taking up a CPU thread and keeping it occupied for a very long time. I'm not really sure which one it is, as I don't have the luxury of doing a couple dozen server restarts to test it.
     
  14. Offline

    hugonoob

    I test it (Engine Mode 2)
    I install xray and try it
    Its works 100%
     
  15. Offline

    TheBeast808

    I don;t mind the world holes. What I mind is that the plugin keeps giving badchunkcompression errors, and it gives more errors when you use more threads. Is there a fix to this, or what is causing this? It DCes people within a minute of people joing the server.
     
  16. Offline

    lishid

    Yeah there's some problem with Threading, keep threads at 1.
     
  17. Offline

    Zidkon

    For some reason, at the 1.2.1 version the UpdateOnDamage is kind of not working, people on server is asking me "why can you see a diamond block and then dissapear", this issue should not be happening if I have the update on damage set to true (I have it to true).

    For now I'm just gonna change the initial radius to 2 and update radius to 3 but that will consume I guess a little more processor, please check that error and tell me if anything is going wrong thanks.
     
  18. Offline

    rtcabooservb

    @lishid @bergerkiller One problem I've been having is that when I mix this plugin with NoLagg and transfer between worlds, for example going into the nether, I will have a spawn chunk void hole and require a relog to fix that. I don't experience this issue when I remove orebfuscator and was wondering if you could fix it. Using spout #645 and CB 1602.
     
  19. Offline

    bergerkiller

    @rtcabooservb what if you set the boost value to 0 in the configuration? It's possible that it's simply too much for the players to handle.
     
  20. Offline

    rtcabooservb

    Well, I also notice other random void holes throughout the world. Just a problem with this plugin I assume. =/
     
  21. Offline

    bergerkiller

    @rtcabooservb it has to be, since NoLagg no longer handles the packets. All it does now is create a chunk packet and send it to the player netserverhandler. Spout will handle that from here. If it works without Ore Obfuscator, then it can only be Ore Obfuscator causing it. (no idea how though, I don't know the coding that has been done here)
     
  22. Offline

    rtcabooservb

    Shame, I'll have to find an alternate anti-xray plugin then that is lightweight and doesn't cause any issues.
     
  23. Offline

    lishid

    By random void holes you mean chunks missing?

    OOPS

    I may have broken something here since 1.1.4...

    K I'm fixing the block damage updates!

    SORRY GUYS

    (Fixed in 1.2.2)

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

    darker9999

    Code:
    2011-12-18 16:46:04 [SEVERE] java.lang.NullPointerException
    2011-12-18 16:46:04 [SEVERE]     at lishid.orebfuscator.utils.Calculations.Obfuscate(Calculations.java:218)
    2011-12-18 16:46:04 [SEVERE]     at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.handle(OrebfuscatorCalculationThread.java:62)
    2011-12-18 16:46:04 [SEVERE]     at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.run(OrebfuscatorCalculationThread.java:54)
    2011-12-18 16:46:05 [SEVERE] java.lang.NullPointerException
    2011-12-18 16:46:05 [SEVERE]     at lishid.orebfuscator.utils.Calculations.Obfuscate(Calculations.java:218)
    2011-12-18 16:46:05 [SEVERE]     at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.handle(OrebfuscatorCalculationThread.java:62)
    2011-12-18 16:46:05 [SEVERE]     at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.run(OrebfuscatorCalculationThread.java:54)
    2011-12-18 16:46:08 [INFO] Disconnecting user CraftPlayer{name=Ghastbusteris} due to KICK_OTHER
    2011-12-18 16:46:08 [INFO] Disconnecting Ghastbusteris [/78.60.243.82:55419]: Toks zaidejas jau serveryje !
    2011-12-18 16:46:11 [SEVERE] java.lang.NullPointerException
    2011-12-18 16:46:11 [SEVERE]     at lishid.orebfuscator.utils.Calculations.Obfuscate(Calculations.java:218)
    2011-12-18 16:46:11 [SEVERE]     at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.handle(OrebfuscatorCalculationThread.java:62)
    2011-12-18 16:46:11 [SEVERE]     at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.run(OrebfuscatorCalculationThread.java:54)
    2011-12-18 16:46:13 [INFO] Read timed out
    It was an infinite loop.

    CB : 1602
    Orebfuscator : 1.2.2
     
  25. Offline

    Zidkon

    Spout? xD Btw use the recomended CB version 1597
     
  26. Offline

    darker9999

    No spout. Btw now its working perfectly.
     
  27. Offline

    mohammed moftah

    I just tried this and it deleted a whole bunch of ore off my map. Just telling you so you know.
     
  28. Offline

    winter4w

    I get out of memory and my server has 1gb ram how come this plugin slows the server
     
  29. Offline

    Zidkon

    Weird, the orebfuscator plugin doesn't modify the map.

    Thats very slow, 1 GB ram is the lower I have ever seen, but as well the plugins use the processor more than the RAM, so better look at the processor % when you are running the server.

    This plugin slows the server yes, but is a really low %, unless you have a very old processor :/
     
  30. Offline

    winter4w

    I have a 2.00 Ghz
     
  31. Offline

    mohammed moftah

    Im not sure it did though.
     

Share This Page