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

    TyrOvC

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

    deadc4t

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

    TyrOvC

    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.

    @GFlow
    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

    yottabyte

    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

    DomiStyle

    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.
    [​IMG]

    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:
    S=Stone
    o=Fake Ore

    Normal mode 4:
    SSSSS
    SoooS
    SoooS
    SoooS
    SSSSS
    With 2 blocks away set in config:
    SSSSS
    SSSSS
    SSoSS
    SSSSS
    SSSSS

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

    Ratchet

    I updated and now players in a certain area are getting this when they login:
    http://pastebin.com/MMdtURDY

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

    edit: using mode 3
     
  7. Offline

    Phinary

    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>(Packet51MapChunk.java:35
    8)
    at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:34
    )
    at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:220)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:294)
    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:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    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
    tion
    java.lang.ArrayIndexOutOfBoundsException
     
  8. Offline

    GFlow

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

    TyrOvC

    @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.

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

    @GFlow
    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

    Ratchet

    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

    TyrOvC

    @Ratchet
    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

    DomiStyle

    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.

    edit:
    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:
    [​IMG]

    oreupdateradius=2:
    [​IMG]

    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

    Bronski

    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

    deadc4t

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

    TerrorBite

    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 1.4.1.6. I downloaded the latest version, so was expecting 1.4.1.7.

    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

    TyrOvC

    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.

    @deadc4t
    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!

    @Bronski
    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

    Theborg

    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

    deadc4t

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

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

    TyrOvC

    @deadc4t
    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

    Mhalkyer

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

    Code:
    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(OreObfuscationPluginMain.java:74)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    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

    deadc4t

    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.
    Plugins:
    Show Spoiler

    Essentials, Chat,GroupManagerm,Spawn
    LazyRoad
    MagicCarpet
    MuddersMilk
    MultiInv
    MultiVerse
    NoCheat
    Pigasus
    slap
    SpyerAdmin,Commands
    StreetLamps
    TreeAssist
    War
    WhitelistPlus
    WorldEdit
    Worldguard
    rawcritics_ore_obfuscation_plugin
     
    TyrOvC likes this.
  23. Offline

    TyrOvC

    @deadc4t
    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!)

    @Mhalkyer
    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

    deadc4t

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

    embty

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

    Mhalkyer

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

    deadc4t

    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

    GFlow

    latest version: snow leopard.
     
  29. Offline

    Ratchet

    Code:
    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 cause..so yeah. thanks for that :|
     
  30. Offline

    Kainzo

    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

    TyrOvC

    @Kainzo
    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