WEBStatsX

Discussion in 'Bukkit Tools' started by cynexit, Jan 18, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    cynexit

  2. Offline

    Lolmewn Retired Staff

    sesicraft They seem to be working just fine right here.
    Also, lastjoin and lastleave have the same function to check if the player has permission for tracking stats, so that wouldn't really make any sense at all.
    I'm probably updating to 1.13 in the weekend, also with a new Global Stats server protocol (aka, more, faster, better).
     
  3. Offline

    sesicraft

    cynexit is there some sort of debug log I can send you?
     
  4. Offline

    RX14

    I had to go in manually with a MySQL editor and set the LastLeave dates to sometime today. People who hadn't logged on since Stats 1.11 were listed as online as the lastleave date was broken. I would suggest Lolmewn could periodically check the people on the server and fix stuff that way.
     
  5. Offline

    Lolmewn Retired Staff

    RX14 Or you could delete them from the database, not caring. Or set a default value, and set the row to NotNull (which will change all values from null to the default value)
     
  6. Offline

    SwiftSwamp

    This is amazing :) I'm not sure if it's you or the plugin author, but can you add support for the different kind of mob heads? Then any player head that is placed is just a "Steve" head.
     
  7. Offline

    Lolmewn Retired Staff

    http://mcstats.nl is now fixed! Well, at least you can see something now. We still have to fix the values, but that'll be done somewhat later!
     
  8. Offline

    LordKitsuna

  9. Offline

    Lolmewn Retired Staff

    LordKitsuna I don't see it, where does it say that?
     
  10. Offline

    LordKitsuna

    i figured it out i forgot to replace the old config.php when updating cus im a derp
     
  11. Offline

    Lolmewn Retired Staff

    Haha, no worries :) Happens, I guess.
     
  12. Offline

    LordKitsuna

    i got the map page working which is nice but the player status does not appear to be working right its showing a player as online even tho they have been offline for some time now. any way to increase the rate at which that is updated?
     
  13. Offline

    Lolmewn Retired Staff

    LordKitsuna The plugin writes data to the database every 30 seconds, not sure how often the website polls.
     
  14. Offline

    h0us3cat

    Can last joined be added to the web part pls?
     
  15. Offline

    rguz10

  16. Offline

    Lolmewn Retired Staff

  17. Offline

    rguz10

    Figured that out after I posted (major derp) but thanks for your time developing the plugin and thanks to the web design guy for the awesome web UI
     
    cynexit likes this.
  18. Offline

    Lolmewn Retired Staff

    Haha, no problem ^^ I always develop for fun :p
     
  19. Offline

    DVnity

    I just downloaded the latest version and put it up, but it doesn't quite look like the version of the demo. For starts, the menu of the left doesn't have that cool animation effect when you hover on it. The players page doesn't work, nor does the offline/online status of the server.

    When I do check.php it only says yes for the first one, loads the text of the second but no yes or no after it and the table just ends there.

    Is it for some reason downloading an older version instead of a newer one?

    Thanks
     
  20. Offline

    Lolmewn Retired Staff

    DVnity If the second one gets shown, but no value is displayed, then that's the faulty setting (I'd say).
     
  21. Offline

    DVnity

    What do you mean by that? And how would I get this different looking version?

    Here is my config (with any sensitive info omitted) http://hastebin.com/miguyakovu.php

    Thank you
     
  22. Offline

    cynexit

    You have a syntax error in your config. ;)
    Replace:
    "Dynamap" => $link_to_map, //Uncommend this for Dynmap
    with:
    "Dynamap" => $link_to_map //Uncommend this for Dynmap
     
  23. Offline

    DVnity

    Ok thanks I did that, however in check.Php it is the still the same. It won't say yes or no for the syntax error one and stops the rest of the page loading.
     
  24. Offline

    cynexit

    You probably don't have curl installed, either install it (to get the full output of check) or check the config manually for errors (syntax errors, database prefix, database connections, all necessary vars set, etc.).
     
  25. Offline

    h0us3cat

    Can last joined be added to the web part pls?
     
  26. Offline

    DVnity

    I installed it and now the check works. However the players page loads nothing and the charts for each player and server status don't work. Any other stuff that needs to be installed?
     
  27. Offline

    cynexit

    It is added in the newest version. ;)

    Can you please send me a link to your installation? Sounds like you disabled JS on your local machine.

    Some new features are online:
    • check.php - checks your configuration for some common errors, needs curl to work.
    • Online/offline state - you can now enable or disable a "online" sign next to a player name
    • Last join/last leave - you can now see these two values at the player page
    • Moved avatar support from server to client side
    • Enhanced server check - the server check now displays either online, offline or unknown but also the amount of players online and the max. amount of players
    • Cleaned the js/ directory

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

    MrFrostmaul

    Hi, on my site "http://frostnation.co.uk/hungergames/stats/index.php"

    I get this error

    SERVER STATUS: WARNING: STREAM_SOCKET_CLIENT(): UNABLE TO CONNECT TO TCP://HG.FROSTNATION.CO.UK:25565 (CONNECTION TIMED OUT) IN /HOME/U402778296/PUBLIC_HTML/HUNGERGAMES/STATS/STATS_WEB_CORE/CLASSES.PHP ON LINE 468
    UNKNOWN
    The Stats plugin works fine and its connecting to the table as it gets the player stats etc, but it just this down the side which is weird.
    I have no touched that file and only done the confiq and then uploaded...
     
  29. Offline

    cynexit

    I uploaded "hg.frostnation.co.uk" to the config of the demo page and tested it, there was no problem (0 from 50 players online, everything fine), which means your webserver OR server does not allow outgoing (tcp) connections; a fix for this should be somewhere in the man pages of your webserver or firewall/iptables. :)
    Edit: Although "timed out" could also mean, that either your server or network is very slow, but that is very unlikely.


    P.S.: If you want to delete all credits of the people who worked on this piece of software, I'm totally fine with that, but please leave at least the line about the image source in the info since they are from the minecraft wiki and published under cc by-nc-sa. :)
     
  30. Offline

    Pichatu971

    Help me, give me the instruction of table for create in phpmyadmin.

    Sorry i'm french, i have that's error :

    Table stats_block exists? No
    Table stats_death exists? No
    Table stats_kill exists? No
    Table stats_move exists? No
    Table stats_player exists? No
     
Thread Status:
Not open for further replies.

Share This Page