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

0 Members and 2 Guests are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
utime_enable 1

Also could be that they're getting client side errors.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline PatPeter

  • Newbie
  • *
  • Posts: 14
  • Karma: -1
All of the clients in my server occasionally get these messages, but when they do they're infinitely spammed in console:

Code: [Select]
[ERROR] addons/utime/lua/autorun/cl_utime.lua:77: attempt to call method 'GetWide' (a nil value)
  1. unknown - addons/utime/lua/autorun/cl_utime.lua:77


[ERROR] addons/utime/lua/autorun/cl_utime.lua:137: attempt to index field 'playerInfo' (a nil value)
  1. unknown - addons/utime/lua/autorun/cl_utime.lua:137


[ERROR] gamemodes/base/entities/weapons/weapon_base/cl_init.lua:160: attempt to index field 'Weapon' (a nil value)
  1. unknown - gamemodes/base/entities/weapons/weapon_base/cl_init.lua:160

Offline notownz

  • Newbie
  • *
  • Posts: 7
  • Karma: -4
Here is my console error message, any help would be appreciated.

Code: [Select]
[ERROR] addons/utime/lua/autorun/cl_utime.lua:310: attempt to index local 'cpane
l' (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
      5. LocalPlayer - [C]:-1
       6. fn - addons/ulib/lua/ulib/cl_init.lua:39
        7. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

« Last Edit: October 15, 2014, 04:43:01 PM by notownz »

Offline petravic

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
On my server we have pointshop 2 and we had render lag on hats and accessories that is caused by utime wenn we removed utime all works fine.
« Last Edit: October 15, 2014, 03:55:56 PM by petravic »

Offline Wrath

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
How can I move the position of the box on my screen? o:

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
There's a configuration menu added to the same Gmod client side menus that Admin and "clean up" are on.
If you're not playing in Sandbox mode, I believe many gamemodes prevent that menu from opening.
"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
There's a configuration menu added to the same Gmod client side menus that Admin and "clean up" are on.
If you're not playing in Sandbox mode, I believe many gamemodes prevent that menu from opening.

The only one I knew that did it was dog fight (which is no longer an available gamemode with garry's mod.)
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline PatPeter

  • Newbie
  • *
  • Posts: 14
  • Karma: -1
So does anyone know how to fix this?

Code: [Select]
[Bean|188|STEAM_0:0:62527870] Lua Error:
controlpanel.Get() - Error creating a ControlPanel!
You're calling this function too early! Call it in a hook!

[Bean|188|STEAM_0:0:62527870] Lua Error:

[ERROR] addons/utime/lua/autorun/cl_utime.lua:311: attempt to index global 'cpanel' (a nil value)
  1. buildCP - addons/utime/lua/autorun/cl_utime.lua:311
   2. resetCvars - addons/utime/lua/autorun/cl_utime.lua:305
    3. fn - addons/utime/lua/autorun/cl_utime.lua:335
     4. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
      5. LocalPlayer - [C]:-1
       6. fn - addons/ulib/lua/ulib/cl_init.lua:39
        7. unknown - addons/ulib/lua/ulib/shared/hook.lua:183



It's just a minor annoyance.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
PatPeter, don't use the download from first post. At least, I think that's what you're doing.
Go get latest from our github.
It's included as part of the master zip file that contains all our github releases (you don't have to use all of them, only upload the addon folder from UTime (and ULib and ULX too)
https://github.com/Nayruden/Ulysses
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Toxic_Terrorists

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Is there a way to view other players "last played on".

I mean this: [UTime]Welcome back Toxic_Terrorists, you last played on this server 01/19/15 21:42:24


But for admins to be able to see when a certain SteamID or player last played.

Offline Naunuk2424

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Viewing other player's time
« Reply #295 on: February 18, 2015, 08:25:16 AM »
As the servers coder i was hoping to use this to keep track of time for promotions. How do we view others time spent?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
As the servers coder i was hoping to use this to keep track of time for promotions. How do we view others time spent?
You'll have to search through the SQLite database for player entries, then work off the data there.
Alternatively, if you were seeking automated promotions, you could check out one of the many Autopromote addons.
bw81@ulysses-forums ~ % whoami
Homepage

Offline allofmywutsteam

  • Full Member
  • ***
  • Posts: 136
  • Karma: 3
  • MNWO Owner
    • MNWO Discord
Where does the addon store the hours? Is it hidden because I can't see any data logs that logs player x to hours x.

The reason i ask is because I had to wipe server after a year's worth of logged hours. So i'd like to see if I can recover that time.
"Then Jesus said to his disciples, 'Whoever wants to be my disciple must deny themselves and take up their cross and follow me.'" - Matthew 16:24



MNWO: Steam | Discord | Website | Join Server

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Where does the addon store the hours? Is it hidden because I can't see any data logs that logs player x to hours x.

The reason i ask is because I had to wipe server after a year's worth of logged hours. So i'd like to see if I can recover that time.
All times are stored in sv.db, the SQLite database on the root of the server's files.
If you lost that, there is no recovery.
bw81@ulysses-forums ~ % whoami
Homepage

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Anyone having issues with utime, if you are and understand why, I'd like to know why:
http://forums.ulyssesmod.net/index.php?topic=8327
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.