PtokaX forum

Archive => Archived 5.1 boards => Finished Scripts => Topic started by: dragos_sto on 22 September, 2006, 12:31:03

Title: user and ip log
Post by: dragos_sto on 22 September, 2006, 12:31:03


this script mage log
whit user and what ip use and count the number at thei connect to the hub from same ip
whit ip and what user use and count the number at thei connect to the hub from same nick
whit user last 20 disconnect from the hub at what date and what time thei do this
whit ip last 20 disconnect from the hub at what date and what time thei do this
and online log return online users and at what time thei connect to the hub

enjoy
Title: Re: user and ip log
Post by: NRJ on 22 September, 2006, 13:41:01
Nice script! I translated it into russian)
Title: Re: user and ip log
Post by: dragos_sto on 23 September, 2006, 07:22:05
post here .. or any one ho convert in thei language
Title: Re: user and ip log
Post by: Herodes on 23 September, 2006, 09:07:22
Quote from: dragos_sto on 23 September, 2006, 07:22:05
post here .. or any one ho convert in thei language
I'd think that it is better to attach a file named like [RU]User_IP_Log.lua
Title: Re: user and ip log
Post by: dragos_sto on 23 September, 2006, 20:50:50
i try to post the script here , but i receive a messege .. like
over 10000 char .. :D
so it better to attach scripts
Title: Re: user and ip log
Post by: MrDivine on 16 October, 2006, 20:58:56
can't the info be stored in one simple file per day to? cuz this creates one hell of alot of log files.
Title: Re: user and ip log
Post by: dragos_sto on 17 May, 2007, 08:37:16
Quote from: MrDivine on 16 October, 2006, 20:58:56
can't the info be stored in one simple file per day to? cuz this creates one hell of alot of log files.
it dont matter for me ,
i use a script a long time a go
ho use one single file,after some time , my hub ansewr to my command
very hard ... and discover the problem to be that big file ,
becaus it take to much time to search in them
and make the hub to answer with difficulty

what may say after 6 month
the script make 73125 files
whit a size of 29.1 MB
and size on disk of 285 MB ,becaus one file it smoller then a cluster on disk

any file represent a diffrent log
if have one big file of 20 MB to search in them from a info take some time