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.

stats.mod bug

Discussion of Eggdrop's code and module programming in C.
Post Reply
h
hakim
Voice
Posts: 19
Joined: Sun Apr 23, 2006 3:39 am

stats.mod bug

Post by hakim »

When I type !place nick bot starts an infinitive loop like this one:

Code: Select all

[02:29:40] <bot_nick> [02:29] s_t_sc: 'nick', 'time wasted'
[02:29:40] <bot_nick> [02:29] s_t_sc: 'nick', 'time wasted'
[02:29:40] <bot_nick> [02:29] s_t_sc: 'nick', 'time wasted'
[02:29:40] <bot_nick> [02:29] s_t_sc: 'nick', 'time wasted'
[02:29:40] <bot_nick> [02:29] s_t_sc: 'nick', 'time wasted'
[02:29:40] <bot_nick> [02:29] s_t_sc: 'nick', 'time wasted'
[02:29:40] <bot_nick> [02:29] s_t_sc: 'nick', 'time wasted'
[02:29:40] <bot_nick> [02:29] s_t_sc: 'nick', 'time wasted'
[02:29:40] <bot_nick> [02:29] s_t_sc: 'nick', 'time wasted'
Why is this happening?

EDIT: I also get a warnung during compilation:

Code: Select all

gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c stats.c
stats.c: In function 'eggbnd_minutely':
egg_bindings.c:130: warning: control reaches end of non-void function
rm -f ../stats.o
mv stats.o ../
gcc -pipe -shared -nostartfiles -o ../../../stats.so ../stats.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -ldns -lnsl 
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

use 1.3.3, 1.4.x is unstable.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Post Reply