PtokaX forum

Archive => Archived 4.0 boards => Finished Lua 4 scripts => Topic started by: bluebear on 27 June, 2004, 02:26:56

Title: Chat Stats
Post by: bluebear on 27 June, 2004, 02:26:56
To those of you who like chat stats...

Here is at bot that can acces both yhub and ptokax..
Don't see why it should not be able to do stats on any dc hub..

It can generate a html page, and publish it local or via ftp.

http://bluebear.dyndns.dk/

//BlueBear   :]
Title:
Post by: Dyzan on 27 June, 2004, 02:30:40
Locks nice. I will have a closer lock to morrow. :)
Title:
Post by: hyeclass on 02 August, 2004, 08:23:34
hey the link doesnt work and i want to try the script can u put it up thx
Title:
Post by: ((UKSN))shad_dow on 03 August, 2004, 09:44:47
ello

Bluebear the link is dead m8 , can u sort it please

thanks

yours shad
Title:
Post by: bluebear on 22 March, 2005, 17:23:17
There is a version 2.0.1 now

Very much improved from previous versions.

More stats has been added.
8 different layouts on the html page
Don't login to the hub anymore. But it parses a DC++ logfile.
Still uploads via ftp or publish local.
Nickname aliases add'ed
Most refered ULR's add'ed

http://bluebear.dyndns.dk
Title:
Post by: bluebear on 25 March, 2005, 23:14:50
And now there is a version 2.2.0

Added faster generation
Added forbidden words on all ulrs, and 'Most Active Nick'
Added "Live stats"; Monitors the log file and if changed = new update (not advised for ftp uploads)
Added "Last Used By" in 'Most Used Word'
Added More user friendly gui
Added max length on words/last quotes (so they don't screw the view of the page)
Added option for help distribute this program
Fixed trayicon bug

http://bluebear.dyndns.dk
Title:
Post by: Psycho_Chihuahua on 26 March, 2005, 01:08:38
QuoteOriginally posted by bluebear
And now there is a version 2.2.0

Added faster generation
Added forbidden words on all ulrs, and 'Most Active Nick'
Added "Live stats"; Monitors the log file and if changed = new update (not advised for ftp uploads)
Added "Last Used By" in 'Most Used Word'
Added More user friendly gui
Added max length on words/last quotes (so they don't screw the view of the page)
Added option for help distribute this program
Fixed trayicon bug

http://bluebear.dyndns.dk

theres a bug in the Version 2.2, doesn't work on my pc but version 2.1 works fine
Title:
Post by: bluebear on 26 March, 2005, 01:25:46
QuoteOriginally posted by Psycho_Chihuahua

theres a bug in the Version 2.2, doesn't work on my pc but version 2.1 works fine

Do you get any error messages?
Are you sure that the settings are correct?
Title:
Post by: Psycho_Chihuahua on 26 March, 2005, 02:13:49
Installation works

but when i try to start the exe my debugger (VS7.1) wants to start but doesnt give anything out
Title: great
Post by: UwV on 26 March, 2005, 03:17:11
very very nice indeed ..
just one request ..
a way to ban a " partial nick" e.g. by prefix ..
thing is..  i have a certain script that uses random nicks (300 of em) and it uses the same prefix..

anyway .. great  :0) i love this one ..  :D
Title:
Post by: Psycho_Chihuahua on 26 March, 2005, 03:30:48
found the problem...

i didn't have a DC_Temp and DC_Temp/Log Folder in C:  :D
Title:
Post by: bluebear on 26 March, 2005, 10:51:58
QuoteOriginally posted by UwV
very very nice indeed ..
just one request ..
a way to ban a " partial nick" e.g. by prefix ..
thing is..  i have a certain script that uses random nicks (300 of em) and it uses the same prefix..

anyway .. great  :0) i love this one ..  :D

Sure i'll add partial nick bans :)
Title:
Post by: bluebear on 26 March, 2005, 10:53:47
QuoteOriginally posted by Psycho_Chihuahua
found the problem...

i didn't have a DC_Temp and DC_Temp/Log Folder in C:  :D

I just tryed renameing that folder on my system.
And it wants to start the debugger on my pc also.

I will fix that bug today, and release a 2.2.1 later this day
Title:
Post by: bluebear on 26 March, 2005, 10:57:35
Actually i found the bug..

Its triggered by the filesystem watcher, trying to watch a file that do not exist. Forgot to add error handlers to it, and sorry about that..

Its fixed now.. Just gonna add partial bans and then the 2.2.1 is ready
Title: Partial Bans
Post by: bluebear on 26 March, 2005, 11:52:02
For the partial bans it changed the ban system to this:

bluebear   <- ban on whole nick
*bear*   <- ban all nicks containing "bear"
*bear   <- ban all nicks ending on "bear"
blue*   <- ban all nicks starting with "blue"

