PDA

View Full Version : [REQ] Player Time Tracker Top10 List.


Kurtan
07-09-2016, 14:57
Hello!

I am using this Plugin (https://forums.alliedmods.net/showthread.php?t=263310).

Currently you can to sm_mytime and sm_gettime, however there is no way to list the top10 ingame. You can hook up a webserver to it, which Im not interested in.

My request is to add a top10 interface ingame. MySQL is a requirement for this plugin.

An extra feature that I'd like to see to be added is a reformate of the output. The current output is: You've played for X:XX:XX, Hours, Minutes, Seconds.
I would like it to be "You've played for X Days, X Hours, X Minutes and X Seconds."

I do belive that the Plugin stores its value in seconds.

Feel free to ask any questions if there are any uncertainties.

Contact: Kurt (http://steamcommunity.com/id/OfficialKurt/)

good_live
07-09-2016, 15:27
I can do that for you.

Franc1sco
07-09-2016, 16:24
Use my plugin -> https://forums.alliedmods.net/showthread.php?p=1751973

Kurtan
07-09-2016, 16:25
Does it have an ingame top10 list?

Franc1sco
07-09-2016, 16:30
Does it have an ingame top10 list?

Yes, you can see all the top.

Kurtan
07-09-2016, 16:43
Yes, you can see all the top.

I will have a look at it, I'll return with feedback. Thanks!

Kurtan
07-09-2016, 17:35
Yes, you can see all the top.

I cannot get the query of MySQL data to work.


"mostactive"
{
"driver" "mysql"
"host" "XXX"
"database" "mostactive"
"user" "XXX"
"pass" "XXX"
"port" "3306"
}


This is my database.cfg.

Franc1sco
07-09-2016, 22:09
I cannot get the query of MySQL data to work.



This is my database.cfg.
check log errors

Kurtan
07-09-2016, 23:06
check log errors

There were non.

I decided to go with PTT instead, a nice fellow is currently scripting a topmenu for me.

Your advice has been appreciated though.