Raised This Month: $134 Target: $400
 33% 

Last Users Connected


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 02-26-2006 , 23:11   Last Users Connected
Reply With Quote #1

Current version: v0.18

What is it?
Ever had a player come onto your server, and insult you, or cause havoc, then leave before anyone can get a steamid? Or how about the players who tell you the name of someone who was causing problems, but didn't get a steamid. Or griefers that join your server, annoy everyone, then rejoin under a different name, with no one knowing.

Not anymore.
With this plugin, every player who comes onto your server has their steamid logged, along with any name they used on the server. You can then either view the names/steamid's of the last people to disconnect, or you can search for a name/steamid and see everyone who has used that name.

Changes:

v0.16->v0.17
  • Old databases will need to be deleted when upgrading to this version
  • All queries are now threaded when a player joins.. this means no more lag spikes when a player connects, regardless of database size.
  • Added lc_keepnames
For older changes, click here

How do I use it?
You need to download and Install SourceMM. Next, set it up like a normal plugin.

Commands:
Server:
lc_aka 1|0 - Turns AKA mode on/off (Will show a players previous names in chat when they connect)
lc_delay X - This is the minimum time between using any commands, in seconds, set to 0 to remove.
lc_showtime 0|1 - Show timestamps when displaying results?
lc_maxnames X - Only display X names for each steamid. This effects both AKA and console commands.
lc_keepnames X (default 168 (one week)) - Number of hours to keep names for, set to 0 to keep forever. When a user has no more names associated with them, they will be dropped from the database.

Client:
last X - Will show you the last X users to disconnect. If X is missing, it defaults to 25.
finduser <string> - Search for any user names containing <string>, <string> must be three or more characters.

Where can I get it?

[b]NOTE: When upgrading to 0.18, you must delete this file: /addons/last_connected/data/database.sq
here (win32 and linux)
here (source code)
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/

Last edited by devicenull; 07-19-2006 at 21:17.
devicenull is offline
Opossum
Senior Member
Join Date: Dec 2004
Location: weedcheaters.com
Old 02-26-2006 , 23:46  
Reply With Quote #2

Yes, that's a really nice idea. This could be very, very usefull. I'll give it a try within the next days.
__________________
194.126.237.23:27015

194.126.237.23:27015
Opossum is offline
Send a message via ICQ to Opossum Send a message via AIM to Opossum Send a message via MSN to Opossum Send a message via Yahoo to Opossum
Rebell
Veteran Member
Join Date: Nov 2004
Location: GERMANY
Old 02-28-2006 , 09:07  
Reply With Quote #3

TNX
__________________
Rebell is offline
[FON]BlackHole
Member
Join Date: Jan 2006
Location: Wisconsin
Old 02-28-2006 , 09:13  
Reply With Quote #4

You mean I can get out of the habit of pressing my bound "status" key every 5 minutes now? OMG!

Loaded it up on the server we'll see how it goes. =)
__________________
[FON]BlackHole - "Darkness everybody! Darkness!"
[FON]BlackHole is offline
Send a message via MSN to [FON]BlackHole
Rebell
Veteran Member
Join Date: Nov 2004
Location: GERMANY
Old 02-28-2006 , 09:35  
Reply With Quote #5

Works good - but would be nice to see it not only in the console !

With "last" in the chat and a ingame list would be nice ( like mani-menu and others does )

And all the fakeclients by L.Duke are listed, too. Can this be filtered ?

good work so far - cya
__________________
Rebell is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 02-28-2006 , 11:10  
Reply With Quote #6

Best way to filter them would be to not include players whose SteamID=="BOT"
L. Duke is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 02-28-2006 , 14:55  
Reply With Quote #7

Quote:
Originally Posted by L. Duke
Best way to filter them would be to not include players whose SteamID=="BOT"
I'll do this when I get home from work, and add support for doing it in chat. Not sure about menu's, I'll have to take a look.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
Rebell
Veteran Member
Join Date: Nov 2004
Location: GERMANY
Old 02-28-2006 , 19:22  
Reply With Quote #8

Sounds good , thanks

And would it be to hard to make a readeble .txt-file of it ?!?
I mean to make a little php script to show the last XX players on server would be cool.


cya
__________________
Rebell is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 02-28-2006 , 19:57  
Reply With Quote #9

Quote:
Originally Posted by Rebell
Sounds good , thanks

And would it be to hard to make a readeble .txt-file of it ?!?
I mean to make a little php script to show the last XX players on server would be cool.


cya
PHP can use the sqlite database... http://us2.php.net/sqlite
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
awuh0
Senior Member
Join Date: Apr 2005
Location: /dev/null
Old 02-28-2006 , 23:27  
Reply With Quote #10

This is a really sweet plugin, would you mind adding a cvar for how many users to track at a time?
__________________
~The_wUh
_________________
Ph34r teh zombies!!!
find a better way to play CSS, connect to...
thewuh.servebeer.com
thecircus.servebeer.com
awuh0 is offline
Send a message via ICQ to awuh0 Send a message via AIM to awuh0 Send a message via MSN to awuh0
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:41.


Powered by vBulletin®
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Theme made by Freecode