The bans are not case sensitive and are compared in uppercase.

But be carefull with partial bans cause it may ban more than you think. *blue will ban bluebear, bluebeat, bluesea, bluewater and so on.

Just gonna give it a quick testing and then i'll put on the homepage.
Title:
Post by: UwV on 26 March, 2005, 12:40:20
These didn't make it to the top:

[Elf-Girl]Savitri (1)    Draculina (1)    [Elf-Girl]Maconia (1)    [Elf-Girl]Brigid (1)    [Elf-Girl]Antevorta (1)
[Elf-Girl]73HT3 (1)    Chong (1)    [Elf-Girl]Sekhmet (1)    [Elf-Girl]Coatlicue (1)
aL1en (1)    Cheech (1)

so.. i think it will do what i need it to ..  without causing problems unless some crazy persom decides to use [ElfGirl]..

so i was still runin 2.0.1
tryed an update .. (created the folders)
but got some error messyguess..
QuoteApplication has generated an exeption that could not be handled,
click ok to terminat, cancel to debug..
----------------------------------------------------------------------------------------------------------
cancel->
--------------------------------------------------------------------------
Registered JIT debugger not available ..
 bla, bla etc.
------------------------------------------------------------------------
and i had an idear ..
if you could a "alias" to do the next ...

(in the log)
[2005-03-26 11:44] ^o^ what a nice day :0)

would be neat to be able to say" if line,nick == "multichat"
then find realnick...
or something like that ..

then we could actually have "multi-chat stats" instead of bloccking the mutichatbot..
.. another idea.. ?  parse more then one logfile if wanted by user.. ..  just some idea ..

looking out for version 2.2.1   :0)

*edit* i just noticed i didn't have the ".net sp1" installed so i am not giving up .. ..  :D
--------------------------------------------------------------------------
Downloading Microsoft .NET Framework 1.1 Service Pack 1 (update 1 of 1)... done!
Initializing installation... done!
Installing Microsoft .NET Framework 1.1 Service Pack 1 (update 1 of 1)...
-------------------------------------------------------------------------
Title:
Post by: bluebear on 26 March, 2005, 13:50:35
QuoteOriginally posted by UwV
[2005-03-26 11:44] ^o^ what a nice day :0)

would be neat to be able to say" if line,nick == "multichat"
then find realnick...
or something like that ..

I think I will add support for multichat..
If you could email me your logfile witch contains
multichat, then it would help :)

For the later versions (2.3.x):
The part about haveing it processing multiply logfiles

And there will also be support for associate ulrs with nicknames. So where the nick is mentioned on stats, it will be replaced by a link to the nick's homepage/profile/picture what ever you like :)
Title:
Post by: bluebear on 26 March, 2005, 13:52:19
And the bug-fixed version 2.2.1 is on
http://bluebear.dyndns.dk now

Don't for get to read the .nfo
Title:
Post by: UwV on 26 March, 2005, 15:10:30
working like a charm .. :0)
thanks sir ..

and the logfile .. sure .. but the line(s) you look for i posted above ..
just the realnick would change offcourse ..
like .

