[INACTIVE][INFO] Statistician V1.3 - Extremely Detailed Player/Server Stats Tracking [953]

Discussion in 'Inactive/Unsupported Plugins' started by ChaseHQ, Jun 23, 2011.

  1. Offline

    ChaseHQ

    The update for web portal fixes this in next release :) much faster queries :)
     
  2. Offline

    Kane

    @ChaseHQ we been having issues with one of the players. His name is GTA4rox08. He never shows online for a while now Since our server move. His stats are sort messed up.

    Then we have this other guy who is not even online... But is online on the stats page named Basicbilly and he seams to have some of the same stats of GTA says like he killed 6 mobs today... Its soo strange lol.


    http://godcraft.com/stats/?view=player&uuid=16820fe0-58dc-43ee-957f-b14431b893db

    http://godcraft.com/stats/?view=player&uuid=4bfa8aa7-8daa-4811-83d8-b984e5b56a06

    http://godcraft.com/stats/
     
    GTA4rox08 likes this.
  3. Offline

    PureDark

    Nice plugin!
    Have a look at mine!
    http://www.uodw.net/
    I translated it into Chinese!
    But where can I find the file that stores the name of blocks and items so that I can translate it too?
    EDIT: OK,I found out it's in the mysql database.
     
  4. Offline

    Crimsonfox

    Trust me, I'm no programmer lol. But it seems it'll be a feature so it's fine, just a matter of waiting for the next release. =)
     
  5. Offline

    OverSpeed

    Hi all,

    My page (http://mining-valley.net/mvstats/?view=main) return nothing, no stats. My database is ok, no errors when i reload my server, no errors in the page. All tables has been created in the DB but it's return nothing in the page.

    Any idea ?
    Thanks by advance,
    OverSpeed301.

    EDIT : Partially solved.
     
  6. Offline

    CoZmicShReddeR

    Hello just installed this getting this error web
    Warning: require_once(locale/LOCALE.php) [function.require-once]: failed to open stream: No such file or directory in \minecraft\statistician\statistician\statistician.php on line 6

    Fatal error: require_once() [function.require]: Failed opening required 'locale/LOCALE.php' (include_path='.;E:\xampp\php\PEAR') in \minecraft\statistician\statistician\statistician.php on line 6
     
  7. Offline

    Pim1234

    cb 953:

    Code:
    18:08:18 [INFO] [Statistician] Version 1.3 By ChaseHQ Starting Up...
    18:08:18 [SEVERE] Error occurred while enabling Statistician v1.3 (Is it up to date?): java.lang.Integer cannot be cast to java.lang.String
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
        at com.ChaseHQ.Statistician.Config.Config.<init>(Config.java:76)
        at com.ChaseHQ.Statistician.Config.Config.getConfig(Config.java:33)
        at com.ChaseHQ.Statistician.StatisticianPlugin.onEnable(StatisticianPlugin.java:65)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:864)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:358)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:290)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  8. Offline

    ChaseHQ

    Post your DBConfig.yml there is an error.
     
  9. Offline

    Pim1234

    Code:
    database_name: name
    database_address: address
    database_username: username
    database_password: password
    database_port: 3306
    database_update_time: 120
     
  10. Offline

    ChaseHQ

    That's not your filled in config file, but if you have any fields that are strictly numbers you must encapsulate them in quotes. That is why you are getting an error.
     
  11. Offline

    Pim1234

    i did filled it in, but i won't give away my password etc :)
    but it should be this?

    Code:
    database_name: 'name'
    database_address: 'address'
    database_username: 'username'
    database_password: 'password'
    database_port: '3306
    database_update_time: '120'
     
  12. Offline

    ChaseHQ

    No, port and update time expect numbers, if your host, DB name DB user or DB password are just numbers they must be encapsulated
     
    lemachinbidule likes this.
  13. Offline

    tomomsius

    if i have WAMP mysql and the server connects to it . what about making web files to work ? i added them to my host on website in sub categoy nstats then changed the config files the db server to my server ip then username to root then the pass to my mysql password and db to stats. but when i try to enter http://bunnyxd.com/nstats/ it shows me Statistician Web Interface could not acquire connection to Database maybe i done something wrong?
     
  14. Offline

    Crimsonfox

    I think I've discovered my sheep problem.

    From the Bukkit RB #1000 ChangeLog

    Fixed:

    • Fixed sheep not firing Entity Death events.
     
  15. Offline

    ChaseHQ

    Yup that was an issue with bukkit
     
  16. Offline

    Geoff Winans

    @ChaseHQ,

    Code:
    00:42:17 [SEVERE] Could not pass event ENTITY_DEATH to Statistician
    java.lang.NullPointerException
            at com.ChaseHQ.Statistician.Listeners.StatisticianEntityListener.onEntityDeath(StatisticianEntityListener.java:27)
            at org.bukkit.plugin.java.JavaPluginLoader$59.execute(JavaPluginLoader.java:656)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
            at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
            at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
            at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
            at net.minecraft.server.Explosion.a(Explosion.java:143)
            at net.minecraft.server.World.createExplosion(World.java:1466)
            at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:145)
            at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:118)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityMonster.v(EntityMonster.java:26)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityMonster.m_(EntityMonster.java:30)
            at net.minecraft.server.EntityCreeper.m_(EntityCreeper.java:68)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
            at net.minecraft.server.World.cleanUp(World.java:1104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    The above pops up any time a player is killed by a creeper.

    On a side note, have you ever considered adding a URIClassLoader to Statistician ala Votifier? Be great for mini-plugins to use stats collected by this one to act on that data (rewards, etc).
     
  17. Offline

    jeanpoivrot

    if i can make a suggestion: when you use logblock plugin (and probabily any anti-grief tool) blocks placed are stored in mysql, can u add a fonction somethink like if logblock {use its data}, instead of logging 2 times the same thing ?

    what do u think about that ?
     
  18. Offline

    Schlumpf

    Is now the Command /reloadall fixed with the Database?
    Or must I look at the Source code?
     
  19. Offline

    seriestoo2

    Get this error on start-up:

    Code:
    2011-07-18 16:47:30 [INFO] [Statistician] Version 1.3 By ChaseHQ Starting Up...
    2011-07-18 16:47:30 [SEVERE] Error occurred while enabling Statistician v1.3 (Is it up to date?): java.lang.String cannot be cast to java.lang.Integer
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
        at com.ChaseHQ.Statistician.Config.Config.<init>(Config.java:73)
        at com.ChaseHQ.Statistician.Config.Config.getConfig(Config.java:33)
        at com.ChaseHQ.Statistician.StatisticianPlugin.onEnable(StatisticianPlugin.java:65)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:380)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:312)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  20. Offline

    NotYetRated

    Has anyone gotten this running on MineOS+?

    I have Mysql installed and set up properly, I also have PHP installed, though I am not quite positive how to access my page...
     
  21. Offline

    Mhalkyer

    I'm getting the same thing when a player uses /killstreak.

    @ChaseHQ Are you still developing this?
     
  22. Offline

    ChaseHQ

    You have an error in your DBConfig.yml file, please post

    Lol, yes of course I am

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

    imaxorz

    I love this plug in, but we had to disable it.

    Our stats page was loading really, really, really slow, and we were getting 600% CPU usage on mysql when it was enabled.

    I think it's a problem how it pulls all the data for the stats page to display it.

    We have a Big Brother table with 9+ million records and that isn't an issues at all, so I know it's not the size of the table.
     
    Monstertke likes this.
  24. Offline

    Crimsonfox

    ||
    V

    On a side note, is there an ETA for the next version because it seems like you're adding loads of features. (which is by no means a bad thing) :p
     
    imaxorz likes this.
  25. Offline

    ChaseHQ

    I know, I think I may do a release while i work on those features to fix some of the bugs, Like the reload-all and quicker queries.
     
  26. Offline

    seriestoo2

    Code:
    database_name: macu_99k_minecraft
    database_address: macu.99k.org
    database_username: (username)
    database_password: (password)
    database_port: '21'
    database_update_time: '120'
     
  27. Offline

    ChaseHQ

    You have quotes around your port and update time. They are integers not strings, remove the quotes
     
  28. Offline

    seriestoo2

    Alright, now I get an error saying it couldn't connect to the database. This isn't surprising, seeing how I'm completely new to databases (this is the first one I've attempted). I set up a free hosting account with MySQL, then created a new database called macu_99k_minecraft. I created an account with full permissions, and entered the correct username and password. I feel like the problem could either be (a) I don't have the address correct or (b) I don't have the port correct, because neither were listed on the site. If anyone could help, that'd be great.
     
  29. Offline

    ChaseHQ

    Um port 21 is usually FTP's, 3306 is usually MySQL. But you would need a remote account set up on it, and port 3306 to be open.
     
  30. Offline

    Monstertke

    I came here to say the exact same thing unfortunately. Right down to the giant BB database taking no time at all to query. I just renamed the folder and dropped My default server page into the new Stats folder.

    I really really like this plugin, but it is not at all possible to run it for a long time on a large server.
    I was up to 7000 registered players and 1 1/2 years of playtime, MySQL just choked.
     

Share This Page