Ulysses Stuff > Suggestions

Steam ID logging

(1/2) > >>

Jethro:
Would it be possible to make the next version of ULX record everyones Steam Id as they join the server instead/as well as IP.

This addon will be greatly appreciated by me and other admins as my server does not allow spawning props; meaning there Steam Id is never recorded.

JamminR:
Though it may be possible to delay the logging of the join, or perhaps place a "player has spawn<steamid>" on initial player spawn after the join, the only bit of information available when the player connects is the ip address. STEAM_ID_PENDING is always the result when attempting to use steamid on join.

Chironex:
That's what i did:


--- Code: ---local function playerFirstSpawn( ply )
if util.tobool( GetConVarNumber( "ulx_logEvents" ) ) then
ulx.logString( string.format( "%s [%s][%s] joined the server.", ply:Nick(), ply:SteamID(), ply:IPAddress() ) )
end
end
hook.Add( "PlayerInitialSpawn", "ULXLogConnect", playerFirstSpawn )

--- End code ---

But there is a small "bug": if a player disconnect before spawn it will record "Bla [STEAM_0_0_123456] left the server" but it's like he never joined..not a big problem anyway, just a small bug.

Megiddo:
Yep, this is already implemented in SVN.

Jethro:
I still don't understand what SVN is, Is sounds like its to do with wire mod.
Ps. So can I have a link for downloading "SVN".

Thank you

Navigation

[0] Message Index

[#] Next page

Go to full version