This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 27 matches

by pelefanten
Tue Nov 02, 2004 1:28 pm
Forum: Archive
Topic: Channel stats and MySQL
Replies: 41
Views: 14771

caesar wrote:@ pelefanten:
I get a 404 on http://www.cau.se/mystats/
Thats mainly because of
pelefanten wrote: ... I'm focusing on the pgstats.mod module from now on since postgresql has the features I'm looking for ...
I've kinda dropped the developement of mystats.
by pelefanten
Tue Nov 02, 2004 1:26 pm
Forum: Archive
Topic: Channel stats and MySQL
Replies: 41
Views: 14771

So far the installation runs fine (eaven for a n00b like me !) But i dont get any Stats from the Bot [07:08pm] [Satras] !top10 [07:08pm] (..notice..) |Bot|: No users in database. Does this means, i have to add every user to the Database ??? Maybe i missunderstood this script. I thought it is like a...
by pelefanten
Fri Jun 25, 2004 8:34 pm
Forum: Archive
Topic: Channel stats and MySQL
Replies: 41
Views: 14771

Well at this time i'm using a windrop with fastbase dll to support the connection to mysql. I'm sorry but I dont know what fastbase is. The only way I know of, correct me if I'm wrong here, is to compile the module againts the mysql headers and library. But i have a problem. The module doesn't add ...
by pelefanten
Sun Jun 06, 2004 9:18 am
Forum: Archive
Topic: rehash crashes - restart doesn't (also empty string prob)
Replies: 5
Views: 2560

This one should take care of text == NULL and text = ""

Code: Select all

#include <string.h>

if (strlen(text) == 0) {
    ....
}
Or if you dont want to use strlen

Code: Select all

if (!text || !*text) {
    ....
}
by pelefanten
Wed May 19, 2004 11:23 am
Forum: Archive
Topic: Eggdrop Release
Replies: 3
Views: 2090

1.6.16-rc1

by pelefanten
Tue May 04, 2004 10:02 am
Forum: Archive
Topic: Channel stats and MySQL
Replies: 41
Views: 14771

Other SQL Servers

I doubt that it will work with any other SQL server. As for supporting other SQL servers I've rewritten the module with PostreeSQL support. However, this "version" is not quite stable yet.

For anyone who wants to try the pgSQL module out, download it from http://www.cau.se/dev/pgstats
by pelefanten
Sun Apr 11, 2004 1:12 pm
Forum: Archive
Topic: console updates way too often for me
Replies: 2
Views: 1091

Statuslog

From eggdrop.conf : # statuslog # Log the channel status line every 5 minutes? This shows the bot's # status on the channel (op, voice, etc.), the channel's modes, and # the number of +m/+o/+v/+n/+b/+e/+I users on the channel. A sample # status line follows: # # [01:40] @#lamest (+istn) : [m/1 o/1 v...
by pelefanten
Tue Mar 30, 2004 4:45 pm
Forum: Archive
Topic: Channel stats and MySQL
Replies: 41
Views: 14771

Adding users needs to be done manually. But, since this module basically has nothing to do with channel security you can add people by their nick.

Code: Select all

.+suser homeboy homeboy*
Or if you want to be somewhat strict:

Code: Select all

.+suser homeboy homeboy!*
New version out, http://www.cau.se/dev/mystats/
by pelefanten
Thu Jan 29, 2004 5:11 am
Forum: Archive
Topic: Channel stats and MySQL
Replies: 41
Views: 14771

What this project lack tho, is a webbased interface for viewing the stats. I have one, using phpBB frontend style, at http://www.cau.se/mystats . Allthough, it only shows channel stats and stats for whomever is online.
by pelefanten
Fri Jan 09, 2004 12:11 pm
Forum: Archive
Topic: Channel stats and MySQL
Replies: 41
Views: 14771

Awesome, if it works that would be slick.

Latest version 1.58 is considered stable. But if you have any probs dont hesitate to message me.
http://www.cau.se/dev/mystats/mystats-1.58.tar.gz
by pelefanten
Fri Jan 02, 2004 7:10 pm
Forum: Archive
Topic: How i can .....
Replies: 1
Views: 1131

What you're looking for is probably not a public-command trigger, but rather a public message trigger. static int mymod_pubm(char *nick, char *host, char *handle, char *channel, char *text) { return 0; } static cmd_t mymod_pubm_tbl[] = { {"*", "", mymod_pubm, NULL}, {NULL, NULL, ...
by pelefanten
Fri Nov 14, 2003 4:45 am
Forum: Archive
Topic: mySQL and TCL problems
Replies: 4
Views: 1611

Well, you will need the mySQL headers and librarys if you wanna compile a module using mySQL.

Code: Select all

$ mysql_config
This should show you where the libraries are at, maybe there's something wrong with the Makefile, maybe...
by pelefanten
Sat Nov 01, 2003 7:46 pm
Forum: Archive
Topic: Module Archive
Replies: 7
Views: 2438

And then theres mystats.mod (like stats.mod) at http://www.cau.se/dev/mystats ,
myexpl.mod at http://www.tty0.org/page/myexpl (with a pgsql version at http://www.tty0.org/page/pgexpl )
by pelefanten
Sat Sep 06, 2003 7:09 am
Forum: Archive
Topic: Can.t get mystats.so to work
Replies: 6
Views: 2043

I dont know if its such a good thing to rename the lines-counter to "lines" since its a reserved word by mysql.

http://www.mysql.com/doc/en/Reserved_words.html
by pelefanten
Fri Sep 05, 2003 2:17 am
Forum: Archive
Topic: Can.t get mystats.so to work
Replies: 6
Views: 2043

Glad it worked, and I'd be happy to explain what some of the table colums holds (you may have figured some out already). chans.status can either be -1,0,1 or 2. -1 Once you join a channel a record is beeing created with this default It means that you dont keep stats for this channel. Inactive mode. ...