Ulysses Stuff > Releases

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

<< < (23/84) > >>

Megiddo:
Has anyone been having issues with this since the latest gmod update?

Aaron113:
If your talking about the scoreboard errors, yes.  If your talking about UTime's little on screen menu, one person did complain they couldn't see it.  Everyone but him seems to be able to though.


EDIT:  Then again, maybe I never updated.

Megiddo:
Scoreboard errors? That wouldn't relate to UTime. I asked because people on the UTimeM thread were having issues but I didn't see any problems with this one.

Frrz:
One of my friends joined my server and he keeps geting this error


--- Code: ---Timer Error: autorun\cl_utime.lua:43: attempt to index upvalue 'gpanel' (a nil value)Timer Error: autorun\cl_utime.lua:43: a

--- End code ---

I have utime on the server, and I have no problem.. just wondering if it's my server or if it's him.. and what to do.

Buggzie:

--- Quote from: Frrz on July 06, 2010, 10:07:48 AM ---One of my friends joined my server and he keeps geting this error


--- Code: ---Timer Error: autorun\cl_utime.lua:43: attempt to index upvalue 'gpanel' (a nil value)Timer Error: autorun\cl_utime.lua:43: a

--- End code ---

I have utime on the server, and I have no problem.. just wondering if it's my server or if it's him.. and what to do.

--- End quote ---


--- Quote from: RynO-SauruS on June 30, 2010, 12:20:38 PM ---OK I've attached a slightly modified file that fixes the error that someone920 mentioned,
and also I've found a place where I fixed another error I was getting a long time ago.

And to Megiddo, the part I changed to fix the error that someone920 mentioned is this:

(Starting at line 31 and ending at line 38)

--- Code: ---function initialize( ent )
if ent == LocalPlayer() then -- Player has been initialized
gpanel = vgui.Create( "UTimeMain" )
gpanel:SetSize( gpanel.Wide, gpanel.Small )
hook.Remove( "OnEntityCreated", "UtimeInitialize" )
end
end
hook.Add( "OnEntityCreated", "UtimeInitialize", initialize )

--- End code ---

I changed it to this:

(Starting at line 31 and ending at line 36)

--- Code: ---function initialize()
gpanel = vgui.Create( "UTimeMain" )
gpanel:SetSize( gpanel.Wide, gpanel.Small )
hook.Remove( "InitPostEntity", "UtimeInitialize" )
end
hook.Add( "InitPostEntity", "UtimeInitialize", initialize )

--- End code ---

Let me know if this is flawed in some way.

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version