Author Topic: Is there way to track how often a player plays on your server?  (Read 3118 times)

0 Members and 1 Guest are viewing this topic.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Is there way to track how often a player plays on your server?
« 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?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Is there way to track how often a player plays on your server?
« Reply #1 on: October 29, 2013, 11:59:11 AM »
not without an addon like UTime.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: Is there way to track how often a player plays on your server?
« Reply #2 on: October 29, 2013, 04:03:22 PM »
ok thanks

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Is there way to track how often a player plays on your server?
« Reply #3 on: October 29, 2013, 07:54:01 PM »
You got the hint there, with I believe some slight sarcasm, right?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: Is there way to track how often a player plays on your server?
« Reply #4 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.
« Last Edit: October 30, 2013, 03:22:30 AM by Storm »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Is there way to track how often a player plays on your server?
« Reply #5 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.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Is there way to track how often a player plays on your server?
« Reply #6 on: October 30, 2013, 04:13:49 PM »
MrP, get off my lawn.
:)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Is there way to track how often a player plays on your server?
« Reply #7 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.
Experiencing God's grace one day at a time.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Is there way to track how often a player plays on your server?
« Reply #8 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.
Out of the Garry's Mod business.

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: Is there way to track how often a player plays on your server?
« Reply #9 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.
« Last Edit: December 28, 2013, 09:53:35 PM by Cobalt77 »

Offline sabo

  • Full Member
  • ***
  • Posts: 136
  • Karma: 2
  • Hello :)
    • The Elite Gaming
Re: Is there way to track how often a player plays on your server?
« Reply #10 on: December 30, 2013, 11:41:47 AM »
Have you checked when the thread was created/last posted?....

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: Is there way to track how often a player plays on your server?
« Reply #11 on: December 31, 2013, 01:29:29 PM »
Cobalt i have had my servers for over a year and the logs are regularly purged.