All is working nicely with our Egg now, however it's very slow to respond to commands and actions from a next.tcl script we're using.
The ping is fine, it just seems to be sluggish to perform anything.
Is there anything I can tweak? I saw in the conf the thing about a delay for modes such as opping a user when they join, I set this and this is now fine. However commands and actions from our next script is slow and there's nothing in there about speed.
And another command to bypass all queues is 'putdccraw' which will send the string of text directly to the server. It currently gives the fastest outputs if we time it with putquick -next. It will make the bot excess flood very fast -- should be only used carefully and when only necessary.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
This '4 lines per second' will flood your bot off. I recommend not to bypass queuing. Queues are limited and you cannot change them, however you can modify the eggdrop source code, if you know how to and where to if you would like faster outputs.
PUTDCCRAW is unadvisable to use and shouldn't be used unless very it is need very critical -- only use it if the string length is small and you don't want to send alot of information to the server.
And comparing speed in microseconds for 2 very similar speed queues, could vary, due to server lag, shell lag and also if you are sending alot of information.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
There is a change you might want in the eggdrop compile. Many people ask me how to make the eggdrops send server commands faster. By default an eggdrop sends 1 line per 2 seconds. This may be okay for you, but if you have 5+ eggdrops you might want that to be less. Note that the shorter you make this the more chance the eggdrops will flood off the server.
In src/mod/server.mod/server.c change the following line:
#define msgrate 2
To:
#define msgrate 0
Or:
#define msgrate 1.2
It accepts decimals, so you might have to play with it to get a delay
that you like.
dossi wrote:There is a change you might want in the eggdrop compile. Many people ask me how to make the eggdrops send server commands faster. By default an eggdrop sends 1 line per 2 seconds. This may be okay for you, but if you have 5+ eggdrops you might want that to be less. Note that the shorter you make this the more chance the eggdrops will flood off the server.
In src/mod/server.mod/server.c change the following line:
#define msgrate 2
To:
#define msgrate 0
Or:
#define msgrate 1.2
It accepts decimals, so you might have to play with it to get a delay
that you like.
then recompile. (don't forget to kill the bot first)
hmm I have managed to find the file it is in my eggdrop1.6.17 directory.. in where it says it should be.. I also have another folder where the eggdrop runs take it that it is ok to have the two directories one I guess is where the files as talked about above is isntalled and the other is where eveyrthing else is installed or should I put everything into the one directory where the file server.c is? hmm might tyr it and just see if it makes any difference..
EDIT: well I have tried altering that setting and it just doesn't seem to have any real effect not sure why this is... will keep trying
you could install everything other hundreds of directories . Actually I currently use some symlinks directly into the source folder to save some quota ^-^. I hope you dont expect any changes without compiling the bot again and replacing the server.so or eggdrop binary (depending on wether you are using modular or static version).
to recompile just incase I am doing it wrong i ./confure ? and make etc.. again? is this correct, if not then I have done it wrong, I should imagine I don't have to re-install the entire bot and everything again, as for what version I have no idea lol silly me. Well I'd like to sort it out really so that it voices quicker in chat using allvoice.tcl, and greetd or something works quicker and publishes the lines quicker... it shouldn't flood as it isn't many lines.. perhaps I am doing it all wrong..
the fist command issued by the bot would be instant
so as a user joined the bots channel it should voice them immediately
if another user joined then they should also be voiced immediately
however if two users joined together then one may have to wait untill 2 seconds has expired (by default) before they are voiced.
It takes three seconds to focus your eyes on the window so the user would probably not even notice
if you are sending messages with the voicing then that would be a differant matter
(i think i'm right on that)
It's times like this I wished I had listened to What my dad used to say. Can't say what it was I never listened.