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

    Kainzo

    @TyrOvC
    I have confirmed via the test above that it does drop the Ticks Per Second - on larger servers. I was using both /debug clock (commandbook) and /lag from Lag Meter to test the Ticks - both before and after.

    You do such great work, I am very thankful for you and the plugin you have created - you dont know how happy you make server admins!
     
  3. Offline

    DoctorBoyd

    Everything works great for me but I can't figure out how to change Engine modes.
    I'm not sure how to word it it the config.

    Edit:
    I tried: Mode 3, mode=3, engine=3, 3, #3, enginemode=3, etc... I'm new to this so I assume it's something I'm missing.

    thanks
     
  4. Offline

    Kainzo

    Delete the file - let it recreate - read the entire file and change the # to something else.
     
  5. Offline

    DoctorBoyd

    Edit: Nvm. Got it. when the answer is that clear...it's time for bed. GoodNight/day
     
  6. Offline

    TyrOvC

    @DoctorBoyd
    If you deleted the config and let it recreate with the latest version of the plugin, it should look different (Actually, what you posted looks like two or three versions ago). Change enginemode=1 to enginemode=2, etc.
     
  7. Offline

    MunkyCheez

    can someone see if i have it working on my server?

    the IP is 69.197.189.187:25565
     
  8. Offline

    DomiStyle

    I tested again and Mode 4 works very fine now.
    One flaw I still found but that is not so bad: The oreupdateradius only applies after you punch out the first piece.
    So you can see diamonds the first time you punch out a stone. Not that bad, but it's also called UPDATEradius. ;)
    Also, how about replacing all ores by iron/diamond too? Currently you only replace stone but you could replace all the ores too. Since I could still find some gold/lapis when it removes the fake ores 2 blocks around me.
    Mode 4 is really usable now, thank you. :)

    Did you think about this? Sounds like a pretty good idea.

    I second this, where is the donation button? [diamond]
     
  9. Offline

    Cosmic Break

    i tried it on your server, activated xray where i spawned, and lagged so badly until i turned it off.
    all i could see were seemingly iron ore, everywhere.
    i run Minecraft with 6GB of ram.
     
  10. Offline

    DomiStyle

    Runs fine for me.
    Minecraft with 8GB of RAM. :p
    However, I couldn't dig due to Towny building restrictions.
     
  11. Offline

    TyrOvC

    I thought about moving to the block damage event, but that fires constantly while a player is mining so the plugin would have to repeatedly check whether the player just started mining or not, and that bit runs in the main thread. Will probably make it an option to choose which way to do it.

    @Kainzo
    When you get the chance, could you try replacing the class files in your server jar with the two class files in this (one replaces the Packet51MapChunk, the other is actually a brand new class file), and then see if it runs faster on your server?

    @DomiStyle
    It actually does replace all of the ores too, as you can see if you use an xray mod that lets you filter specific blocks. When you mine, it updates the ore as well as the stone though, which is why you can see it then. The ore update radius just affects the blocks revealed when a player removes a block for now, to check whether there is a transparent block more then one block away would use a lot more processing power while chunks are sent out.

    I keep ending up getting distracted coding instead of setting up a donation button, but I'm going add one!
     
  12. Offline

    DomiStyle

    Really? I quite saw alot of ores that had no air around it but still were visible, even before I punched any block.
    Mostly gold and Lapis lazuli.
    Gonna take a look again though...

    Also if players that use x-ray use so "much" processor power, couldn't you detect it when a player uses x-ray? Or does it only use so much power client side?
    Not sure if there is a hook for this but you could give it a try if there is one.
     
  13. Offline

    TyrOvC

    @DomiStyle
    Actually, I sort of was nonclear on that. All the ores without an adjacent transparent block are turned into iron/diamond ore, so it'd be similar to looking at Mode 1 if you filter iron or diamond off. But, since above 20 iron is usually the most valuable ore and below 20 diamond is usually the most valuable ore, I think it works out pretty well despite that.

    I mean it only uses more processing power client side. Now if only all xrayers had lower powered rigs with bad videocards...
     
  14. Offline

    DomiStyle

    Ohh...to bad.
    The chances that every x-rayer has a bad rig are pretty high since most of them are underaged anyway and can't afford a real PC. ;)
    Tell me when you have a donation link up.
     
  15. Offline

    GmK

    @TyrOvC

    I had to remove it again, unfortunately.

    Without changing anything else, when your plugin/class was added, my server had Read Time Out crashes 4-5 times daily (the ones where everything stalls and you need to actually kill -9 the java process). As soon as I removed it again, I didnt get one more timeout crash.

    We used mode 3, usually run 40 plugins lagfree with 50players+ on server, so the server itself should have been able to handle well. Seems something just went funny with your plugin added...
     
  16. Offline

    WNxRev

    Installed on the latest build using the latest version of this plugin without a problem. Perfect. Thanks.
     
  17. Offline

    xeNium

    :version 1.7.3

    # Blocks
    # ID NAME FILE CORDS DAMAGE
    1 Stone terrain.png 1,0
    2 Grass terrain.png 3,0
    3 Dirt terrain.png 2,0
    4 Cobblestone terrain.png 0,1
    5 Wooden_Planks terrain.png 4,0
    6 Sapling terrain.png 15,0 0
    6 Spruce_Sapling terrain.png 15,3 1
    6 Birch_Sapling terrain.png 15,4 2
    7 Bedrock terrain.png 1,1
    8 Water terrain.png 15,13
    9 Still_Water terrain.png 15,13
    10 Lava terrain.png 15,15
    11 Still_Lava terrain.png 15,15
    12 Sand terrain.png 2,1
    13 Gravel terrain.png 3,1
    14 Gold_Ore terrain.png 0,2
    15 Iron_Ore terrain.png 1,2
    16 Coal_Ore terrain.png 2,2
    17 Wood terrain.png 4,1 0
    17 Dark_Wood terrain.png 4,7 1
    17 Birch_Wood terrain.png 5,7 2
    18 Leaves terrain.png 4,3
    19 Sponge terrain.png 0,3
    20 Glass terrain.png 1,3
    21 Lapis_Lazuli_Ore terrain.png 0,10
    22 Lapis_Lazuli_Block terrain.png 0,9
    23 Dispenser terrain.png 14,2
    24 Sandstone terrain.png 0,12
    25 Note_Block terrain.png 10,4
    26 Bed_Block terrain.png 6,8
    27 Powered_Rail terrain.png 3,10
    28 Detector_Rail terrain.png 3,12
    29 Sticky_Piston terrain.png 10,6
    30 Cobweb terrain.png 11,0
    31 Tall_Grass terrain.png 7,2
    32 Desert_Shrub terrain.png 7,3
    33 Piston terrain.png 11,6
    34 Piston_(head) terrain.png 11,6
    35 Wool terrain.png 0,4 0
    35 Orange_Wool terrain.png 2,13 1
    35 Magenta_Wool terrain.png 2,12 2
    35 Light_Blue_Wool terrain.png 2,11 3
    35 Yellow_Wool terrain.png 2,10 4
    35 Lime_Wool terrain.png 2,9 5
    35 Pink_Wool terrain.png 2,8 6
    35 Gray_Wool terrain.png 2,7 7
    35 Light_Gray_Wool terrain.png 1,14 8
    35 Cyan_Wool terrain.png 1,13 9
    35 Purple_Wool terrain.png 1,12 10
    35 Blue_Wool terrain.png 1,11 11
    35 Brown_Wool terrain.png 1,10 12
    35 Green_Wool terrain.png 1,9 13
    35 Red_Wool terrain.png 1,8 14
    35 Black_Wool terrain.png 1,7 15
    37 Flower terrain.png 13,0
    38 Rose terrain.png 12,0
    39 Brown_Mushroom terrain.png 13,1
    40 Red_Mushroom terrain.png 12,1
    41 Block_of_Gold terrain.png 7,1
    42 Block_of_Iron terrain.png 6,1
    43 Double_Stone_Slab terrain.png 5,0 0
    43 Double_Sandstone_Slab terrain.png 0,12 1
    43 Double_Wooden_Slab terrain.png 4,0 2
    43 Double_Stone_Slab terrain.png 0,1 3
    44 Stone_Slab special.png 0,0 0
    44 Sandstone_Slab special.png 1,2 1
    44 Wooden_Slab special.png 2,2 2
    44 Stone_Slab special.png 3,2 3
    45 Brick terrain.png 7,0
    46 TNT terrain.png 8,0
    47 Bookshelf terrain.png 3,2
    48 Moss_Stone terrain.png 4,2
    49 Obsidian terrain.png 5,2
    50 Torch terrain.png 0,5
    51 Fire special.png 1,0
    52 Monster_Spawner terrain.png 1,4
    53 Wooden_Stairs special.png 3,0
    54 Chest terrain.png 11,1
    55 Redstone_Dust terrain.png 4,5
    56 Diamond_Ore terrain.png 2,3
    57 Block_of_Diamond terrain.png 8,1
    58 Workbench terrain.png 12,3
    59 Crops terrain.png 15,5
    60 Farmland terrain.png 7,5
    61 Furnace terrain.png 12,2
    62 Lit_Furnace terrain.png 13,3
    63 Sign_Block terrain.png 0,0
    64 Wooden_Door_Block terrain.png 1,6
    65 Ladder terrain.png 3,5
    66 Rail terrain.png 0,8
    67 Stone_Stairs special.png 4,0
    68 Wall_Sign terrain.png 4,0
    69 Lever terrain.png 0,6
    70 Stone_Pressure_Plate special.png 0,1
    71 Iron_Door_Block terrain.png 2,6
    72 Wooden_Pressure_Plate special.png 1,1
    73 Redstone_Ore terrain.png 3,3
    74 Glowing_Redstone_Ore terrain.png 3,3
    75 Redstone_Torch_(off) terrain.png 3,7
    76 Redstone_Torch terrain.png 3,6
    77 Button special.png 2,1
    78 Snow_Layer special.png 3,1
    79 Ice terrain.png 3,4
    80 Snow terrain.png 2,4
    81 Cactus terrain.png 6,4
    82 Clay terrain.png 8,4
    83 Sugar_Cane terrain.png 9,4
    84 Jukebox terrain.png 10,4
    85 Fence special.png 2,0
    86 Pumpkin terrain.png 7,7
    87 Netherrack terrain.png 7,6
    88 Soul_Sand terrain.png 8,6
    89 Glowstone terrain.png 9,6
    90 Portal special.png 4,1
    91 Jack-o'-lantern terrain.png 8,7
    92 Cake special.png 0,2
    93 Repeater_Block_(off) terrain.png 3,8
    94 Repeater_Block terrain.png 3,9
    95 Locked_Chest terrain.png 11,1
    96 Trapdoor terrain.png 4,5

    # Items
    # ID NAME FILE CORDS DAMAGE
    256 Iron_Shovel items.png 2,5 +250
    257 Iron_Pickaxe items.png 2,6 +250
    258 Iron_Axe items.png 2,7 +250
    259 Flint_and_Steel items.png 5,0 +64
    260 Apple items.png 10,0 x1
    261 Bow items.png 5,1
    262 Arrow items.png 5,2
    263 Coal items.png 7,0 0
    263 Charcoal items.png 7,0 1
    264 Diamond items.png 7,3
    265 Iron_Ingot items.png 7,1
    266 Gold_Ingot items.png 7,2
    267 Iron_Sword items.png 2,4 +250
    268 Wooden_Sword items.png 0,4 +59
    269 Wooden_Shovel items.png 0,5 +59
    270 Wooden_Pickaxe items.png 0,6 +59
    271 Wooden_Axe items.png 0,7 +59
    272 Stone_Sword items.png 1,4 +131
    273 Stone_Shovel items.png 1,5 +131
    274 Stone_Pickaxe items.png 1,6 +131
    275 Stone_Axe items.png 1,7 +131
    276 Diamond_Sword items.png 3,4 +1561
    277 Diamond_Shovel items.png 3,5 +1561
    278 Diamond_Pickaxe items.png 3,6 +1561
    279 Diamond_Axe items.png 3,7 +1561
    280 Stick items.png 5,3
    281 Bowl items.png 7,4 x1
    282 Mushroom_Stew items.png 8,4 x1
    283 Golden_sword items.png 4,4 +32
    284 Golden_shovel items.png 4,5 +32
    285 Golden_pickaxe items.png 4,6 +32
    286 Golden_axe items.png 4,7 +32
    287 String items.png 8,0
    288 Feather items.png 8,1
    289 Gunpowder items.png 8,2
    290 Wooden_Hoe items.png 0,8 +59
    291 Stone_Hoe items.png 1,8 +131
    292 Iron_Hoe items.png 2,8 +250
    293 Diamond_Hoe items.png 3,8 +1561
    294 Golden_hoe items.png 4,8 +32
    295 Seeds items.png 9,0
    296 Wheat items.png 9,1
    297 Bread items.png 9,2 x1
    298 Leather_Cap items.png 0,0 +34
    299 Leather_Tunic items.png 0,1 +48
    300 Leather_Pants items.png 0,2 +46
    301 Leather_Boots items.png 0,3 +40
    302 Chainmail_Helmet items.png 1,0 +68
    303 Chainmail_Chestplate items.png 1,1 +96
    304 Chainmail_Leggings items.png 1,2 +92
    305 Chainmail_Boots items.png 1,3 +80
    306 Iron_Helmet items.png 2,0 +136
    307 Iron_Chestplate items.png 2,1 +192
    308 Iron_Leggings items.png 2,2 +184
    309 Iron_Boots items.png 2,3 +160
    310 Diamond_Helmet items.png 3,0 +272
    311 Diamond_Chestplate items.png 3,1 +384
    312 Diamond_Leggings items.png 3,2 +368
    313 Diamond_Boots items.png 3,3 +320
    314 Golden_Helmet items.png 4,0 +68
    315 Golden_Chestplate items.png 4,1 +96
    316 Golden_Leggings items.png 4,2 +92
    317 Golden_Boots items.png 4,3 +80
    318 Flint items.png 6,0
    319 Raw_Porkchop items.png 7,5 x1
    320 Porkchop items.png 8,5 x1
    321 Painting items.png 10,1
    322 Golden_Apple items.png 11,0 x1
    323 Sign items.png 10,2 x1
    324 Wooden_Door items.png 11,2 x1
    325 Bucket items.png 10,4 x1
    326 Water_Bucket items.png 11,4 x1
    327 Lava_Bucket items.png 12,4 x1
    328 Minecart items.png 7,8 x1
    329 Saddle items.png 8,6 x1
    330 Iron_Door items.png 12,2 x1
    331 Redstone items.png 8,3
    332 Snowball items.png 14,0 x16
    333 Boat items.png 8,8 x1
    334 Leather items.png 7,6
    335 Milk items.png 13,4
    336 Brick items.png 6,1
    337 Clay items.png 9,3
    338 Sugar_Cane items.png 11,1
    339 Paper items.png 10,3
    340 Book items.png 11,3
    341 Slimeball items.png 14,1
    342 Minecart_with_Chest items.png 7,9 x1
    343 Minecart_with_Furnace items.png 7,10 x1
    344 Egg items.png 12,0
    345 Compass items.png 6,3
    346 Fishing_Rod items.png 5,4 +64
    347 Clock items.png 6,4
    348 Glowstone_Dust items.png 9,4
    349 Raw_Fish items.png 9,5 x1
    350 Cooked_Fish items.png 10,5 x1
    351 Ink_Sack items.png 14,4 0
    351 Rose_Red items.png 14,5 1
    351 Cactus_Green items.png 14,6 2
    351 Coco_Beans items.png 14,7 3
    351 Lapis_Lazuli items.png 14,8 4
    351 Purple_Dye items.png 14,9 5
    351 Cyan_Dye items.png 14,10 6
    351 Light_Gray_Dye items.png 14,11 7
    351 Gray_Dye items.png 15,4 8
    351 Pink_Dye items.png 15,5 9
    351 Lime_Dye items.png 15,6 10
    351 Dandelion_Yellow items.png 15,7 11
    351 Light_Blue_Dye items.png 15,8 12
    351 Magenta_Dye items.png 15,9 13
    351 Orange_Dye items.png 15,10 14
    351 Bone_Meal items.png 15,11 15
    352 Bone items.png 12,1
    353 Sugar items.png 13,0
    354 Cake items.png 13,1 x1
    355 Bed items.png 13,2 x1
    356 Redstone_Repeater items.png 6,5
    357 Cookie items.png 12,5 x8
    358 Map items.png 12,3 x1
    359 Shears items.png 13,5 +238
    2256 Gold_Music_Disk items.png 0,15 x1
    2257 Green_Music_Disk items.png 1,15 x1

    # Groups
    # NAME ICON ITEMS
    ~ Blocks 2 1,2,3,12,24,44~1,13,82,4,48,67,44~3,17,5,53,44~2,47,20,44~0,49,79,80,78,7,45,19,87,88,30
    ~ Plants 6 31,18,81,86,91,6,37,38,39,40,32
    ~ Tools 257 269,270,271,290,273,274,275,291,256,257,258,292,277,278,279,293,284,285,286,294,259,346,359
    ~ Weapons 267 268,272,267,276,283,261,262,332
    ~ Armor 303 298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317
    ~ Food 297 260,322,281,282,295,296,297,319,320,344,349,350,353,354,357
    ~ Ores 56 16,15,14,56,73,21,263,265,266,264,42,41,57,22,89,348
    ~ Special 54 8,10,90,58,54,61,23,25,46,52,84,2256,2257,51,50,85,321,323,324,330,96,355,325,326,327,335,345,347,358
    ~ Items 341 280,287,288,289,334,341,318,337,336,338,339,340,352
    ~ Movement 328 65,66,27,28,328,342,343,333,329
    ~ Logic 76 331,76,356,69,70,72,77,33,29
    ~ Wool 35 35,351

    Here the items ids you can you these information for transparentIds
     
  18. Offline

    embty

    When removing the ironore and diamondore from xray list u can see all chests and everything. using mod4 bukkit 1000
    Edit: you have to relog to not see the chest after its covered. otherwise it can be seen after its covered if u dont relog.
     
  19. Offline

    TyrOvC

    @GmK
    Odd! Sounds like your server should be able to handle it just fine. Do you mind sending me some system specs (OS at least?) and maybe a list of plugins if any affect world data?

    @embty
    It hides things as chunks are sent to players, so it wouldn't hide the chest from anyone already in that chunk (i.e. you when you hide the chest). Could maybe change that to make chests hide right after you cover them actually.

    @xeNium
    Thanks! That's pretty easy to find online though :p
     
  20. Offline

    embty

    Its great as it to be honest but adding that would be aweseome too.

    Thanks alot for this ill be donating soon :)
    Edit:blocks next to stoneslabs show as ores sometimes.
     
  21. Offline

    Sleaker

    I'm pretty sure the obfuscator has issues during weather. we had a large area that was getting populated with snow because of weather which was causing massive CPU/Memory hikage on a thread, (Server was showing 200% CPU) it seems the ore obfuscator will make the server crawl if there are large area where snow is populating because it has to resend the chunks very rapidly, but this invokes the logic on all the chunks and makes the server spiral up memory usage drastically (+100m every 15-30 seconds) along with the massive CPU usage. fixed by completely disabling weather, but it does present a very interesting issue.

    Is there any way to cache chunk data to prevent this?
     
    TyrOvC likes this.
  22. Offline

    Donald Scott

    You forget to mention the best aspect of mode 4... It causes the minecraft client to be so inefficient with RAM, the client will eventually consume over 10 gb of RAM causing intense clientside lag. The game is actually unplayable with x-ray on. :D
     
  23. Offline

    Nick Hooper

    This is amazing, much better that anti-xray and way more reliable. No performance decrease from the server because its not a plugin, using engine 4 it tricks the client to think that stone is diamond.

    Does it really consume that much? i haven't hit that yet :eek:

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

    Kainzo

    Engine 4 will see a performance hit above 50+ players. Try it.

    Anywho, I havent been able to test the new patch to see better performance on 4... I will sometime soon unless someone beats me to it.
     
  25. Offline

    TheBeast808

    My server's ticks per second gets cut in half when I run this :\. Also, mode 3 doesn't work for me. When I use mode 4, all you can see is iron when you x-ray. When I use mode 3, there is absolutely no different. There aren't any errors in the console, and I have no clue why it doesn't work.
     
  26. Offline

    xeNium

    Hello, everyone i already download this plugins and it works 100%, And i will turn on my server but the security still not enough like permissions and groupmanager (http://forums.bukkit.org/threads/configuring-a-plugins.25724/) If you dosen't want help me because I have ton of plugins just forget it just give your recomeneded plugins for survival server and configured it at permissions, but please configured the group manager
     
  27. Offline

    GmK

    I already see a hit with 30+ om Mode 4 - but we dont run the same rig as you guys.

    Mode 3 is struggling a little too, I somewhat feel like things like BukkitContrib (which is a dependency of a few plugins now) that control TPS interfer a little? Is that possible?
     
  28. Offline

    Donald Scott

    @TyrOvC

    You missed a couple of transparent blocks... These include stairs and 1 or two others.

    Here is an updated list:
    8,9,10,11,20,27,28,37,38,39,40,44,50,53,55,63,64,65,66,67,68,69,71,75,76,77,78,79,85,96,
     
    TyrOvC likes this.
  29. Offline

    Kainzo

    With 80 online we're getting between 8-13 TPS - with bukkitcontrib enabled, I have not see a positive correlation between tick degradation and Contrib.
     
  30. Offline

    Bronski

    That sounds neat. I'd be ok with a global on/off switch to help testing or whatever though :D
     
  31. Offline

    Ratchet

    could we have a mode 4 without chest obfuscation?
     

Share This Page