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.

Bot is too slow

Help for those learning Tcl or writing their own scripts.
Post Reply
d
darton
Op
Posts: 155
Joined: Sat Jan 21, 2006 11:03 am

Bot is too slow

Post by darton »

Hello!
I have a bot, who repeats everything what another bot says (with putquick). But if the other bot says too much, my bot gets slower. I think after 5 lines the bot changes from putquick to puthelp, that's why it gets so slow. Is there a possibility to change this?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Your bot is not changing queues, it's just lagging since it's sending too much data to the server.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

its lagging on purpose to avoid flooding itself of the net. You can try to compile with msgrate 1 (which also works fine for me, since you usually dont use lines longer than 254 characters), but unless you have the "lizence to flood", you shouldn't increase the speed more... putquick with msgrate 1 will most likely already result in excess flood.
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...
d
darton
Op
Posts: 155
Joined: Sat Jan 21, 2006 11:03 am

Post by darton »

I dont have this file.
src/mod/server.mod/server.c
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

darton wrote:I dont have this file.
src/mod/server.mod/server.c
Look in directory with source code instead of installed eggdrop.
Que?
d
darton
Op
Posts: 155
Joined: Sat Jan 21, 2006 11:03 am

Post by darton »

Is it possible that you dont have this file with windrop?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

darton wrote:Is it possible that you dont have this file with windrop?
windrop is a binary distribution. you will need to use the compiling guide on windrop homepage to compile the bot from source (and therefore to be able to modify the source).

However, you can also search for 'putdccraw' on this forums, if you are so enthusiastic.
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