ULX

Author Topic: Utime -- Show how long your players have been connected this session and total  (Read 538463 times)

0 Members and 2 Guests are viewing this topic.

Offline LewisUK

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Founder of Relaxed Gaming
    • Relaxed Gaming
LewisUK, UTime has it's own client side settings menu in Gmod options menu while in game.
One of those is 'reset' I think, and one allows position/color adjustment.

Could i have a little more help with that, i checked the actual gmod settings and the ULX settings tab, can't see anything.
Founder of Relaxed Gaming | Banning Since 2012!

Offline LewisUK

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Founder of Relaxed Gaming
    • Relaxed Gaming
Fixed by typing utime_reset into console!
Founder of Relaxed Gaming | Banning Since 2012!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
It's in the spawn menu settings, LewisUK. Say, where does your avatar come from?
Experiencing God's grace one day at a time.

Offline HazCP

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
  • Founder of KGN
I'm really confused about how you customize this. I would like to move it to top left of screen. And be able to know how you disable it.

Haz

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
It's in the spawn menu settings.
Experiencing God's grace one day at a time.

Offline shawnmd

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
I keep getting a lua error on my dedicated server,
I've tried starting with a fresh sv.db and data folder, but to no avail.

[ERROR] addons/utime/lua/autorun/cl_time.lua:46: attempt to index upvalue 'gpanel' (a nil value)
1. unknown - addons/utime/lua/autorun/cl_utime.lua:46

The utime options appear in the ulx menu, and i'm running the latest svn of ulx and ulib.
Using "Utime-v1_42"

Any suggestions?
I love this module and hope to have it working!
btw i am running auto promote and some other ulx modules.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Above is a Client Side error. So you don't need to clear your sv.db and you would never need to clear your data folder because utime doesn't use the data folder..
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Any suggestions?

Use the latest/greatest utime from our Github repository.
https://github.com/Nayruden/Ulysses
The last fix was 4 months ago, and code change added a check for nil gpanel.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Use the latest/greatest utime from our Github repository.
https://github.com/Nayruden/Ulysses
The last fix was 4 months ago, and code change added a check for nil gpanel.

Then the original post should be updated with the new download link.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Chaos, we have 'release' and 'non-release' cycles here in Team Ulysses.
Our repository is considered beta code, non-release.
Just like all of our projects hosted there, if enough people use the non-release code and find no other bugs, Megiddo may update the first post to count it as a release.
If you look at the readme for UTime repository, it's version is 1.43, it's release date, 0/0/00 because, well, it's not been officially released as stable yet.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Well I personally would say that if the current version of utime appears to not have any issues, then it should be considered 'released'. That's just my opinion though, I'm not really sure how such a simple addon such as utime could really have too much of an issues..
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Well, we thought that about 1.42, and we apparently didn't have it tested long enough before releasing it. :)
Tons of addons in the Gmod world, always possible a popular one might break something or conflict in a way we didn't consider.
Good coding projects will almost always have this type of cycle, release, and beta.
Anything on our repository is considered beta, anything on our ulyssesmod.com/downloads page is 'release'.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline HazCP

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
  • Founder of KGN
It's in the spawn menu settings.

My server is Trouble in Terrorist Town.

Offline SaintSin

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
I am running 1.42 and when I check the client side errors I often see this on players joining the server for the first time.

Quote
[ERROR] addons/utime/lua/autorun/cl_utime.lua:310: attempt to index local 'cpanel' (a nil value)
  1. buildCP - addons/utime/lua/autorun/cl_utime.lua:310
   2. resetCvars - addons/utime/lua/autorun/cl_utime.lua:305
    3. fn - addons/utime/lua/autorun/cl_utime.lua:334
     4. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

Offline DendeSon

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
  • No.
    • Gentlemen Gaming
Is there a command to check someones playtime if they are not online? Is there a way to check the play time in the server files?