[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

    wachnlurn

    yea ive got a crash with 30 on about 15 minutes after trying this plugin again, i dont think my server can handle it and my players complain of slow loading chunks. Dont get me wrong... i definitely want this plugin

    Code:
    [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-09-26 12:45:20 [SEVERE]    at net.minecraft.server.World.getMultiChunkData(World.java:2355)
    2011-09-26 12:45:20 [SEVERE]    at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:28)
    2011-09-26 12:45:20 [SEVERE]    at org.getspout.spout.MapChunkThread.sendPacketMapChunk(MapChunkThread.java:214)
    2011-09-26 12:45:20 [SEVERE]    at org.getspout.spout.MapChunkThread.sendPacketMapChunk(MapChunkThread.java:205)
    2011-09-26 12:45:20 [SEVERE]    at org.getspout.spout.SpoutNetServerHandler.manageChunkQueue(SpoutNetServerHandler.java:688)
    2011-09-26 12:45:20 [SEVERE]    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:603)
    2011-09-26 12:45:20 [SEVERE]    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    2011-09-26 12:45:22 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-09-26 12:45:22 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    2011-09-26 12:45:22 [SEVERE]    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    2011-09-26 12:45:22 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2011-09-26 12:45:22 [SEVERE]    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    2011-09-26 12:45:22 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    2011-09-26 12:45:22 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-09-26 12:45:22 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
            at net.minecraft.server.World.getMultiChunkData(World.java:2355)
            at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:28)
            at org.getspout.spout.MapChunkThread.sendPacketMapChunk(MapChunkThread.java:214)
            at org.getspout.spout.MapChunkThread.sendPacketMapChunk(MapChunkThread.java:205)
            at org.getspout.spout.SpoutNetServerHandler.manageChunkQueue(SpoutNetServerHandler.java:688)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:603)
            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:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-09-26 12:45:28 [SEVERE] Exception in thread "Thread-27"
    2011-09-26 12:45:28 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-09-26 12:45:28 [SEVERE]    at lishid.orebfuscator.utils.Calculations.Obfuscate(Calculations.java:300)
    2011-09-26 12:45:28 [SEVERE]    at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.handle(OrebfuscatorCalculationThread.java:61)
    2011-09-26 12:45:28 [SEVERE]    at lishid.orebfuscator.utils.OrebfuscatorCalculationThread.run(OrebfuscatorCalculationThread.java:51)
    2011-09-26 12:45:28 [SEVERE]    at java.lang.Thread.run(Thread.java:662)
    
     
  3. Offline

    lishid

    Doable, but when you put light, it's very processing and bandwidth intensive. Torch goes 14 blocks wide , spread through 2x2 chunks! Also, some people mine in the dark (I have experience) and the client would recognize ores as taking longer than stone to mine.

    when people rotate angle... think about slow connections, think about large servers....

    still using nijiko, going to get super-perms when I finish debugging for openinv.

    OutOfMemoryException?

    Can you allocate more memory? It seems like Spout somehow is out of memory.

    I'll try and see if my memory usage is big.

    Can you explain /jump and world.compass?
    (what plugin is it from, what it do)
    I don't really know about them personally...

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

    Mitsugaru

    Threw this on a test server. It was working for a while, but now I find that it lags my client (zombe only, for testing xray) to a halt when exploring new chunks.
     
  5. Offline

    wachnlurn

    [​IMG]
    meh don't know if this tells you much. 32 players with and without oreobfuscation, i didnt disable spout after the crash, only oreobfuscation

    Edit: lol i lied it ran about an hour but with less players
     
  6. Offline

    lishid

    Even better! It lags the x-ray cheats! Too bad cheaters!

    With obfuscation enabled or disabled doesnt seem to change much for memory, but only for bandwidth?

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

    darkwarriors

    jump and world compass are worldedit command to "jump" over blocks in a fast way. u jump the position that u are watiching at the moment u do the command jump
     
  8. Offline

    Kainzo

    Well, having ore in caves exposed makes it where xrayers can still do cheat the system.

    I would prefer having no ores show up than only a small few. Light or no light :p

    Also why not have spout support in the same jar rather than a bridge?
     
  9. Offline

    Sleaker

    Out of curiousity, why can't you just put the bridge class in a subpackage of the main jar and just have it use the spout compatible one when it detects spout as loaded instead of having to use a whole seperate bridge jar. It just doesn't make sense to me to need to run an extra 'bridge' when the main plugin already detects if spout mode is enabled.
     
  10. Offline

    lishid

    so the //Jumpto command...
    what about world.compass? what does that do?

    But hiding ores will result in sometimes people mining a stone and ores pops out! this will get them kicked because minecraft server considers this as a chest. Sure you can hide ores that are in caves, but then it will be difficult knowing when exactly to show them (and also inefficient)
    BTW, hiding 90% of the ore is pretty efficient, compared to not functioning at aoo.

    Spout support needs done in a separate jar because it would cause the plugin to not load because it requires spout dependancy and the server doesn't have it (meaning it wouldn't work for non-spout users, and would cause a "spout is missing" error)

    This plugin needs spout in a specific way (Listener extends Packet listener) and you can't load this class without spout. thus this class is moved to SpoutBridge to not cause plugin not loading.

    Trust me, If I could, I would.

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

    AbdulAbdalla

    You can :) Just create the spout listener object in onEnable(). You can check for spout first and then decide wheter the plugin should create the spout listener or your custom class.
     
  12. Offline

    lishid

    Yeah but i need an actual class that extends the listener, and java try to load this class before the onEnable() is even called!
     
  13. Offline

    Kainzo

    Can't you prioritize the onLoad ?
     
  14. Offline

    AbdulAbdalla

    Mhh i dont understand your problem. I use spout in one of my plugins too, but its optional. I extend the InputListener and in my plugin i declare the new class as private field:
    Code:
    private MyInputListener inputListener;
    Later in onEnable() i create the class instance:
    Code:
    if (spout) {
      inputListener = new MyInputListener(this);
    }
    Works fine without any errors.

    The only thing you have to do is adding the spout api to your plugin dependencies.
     
  15. Offline

    Kainzo

    Still using p3 here ;)
     
  16. Offline

    lishid

    No, all classes in a jar is loaded before anything is executed.
    Donno... It gave me ClassNotFound errors when trying to even load the plugin before onEnable is called
    Go see my source, see if you can do something about it.
    Super-Perms will be added in the next release.
     
  17. Offline

    Kainzo

    I have given this a stress test.
    Both with Engine mode 1 and 2 - both with "threads" set to 2.

    Comparing this alongside the TPS of OTC and OREB

    1217 & OTC - 30online = 20 TPS
    1217 & OREB - 30online = 10 TPS

    1217 & OTC - 50online = 12 TPS
    1217 & OREB - 50online = 5 TPS

    I don't have much more to devote to this but immediately saw performance loss - it 'may' be because I devoted two threads but I see no reason for this.
     
  18. Offline

    lishid

    TPS=Ticks per second?
     
  19. Offline

    Sleaker

    You really don't need a second plugin to do it, just tag the original one as having a soft depend as Spout - check if it's loaded, use the alternative handler for spout instead of the original one, done. You can do plugin and class checks if they aren't present without breaking anything.
     
    AbdulAbdalla likes this.
  20. Offline

    RodSerling

    I've noticed players complaining about large stuttering freezes periodically with this enabled. Disabling it clears it up, aswell as uninstalling.

    May be about what Kainzo was about. But the server doesn't seemed taxed, just the clients. My random guess: Too many packets bombarding the client.

    Of course, I havn't even looked at the sourcecode though.

    This is with the spout version 0.9.3 btw
     
  21. Offline

    Kainzo

    Correct, TPS = ticks per second, the lag measurement tool.
     
  22. Offline

    lishid

    Nahh, it's the same amount of packets, not matter what.
    Ok, I'll revise my code, it could be the lighting calculations...

    What are your method of measurements? I would like to perform some tests myself.

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

    Kainzo

    Debug clock in commandbook or /lag in Lag Meter.

    You wont see degradation until you start seeing more action in higher populated servers.
     
  24. Offline

    bradgillap

    I spent 1 hour today trying to figure out which plugin was screwing up and it was yours.

    Users getting kicked out all day long, my gf's game would lock right up to the point of having to taskmgr close minecraft.

    0.9.3
    RB 1185
    Latest Recommended Spout
    Obsfucator + the spout bridge

    Man.. last night I fought with bukkitinventorytools and openinv having their own issues until 4am. It's 1am again already, Devs and users are making me a sleepy admin

    Code:
    27.09 04:58:48 [Server] SEVERE     at net.minecraft.server.NetworkWriterThread.run(SourceFile:104)
    27.09 04:58:48 [Server] SEVERE     at java.io.DataOutputStream.flush(DataOutputStream.java:123)
    27.09 04:58:48 [Server] SEVERE     at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    27.09 04:58:48 [Server] SEVERE     at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    27.09 04:58:48 [Server] SEVERE     at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    27.09 04:58:48 [Server] SEVERE     at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
     
  25. Offline

    darkwarriors

    same thing this happen when players jumpt to the map and chunk is loaded very very frequently..

    i have 8 core Xeon e55 CPU
    32 gb of ram
    200 mbit

    dedicated server so it is impossble that may machine suffer lags.
     
  26. Offline

    lishid

    Hm...
    It seems that larger servers may suffer from problems...
    Well, since I do not own a large server, I might have to ask one of you guys to let me login sometimes when the problem occurs, anyone?

    Also, I've done a great deal of optimization last night, CPU usage went down, memory usage reduced, lots of good stuff, going to release that soon.

    How did you know it was this plugin (how many players? at <30 there shouldn't be any problem, unless you have a faulty config)
    and this error is either incomplete, or does not concern this plugin. (Show me the "Caused by" line and the few lines below it.)

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

    flames

    lishid, 0.9.3 creates double entries in the config, the old style from 0.9.0 then the new style with integers, booleans and lists groups

    rest works perfectly, thanks for the nice plugin
     
  28. Offline

    lishid

    Yes it does, although the old ones isn't used anymore...
     
  29. Offline

    flames

    ic, was just wondering :p

    engine 2 is very nice!
     
  30. Offline

    lishid

    New release 0.9.5 should lessen the CPU load.
     
  31. Offline

    Mitsugaru

    Yeahno... Staff on my server use Zombe (or any other clients they wish) to facilitate their duties. Ore obfuscation works fine on chunks that have been generated, but it hangs up on chunks that are being generated.

    The latest version, 0.9.5, does a better job of this though. It still lags clients, but not to the point of disconnecting like before. Now, at least the lag subsides after a shorter period of time. I suppose the only course of action is to throw this up on a map where most of the chunks are loaded?

    Still, nifty work. Engine 2 is way cool. And hopefully we'll implement this at some point in the future.
     

Share This Page