Inactive [SEC] Ore To Client Obfuscation v1.9.1.1 - Anti X-Ray (xray) [1.2.5-R4]

Discussion in 'Inactive/Unsupported Plugins' started by TyrOvC, Jul 12, 2011.

  1. Offline


    solarox5, DaveDee, kahlilnc and 27 others like this.
  2. Offline


    Perfect! With mode 4 if someone ueses X-ray it can cause the client to crash!
  3. Offline


    Really really great update. Completely changed the handling of chunk edges, which fixes by far the majority of issues with every engine mode, and figured out how to make the ore update radius not leave a black block where the removed block was.

    It is recommended that if you have been already using this plugin, to go to your config and set oreupdateradius=1 to oreupdateradius=2. This will make most normal players not be even able to tell that this plugin is running.

    Both the class file and the plugin jar have to be updated this time.

    The previous version was compiled with JDK1.6 which meant it did not work on most Macs. The latest version is compiled with JDK1.5, so it should be able to run on modern Macs. Try it with the new class file.

    @deadc4t Depends on their system :p It does make all the actual x-ray mods that I know of use a ton of extra processing power because they render EVERY ore block.

    @Lunar Delta
    Try setting the oreupdateradius to 2 or 4 with the latest version, and let me know if players still notice that.
    GFlow likes this.
  4. Offline


    Seems like the chunk you spawn in when you log in is not processed? I can see a lot of ores in this chunk but only a couple if I walk away from here.
  5. Offline


    Great work with the plugin and the new updates!
    Mode 4 works perfectly now.
    It still shows some fake blocks if you can see them though, any idea what's causing this?
    No, this is a fake block. I didn't place it. ;)
    Running Craftbukkit #1000 with no other plugins installed and v1.4.1.6.

    edit: Did some more testing.
    The fake diamond blocks appear very often so Mode 4 is pretty much annoying but would be so effective. Hope you can fix this soon.
    Another request:
    Could you add an option to make the fake blocks in Mode 4 start 2 blocks away from air?
    For example:
    o=Fake Ore

    Normal mode 4:
    With 2 blocks away set in config:

    Would reduce the latency of the fake blocks by alot.
  6. Offline


    I updated and now players in a certain area are getting this when they login:

    and getting booted out of the game. I updated the server jar too

    edit: using mode 3
  7. Offline


    yup. Me too. In some areas when they login -
    21:44:59 [WARNING] Failed to handle packet: java.lang.ArrayIndexOutOfBoundsExcep
    tion: -61440
    java.lang.ArrayIndexOutOfBoundsException: -61440
    at net.minecraft.server.Packet51MapChunk.<init>(
    at net.minecraft.server.Packet51MapChunk.<init>(
    at net.minecraft.server.EntityPlayer.a(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(
    21:45:14 [INFO] Ninja [*****] logged in with entity id 7603 at ([
    world] 60.91196088502446, 88.81812266301044, -399.3810307221843)
    21:45:14 [INFO] CommandBook: No intro.mid; not playing intro song.
    21:45:15 [INFO] connect from ip ******
    21:45:17 [WARNING] Failed to handle packet: java.lang.ArrayIndexOutOfBoundsExcep
  8. Offline


    I'm still getting the same error, telling me I have a corrupt bukkit.jar file.
  9. Offline


    @DomiStyle @Ratchet @Shaun Bennett
    Ah whoops! Left in some debug code that caused both mentioned problems with mode 3(The error, and the diamond blocks randomly appearing high up.) Uploaded a new version with it fixed. Just the class file has to be replaced, the plugin jar is the same.

    In the configuration file, set oreupdateradius=1 to oreupdateradius=2 (or 3 or 4, but setting it too high can make xray useful again)

    I honestly have no idea then. Maybe you could try redownloading craft bukkit and replacing the old class file with different software? What Mac OS are you running exactly?
  10. Offline


    I was using mode 3, was it fixed with that too?

    also how goes your efforts with light-based checks, does it appear viable?
  11. Offline


    Agh, it was mode 3 that was messed up and I fixed, not mode 4. I guess I'm just used to that one having something new that's broken about it being found out :p
  12. Offline

    IOn Vash

    I'm also getting the fake diamond ore showing up all over when people mine. It is quite annoying to new players already had a few say "this server is messed up"
  13. Offline


    Thank you for the fast bugfix.
    From what I tested oreupdateradius didn't affect Mode 4.
    I will try again with this version though, will report in a few minutes if it works.

    Tested again.
    Still CB#1000 only this plugin running.
    Mode 4 still has visible fake blocks and "oreupdateradius=" doesn't affect Mode 4.

    Visible fake blocks:


    Would be awesome if you can fix these 2 problems.
    Mode 4 is the best way to prevent x-ray I saw so far without eating all CPU or changing the world.
    TyrOvC likes this.
  14. Offline


    Any plans to allow for the mode to be changed on the fly (or temporarily turned off in-game)? I'm still using XRay to try to fix AXR orefail on my world *twirls finger* but I would otherwise love to implement this.
  15. Offline


    I think you didnt upload the right version, cause it's telling in the console that it is and not
  16. Offline


    Having issues with Mode 4. Update radius is set to 2. Diamond ore blocks are showing up now and then during mining - stone blocks are turning to diamond ore. The update radius appears to be filling in with diamond ore behind the stone wall that's being mined and sometimes this "leaks" through to be visible to the player.

    Ore blocks are visible behind blocks that are mined out, which turn to stone after a moment. I thought the update radius was supposed to fix this? Lighting levels in the area of mining, while not black, do not appear to be perfectly accurate either (1 or 2 level inaccuracy).

    The console reports the plugin version to be I downloaded the latest version, so was expecting

    Finally, a suggestion, would it be possible to do the block update on the first BlockDamagedEvent instead of on the BlockBreakEvent? This would further help people with latency issues.
    DomiStyle likes this.
  17. Offline


    Okay, think I finally pinpointed what was causing random pieces of exposed stone to show up as ore and stone to turn into fake ore as you mine. Whenever a lighting change happens, the minecraft server sends a MapChunk packet out to the clients updating the effected area (since it seems it's the only packet that actually transfers any lighting data). This was causing stone to be reobfuscated while you mined.

    I'm also setting Engine Mode 4 as the default engine mode now (I really do recommend it! Though, Engine Mode 1 might be less annoying to your players, so you could still use that!)

    I'm almost ready to add a lighting check to Engine Mode 1/3 that will make them hide ores in caves that have never had the lighting changed in them (lava will make them show though). Just a few more quirks to work out before releasing it.

    I actually had uploaded the right version, but the only thing the small change was in was in the class file, so I forgot to update the version config in the plugin file. Sorry about that!

    Maybe! I've thought of adding some way to choose users to not run the obfuscation for, even, but there's no way to see which player the packet is going to in the packet class without rewriting a bunch of server code.
  18. Offline


    Great plugin, mostly for bigger servers. Anti X-ray just kicked my I7's ass, I'm glad this plugin does it quite a bit better performance wise, I haven't had any tickrate issues so far. Atleast not caused by this plugin :p
  19. Offline


    Thanks for the fix!
    So where's the donation button?

    EDIT: Mode 4 still shows fake iron n diamond blocks!
  20. Offline


    Did you update just the jar, or did you update the class file too? You have to update the class file too fix it, so you might double check.
  21. Offline


    I got this error running this for the 1st time:

    15:05:22 [SEVERE] Error occurred while enabling RawcriticsOreObfuscationPlugin v1.4.3.8 (Is it up to date?): transparentIds
    java.lang.NoSuchFieldError: transparentIds
            at com.rawcritics.TyrOvC.OreObfuscationPlugin.OreObfuscationPluginMain.onEnable(
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(
            at net.minecraft.server.MinecraftServer.e(
            at net.minecraft.server.MinecraftServer.a(
            at net.minecraft.server.MinecraftServer.init(
    I'm running CB#1000 and here's the plugins I have:
    Show Spoiler
    Plugins: CraftBookMechanisms, WorldEdit, LogBlockQuestioner, CraftBookCircuits, MidiBanks, LazyRoad, iConomyChestShop, BukkitContrib, HeroicDeath, iConomy, Essentials, Ranks, CraftBukkitUpToDate, CraftBookCommon, WheatHeal, RemoteToolkitPlugin, SimpleReserve, HelpPages, WorldGuard, Tombstone, SignTagger, NSCommand, BorderGuard, mcMMO, RawcriticsOreObfuscationPlugin, creaturebox, PlayerEditor, Permissions, CommandHelper, ColoredSigns, BlockConsoleMessages, PermissionsPlus, MagicCarpet, Statistician, EssentialsSpawn, iChat, LogBlock, p2Aliases, NoCheat

    I'll followup if the problem persists.
  22. Offline


    Again 2 tests:
    1 with all my plugs from my server -> shows the fake blocks
    the other only with this plugin and nothing else installed -> works!

    Tests are local and I controlled it twice, yes, your MapChunk is in the Craftbukkit.
    Show Spoiler

    Essentials, Chat,GroupManagerm,Spawn
    TyrOvC likes this.
  23. Offline


    I know WorldEdit and WorldGuard do not conflict with this since we have both of those and the ore obfuscater running on the Rawcritics servers with no problems. I'd guess that MultiVerse might cause issues, although it really shouldn't. I can test more and if it's the cause possibly work out compatibility issues this evening after I get off work. (Course, there's always the chance it's some random bug that isn't any sort of compatibility issue, but sure sounds like there's a plugin conflict somewhere!)

    You didn't replace the class file in your server jar with the included one properly. Go over the installation instructions again. Thanks for posting that though! It's supposed to output one nice "You have not installed the class file" message instead of a stack trace, so that's fixed now.
  24. Offline


    I will test it. Good that your active on this Thread!
  25. Offline


    Does mode 4 require players to right click the block to see what it really is?
  26. Offline


    LOL, my fault, I added that class file to minecraft_server.jar not craftbukkit.jar XD
  27. Offline


    Good im really sorry! it' has to do with the performance. If your putting oreupdateradius=4 all things are
    good but with default (2), when people are mining fast, the fake ores rest visible.

    So basicly, I used the superpikaxe of world edit to make a fast mine and the result was, that the daterradius
    couldnt update fast enough.
    But also with a normal pikaxe you can reach that velocity, so that the ores rests visible.
    That was the problem.

    Set the default of the oreupdateradius to 4.
  28. Offline


    latest version: snow leopard.
  29. Offline


    Both the class file and the jar have to be updated.
    huh. did you add that afterwards to the latest change in the log? because it wasn't there earlier when I updated, so I didn't update the class file aswell :/ and my server has been lagging strangely so I guess now I know the yeah. thanks for that :|
  30. Offline


    Has the massive cpu strains on engine 4 been resolved? Edit - testing this for you.

    Tickrate with mod 2 with 85+ players online = 9.6 TPS (using the 2nd or 3rd update/fix right after engine 4 released)
    Tickrate with mod 4 with 85+ players online = 2.22 TPS (using current release)
    Tickrate with mod 2 with 85+ players online = 9.2 TPS (using current release)
  31. Offline


    The only thing it should cause cpu strains on would be Minecraft Clients with xray on.

    I've integrated something right now that speeds it up more though, and am planning to release another update tonight.

Share This Page