Autorank

Autorank

380k Downloads

stats vote does not work

WoAnerges opened this issue · 15 comments

commented

Dude, this stuff does not work, man.
https://github.com/Armarr/Autorank-2/blob/master/src/me/armar/plugins/autorank/statsapi/StatsHandler.java
I have everything set up correctly. I have +9 votes in my stats, I have 8 votes set in the requirements for ranking up, still I'm getting "the user does not fit the requirements: - 8 votes".

version
06:45:32 [INFO] This server is running CraftBukkit version git-Spigot-921 (MC: 1.5.2) (Implementing API version 1.5.2-R0.2-SNAPSHOT)
version autorank
06:47:18 [INFO] Autorank version Beta 2.4
06:47:18 [INFO] Reward players ranks based upon their played time.
06:47:18 [INFO] Authors: Idrrp, Armarr and Staartvin
version stats
06:47:31 [INFO] Stats version jenkins-Stats-366
06:47:31 [INFO] Tracking your stats!
06:47:31 [INFO] Author: Lolmewn

commented

You have 9 votes in your StatsAPI table?

commented

Yes; and I have set the required votes to 8.

commented

StatsAPI table? it's not the regular stats table, right?
I have the value in my stats database of the lolmewnstats plugin (http://dev.bukkit.org/bukkit-mods/lolmewnstats/):
database: "stats",
table: "stats_player"
field: "votes"
value: "9"
Are we on the same page here?

commented

2013-06-17 14:17:06 [INFO] [Autorank] Enabling Autorank vBeta 2.4
2013-06-17 14:17:06 [INFO] [Autorank] Simple config file loaded
2013-06-17 14:17:06 [INFO] [Autorank] Advanced config file loaded
2013-06-17 14:17:06 [INFO] [Autorank] Languages files loaded: Using English
2013-06-17 14:17:07 [INFO] [Autorank] Data file loaded
2013-06-17 14:17:07 [INFO] [Autorank] Essentials was found! AFK integration can be used.
2013-06-17 14:17:08 [INFO] [Autorank] Vault Hooked!
2013-06-17 14:17:08 [INFO] [Autorank] Hooked into Stats! Extra requirements can be used.
2013-06-17 14:17:08 [INFO] [Autorank] Config files have been correctly setup!
2013-06-17 14:17:08 [INFO] [Autorank] Autorank Beta 2.4 has been enabled!
2

commented

Can I see your config?

commented

Yeah, that should be good. Does Autorank tell you that it is hooked into StatsAPI?

commented

Why does not it work though?

commented

I'm searching for answers or explanations, but I can't find any. I guess need to test it myself to check if I get errors.

commented

Try this: Change the settings (for example, reduce the amount of votes required), and then hit /ar reload.
Try /ar check now.

commented

I described how to make it stop working. The fix is obvious - try to restart the server. Why? Because changes were made on a running server, and if they are still not applied, even after the plugin had been reloaded, the first thing that comes to mind is to try and reload the server. Consequently, as soon as you try the plugin, you'll see that it is working now. But it's just my perspective. People think differently. Sorry for being little unclear, Staartvin.

commented

It works for me. You should try to restart the server after you changed the config.

commented

Yes, this is what said... 👯

commented

What do you mean?

commented

Thanks for the explanation. If you have any further problems, tell us.