[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

    Sayshal

    FEATURE REQUEST:
    Remove parameters for /hk here

    Show everything from everyone. I dont like have to guess a name, if I see a greif, I used to do /bb here and ban them. Please and thankyou? :D
     
  3. Offline

    pherce

    You can already do that '/he here 20'

    Anyone having problems rolling back chests when they're blown up from creepers or tnt? I can rollback player edits on chests, but not environment. Hopefully this isn't intended.
     
  4. Offline

    ravseric

    I am having the SAME issue. if i log in use /hawk tool it works GREAT until i disconnect... upon re logging in the tool does NOT work and its STILL enabled. disabling and re logging does NOT fix the issue. only way is to "reload" the server and log out and back in THEN it will work again.

    there does not appear to be any issue whatsoever with the actual storing of the block information. no console errors either its just like i didn't do anything when i try to read the space's info.
     
  5. Offline

    Haloflooder

    Hi, your plugin is awesome! But I have some problems with the web feature.
    I installed Apache 2.2 and PHP5.2.17 and when I go to the web, it says
    "Fatal error: Call to undefined function mysql_connect() inC:\HawkEye\configphp on line 44"
    Do you think you know what the problem is?
     
  6. Offline

    GmK

    @oliverw92

    I guess others have made you aware of the "Tool stops working" issue - for us it doesnt only happen with the tool, and it can easily happen in the same session (so without disconnecting inbetween).

    People use /hawk search, and a minute later /hawk search doesnt give any results anymore, while someone else can still use it fine.

    People use /hawk here, and a minute later it doesnt work anymore.

    One thing I noticed, but which might only have been a coincidence: I was using /hawk fine, and then one time used a wrong syntax when using /hawk search, so that it gave me the 'Invalid Syntax' message. Immediatly after that *all* my /hawk commands stopped working / giving results. Maybe thats something you can check out, if it's related?
     
  7. Offline

    Lykkepillen

    No errors at all, and im using Permissions 2.7.2. I've tried with both '*' and hawkeye.* permissions
     
  8. Offline

    GyD

    For ex:
    I write /hawk tool -> no message
    I left clic a bloc with a wood log -> no message
    I write /hawk help -> the help is showed
    I write /hawk search p:GyD r:20 -> no message
    I write /hawk preview p:GyD r:20 -> no message
    I write again /hawk preview … -> "You already have a rollback command processing!"

    No error in log.
     
  9. Offline

    Raqn

    @oliverw92
    By refined I mean so its slightly better performance wise. I've noticed on my server its just that bit more heavy than bigbrother was, and a fair bit more than logblock
     
  10. Offline

    Bronski

    Yeah, I don't think it's missing a lot either, but I would work on this issue sooner rather than later. What people want (and need) most of all is a plugin that can restore an area perfectly and getting as close to that as possible should be a priority.

    I'd also like to be able to save/delete presets in the web interface that you can subsequently select via a dropdown box, so if I'm monitoring someone or some thing I can just configure it once. I'd maybe make one for "Obvious Griefers" which pre-selects tnt, lava, and water, or one for "Naughty Chat" where I might scan for hate speech, one for how many apples are dropping from trees (by seeing how many get picked up) in case I need to tweak the drop percentage. You should populate the dropdown with some common presets by default to get people started. This will actually teach some people how to use the fields more effectively, like you're right there showing them! If you really want to blow my mind, make a way for people to share presets, so if someone comes here and asks for help figuring out who is doing something, someone else with technical skills can PM them a preset to try.

    I'd still like to lobby for a pop-out panel that shows me the in-game commands, as a handy reference so I can just have the HE log open all the time and not have to flounder around finding the usage page on the wiki. Pretty much this whole thing you could put in there: https://github.com/oliverw92/HawkEye/wiki/Usage .

    Make it as easy as possible for people to use HawkEye (and to understand how to use it). Put the info in our faces :p

    Logging everything is only the first step. The next level is empowering non-technical mods/operators to get what they need easily. Do that and you will destroy the competition. MAHAHAHAAHAHAH! Erm...

    Has anyone seen my medication?
     
  11. You don't have mysql support for PHP installed or enabled would be my guess.
     
  12. Offline

    oliverw92

    I'm going to need more than 'doesnt work'. Either a screenshot, error message or a proper description please. I am aware of the /hawk tool issues.

    You can do /he here <radius>. I'll add a default radius.

    Not intended, just forgotten. Should be relatively easy to fix though, I'll slate it for v1.0.3

    Interesting, thanks.

    I'll check it out.



    Ok, thanks.

    Hm I am unsure how I can refine it more performance-wise. Is it memory or CPU usage that are too heavy at the moment? What happens if you disable some of the largest events in the config file?

    Ok I'll put the block popping off thing at a higher level than I had it.

    I like the presets idea. I can also think of a way to allow you to share preset strings with each other.

    I might create a small page with reference commands on, or I might make a reference 'image' that people can use.

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

    Raqn

    @oliverw92
    Its memory for me, it uses a fair bit more than bigbrother and logblock did.
    What would you define as the bigger ones for memory usage, I will disable them and see how they go.
     
  14. Offline

    oliverw92

    @Raqn In terms of the semi-unnecessary ones:
    • leaf decay
    • block form
    • block fade
    • lava flow
    • water flow
     
  15. Offline

    Raqn

    @oliverw92
    When there are more people on my server, I will disable them and look for any performance differences in terms of RAM.
     
  16. Offline

    oliverw92

    Ok thankyou

    With help from N3X15, I have worked out how to do chest logging without Spout.

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

    GmK

    @oliverw92

    So, we did some tests, and semi-confirmed that all hawk commands stop working for a person that once has gotten an 'invalid syntax' error. If you dont get it, your commands continue to work. Once you used a wrong syntax, all commands stop working for that person.

    Also this tends to pop up:

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'hawk' in plugin HawkEye v1.0.2
    Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 2
    
    Hope that helps?
     
  18. Offline

    Jobsti

    Heyho, was EXACT is block form and block fade ?
     
  19. Offline

    oliverw92

    @GmK thanks, i'll check out the incorrect syntax thing.Is that all there is for that exception? That doesn't give me much to go by unfortunately.

    @Jobsti Block form and fade encompasses ANY block that forms/fades naturally. Covers everything from snow and ice form/melting to mushrooms randomly spawning and despawning.
     
  20. Offline

    GmK

    Thanks!

    My staff are getting slightly annoyed, as one by one they lose the ability to use Hawk ;) And We cant restart our server all the time...

    This also popped up, I know what it means, but it shows that your table structure does need some editing still:

    Code:
    2011-08-19 15:04:57 [SEVERE] [HawkEye] SQL Exception: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'data' at row 1
    
     
  21. Offline

    Lykkepillen

    So this means we'll be able to uninstall Spout? This would be great news, Spout crashed my server yesterday multiple times..
     
  22. Offline

    oliverw92

    Oo thanks for that, i'll make data column bigger.

    Yes, unless you have other plugins that require it :)

    @GkN could you tell me exactly what commands you are typing that give you the syntax error, and also give me the syntax error word for word?

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

    Jobsti

  24. Offline

    GmK

    Things like

    /hawk here 2h or /hawk search r:. or /hawk search p:2 r:gmk

    ...just things where people mistype the command. The syntax error is the ingame message telling you that you used a wrong syntax, dont know the wording right now. I also dont know if it even is related at all to the loss of being able to use commands, it just seemed to be for us...

    We're also using Permissions 3.2 and not BukkitPerms, but that should not matter, or?
     
  25. Offline

    oliverw92

    @GmK I seem to have managed to fix this issue already then without realising it lol
     
  26. Offline

    GmK

    Great stuff, excited for the next update ;)
     
  27. Offline

    martinelle

    I have a problem with you interface web Because tables do not create... and what do whrite to the tables ?

    ( Sorry my english is not good )

    French : J'ai installez l'interface web, configurer les fichiers mais les tables ne se créent pas alors je les ai créer moi même mais je doit écrire quoi dans les champs ?
     
  28. Offline

    Raqn

    Me and another admin tried /hawk tool and got no readings from a broke block.

    We then got this error message and the server crashed. After a reset everyone was normal again and we could view logs.

    Code:
    2011-08-19 17:44:00 [WARNING] Failed to handle packet: java.lang.NullPointerException
    java.lang.NullPointerException
        at net.minecraft.server.ItemStack.a(ItemStack.java:199)
        at net.minecraft.server.InventoryPlayer.f(InventoryPlayer.java:120)
        at net.minecraft.server.EntityHuman.v(EntityHuman.java:183)
        at net.minecraft.server.EntityPlayer.v(EntityPlayer.java:281)
        at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
        at net.minecraft.server.EntityHuman.m_(EntityHuman.java:97)
        at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:193)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:299)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  29. Offline

    SeeD419

    Good stuff oliverw92, seems to be working fine so far.

    Thanks for the java help in irc too ;)
     
  30. Offline

    oliverw92

    You have to install the plugin and let it create the tables when you run the server.

    I've fixed that in the next version already

    No probs :)

    Version 1.0.3

    Web interface update advised!
    • No longer requires spout - chest logging and rollbacks work with vanilla Bukkit
    • Added select all/none button to web interface
    • Fixed lava and water flow logging. Now properly rollbacks torches etc that get broken by liquid
    • Fixed PermissionsBukkit issues
    • Fixed several web interface bugs
    • Fixed several NPEs
    • Tables are now created with your MySQL default rather than forcing MyISAM
    • /hawk here now works without a radius. Default is set in config file
    • Fixed a bug where commands would stop working
    • Fixed a bug with the tool block that would cause the client to crash
    • Fixed data column being too short - now 500 instead of 255

    @Raqn @GmK @Lykkepillen @ravseric @Bronski @GyD @Sayshal @JagCraft @Worlther @68x @pherce

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

    h0us3cat

    Nice1
     

Share This Page