[ADMN/SEC/WEB] HawkEye [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by oliverw92, Aug 15, 2011.

  1. Offline


    sethgandy, phimt, matan7890 and 7 others like this.
  2. Offline


    This plugin blows.

    "Searching for matching results..."

    And then nothing. Really well done, guys.
  3. Offline


    This plugin is by far the best of its kind. It just needs to be fixed. Learn to troubleshoot and read your logs before you bash the plugin. Be thankful for this.
  4. Offline


    Thanks, I'll try doing this in future.
  5. Offline


    I dont think any fixes are coming soon as the dev is working on Guardian
  6. Offline


    Nice error report there. How about you give me something to go off, you ungrateful douche.

    HawkEye v1.0.5a
    • Fixed cleanse age issues
    • Fixed rollback bug
    • Temp fix for memory issues
    • Updated internal config mechanisms

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 14, 2016
    Justin The Cynical likes this.
  7. Offline


    Since updating from 1.0.5 to 1.0.5a, Hawkeye goes through the start up process and the after checking for updates, disables itself. I have let it create a new config and filled the MySQL info in correctly, but still keeps disabling.
  8. Offline


    Show me the startup - it doesn't disable for no reason
  9. Offline


    @oliverw92, is this one fixed in 1.0.5a?
    2011-11-18 16:54:03 [SEVERE] Could not pass event ENDERMAN_PLACE to HawkEye
    java.lang.IllegalArgumentException: Provided data is not of type org.bukkit.material.MaterialData, found org.bukkit.material.Tree
        at org.bukkit.craftbukkit.block.CraftBlockState.setData(CraftBlockState.java:99)
        at uk.co.oliwali.HawkEye.listeners.MonitorEntityListener.onEndermanPlace(MonitorEntityListener.java:129)
        at org.bukkit.plugin.java.JavaPluginLoader$79.execute(JavaPluginLoader.java:812)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.EntityEnderman.s(EntityEnderman.java:126)
        at net.minecraft.server.EntityLiving.s_(EntityLiving.java:280)
        at net.minecraft.server.EntityMonster.s_(EntityMonster.java:31)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1193)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:104)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1175)
        at net.minecraft.server.World.tickEntities(World.java:1090)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:467)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
  10. Offline


    OK... this is bugging me too no end, I'm not all too well versed in MySQL and the sql script for converting LB too HawkEye entries is failing. I'm not all too sure how too use it.. I'm starting the script via SQLWorkbench \. <path to logblock.sql> using this as the script http://dev.bukkit.org/paste/4261/ I tried it with @world = 'world'; and @world = world;. And yes, the first world i'm trying too import is simply called world. Also, my database structure is very.. VERY odd.. I have sperate databases with seperate table for each world on my server. How difficult would this script be too modify too import each? Thanks for all your help! And for this amazing plugin!
  11. Offline


    What errors is it giving you?
  12. Offline


    it's not really giving me an error. it's giving me "-> _" at the mysql prompt.. I'm trying too run the command minecraftnew "path_to_script" (I'm not typing the whole path in here.. it's too long)

    ok, I've figured out the syntax, now it's throwing ERROR 1267 (HY000) at line 16: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (cp850_general_ci,IMPLICIT) for operation '='

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


    Oops, forgot to fix that one. Thanks for reminding me

    What language is said on your server (are any cyrillic languages said like Russian etc)?

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


    Hrm, is cleanse supposed to default to 'everything'? I went from 105>105a it cleared my table (300k records), set to do it again every 20 minutes. I'm pretty sure I didn't set it to do that. I restored it but just wondering :D
  15. Offline


    No it won't have cleared it. The cleanse age is what is key here - if that is 0, the cleanse utility is off. The cleanse period is just how often the cleanse age is executed.
  16. Offline


    Very odd. I probably screwed something up myself then :p

  17. Offline


    Hi there, installed this promising plugin but somehow it just disables after starting:
    HawkEye: Starting HawkEye 1.0.5a initiation process...
    HawkEye: Using Permissions for user permissions
    HawkEye: Performing update check...
    HawkEye: No updates available for HawkEye
    HawkEye: Version 1.0.5a disabled!

    I am using MC 1.0 and an unstable version of CraftBukkit
  18. Offline


    Thank you for the cleanse age fix! Databade went from 10gigs to 2 :). Much appreciated!
  19. Offline


    There must be something else in the console you aren't showing me
  20. Offline


    Hey. Do you know why it tries to connect to localhost? Even when I edit the config file.
  21. Code:
    18:48:49 [SEVERE] Exception in thread "Timer-4"
    18:48:49 [SEVERE] java.lang.NullPointerException
    18:48:49 [SEVERE]       at uk.co.oliwali.HawkEye.database.DataManager.run(DataManager.java:345)
    18:48:49 [SEVERE]       at java.util.TimerThread.mainLoop(Timer.java:555)
    18:48:49 [SEVERE]       at java.util.TimerThread.run(Timer.java:505)
    This keeps happening and hawkeye just stops logging everything.

    Using latest dev build of Craftbukkit.
  22. Offline


    @oliverw92 When I do /hawk tool, it enables the tool but doesn't give me a log, fix?

    What is this?

    27.11 09:54:44 [Server] INFO 	... 12 more
    27.11 09:54:44 [Server] INFO 	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    27.11 09:54:44 [Server] INFO 	at uk.co.oliwali.HawkEye.HawkEye.onCommand(HawkEye.java:277)
    27.11 09:54:44 [Server] INFO 	at uk.co.oliwali.HawkEye.commands.BaseCommand.run(BaseCommand.java:75)
    27.11 09:54:44 [Server] INFO 	at uk.co.oliwali.HawkEye.commands.SearchCommand.execute(SearchCommand.java:32)
    27.11 09:54:44 [Server] INFO 	at uk.co.oliwali.HawkEye.SearchParser.<init>(SearchParser.java:53)
    27.11 09:54:44 [Server] INFO 	at java.lang.String.substring(String.java:1934)
    27.11 09:54:44 [Server] INFO Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 2
    27.11 09:54:44 [Server] INFO 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    27.11 09:54:44 [Server] INFO 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    27.11 09:54:44 [Server] INFO 	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    27.11 09:54:44 [Server] INFO 	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    27.11 09:54:44 [Server] INFO 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    27.11 09:54:44 [Server] INFO 	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    27.11 09:54:44 [Server] INFO 	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    27.11 09:54:44 [Server] INFO 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    27.11 09:54:44 [Server] INFO 	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    27.11 09:54:44 [Server] INFO 	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    27.11 09:54:44 [Server] INFO 	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:364)
    27.11 09:54:44 [Server] INFO 	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    27.11 09:54:44 [Server] INFO 	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    27.11 09:54:44 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'hk' in plugin HawkEye v1.0.5a
    27.11 09:54:44 [Server] SEVERE null
    I also really appreciate the work you put into this plugin, even though I get the occasional console error it works perfectly as intended. Thank you for your time just to make our servers secure. :)

    I get some console spam:

    2011-11-27 23:55:35 [SEVERE] Could not pass event PLAYER_QUIT to HawkEye
    	at uk.co.oliwali.HawkEye.listeners.MonitorPlayerListener.onPlayerQuit(MonitorPlayerListener.java:67)
    	at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:267)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    	at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:159)
    	at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:127)
    	at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:210)
    	at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:88)
    	at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80)
    	at net.minecraft.server.Packet1Login.a(SourceFile:59)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
    	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    How do I fix this? :/

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



    please fix!! hawkeye 1.0.5a craftbukkit 1529
    18:28:06 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'hawk
    ' in plugin HawkEye v1.0.5a
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.NullPointerException
            at org.bukkit.craftbukkit.inventory.CraftItemStack.getEnchantments(Craft
            at org.bukkit.inventory.ItemStack.clone(ItemStack.java:209)
            at uk.co.oliwali.HawkEye.ToolManager.enableTool(ToolManager.java:46)
            at uk.co.oliwali.HawkEye.commands.ToolCommand.execute(ToolCommand.java:2
            at uk.co.oliwali.HawkEye.commands.BaseCommand.run(BaseCommand.java:75)
            at uk.co.oliwali.HawkEye.HawkEye.onCommand(HawkEye.java:277)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 12 more
  24. Offline


    Guys, all your errors are because you aren't using a Recommended Build. When Bukkit push out a new recommended build, I'll update HawkEye. Until then you shouldn't even be using unofficial builds on live servers.
  25. How else are we supposed to use 1.0.0? Without 1.0.0 many of our servers would be dead.
  26. Offline


    Sadly, you'll probably have to run it without HawkEye, or try to find a similar mod that does work with the latest development builds. I'm running HawkEye myself and it mostly works, though it always tells me that I don't have permissions to perform a search. But for those who are seeing crashes or error spam, you may need to stop using it, use something else, or wait until the Bukkit team issues an RB. :(
  27. I understand that, there is no real reason to switch to a different plugin (ie logblock) because soon Guardian will be ready. I guess I'll just need to wait for a RB.
  28. Personally, if your players are willing to 'jump ship' just because you aren't running the latest (they don't value stability over the shiny), then you don't need them and you should potentially reevaluate how your server is set up/who is allowed in.

    Or perhaps I'm just lucky to have players that do care about the server not crashing and corrupting the world and their builds.:cool:
    Tanite likes this.
  29. It's not about that, we've been waiting for a 1.0 release for a long time to start a new world, and our current world became stale. That's besides the point, I guess we just need to wait for a RB.
  30. Offline


    You really do need to wait for an RB - the dev builds are not safe! There is currently a bug in craftbukkit that corrupts level.dat files of secondary worlds - do you really want all your worlds getting broken?
  31. Offline


    both my live production servers are using development versions of craftbukkit i have been using it since the early stages of 1.0.0 there has been little downtime and/or issues considering Alot of plugin developers have been updating there plugins to these development version understanding the need for testing.

    Open Inventory

    These are only the ones i can remember from the top of my head no doubt there are alot more plugins providing development releases.
    Im not saying that any other plugin developer should feel they need to do the same. Most people respect the fact that no one can expect stability from craftbukkit and/or these development state plugins.
    But for the most part the plugins are acting in a stable way for me at least and i see no corruption of secondary worlds.

    My advice for server Admins burning to update to 1.0.0 is to make a full backup first incase the worst does happen but not to be afraid to take a chance :) after all how does craftbukkit and these development plugins get alot of there feedback? stats :p and people posting i think.
    HmmmQuestionMark likes this.

Share This Page