Ulysses

General => Developers Corner => Topic started by: Storm on October 29, 2013, 05:39:57 AM

Title: Is there way to track how often a player plays on your server?
Post by: Storm on October 29, 2013, 05:39:57 AM
So I am betting the answer to this is no but would there be a way to track by steamid or ip how often a player has been on your servers for some past defined amount of time?
Title: Re: Is there way to track how often a player plays on your server?
Post by: MrPresident on October 29, 2013, 11:59:11 AM
not without an addon like UTime.
Title: Re: Is there way to track how often a player plays on your server?
Post by: Storm on October 29, 2013, 04:03:22 PM
ok thanks
Title: Re: Is there way to track how often a player plays on your server?
Post by: JamminR on October 29, 2013, 07:54:01 PM
You got the hint there, with I believe some slight sarcasm, right?
Title: Re: Is there way to track how often a player plays on your server?
Post by: Storm on October 30, 2013, 03:15:58 AM
Sorry JamminR, I don't understand what you are saying. I do know about UTime but that isn't what I was looking for. I want to be able to look in logs or do a command to check how much time a player has on my server, but I don't want any time log appearing constantly in the upper right hand corner of the screen. I don't post on this forum without searching for the answer first because I don't want to waste anyone's time. This is why I started my question with "So I am betting the answer to this is no...", I had already searched it.
Title: Re: Is there way to track how often a player plays on your server?
Post by: MrPresident on October 30, 2013, 07:21:12 AM
No worries Storm. I'm not even sure what Jam was saying.. sometimes that just happens. You'll have to forgive him, he's old. ;)

By default ULX/ULib doesn't track or record time. UTime not only displays the information, but it is responsible for tracking it as well.

If you know anything about lua, you could modify UTime not to display and just use it as a medium for storing and tracking players playtime.
Title: Re: Is there way to track how often a player plays on your server?
Post by: JamminR on October 30, 2013, 04:13:49 PM
MrP, get off my lawn.
:)
Title: Re: Is there way to track how often a player plays on your server?
Post by: Megiddo on October 30, 2013, 05:28:13 PM
Making an admin command to grab a player's time spent on a server (even when they're disconnected) is a good idea for a future UTime version, though.
Title: Re: Is there way to track how often a player plays on your server?
Post by: Neku on December 28, 2013, 07:36:50 PM
Since no such thing I know of exists, you can use gametracker.com if your server
has been synchronized with it.

Although, it only tracks names.
Title: Re: Is there way to track how often a player plays on your server?
Post by: Cobalt on December 28, 2013, 09:51:14 PM
Why not look through the ulx logs, get the first time a player joined the server, and add that to their time with utime? It might require some elite string library hax but it should be doable.
Title: Re: Is there way to track how often a player plays on your server?
Post by: sabo on December 30, 2013, 11:41:47 AM
Have you checked when the thread was created/last posted?....
Title: Re: Is there way to track how often a player plays on your server?
Post by: Storm on December 31, 2013, 01:29:29 PM
Cobalt i have had my servers for over a year and the logs are regularly purged.