ULX

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

0 Members and 2 Guests are viewing this topic.

Offline HazCP

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
  • Founder of KGN
My users are getting this error, definitely using the latest version of uTime aswell.
Code: [Select]
[angeguiochet|68|STEAM_0:0:59170242] 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


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

Dropped angeguiochet from server ("Too many Lua Errors! Sorry!")
Client "angeguiochet" connected (84.5.181.242:27005).

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Haz, are you sure you don't have an old version of Utime somewhere?
Those error line numbers don't match up with current code in the latest from github.
Latest would be;
line 309 = cpanel
line 309 = buildCP
line 307 = resetCvars
And, we DO call building it in a hook, and have for many years now.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline caydpoe

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Ha, I can't code... Great addon, I love how simple and simplistic it looks. Using it on my server now.

Offline deinemudda32

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Sometimes Utime creates an error, I dont know why it appears but its still in my console:

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


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

Offline Sgt.Blue

  • Newbie
  • *
  • Posts: 47
  • Karma: 2
How do I configure it?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
You configure it from the spawn menu.
Experiencing God's grace one day at a time.

Offline infamousmango

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Hey man. I know people have commented about this, but I just can't get this to work.
The module does not show up on the top right corner of my screen. I have re-installed it and it does not appear to be on the server. I tried, "utime_reset " in the client console but it just gives me lua errors and kicks me for "too many lua errors."

Code: [Select]
[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. unknown - addons/utime/lua/autorun/cl_utime.lua:305
3. unknown - lua/includes/modules/concommand.lua:69


Dropped InfamousMango from server ("Too many Lua Errors! Sorry!")

That is the error I get. Any suggestions? :/

Offline frustratedgamers

  • Newbie
  • *
  • Posts: 36
  • Karma: -1
i get the cpanel issue as well and way too often

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
All you folks reporting cpanel errors.
here did you download Utime from?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
All you folks reporting cpanel errors.
here did you download Utime from?

Git.
Most likely these people are running off a non-Sandbox derivative gamemode- which could be causing some errors such as this; however I would not know as I don't know that much xD.
bw81@ulysses-forums ~ % whoami
Homepage

Offline deinemudda32

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
I get that cpanl error too and i downloaded it from this page.
I am running TTT with some modifications!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
g36224#msg36224 date=1396741538]
downloaded it from this page.
[/quote]
All current code is kept on GitHub, just like all our other projects. https://github.com/Nayruden/Ulysses

Make sure you have latest version, from github.
Make sure you have ALL Ulysses latest code from there.
As for TTT, we make no guarantee of compatibility.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MisterCoolBeans

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
I seem to be getting errors... Can someone help me I have no idea what I'm doing incorrect. I typed in everything correctly.
http://4st.me/HJ8Ki.png
http://4st.me/smVCg.png

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
MrCoolBeans, you're trying to ask about UTimeMoo in the Utime release. They are different releases.
Please go ask in http://forums.ulyssesmod.net/index.php/topic,5737.0.html
Though, before asking, you may wish to review that thread first...others seem to have posted similar errors and been told they're using old versions.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline KayKayy

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
  • Owner of Imperial Servers!
    • Imperial Servers
Hi people, do any of you know where the time data is stored?

I'm moving server hosts and I dont want my players to lose their time on my server.