damn, i think i got it now. after some [censored] hours of compiling and trying other possibilities my bots seems to send their queue immidiatly now.
this is for all the guys who have bots on their own network and hate to wait until the damn queue is being flushed.
i'm using 1.6.10 i think, so the lines may differ...
/src/mod/server.mod/server.c [l. 166]:
Code: Select all
while (modeq.head && (burst < 4) && ((last_time - now) < MAXPENALTY)) {
change to:
Code: Select all
while (modeq.head && (burst < 9999) && ((last_time - now) < MAXPENALTY)) {
/src/dccutil.c [l. 144]:
change to
i don't know if it's the best solution, but it works for me
explination: the bot has a burst in it's mode queue, that means he sends out the first 4 lines in the mode queue immidiatly and then every 2 second one or something. with this changes you force him to send the first 9999 (so all i think *g*) and of course put every line (doesn't matter if you use putquick, putserv, puthelp ...) in the mode queue.
hf, if i've forgot something, reply
btw: if you don't want to recompile the whole bot, first do a 'rm src/dccutil.c' in the eggdrop source directory, then type 'make', 'make modules' (maybe not needed any more, but doesn't hurt...). then stop all running bots and type 'make install'. when you start your bots again they should be fast as *** =)
/beez