[2005-03-26 00:16] <3?> ^o^   this side of town rox
[2005-03-26 01:23] <[Elf-Goddess]Leto> Anyone want to smoke some?
[2005-03-26 01:24] <3?> ^o^   i'm smoking right now ;)
[2005-03-26 01:25] <3?> ^o^   nice weed
[2005-03-26 01:25]  /refresh
[2005-03-26 01:39] <3?> TheRedDwarf ..
                               . , . , ..., .
                         , - "              '-.,
                   ,? '       , ? ''''''''''''  ''\  
               ,'      ,?''                   ;\                  (
               ;    ,?'   /\ /\ /\ /\ /\ /                (  
             ,'.???--.. (       (@)  (@) :                   )
       \_''_'' '?. '','               ..)     ';  _ _ _ ___               (
       /-----?''???''..            {  ......?(_ _\ _ \_ ))))
            ;  _;   '; ''??.............--??''
          /   /.?''''?.  ..;        . ? -,
         .\   \   ?. ,?    ``````        ;
        ( ( ( (/     ,' _\/_  ,?'    ,?'
                   ;      /\  /__,  ' ''-,
                 /_,.--???; /  /_ _ _ ;
               /           / ./        \
             /          <<< ?          \
            '' '';????-/       \--???;?'' ''
     ??'''   ''?????'\       /'?????''   ''??
    ',_______  ?'      '? _______ ,' Smoke Ganja !! ..( not cigarettes )

[2005-03-26 01:44] <-=Holly-Cleaners=-> I have called Cheech to the job. Every (-ifo-) Antennaship that hasn't docked at this hub for 17 Day's will be deleted. (contact the OP's if your gone be away for a period longer then that)
[2005-03-26 01:44]  i processed, 35 (-ifo-) accounts, and 1  of them i have deleted.
[2005-03-26 01:44] 33 Antennaeship Reg accounts were procest by me, 0 of them are now "chellopakistan".
[2005-03-26 01:44] 96 Antennaeship Op or Vip accounts were procest by us, 0 of them are now "Up in Smoke".   ;0)
[2005-03-26 01:50] http://board.univ-angers.fr/main.php
[2005-03-26 02:49] <-=D*S*N*PtokaX=-> and Panoramix  has left us .. 'Acta est fabula, plaudite!'
[2005-03-26 02:51] <3?> ^o^   Enhanced Right Click Support for [RoboCop] is available!
[2005-03-26 07:18] <3?> coffee  ?
                     CH3
                     ?
     O=C ___ N
         /           \
 H3C-N           C=O
         \           /
           C === C
           ?         \
           ?              N-CH3
           ?             /
           N === C
                    ?
                    H                        :0)

[2005-03-26 07:18] <3?> ^o^  <-=Holly-Book=->  Jaaa  lekker! :o)
[2005-03-26 07:18] Private message from -=D*S*N*PtokaX=-: <-=D*S*N*PtokaX=-> *** Connection flood from IP 80.216.44.137 detected.
[2005-03-26 07:18] Private message from -=D*S*N*PtokaX=-: <-=D*S*N*PtokaX=-> *** Connection flood from IP 62.166.183.9 detected.
[2005-03-26 07:18] <-=D*S*N*PtokaX=-> theivo Crashes Through The East Wall Arriving In The Hub.

------------------------------------------------------------
as you see..
pretty straight forward ..

exept .. this clientside-mutihub/games/ascci script,
uses the mutinick for the ascii too
(but i change that and send ascii from different nick and block that so dont worry bout that.. )
<3?> ^o^
Title:
Post by: UwV on 26 March, 2005, 16:12:45
all fine just one or two little things..

if changing css and nothing new found in log ..
-------
3/26/2005 4:07:09 PM Generator started...
Nothing new in log
-----------
and gui hangs ...


also no option for filename ? just folder .. (in local save)
also seems to crash after choosing a different ".css" folder..

but heee .. great work ..  (no complaints here)
i am a very happy chappy :0)

--------------------------------------------------------
and please..
 disable the option to disable the download links on the page.. i think this help is "mandotory" so should not be disabled ever ..
;0)
Title:
Post by: bluebear on 28 March, 2005, 14:52:57
FTP bug discovered..

http://bluebear.dyndns.dk/BlueSTATS2.2.1.Beta_FTPFIX.rar

^^^update if you use the ftp part...

Donwload, unpack, replace the .exe in the folder where you installed bluestats
Title:
Post by: bluebear on 28 March, 2005, 15:13:15
If you got the magmar link on your stats.. then just download the BlueSTATS2.2.1.Beta_FTPFIX.rar again.. it removed now
Title:
Post by: bluebear on 08 April, 2005, 15:24:06
Info to those of you who visit the site http://bluebear.dyndns.dk/

This weekend (Friday 08-04-2005 to Sunday 11-04-2005) the server hosting bluebear.dyndns.dk will expirense down-time due to network re-configuration and other upgrades.

Sorry for the inconvenience.
Title: Source
Post by: BrokenBrick on 03 May, 2005, 04:53:30
If possible I'd like the source for this script.  I am hoping to install it on a nix system with VerliHub.
Title:
Post by: bluebear on 30 May, 2005, 20:57:32
QuoteOriginally posted by BrokenBrick
If possible I'd like the source for this script.  I am hoping to install it on a nix system with VerliHub.

This is not open source. So you can't have the source code of this. But it originates from pisg, that does the same stats by parseing logfiles. It's open source and written in perl. Runs under linux/win32 with perl.
http://pisg.sourceforge.net/

/Bluebear
Title: New version
Post by: bluebear on 12 June, 2005, 21:59:13
Hey ppls.

New version of BlueSTATS out.
v 2.3.0 Beta

You can do multiply logfiles, select encoding.. See for your self :o)

Download at http://www.thewildplace.dk/
Title:
Post by: bastya_elvtars on 12 June, 2005, 22:58:27
QuoteOriginally posted by bluebear
QuoteOriginally posted by BrokenBrick
If possible I'd like the source for this script.  I am hoping to install it on a nix system with VerliHub.

This is not open source. So you can't have the source code of this. But it originates from pisg, that does the same stats by parseing logfiles. It's open source and written in perl. Runs under linux/win32 with perl.
http://pisg.sourceforge.net/

/Bluebear

If it is based on this, you MUST include the source, as it is GPL licensed.

QuoteThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.