[ADMN/SEC/WEB] HawkEye [BukkitDev]

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

  1. Offline

    oliverw92

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

    fafd

  3. Offline

    L24D

    @oliverw92
    Hey hey, i seem to have a problem... I've got my MySQL server set up, but it's telling me this:
    Code:
    2011-09-27 15:15:49 [SEVERE] [HawkEye] Error whilst attempting to get connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    2011-09-27 15:15:49 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
    First time setting up a SQL database, so please bear with me :p
    I just manually created the database, and I'm going to try it again...
    (Using SQL server 2008 R2)

    [EDIT]: I created the database, but it's still giving me the same error. Any idea what it might be?
     
  4. Offline

    but2002

    SQL server 2008 isn't MySQL
     
  5. Offline

    L24D

    ._.
    I figured that something had to be up, i looked around a bit, and installed the mysql server instead. :p
    Now i can't get it to create a database.
    Thus triggering this:

    Code:
    2011-09-27 17:24:48 [SEVERE] [HawkEye] Error whilst attempting to get connection: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'minecraft'
    2011-09-27 17:24:48 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
    2011-09-27 17:24:48 [INFO] [HawkEye] Version 1.0.5 disabled!
     
  6. Offline

    but2002

    In MySQL. Did you create the database? It won't automatically create the database, just the tables
     
  7. Offline

    L24D

    @but2002
    i have no idea how to... All i have is a command line to work from ._.

    [edit]: the most i've ever had to use was sqllite databases...
    MySQL is new to me. :p
     
  8. Offline

    but2002

    Use HeidiSQL and log in as root
     
  9. Offline

    L24D

    oh, okay. thanks bunches! :D
    I'll give that a shot right now.
     
  10. Offline

    NotoriousPyro

    This stopped working when I updated to it from the 1.0.5 dev version, some griefing happened and I had no idea what had gone on or any way to revert it apart from backups...
     
  11. Offline

    oliverw92

    'Stopped working' - doesn't really tell me much.
     
  12. Offline

    NotoriousPyro

    Basically, it stopped logging changes and refused any command except /hawk

    Code:
    2011-09-27 21:38:50 [SEVERE] Error occurred while enabling HawkEye v1.0.5 (Is it up to date?): org.bukkit.Server.getConsoleSender()Lorg/bukkit/command/ConsoleCommandSender;
    java.lang.NoSuchMethodError: org.bukkit.Server.getConsoleSender()Lorg/bukkit/command/ConsoleCommandSender;
        at uk.co.oliwali.HawkEye.SessionManager.<init>(SessionManager.java:20)
        at uk.co.oliwali.HawkEye.HawkEye.onEnable(HawkEye.java:90)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:913)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Code:
    2011-09-28 04:00:00 [SEVERE] Error occurred while disabling HawkEye v1.0.5 (Is it up to date?): null
    java.lang.NullPointerException
        at uk.co.oliwali.HawkEye.database.DataManager.close(DataManager.java:69)
        at uk.co.oliwali.HawkEye.HawkEye.onDisable(HawkEye.java:67)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:934)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:294)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:287)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:168)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:325)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  13. Offline

    oliverw92

    You are using the wrong build of HawkEye for your CraftBukkit version. When you downloaded it from BukkitDev there were two jar files in there, each tagged with the recommended CraftBukkit build.
     
  14. Offline

    NotoriousPyro

    Yeah sorry, I was 2 builds out (was running 1183). I am now running 1221 and it's loaded fine.
     
  15. Offline

    oliverw92

    You can use the recommended build if you want, just use the HawkEye build for that version
     
  16. Offline

    Zot

    The link to 'Configuration' link under installation leads to a page that reports "We're sorry, you've attempted to access a page that you're not allowed to access.". There appears to be no information anywhere as to how to set up the database/tables. :(
     
  17. Offline

    oliverw92

    I fixed that link, although you could have accessed the page by just clicking 'Pages'
     
  18. Offline

    Zot

    Thanks dude. Oh I see -- does the mod auto configure MySQL? That's pretty cool. Cheers :)
     
  19. Offline

    oliverw92

    It makes the tables, not the database.
     
  20. Offline

    Tonkovich

    >13:48:52 [SEVERE] Exception in thread "Timer-3"
    >13:48:52 [SEVERE] java.lang.NullPointerException>13:48:52 [SEVERE] at uk.co.oliwali.HawkEye.database.DataManager.run(DataManager.java:344)
    >13:48:52 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)
    >13:48:52 [SEVERE] at java.util.TimerThread.run(Unknown Source)

    This is what happens whenever I go into my second world called "sera". HawkEye works on logging old blocks but then if you place a block and scan it..nothing happens. Any ideas I'm running 1.0.5 build for HawkEye
     
  21. Offline

    oliverw92

    Can you screenshot the contents of your hawk_worlds table
     
  22. Offline

    remypas

    Do you need to set it especially in order for the plugin to log all worlds on a server.
    Right now it is logging only one world, and not even the main one. The other two worlds are not logged.
     
  23. Offline

    Massimo1993

    @oliverw92

    Fatal error: Call to undefined function session_start() in /usr/local/www/apache22/data/hawkeye/index.php on line 7

    why this?
     
  24. Offline

    wheresmyhotdog

    I am trying to rollback chest transactions and when I use /hawk rollback a:container-transaction and give it a time and radius it says I do not have permission to search for container-transaction. I am using 1185 and the latest version of hawkeye (was not working before update either). I have tried hawkeye.*: true and hawkeye.search.*: true and hawkeye.search.container-transaction: true
     
  25. Offline

    Hellgast23

    Can't you make it non-mysql? or let ppl chose? ... I would realy appriciete it, and I think a lot of other ppl would too...
    I realy need a rollbackplugin ...
     
  26. Offline

    but2002

    @Hellgast23 Look at "Guardian" in the homepage.

    LogBlock, BigBrother, and HawkEye are joining forces to create one master plugin that will be modular in it's database transactions. There will be a non MySQL version of that I'm SURE
     
  27. Offline

    Hellgast23

    @but2002 Hey man, thanks for the info! That plugin will be awesome! I will w8 patiently :D
     
  28. Not sure yet, but I think 1.0.5 is causing some pretty nasty GC issues...removing it now, I guess I'll know tomorrow.
     
  29. Offline

    but2002

    @Joy GC issues?
     
  30. Offline

    oliverw92

    What PHP version are you on? It sounds like you have a very odd PHP installation if you don't have sessions...

    Interesting, I'll look into it

    I don't see how - I have changed barely anything core-wise between 1.0.4b and 1.0.5
     
  31. Offline

    Tonkovich

    Here I downloaded the sql file and put it on mediafire if thats ok.

    File: <Edit by Moderator: Redacted mediafire url>

    If you can take a look at that that would be great.<Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 12, 2016

Share This Page