Ulysses Stuff > Releases

Utime -- Show how long your players have been connected this session and total

<< < (50/84) > >>

Nick_515:
Sorry. I'm not great with this, but I'm getting these errors in console when people join for the first time. I have the newest version from GitHub and it includes the fix on line 40 of the cl_utime.lua.


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

[---------------|33|STEAM_0:1:---------] Lua Error:

[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


[--------------|33|STEAM_0:1:--------] Lua Error:
controlpanel.Get() - Error creating a ControlPanel!
You're calling this function too early! Call it in a hook!

[-------------|33|STEAM_0:1:---------] Lua Error:

[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


[-------------|33|STEAM_0:1:---------] Lua Error:
controlpanel.Get() - Error creating a ControlPanel!
You're calling this function too early! Call it in a hook!

Dropped ------------ from server ("Too many Lua Errors! Sorry!")
--- End code ---

This is on TTT. Not sure what other information is needed, but it's stopping new people from joining. :/

lopio1234:
I have a question, wehre are the playerdata or rather is it possibel to modifiy the time of the player?

JamminR:

--- Quote from: Nick_515 on December 31, 2013, 11:35:16 PM ---
--- Code: ---[------------|33|STEAM_0:1:---------] Lua Error:
controlpanel.Get() - Error creating a ControlPanel!
You're calling this function too early! Call it in a hook!
<clip>
Dropped ------------ from server ("Too many Lua Errors! Sorry!")
--- End code ---

--- End quote ---
1) Could have sworn we fixed the 'call it in a hook' error years ago.
Make sure you didn't mix old with new code on the server, and that your clients are getting latest?
Also, you can either set your "sv_kickerrornum 0" variable, or better yet, when experiencing an issue that bad with a addon, simply remove it after getting the details like you did.


--- Quote from: lopio1234 on January 03, 2014, 09:31:30 PM ---I have a question, wehre are the playerdata or rather is it possibel to modifiy the time of the player?

--- End quote ---

--- Quote from: Megiddo on August 07, 2010, 03:39:38 PM ---In SQLite, which manifests itself as sv.db in the garrysmod root.

--- End quote ---
See release UTime Hour Changer

Nick_515:
Yeah, I can't figure it out. I haven't mixed any code. I just downloaded the newest version and added it. :/

HazCP:


How do I move the utime over a couple of centimetres?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version