Ulysses Stuff > Releases

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

<< < (14/84) > >>

Samusaaron3:
How hard would it be to modify UTime to have it also store the player's steamid?

Megiddo:
You would need a basic understanding of Lua and SQL.

XwawawaX:

--- Quote from: Lt.Smith on January 06, 2008, 05:16:21 AM ---I checked the Lua logs, fixed one bug where Lua doesn't know what if (blah) AND (lol) then means. For the rest the script is not throwing any errors and I think I've figured out why. If the db doesn't connect the script returns. Nothing shows up when I join, so it has to be that the db isn't connecting properly and the hooks aren't being, well, hooked.

Amazing, I asked for help and came to the right conclusion myself. ;D

--- End quote ---
So can you type the full working script?

ahref:
im having a problem with this. If a player is looking at another player who is kicked or disconnects then the player still on the server gets a whole bunch of lua errors:


--- Code: ---autorun/cl_utime.lua:236: Tried to use a NULL entity!

--- End code ---

Looking at this line it displays the nick of the person on the server which of course does not exist if they have just been kicked :(


Megiddo:
Oops... need to fix that.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version