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.

Slow output

Old posts that have not been replied to for several years.
Locked
d
ddouma
Voice
Posts: 6
Joined: Mon Mar 14, 2005 8:52 am
Location: Netherlands

Slow output

Post by ddouma »

Hi peeps,

I searched here for some time, but I couldn't find an answer to my question, I'm hoping you can help me with my little problem/question.

First of all: I love eggdrop, I used mirc scripts for a little time also. But I sticked at eggdrop :D .

Now onto my problem/question:
Is it normal that eggdrop shows text on a channel very slow? With my mirc scripts output was very fast, and 5 rows of text where show very fast. But eggdrop does it slow, line for line.

Anyone knowing how to speed up this?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

the bot uses an internal queue to prevent itself to flood of the server like "Quit (Excess Flood)" ^-^. The fastest you should ever use unless your bot has the "priviledge to flood" on the server is "putquick". usually you should use puthelp to dump, because any kicks, mode changes etc. will be queued ahead to puthelp so it can respond to floods and still not risk to be kicked because of Excess Flood.

however, if you still like to increase speed of dumping, check out here:

http://forum.egghelp.org/viewtopic.php? ... light=dump
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
ddouma
Voice
Posts: 6
Joined: Mon Mar 14, 2005 8:52 am
Location: Netherlands

Post by ddouma »

Thanks, but I don't see anything in the topic where and what I have to change...
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

ddouma wrote:Thanks, but I don't see anything in the topic where and what I have to change...
If you leak knowledge to do either 1 of the suggestions, I will advise you to forget about it.
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
ddouma
Voice
Posts: 6
Joined: Mon Mar 14, 2005 8:52 am
Location: Netherlands

Post by ddouma »

I don't leak knowledge, it's just I don't want to reinstall the bot again the change it. There is no hint where you can change the speed up in the config file or files in the modules map.
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

eggdrop have different queues, with different speeds.

So here's an example of how you can use those queues in your scripts

Code: Select all

puthelp "PRIVMSG #channel :Slow, use this to send large amounts of text"
putserv "PRIVMSG #channel :Normal queue."
putquick "PRIVMSG #channel :Fast, but might excess flood your bot."
Or to bypass all queues

Code: Select all

set text "PRIVMSG #channel :Vroom"
putdccraw 0 [string length $text] $text
But you already knew this, right ?
d
ddouma
Voice
Posts: 6
Joined: Mon Mar 14, 2005 8:52 am
Location: Netherlands

Post by ddouma »

Yeah I already knew some of that. But if I replace puthelp with putquick. Then the first 3 a 4 lines go fast, then it goes slow again... maybe a buffer problem or so?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

gb wrote: Or to bypass all queues

Code: Select all

set text "PRIVMSG #channel :Vroom"
putdccraw 0 [string length $text] $text
well it still queues stuff on socket queues (using tputs()) but only if write() says it has been unable to flush all data (remember, all network I/O in eggdrop is non-blocking), so I guess you can safely say "to bypass all queues" (provided that you don't flood it hehe)
But you already knew this, right ?
I doubt that guy knows what you are talking about, it seems to me he wanted sort of a magic wand to wave and automagically make all eggdrop output faster
d
ddouma
Voice
Posts: 6
Joined: Mon Mar 14, 2005 8:52 am
Location: Netherlands

Post by ddouma »

Wrong demond, why are you guys all pre-talking that I have no knowing about eggdrops. I just asked something that's all.
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

I was just being sarcastic as a reply to his "I dont lack the knowledge" statement. :wink:
d
ddouma
Voice
Posts: 6
Joined: Mon Mar 14, 2005 8:52 am
Location: Netherlands

Post by ddouma »

Thanks gb, you where to only person normal enough to help me :)
Locked