[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

    iffa

    Nice.
     
  3. Offline

    lishid

    Please test for bugs, Thanks!
     
    W.I.N.D likes this.
  4. Offline

    SwearWord

    How is this different.
     
    Anthony13 likes this.
  5. Offline

    lishid

    1. you dont need to modify your Craftbukkit.jar anymore
    2. I wrote my own algorithm which is more efficient and less CPU intensive than OTC
    3. More features such as hide dungeons, etc.
     
    W.I.N.D likes this.
  6. Offline

    Cosmic Break

    does this mask the packet data? if it doesnt i dont see why this is any better than the other one
     
  7. Offline

    lishid

    It's the same principle, but I coded it myself after looking into OTC's code.
    It seems that many optimization could be made and some stuff are just tiring to see(ex, config and disableforop not working, etc)
     
    W.I.N.D likes this.
  8. Offline

    junkboy350

    Downloading now, this looks promising! I'll do some extensive testing with my xray mod ;)

    I downloaded it, logged on, and no chunks were loading. Got 1.5 megabytes of console errors, here's a bit of it. Tell me if you need more.
    Code:
    2011-09-24 18:34:47 [INFO] junkboy350 [/75.81.179.124:52774] logged in with entity id 4475 at ([Emeraldcraft] -1305.5384039269297, 71.0, -6609.290489046458)
    2011-09-24 18:34:47 [SEVERE] java.lang.IllegalThreadStateException
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.start(Unknown Source)
    2011-09-24 18:34:47 [SEVERE]     at lishid.orebfuscatorspoutbridge.OrebfuscatorSpoutBridgePacketListener.checkPacket(OrebfuscatorSpoutBridgePacketListener.java:36)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.packet.listener.PacketListeners.canSendUncompressedPacket(PacketListeners.java:60)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.handle(MapChunkThread.java:122)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.run(MapChunkThread.java:108)
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-09-24 18:34:47 [SEVERE] java.lang.IllegalThreadStateException
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.start(Unknown Source)
    2011-09-24 18:34:47 [SEVERE]     at lishid.orebfuscatorspoutbridge.OrebfuscatorSpoutBridgePacketListener.checkPacket(OrebfuscatorSpoutBridgePacketListener.java:36)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.packet.listener.PacketListeners.canSendUncompressedPacket(PacketListeners.java:60)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.handle(MapChunkThread.java:122)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.run(MapChunkThread.java:108)
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-09-24 18:34:47 [SEVERE] java.lang.IllegalThreadStateException
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.start(Unknown Source)
    2011-09-24 18:34:47 [SEVERE]     at lishid.orebfuscatorspoutbridge.OrebfuscatorSpoutBridgePacketListener.checkPacket(OrebfuscatorSpoutBridgePacketListener.java:36)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.packet.listener.PacketListeners.canSendUncompressedPacket(PacketListeners.java:60)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.handle(MapChunkThread.java:122)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.run(MapChunkThread.java:108)
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-09-24 18:34:47 [SEVERE] java.lang.IllegalThreadStateException
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.start(Unknown Source)
    2011-09-24 18:34:47 [SEVERE]     at lishid.orebfuscatorspoutbridge.OrebfuscatorSpoutBridgePacketListener.checkPacket(OrebfuscatorSpoutBridgePacketListener.java:36)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.packet.listener.PacketListeners.canSendUncompressedPacket(PacketListeners.java:60)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.handle(MapChunkThread.java:122)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.run(MapChunkThread.java:108)
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-09-24 18:34:47 [SEVERE] java.lang.IllegalThreadStateException
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.start(Unknown Source)
    2011-09-24 18:34:47 [SEVERE]     at lishid.orebfuscatorspoutbridge.OrebfuscatorSpoutBridgePacketListener.checkPacket(OrebfuscatorSpoutBridgePacketListener.java:36)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.packet.listener.PacketListeners.canSendUncompressedPacket(PacketListeners.java:60)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.handle(MapChunkThread.java:122)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.run(MapChunkThread.java:108)
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-09-24 18:34:47 [SEVERE] java.lang.IllegalThreadStateException
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.start(Unknown Source)
    2011-09-24 18:34:47 [SEVERE]     at lishid.orebfuscatorspoutbridge.OrebfuscatorSpoutBridgePacketListener.checkPacket(OrebfuscatorSpoutBridgePacketListener.java:36)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.packet.listener.PacketListeners.canSendUncompressedPacket(PacketListeners.java:60)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.handle(MapChunkThread.java:122)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.run(MapChunkThread.java:108)
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-09-24 18:34:47 [SEVERE] java.lang.IllegalThreadStateException
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.start(Unknown Source)
    2011-09-24 18:34:47 [SEVERE]     at lishid.orebfuscatorspoutbridge.OrebfuscatorSpoutBridgePacketListener.checkPacket(OrebfuscatorSpoutBridgePacketListener.java:36)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.packet.listener.PacketListeners.canSendUncompressedPacket(PacketListeners.java:60)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.handle(MapChunkThread.java:122)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.run(MapChunkThread.java:108)
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-09-24 18:34:47 [SEVERE] java.lang.IllegalThreadStateException
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.start(Unknown Source)
    2011-09-24 18:34:47 [SEVERE]     at lishid.orebfuscatorspoutbridge.OrebfuscatorSpoutBridgePacketListener.checkPacket(OrebfuscatorSpoutBridgePacketListener.java:36)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.packet.listener.PacketListeners.canSendUncompressedPacket(PacketListeners.java:60)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.handle(MapChunkThread.java:122)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.run(MapChunkThread.java:108)
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-09-24 18:34:47 [SEVERE] java.lang.IllegalThreadStateException
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.start(Unknown Source)
    2011-09-24 18:34:47 [SEVERE]     at lishid.orebfuscatorspoutbridge.OrebfuscatorSpoutBridgePacketListener.checkPacket(OrebfuscatorSpoutBridgePacketListener.java:36)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.packet.listener.PacketListeners.canSendUncompressedPacket(PacketListeners.java:60)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.handle(MapChunkThread.java:122)
    2011-09-24 18:34:47 [SEVERE]     at org.getspout.spout.MapChunkThread.run(MapChunkThread.java:108)
    2011-09-24 18:34:47 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    I'm using Minecraft version 1.8.1, with Bukkit 1185. I have the latest version of Spout installed. Plugins are NoCheat, GroupManager, Permissions, WorldEdit, Spout, BorderGuard, Essentials, EssentialsChat, WorldGuard, EssentialsSpawn, EssentialsGeoIP, EssentialsProtect, ChestShop, CreativeGates, and LogBlock. I'll definitely use this plugin once it's working :D

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

    lishid

    Re-download and see if it works, I think it might be due to a Java version incompatibility problem.
    I changed something to try to accomodate, please test.
    Thanks for the bug report.
     
    W.I.N.D likes this.
  10. Offline

    Kane

    @lishid Confused hehe. So is it working with the latest spout or not?

    EDIT: I get it you are saying what the issues were with the other one hehe. I was wondering though. How come you did not include the transparency mode I think 1?

    On Godcraft we tried the other modes but we had to many issues with people in the UK lagging a bit seeing just smoothstone then WACK ore was actually dropping.

    I wish there was better methods hehe did not work to well for us but engine 1 on the other plugn was not bad it hid like 90% of ores.
     
  11. Offline

    lishid

    It is working with spout, but Spout is optional.
    There were 4 modes, first 2 are about the same, last 2 are similar, I grouped them together. (although I did not do it for mode 4)
    I can say that obfuscating is an intensive process, It requires many calculations for each and every block.
    I will further implement caching to save some calculations but right now, It should be around the same as the other plugin.

    Also, how many people on server? (on average)

    "On Godcraft we tried the other modes but we had to many issues with people in the UK lagging a bit seeing just smoothstone then WACK ore was actually dropping."
    I have my plugin setup so that you can set InitialRadius to 2 and UpdateBlockDamage to true to make it less apparent. but it all depends on your processing speed
     
    W.I.N.D likes this.
  12. Offline

    Kane

    Well with Mode 1 of the other plugin anything not transparent hidden with up to 50-60 online. Most the time is 20-30 peak days like weekend up to 50.

    We always sit at 20 TPS
     
  13. Offline

    lishid

    Mode 1 of my plugin hides everything (mostly everything) like the other one do.
     
    W.I.N.D likes this.
  14. Offline

    Kane

    Ahh sweet and you say yours uses less CPU?
     
  15. Offline

    Kidmeepples

    Looks nice, great work
     
  16. Offline

    lishid

    Well it should. but since the thread is per player and no priority is assigned yet, later logged in players will experience intense lag. I'm working on a fix though
     
    W.I.N.D and Kane like this.
  17. Offline

    Torrey Leonard

    BING BING BING!
    Bug report! (I hope that got your attention)

    Texture pack based x-ray is untouched. It still works fine...
     
    Noxturno likes this.
  18. Offline

    Kane

    you must have it set wrong. This has nothing to do with how it works lol
     
  19. Offline

    junkboy350

    Bug was still there. I didn't get any errors in the console this time, but none of the chunks were loading.
     
  20. Offline

    lishid

    Sorry I mistakenly added something that broke the packet sending...
    Here, I re-uploaded one.

    You are either OP or have all permissions?

    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.
  21. Offline

    junkboy350

    Ah, works beautifully now. WHOO! :D

    EDIT: Now there seems to be something strange going on. The signs on entire chunks appear blank, until I leave and join. No console errors still.
     
  22. Offline

    desmin88

    @lishid
    Can you please make such a mode that basically everything you can't see is invisible, i.e you can't see hidden underground bases etc. Not just for ores.
     
  23. Offline

    lishid

    Yes , but that would require a lighting check (and it would still fail if it was a cave near lava)
    and lighting checks are expensive and large-scaled. (for example, putting down a torch will illuminate a radius of 15)
    and if it still hides anyways, it will be very difficult to know when to show the ore.
     
    W.I.N.D likes this.
  24. Offline

    desmin88

    @lishid
    Could you not do in it threads?
     
  25. Offline

    wachnlurn

    chests appear smaller and randomly breaking? might not be this plugin i updated like 5 at once -.-
     
  26. Offline

    lishid

    ...why?
     
    W.I.N.D likes this.
  27. Offline

    kahlilnc

    So does this work 100% ?
     
  28. Offline

    desmin88

    @lishid
    Because then calculation in another thread would not be as taxing on a server?
     
  29. Offline

    lishid

    Of course not, there are still a few bugs im working on.

    "Could you not do in it threads?" means do not use threads.
    I currently use a separate thread.
     
    W.I.N.D and kahlilnc like this.
  30. Offline

    desmin88

    @lishid
    No, I'm saying, could you not do those lighting calculations in another thread.
     

Share This Page