Spigot HideOres 0.1.4

anti x-ray

  1. wysohn submitted a new resource:

    HideOres - anti x-ray

    Read more about this resource...
     
  2. I made it works in the last spigot build, but it makes a lot of illumination-bugs
     
  3. wysohn updated HideOres with a new update entry:

    some lag issues fixed, and block reveling

    Read the rest of this update entry...
     
  4. Thought it mentions its compat with Spigot?

    Code (Text):
    [21:03:15] [Server thread/INFO]: [HideOres] preparing support for verison : v1_8_R3
    [21:03:15] [Server thread/WARN]: [HideOres] v1_8_R3 is not compatible with this plugin.
    [21:03:15] [Server thread/WARN]: [HideOres] disabling...
    [21:03:15] [Server thread/INFO]: [HideOres] Disabling HideOres v0.1.4
    [21:03:15] [Server thread/ERROR]: Error occurred while enabling HideOres v0.1.4 (Is it up to date?)
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.validate(CraftScheduler.java:398) ~[spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:123) ~[spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.scheduleSyncRepeatingTask(CraftScheduler.java:119) ~[spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at com.hideores.main.CacheManager.<init>(CacheManager.java:33) ~[?:?]
            at com.hideores.main.HideOres.onEnable(HideOres.java:103) ~[?:?]
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:358) [spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408) [spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372) [spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327) [spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267) [spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [spigot.jar:git-PaperSpigot-56c14f8-07c3001]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
     
  5. could we get 1.9 support please. I think the main issue will be that Spigot removed its anti xray and maybe packets... Might need like a new protocolLib first ay.?

    Code (Text):

    [12:14:12] [Server thread/INFO]: [HideOres] Enabling HideOres v0.1.4
    [12:14:12] [Server thread/INFO]: [HideOres] Spigot Detected!
    [12:14:12] [Server thread/INFO]: [HideOres] disabling spigot's built-in anti-xray for better support.
    [12:14:12] [Server thread/WARN]: java.lang.NoSuchFieldException: antiXray
    [12:14:12] [Server thread/WARN]:     at java.lang.Class.getDeclaredField(Unknown Source)
    [12:14:12] [Server thread/WARN]:     at com.hideores.utils.ReflectionHelper.setPrivateField(ReflectionHelper.java:41)
    [12:14:12] [Server thread/WARN]:     at com.hideores.utils.ReflectionHelper.setPrivateField(ReflectionHelper.java:51)
    [12:14:12] [Server thread/WARN]:     at com.hideores.main.HideOres.disableSpigotXray(HideOres.java:125)
    [12:14:12] [Server thread/WARN]:     at com.hideores.main.HideOres.onEnable(HideOres.java:79)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:411)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:376)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:269)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:522)
    [12:14:12] [Server thread/WARN]:     at java.lang.Thread.run(Unknown Source)
    [12:14:12] [Server thread/WARN]: java.lang.NoSuchFieldException: antiXray
    [12:14:12] [Server thread/WARN]:     at java.lang.Class.getDeclaredField(Unknown Source)
    [12:14:12] [Server thread/WARN]:     at com.hideores.utils.ReflectionHelper.setPrivateField(ReflectionHelper.java:41)
    [12:14:12] [Server thread/WARN]:     at com.hideores.utils.ReflectionHelper.setPrivateField(ReflectionHelper.java:51)
    [12:14:12] [Server thread/WARN]:     at com.hideores.main.HideOres.disableSpigotXray(HideOres.java:125)
    [12:14:12] [Server thread/WARN]:     at com.hideores.main.HideOres.onEnable(HideOres.java:79)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:411)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:376)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:269)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:522)
    [12:14:12] [Server thread/WARN]:     at java.lang.Thread.run(Unknown Source)
    [12:14:12] [Server thread/WARN]: java.lang.NoSuchFieldException: antiXray
    [12:14:12] [Server thread/WARN]:     at java.lang.Class.getDeclaredField(Unknown Source)
    [12:14:12] [Server thread/WARN]:     at com.hideores.utils.ReflectionHelper.setPrivateField(ReflectionHelper.java:41)
    [12:14:12] [Server thread/WARN]:     at com.hideores.utils.ReflectionHelper.setPrivateField(ReflectionHelper.java:51)
    [12:14:12] [Server thread/WARN]:     at com.hideores.main.HideOres.disableSpigotXray(HideOres.java:125)
    [12:14:12] [Server thread/WARN]:     at com.hideores.main.HideOres.onEnable(HideOres.java:79)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361)
    [12:14:12] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:411)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:376)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:269)
    [12:14:12] [Server thread/WARN]:     at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:522)
    [12:14:12] [Server thread/WARN]:     at java.lang.Thread.run(Unknown Source)
    [12:14:12] [Server thread/INFO]: [HideOres] preparing support for verison : v1_9_R1
    [12:14:12] [Server thread/WARN]: [HideOres] v1_9_R1 is not compatible with this plugin.
    [12:14:12] [Server thread/WARN]: [HideOres] disabling...
    [12:14:12] [Server thread/INFO]: [HideOres] Disabling HideOres v0.1.4
    [12:14:12] [Server thread/ERROR]: Error occurred while enabling HideOres v0.1.4 (Is it up to date?)
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled
        at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftScheduler.validate(CraftScheduler.java:400) ~[spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:123) ~[spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftScheduler.scheduleSyncRepeatingTask(CraftScheduler.java:119) ~[spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at com.hideores.main.CacheManager.<init>(CacheManager.java:33) ~[?:?]
        at com.hideores.main.HideOres.onEnable(HideOres.java:103) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) ~[spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361) [spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321) [spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:411) [spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:376) [spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331) [spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:269) [spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:522) [spigot.jar:git-Spigot-ee4e41a-ea28c1e]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
     

  6. woot didn't know that 1.9 is released

    I will look into it soon
     
  7. cool No issue :D
     
  8. just letting you know that it will take some time

    I haven't got 1.9 source codes because the buildtool doesn't work well for me

    and I see a lot of chunk things are changed in 1.9
     
  9. If your on windows Id Highly recommend
    BuildToolsGUI by DemonWav

    I use it myself it takes care of every thing needed to compile Spigot Craftbukkit and all that as well as giving you all the source stuff.

    You can find it here towards the bottom of the page.

    https://www.spigotmc.org/wiki/buildtools/

    Under tools: if your not on windows there are some other options there but i cant say iv tried them.
     
  10. yeah thanks a lot

    I tried that but that didn't solve the problem :(

    I'm too busy with finals anyway

    so I probably have to wait until next next week
     
  11. Im so confused how that didnt work, Did it give you an error of some kind?

    Yeah I get the whole busy thing TBH this is the only plugin out of 30 that I use thats not 1.9 ready ( well mcmmo is half working nearly.. ) to be fair tho this did have the most work in terms of breakage. you no doubt need a decent protocol Lib version as well.
     
  12. @wysohn, can you fix the shadow bug?
     
  13. Hey can you Uptade your Plugin to the 1.12.2 and higher ???
     
  14. the newer Minecraft protocol uses something like 'canvas,' so it's hard to intercept the packet efficiently.

    The main purpose of this plugin was to modify the packet before the actual packet is created, but by using ProtocolLib, I only can modify the packet that is already made by the server.

    This is waste of CPU resource as I have to read packet, parse it, modify it, and re-write the packet before it's sent to the player.

    Probably there is a way to hack this using nms, but I'm not deeply interested in it atm.

    In fact, the mode 1 of Orebfuscator does similar thing; you can stick with that mode
     
  15. the Orebfuscator it's fu... shit but the plugin use too much resources and so i need a Plugin looks like yours that is better i want a fix of your stuff or can you send me your Plugin Source ??? for selfe explain that?
     
  16. The code is here https://github.com/wysohn/HideOres/tree/master/HideOres

    But the mechanism is totally different, so you will need to find your way to hack those stuff
     
    • Like Like x 1