Eggheads: Removing queue delays completely.
CoolCold
coolcold at coolcold.org
Fri Dec 30 14:16:37 CST 2005
Hello Richard,
Friday, December 30, 2005, 10:55:29 PM, you wrote:
RB> Hi,
RB> I guessed it would be better to ask this sort of question on a mailing
RB> list than on IRC...
RB> My query is somewhat an unusual one. Some of my bots sit on a server
RB> which I administer. Therefore, they have unusual powers granted to them
RB> in the way of flood control. The bots are completely exempt. They can
RB> send megabytes of text to the server if they want, and get away with it.
RB> Of course, this presents a somewhat unusual problem. Eggdrop queues it's
RB> outgoing messages, which is okay. But once the queue hits more than
RB> three lines or so, the eggdrop starts to delay processing the next item
RB> in the queue. This makes perfect sense on a normal server, but where the
RB> eggdrop is exempt for flood rules, it presents a problem.
RB> Even when using putquick in a tcl script, I still get the same issue,
RB> which is to be expected.
RB> I know I can change the length of the queue in the bot's .conf file, but
RB> I cannot change the delay via set variables (or can I?). So, as I
RB> understand it, I'd have to edit or patch the source somehow.
RB> I can't code C at all. Looking at the source gave me a headache. The way
RB> I understand it, I'd have to edit the irc module's code. I found various
RB> references to the queue length in there, but not delaying processing.
RB> So, my questions are; How can I go about removing the queue delay that
RB> eggdrop imposes? Would it be feasible to add this feature (as a variable
RB> in the .conf) to the next version of eggdrop before the RC comes out in
RB> January?
RB> Regards,
RB> Ribs.
Take a look at http://eggdrop.org.ru/scripts/putserv_vs_putfast.tcl
I've wrote this script to eliminate any flood limits eggdrop has in
it's queues except that are used by modules in C, but i guess this is
possible too.
Load this script before all others ( while this is not strictly
required ). It overrides default putserv/puthelp/putquick commands
with our own and send data to server without any checks. I hope this
is what you need.
np: 101-the_thrillseekers_present_nightmusic_volume_1-disc_1_the_dj-tsp
Best regards,
CoolCold [COOLCOLD-RIPN]
More information about the Eggheads
mailing list