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

    Kiwii

    Wow! Amazing! I tried the other Anti-Xray plugin once but I did not like that it actually modifies the safes. So this does everything on-the-fly without any modification of server-side data? That is exactly what I thought of a few days ago but I did not find the possibilities in the Bukkit API documentation that would have been required to do this. I think whatever methods you needed to hook in should be made public to plugin developers as I do not really like mods. (Well I have to use one anyway so this will not keep me from using this.)
     
  3. Offline

    Tagz

    Use Mode 2
     
  4. Tyr, the download was fine now - guess youre right.

    Maybe I misunderstood that:
    Cos mode 1 didnt work until ive patched the server.jar with the latest version.
     
  5. Offline

    Sleaker

    He's using modified a modified ChunkPacket class which the bukkit team has expressed will *never* be exposed. So.. doubtful. It's inherently a 'custom CraftBukkit' it's just he's not distributing the full thing, only the modified bits.
     
  6. Offline

    TyrOvC

    @Sleaker
    Oh yeah, sure thing!

    @ohmydoddtv
    Mode 2 does exactly what you said. It makes cave mining harder for players though, so Mode 1 would probably be the best balance.

    @Kiwii
    Exactly what Sleaker said. This way is faster, less function calls! BukkitContrib does provide an api for packet modification though, so there will be an optional version for that that's just in a plugin when I have the time to get around to it.

    @Monkz
    Even if they do use a customized version of CB for the game hosting control, I highly doubt that the one particular class that this edits is changed by your host. Can you give me any more specific errors, or the specific Bukkit version?
     
  7. Offline

    Insanehero

    Getting this error on startup.
    21:53:25 [INFO] RawcriticsOreObfuscationPlugin 1.6.2.2 plugin enabled
    21:53:25 [INFO] [SEVERE] Ore Obfuscation Plugin Cannot Attach To The Engine:
    21:53:25 [INFO] Ore Obufuscate Engine is not installed, please add the required class to the server jar

    I'm not sure how to edit the .jar on a linux server. Please help me :D
     
  8. Offline

    Tibs

    Just want to add to the support of people that would like to see this use BukkitContrib as I really don't like the idea of having to modify the server jar.

    I really really would like to just see this get fixed by the Bukkit team, or better yet Notch.
     
  9. Offline

    Asanay

    :'(help BukkitContrib---->Ore To Client Obfuscation v1.6.2.2 - Anti X-Ray.......... [brickblock]
    Uncle Gandalf (Afforess) is silent .... (although maybe I did not understand because from Russia)

    I promised friends over the weekend to deal with the problem, because we do not like Chittor =)) :p

    and another problem with the registration .... Shoot me with these plug-ins and transfer become stupid. (a couple vidio and I again want to play in minecraft) hehe
    a little drink of beer =)

    probably all seen me very much)
    http://www.youtube.com/watch?v=6WdcCR7-XP4

    I'm a fan of space sims are itching to add a link.
    http://en.spaceengine.org/
    :)
     
  10. Offline

    Sleaker

    @Asanay @Tibs @TyrOvC
    To All of those asking about BukkitContrib support - currently it's not possible. And will most likely never be possible without a custom Server, Contrib can only send custom packets to other users using bukkit contribs client addon, and only those custom packets which are accepted by both the client mod and the server plugin. Because Ore Obf actually operates on the actual MC packet level it's not exactly going to work without replacing the class completely.
     
  11. Offline

    Afforess

    Sure it will. BukkitContrib allows for any plugin to watch and modify or stop packets as they leave the server and head to players. This feature is not in 0.1.7, but in the development builds, and will be released in a few days.

    @TyrOvC could easily use it to watch for Packet51 (map packet), then rewrite the data in it, and let it go along it's way. I see no reason using BukkitContrib would NOT work.
     
  12. Offline

    Asanay

    It is good we will wait! :)
     
  13. Offline

    Ratchet

    tallgrass is transparent too, so that should also be added to the list. seeing iron behind it etc

    but with mode 2 you can't see any exposed ores in caves so it's pretty useless for people that spelunk to find ore (read: majority of players)

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

    Sleaker

    Ahh maybe that's why I missed it, haha.
     
  15. Offline

    Ratchet

    I don't have any significant latency, blocks break instantly for me etc, but with mode 4 and the update radius set to 2, i'm still seeing the 'fake' ore as I break blocks, aswell as others on my server, I tried changing update radius from 2 to 4, but it seems to cause the server to lag.
     
  16. Offline

    TyrOvC

    @Ratchet
    Adding an option next version to have the updates sent out when the first damaging block packet is recieved from the client, so that would help at a smaller cpu cost.
     
  17. Offline

    Donald Scott

    @TyrOvC

    I noticed a couple more transparent ID's that were missing such as pressure plates, portal,sugar cane, cake, repeaters and many others. Here is a new and 100% complete list of all the transparent blocks:

    transparentIds=6,8,9,10,11,18,20,26,27,28,30,31,32,34,37,38,39,40,44,50,51,52,53,55,59,63,64,65,66,67,68,69,70,71,72,75,76,77,78,79,83,85,90,92,93,94,96,
     
    TyrOvC likes this.
  18. Offline

    Danjio

    14:58:47 [INFO] RawcriticsOreObfuscationPlugin 1.6.2.2 plugin enabled 14:58:47 [INFO] RawcriticsOreObfuscationPlugin connected to the Ore Obfuscate Engine and turned it on! Using Engine: 5 14:58:47 [INFO] [SEVERE] Ore Obfuscation Plugin Cannot Attach To The Engine: 14:58:47 [INFO] Ore Obufuscate Engine is not installed, please add the required class to the server jar
    wtf?
     
  19. Offline

    oliverw92

    Could you add a simple static API method for 'updating' a specific location? I made an insta-break plugin that my VIP members can use on our creative world however because it works when the block is clicked, there is never a block break event. Something like OreObfuscatePluginMain.forceUpdate(Location loc);
     
  20. Offline

    h0us3cat

    Installed this, server crashed after x time with this error.

    Code:
    2011-07-30 16:57:13 [SEVERE] Exception in thread "Timer-1"
    2011-07-30 16:57:35 [SEVERE] Exception in thread "Listen thread"
    2011-07-30 16:57:41 [SEVERE] Exception in thread "Thread-35"
    2011-07-30 17:00:01 [SEVERE] java.lang.OutOfMemoryError: Ja
    2011-07-30 17:00:33 [SEVERE] va heap space
    2011-07-30 17:01:40 [SEVERE]     at java.util.HashMap.newEntryIterator(Unknown Source)
    2011-07-30 17:01:40 [SEVERE]     at java.util.HashMap$EntrySet.iterator(Unknown Source)
    2011-07-30 17:01:40 [SEVERE]     at java.util.Collections$SynchronizedCollection.iterator(Unknown Source)
    2011-07-30 17:02:04 [SEVERE]     at com.griefcraft.modules.credits.CreditsModule$CreditsTask.run(CreditsModule.java:60)
    2011-07-30 17:02:10 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-07-30 17:02:10 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:10 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:10 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:10 [SEVERE] Exception in thread "EbeanBackgroundThread"
    2011-07-30 17:02:10 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:10 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:10 [SEVERE] Exception in thread "Timer-9"
    2011-07-30 17:02:10 [SEVERE] Exception in thread "Timer-5"
    2011-07-30 17:02:10 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:15 [SEVERE] java.lang.OutOfMemoryError: Java heap space
     
    my server has 4gb ram in the .bat.
     
  21. Offline

    Kalais

    @TyrOvC

    Not sure if this has been reported. When using WorldGuard's superpickaxe (command: //) and Engine 4 (v.1.6.2.2) a group of blocks (stone that appears to be diamonds) can be broken and actual diamonds drop. I know they aren't supposed to be diamonds because I'm using FoundDiamonds plugin and it isn't saying diamonds have been found.

    Edit: This happened a few times although I'm having trouble replicating the bug.
     
  22. Offline

    desmin88

    @TyrOvC
    Your plugin seems to conflict with mine (MobDisguise), I'll pm you so we can solve this issue.
     
  23. Offline

    RedFawkes215

    I don't know if this is an issue with this plugin or a conflict with my others but this began occurring after switching out the old anti x-ray plugin with this one. My players have reported about 5x5 chunks of stone spawning wherever they mine stone. It's rather scary. I wouldn't know how to figure out what would cause something like this. I am going to remove this plugin to see if it continues.

    -edit- Server has not had the issue since I removed the plugin and removed the.class files from the jar file. I wish I knew how to help to prevent this cause I can't be without xray protection.
     
  24. Offline

    h0us3cat

    it happened again


    Code:
    2011-07-30 16:57:13 [SEVERE] Exception in thread "Timer-1"
    2011-07-30 16:57:35 [SEVERE] Exception in thread "Listen thread"
    2011-07-30 16:57:41 [SEVERE] Exception in thread "Thread-35"
    2011-07-30 17:00:01 [SEVERE] java.lang.OutOfMemoryError: Ja
    2011-07-30 17:00:33 [SEVERE] va heap space
    2011-07-30 17:01:40 [SEVERE]     at java.util.HashMap.newEntryIterator(Unknown Source)
    2011-07-30 17:01:40 [SEVERE]     at java.util.HashMap$EntrySet.iterator(Unknown Source)
    2011-07-30 17:01:40 [SEVERE]     at java.util.Collections$SynchronizedCollection.iterator(Unknown Source)
    2011-07-30 17:02:04 [SEVERE]     at com.griefcraft.modules.credits.CreditsModule$CreditsTask.run(CreditsModule.java:60)
    2011-07-30 17:02:10 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-07-30 17:02:10 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:10 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:10 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:10 [SEVERE] Exception in thread "EbeanBackgroundThread"
    2011-07-30 17:02:10 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:10 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:10 [SEVERE] Exception in thread "Timer-9"
    2011-07-30 17:02:10 [SEVERE] Exception in thread "Timer-5"
    2011-07-30 17:02:10 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-30 17:02:15 [SEVERE] java.lang.OutOfMemoryError: Java heap space
     
    my server has 4gb ram in the .bat.
     
  25. Offline

    Monkz

    Im getting issues with superpickaxe, but in my case when i mine, all the stone near me turns to iron or diamonds that are at my height, but still dont drop the ores it turns into. It's just a tad bit annoying but avoidable as long as i dont use it :p
     
  26. Offline

    Raphfrk

    @TyrOvC

    Just a FYI on this, you can register a listener that listens for the Packet51 packets before they are compressed with addListenerUncompressedChunk.

    For example, this will make the world appear flooded (all air converted into water).

    Code:
            Listeners.addListenerUncompressedChunk(new Listener() {
    
                @Override
                public boolean checkPacket(Player player, Packet packet) {
    
                    Packet51MapChunk p = (Packet51MapChunk)packet;
    
                    byte[] byteData = p.g;
    
                    if(byteData.length == 80*1024) {
                        for(int i = 0; i < 128*16*16; i++) {
                            if(byteData[i] == 0) {
                                byteData[i] = 9;
                            }
                        }
                    }
                    return true;
                }
            });
    
    In practice, it would be recommended that you create a new class that extends Listener though.

    Also, these listeners aren't thread safe relative to the main thread.
     
  27. Offline

    TyrOvC

    @Donald Scott
    Thanks! I'll update the defaults.

    @Kalais
    The diamonds you got were probably from real diamond ores, not the fake diamond stone you were mining. As you probably noticed, the plugin doesn't update on superpick block removals yet.

    @RedFawkes215
    It doesn't edit block data, so no matter what it's not going to ruin your world. Sounds like maybe your players were having latency, and the block were taking time to update? Or is all the air blocks appearing as stone too?

    @h0us3cat
    I test the plugin with a profiler, and there are no object leaks caused by the changes to the server and the plugin itself. Could possibly be the way some other plugin is interacting with the block updates, but that's not an issue I can fix.

    @Monkz
    Yup, the super pickaxe does not update blocks yet.

    @oliverw92
    Will do

    @Raphfrk
    Thanks! That BukkitContrib version is coming soon, I promise!
     
  28. Offline

    RedFawkes215

    Wasn't a latency issues since it happened to me too. It didn't change all air to stone, just the air and other blocks within a small radius of the block broken. I think a conflict with my other plugins caused it. I wish I could provide more info to help.
     
  29. Offline

    TerrorBite

    Version 1.6.1.1

    I've had a few users complaining of fake ores appearing pervasively throughout their mines when using Mode 4. The common factor between users seems to be a poor connection, I have no idea if this actually causes the issue.

    I hadn't seen it myself, but then a while later I was walking through my Nether tunnel and I suddenly saw this:
    2011-08-01_00.25.29.png

    I later saw similar things in my mine after exiting the Nether:
    2011-08-01_01.50.26.png 2011-08-01_01.51.35.png 2011-08-01_01.55.03.png
    Here is a zip file containing screenshots taken by one of my affected users. I was present at the location while the screenshots were taken, and saw nothing unusual at the time.

    I don't know how fake diamond ore is appearing above level 20 when it shouldn't. For the moment I've switched the plugin onto Mode 1, which seems to work fine.

    Now, I'm not sure if it's related to this plugin, but I've also been getting java.lang.OutOfMemoryErrors that require the server to be restarted to restore full functionality. Since another user in this thread also reports a similar error, I'll post it anyway in case it's relevant:
    Code:
    10:35:49 [SEVERE] Exception in thread "Thread-5"
    10:35:49 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    10:35:49 [SEVERE]       at java.lang.Thread.start0(Native Method)
    10:35:49 [SEVERE]       at java.lang.Thread.start(Thread.java:640)
    10:35:49 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.<init>(CraftWorker.java:28)
    10:35:49 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftThreadManager.executeTask(CraftThreadManager.java:14)
    10:35:49 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftScheduler.processTask(CraftScheduler.java:107)
    10:35:49 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftScheduler.run(CraftScheduler.java:64)
    10:35:49 [SEVERE]       at java.lang.Thread.run(Thread.java:662)
    >debug info
    10:38:48 [INFO] System: Linux 2.6.32-5-686-bigmem (i386)
    10:38:48 [INFO] Java: Sun Microsystems Inc. 1.6.0_26 (http://java.sun.com/)
    10:38:48 [INFO] JVM: Sun Microsystems Inc. Java HotSpot(TM) Server VM 20.1-b02
    10:38:48 [INFO] Available processors: 4
    10:38:48 [INFO] Available total memory: 2044.0 MB
    10:38:48 [INFO] JVM allocated memory: 2044.0 MB
    10:38:48 [INFO] Free allocated memory: 1048.0 MB
    
    Finally: Here's a pair of screenshots taken by one of my moderators, showing what happens to a view of the surface if you try to use xray on Mode 4: xray turned off and turned on. Use them if you like them! (Image credit to Minecraft user KyrSidriss)

    Edited for clarity and formatting.
     
  30. Offline

    Ratchet

  31. Offline

    Theborg

    This is due of this plugin not being compatible with Spout/Bukkitcontrib and the maker of this plugin already stated that he will work on a version for it when he has the time. So to repeat, this is not due of MobDisguise but due of spout and them using the Bukkit class files you replaced to use this plugin.
     

Share This Page