PlayTime

PlayTime

38.5k Downloads

Playtime not counting

Tonysp opened this issue ยท 11 comments

commented

Playtime of players is not counting. I have used older version of playtime, but now i updated and playtime of my players is the same all the time. I am using MySQL Storage. I am not getting any errors. Playtime always connects succesfully to DB.
Here is screenshot of my table in PMA
https://dl.dropboxusercontent.com/u/43642525/bordelobrazky/pt.png

commented

Try updating to version 1.4.0, just approved on the main page here:

http://dev.bukkit.org/server-mods/playtime

I fixed a few things with updating, as well as how the scheduling works. If the problem still isn't resolved, please come back here as I'd like to fix any potential bugs.

EDIT: I believe the problem is because v1.3.0 isn't adding the index to the username column of your table. This should be fixed in 1.4.0

commented

Are you using version 1.3.0? Also, is this only after a certain amount of time on the server, or is it not counting the time at all?

commented

Yes, version 1.3.0 and its not counting at all.

commented

Now its not loading, maybe because of missing part in lang. file.
But I think everything is alright.

Error:
http://paste.royaldev.org/view/private/862c5e6de9b22548d0e70ac0da0609d7eb711209

This is my language file, i nevere touched it.
http://paste.royaldev.org/raw/private/7c22bf85b26451dadf2886f111a70db2d2a1b6c1

commented

Fixed within 1.4.1:
e9a335e

You can try a development build here:
http://ci.1ro.co/job/PlayTime/

Download the 1.4.1 version

commented

Still not counting time. I have still 533 hours and 57 minutes.

Enabling looks fine: http://paste.royaldev.org/raw/4523
Here is some debug info: http://paste.royaldev.org/raw/4524

commented

Can I see a copy of your config (with the password removed using "--")? The only thing I can think of at the moment is the connection to the database is failing on initializing some of the tasks for adding values.

Also if you have an SQL client such as HeidiSQL, try logging into your database and running the query:

"SELECT count(*) FROM information_schema.SCHEMATA"

and see what the returned result is.

commented
commented

Today I am going to vacation. I will contact you after week.

commented

Do you mind if I attempt using a query on your database? It would require the password unfortunately, but might help me to sort out where this problem could be coming from.

commented

Appeared to be an issue with a column missing an index