Last Users Connected
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
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) |
Yes, that's a really nice idea. This could be very, very usefull. I'll give it a try within the next days.
|
TNX :D
|
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. =) |
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 :wink: |
Best way to filter them would be to not include players whose SteamID=="BOT"
|
Quote:
|
Sounds good , thanks :D
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 :roll: |
Quote:
|
This is a really sweet plugin, would you mind adding a cvar for how many users to track at a time?
|
Quote:
I could probably set up a cvar so it will start deleting older records after it reaches the number in that cvar. Is this what you were talking about? |
Not really what I was going for, I thought you only stored 100 steamid's at a time, but now that you mention it a cleanup would be nice for extremely old entries. :)
|
All I can say is it works, but I'd also like to see the steam IDs next to the player names:
ASSHAT - STEAM_0:0:000000 |
Quote:
|
Quote:
but how about the ingame "chat" commant and menu ? cya :D |
Can someone who is having the problem of steamids not appearing, send me the database.sq file in addons\last_connected\data?
When the steamid's aren't appearing, is it a linux or win32 server? |
I use linux and see only the names ...
cya |
Quote:
|
Updated, added a few things, fixed that linux bug.
|
When i get home ( im at work now... ) i can send you the file.
What means : Will show a players previous names in chat when they connect ? ( sorry for my bad english *gg* ) Q: can you add a timestamp from the server like : 2006-03-03 17:33:12 -- Rebell -- STEAM:ID:007 Q: thought about the ingame chat commant last xx that shows the list at the left side ? --- cya :D PS: just found a nice SQLite browser : http://sqlitebrowser.sourceforge.net |
nice find rebell, my database is empty though :(
|
Just wanna post a link with servers running lastconnected :
http://www.game-monitor.com/search.p...ersion&ruleval @awuh0: aaeehmmm... what means "nice find rebell" ? im not sooo good in english *gg* cya |
nice database browser you shared with us
devicenull, with the new version I get [META] Failed to load plugin addons\last_connected\bin\lastconnected_mm. Could not find interface ServerGameDLL003 linux server. |
1 Attachment(s)
Ok, then i will wait for v0.12
here is the acual sqlite file ... should contain : Code:
Stomp.13ambo0cha, |
Quote:
Also, the database is empty until the plugin sucessfully runs to create the table :) Rebell: The bug with it not showing steamid's is fixed in 0.11. The aka mode thing displays this: devicenull AKA: devicenull.exe, devicenull.sma, NSPlayer...etc when a player connects to the server... not sure why you would wait for 0.12. I think that the say interface won't be needed with the above feature. |
Ah - understand now.
OK - ill try the new one and repost. But an ingame menu would be nice... cya :wink: |
hmmm... load failed with v0.11
Code:
[01] Mani Admin Plug 1.2Beta Mani RUN Code:
[01] Mani Admin Plug 1.2Beta Mani RUN |
Updated to fix interface not found problems.
|
Yep, the latest fix does it :
Code:
meta list |
V0.12 crashes my server ...
Alway when im typing "last" in console... :cry: |
Quote:
|
I still get this...
20:34:05 -Id- Name Version Author Status [01] GoreMod 2.4.1b c0ldfyr3 RUN [02] CS:S DM 0.84a BAILOPAN RUN [03] - - - FAIL 20:34:08 meta refresh 20:34:08 [META] Failed to load plugin addons\last_connected\bin\lastconnected_mm. Could not find interface ServerGameDLL003 20:34:08 [META] Loaded 0 plugins from file (2 already loaded) |
What is the md5sum of your binary?
The correct one is 55e357fe20a355de14290470a7784c31 *lastconnected_mm_i486.so If they don't match.. redownload it to a new folder somewhere, and try again.. I'm not sure what to tell you, I just downloaded the lastest release, and extracted it to a linux css server that was updated today.. and everything worked fine. |
Uploaded latest V0.12 but crashes when i write last in console...
here the last from serverconsole : Code:
L 03/06/2006 - 16:50:28: World triggered "Round_Start" perhap it is : NUM_FOR_EDICT: bad pointer what makes a problem... cya |
0.12 crashes my linux box as well...
Also recommending you rename your download file to reflect version numbers instead of using the same file name. I'm sorry I can't get more detail for you at the moment, but if you need something else let me know...and let me know how to get it just in-case I don't know. Currently running: MetaMod 1.2.1 ForgiveTK 1.1.1 BAT 1.1.3 |
/srcds/cstrike/addons/last_connected/bin$ md5sum lastconnected_mm_i486.so
55e357fe20a355de14290470a7784c31 lastconnected_mm_i486.so Still has the error, still will not load, I updated meta mod from 1.2 to 1.21 as well with no apparent effect. |
Version 0.1 worked.
Please upload this one - i dont have it anymore... cya |
$ md5sum -b lastconnected_mm_i486.so
55e357fe20a355de14290470a7784c31 *lastconnected_mm_i486.so At the game console, I type Code:
meta load addons/last_connected/bin/lastconnected_mm_i486.so Code:
Failed to load plugin addons/last_connected/bin/lastconnected_mm_i486.so (libstdc++.so.6: cannot open shared object file: No such file or directory). I noticed no other metamod plugin I have uses that library: spawnhealth, stripper, statsme, fakeclients. It might not be necessary. Here's a full output of ldd on the .so Code:
linux-gate.so.1 => (0xffffe000) |
I fixed the libstdc problem, I had forgotten about it.
Can someone who was having crashes load the plugin again and try this: Rather then just typing last in console, add a number from 0-100 after it.. like "last 25". I'm wondering if the error is being caused when it tries to get an argument to the command that doesn't exist. |
Ive deleted all and uploaded it again. Now it works !
Code:
] last |
All times are GMT -4. The time now is 19:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.