Raised This Month: $51 Target: $400
 12% 

Plugin Request [LOG players IP]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
S@ndel
Junior Member
Join Date: Mar 2005
Old 01-09-2006 , 01:14   Plugin Request [LOG players IP]
Reply With Quote #1

When player enter to server, his enters date, nick name and IP write to some file.
Some one can do it ?

Sorry for my bad eng.
S@ndel is offline
Send a message via ICQ to S@ndel
S@ndel
Junior Member
Join Date: Mar 2005
Old 01-09-2006 , 22:00  
Reply With Quote #2

up_
S@ndel is offline
Send a message via ICQ to S@ndel
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 01-09-2006 , 22:25  
Reply With Quote #3

I'll attempt it, I'll post here if I have something that might work. I won't be testing it before hand though, just letting you know.
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 01-23-2006 , 01:51  
Reply With Quote #4

My bad, forgot about this. I will work on it sometime this week, pm me if i don't post anything about it ;)
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
S@ndel
Junior Member
Join Date: Mar 2005
Old 03-09-2006 , 09:45  
Reply With Quote #5

up again
people, i'm really need this plugin
someone can try make it ?
S@ndel is offline
Send a message via ICQ to S@ndel
capndurk
Senior Member
Join Date: Feb 2006
Old 03-09-2006 , 12:20  
Reply With Quote #6

Haven't tested, but I don't need to. It works.

Create a folder named "player_logs" in the directory (cstrike, etc.) of your server.

This will log by date, the entries will include the time down to the second, and it will log the player's name and in brackets <> the ip address.

Format: name <IP Address: ip> has connected.

Have fun.

Code:
/* * *  Name: simplelog.sma * *  Version: 1.0 * *  Purpose: S@ndel wants it. * *  Usage: Logs name and ip address of each player who has connected to *         the server. amx_logging cvar turns it on/off (1 - on). * */ #include <amxmodx> new PLUGIN[]="SimpleLog" new AUTHOR[]="n!nja" new VERSION[]="1.0" public plugin_init() {     // Register plugin     register_plugin(PLUGIN, VERSION, AUTHOR)     register_cvar("amx_logging", "1")         return PLUGIN_CONTINUE } public client_connect(id) {        if(get_cvar_num("amx_logging") == 1)     {         new username[32]         new ipaddress[32]                 new logline[192]         new filename[100]                 get_time("player_logs/%Y-%m-%d--players.log", filename, 99)                 get_user_name(id, username, 31)         get_user_ip(id, ipaddress, 31)                 format(logline, 191, "%s <IP Address: %s> has connected.", username, ipaddress)         log_to_file(filename, logline)     }         return PLUGIN_HANDLED }

The amxx:
capndurk is offline
S@ndel
Junior Member
Join Date: Mar 2005
Old 03-10-2006 , 10:02  
Reply With Quote #7

Thank you so much!
I'll test it in a minute
S@ndel is offline
Send a message via ICQ to S@ndel
capndurk
Senior Member
Join Date: Feb 2006
Old 03-10-2006 , 10:13  
Reply With Quote #8

Glad to help out man. Just give me a pm or something if it doesn't work.
capndurk is offline
Flashhh!
Senior Member
Join Date: Nov 2005
Old 03-10-2006 , 10:29  
Reply With Quote #9

Very nice and usefull plugin, could this plugin include a function that we put something in console like who is xxxxx and give us all the nicks that used that IP in the past?
Flashhh! is offline
capndurk
Senior Member
Join Date: Feb 2006
Old 03-10-2006 , 10:33  
Reply With Quote #10

Uhh... that's beyond my knowledge, haha. You'd have to ask someone more experienced. Sorry.
capndurk is offline
Reply



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 09:53.


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