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 15 matches

by makam
Thu Aug 11, 2005 8:05 am
Forum: Modules & Programming
Topic: Problems with "global".. on compile-time (with my
Replies: 7
Views: 13862

Fixed!

Well, the solution is very elegant :) I include the curl's headers file BEFORE src/mod/module.h header :) So, in the curl.c is "empty"... and the htlive.c : ..... #include <string.h> #include <curl/curl.h> #include <curl/easy.h> #undef global #include "src/mod/module.h" .... #inc...
by makam
Wed Aug 10, 2005 10:46 am
Forum: Modules & Programming
Topic: Problems with "global".. on compile-time (with my
Replies: 7
Views: 13862

What happens when you comment the part of global in this line (line 64 in htlive.c: static Function *global = NULL, *channels_funcs = NULL,*server_funcs = NULL; change to static Function *channels_funcs = NULL,*server_funcs = NULL; But it dont resolve anything. I use nmalloc, where is defined in th...
by makam
Tue Aug 09, 2005 3:58 pm
Forum: Modules & Programming
Topic: Problems with "global".. on compile-time (with my
Replies: 7
Views: 13862

:(

Doesnt work! :cry: The same error. Perhaps, the error is not the "#undef global", because i removed it and enclose it, like u said. hmhm.... Function *global? :? :? Make log -> http://hteggviewer.makam.org/errors/make.log The files: http://hteggviewer.makam.org/errors/curl.c http://hteggvi...
by makam
Tue Aug 09, 2005 1:04 pm
Forum: Modules & Programming
Topic: Problems with "global".. on compile-time (with my
Replies: 7
Views: 13862

Problems with "global".. on compile-time (with my

Hi, i'm written my C module + xml + curl librarys And my problems show up (it looks like) when i include the curl.h in my module. :evil: My main file is: htlive.c and some part of the code is: .... #include <string.h> #undef global #include "src/mod/module.h" #include "src/users.h&quo...
by makam
Tue Aug 09, 2005 12:28 pm
Forum: Modules & Programming
Topic: Translate TCL to C++ Please!!
Replies: 7
Views: 15480

Well, here u have... Remember u can read the eggdrop core source code (and modules), and learn from there..... static char *stats_channel = "#Channe1"; static char *stats_url = "http://www.google.com/bsd"; static cmd_t stats_pub[] = { {"!stats", NULL, stats_trigger, NUL...
by makam
Mon Aug 23, 2004 10:24 am
Forum: Archive
Topic: bind time
Replies: 7
Views: 3781

if i want each 2 minutes?

"?2 * * * *"

is it ok? :roll:


Thx...
by makam
Mon Aug 23, 2004 3:25 am
Forum: Archive
Topic: bind time
Replies: 7
Views: 3781

well, this code may be ejecute each 10 minutes, right?
by makam
Mon Aug 23, 2004 3:19 am
Forum: Archive
Topic: bind time
Replies: 7
Views: 3781

bind time

Why this code dont ejecute?

bind time - "10 * * * *" mi_proc

proc mi_proc {min hour d month year} {
putlog "This is an example..."
}



...ugh?
by makam
Sun Aug 22, 2004 6:43 am
Forum: Archive
Topic: get_language
Replies: 0
Views: 1112

get_language

Hi,
How can i know, that i'm not rewriting a number language, when i write my
lang file to my module.. ?..ugh?


Thx.
by makam
Thu Aug 12, 2004 10:18 pm
Forum: Archive
Topic: Best way to develop TCL-scripts?
Replies: 14
Views: 4455

Yeah, me too...
The same way.
by makam
Thu Aug 12, 2004 1:03 pm
Forum: Archive
Topic: eggdrop+libxml2 (any guru arround?)
Replies: 1
Views: 930

eggdrop+libxml2 (any guru arround?)

Someone of you, any time works with libxml2 in eggdrops? Because, im having troubles in the compile time. To compile a mainfile with libxml2 i need compile it in this way: gcc -o myxmlapp -I/usr/local/include/libxml2 main.c -L/usr/local/lib -lxml2 -lz -lpthread -lm My question is, when i try to comp...
by makam
Wed Aug 11, 2004 6:45 pm
Forum: Archive
Topic: Howto program triggers?
Replies: 2
Views: 1774

Yes, sure.

Take a look in the channel module.
channel.c, you can see same like:
add_hook

Study that...
by makam
Sat Aug 07, 2004 6:05 pm
Forum: Archive
Topic: i need some special for my help module?
Replies: 4
Views: 2402

KrzychuG wrote:Did you added

Code: Select all

add_help_reference("filename.help");
in module_start function and

Code: Select all

del_help_reference("filename.help");
in module_close function?

hehe, here is the problem :D
I forget it, thx a lot.
by makam
Fri Aug 06, 2004 9:39 pm
Forum: Archive
Topic: i need some special for my help module?
Replies: 4
Views: 2402

i need some special for my help module?

I just finished my Module in C.
I tested it, run it, its all right.

So, i started to write the help about it.
But, i can't see the help when i type, .help <some_cmd_of_my_module>
My eggdrop said that the cmd dont exist.

any idea, suggestion?

Thx.
by makam
Fri Aug 06, 2004 3:22 pm
Forum: Archive
Topic: Blowfish encryption
Replies: 14
Views: 7421

It didn't take loo long and appears to be working like a champ now with my SWIG module. Here's the URL: http://www.bludgeon.org/~rayvd/source/pyEggUtils/ If you grab eggpass.c, you can use it all by itself to generate eggdrop passwords. Or grab the whole tarball if you're familiar with Python! Erro...