egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

My bot is very slow

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Arnold_X-P
Op


Joined: 30 Oct 2006
Posts: 144
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Sun May 14, 2017 8:01 pm    Post subject: My bot is very slow Reply with quote

My bot before was very fast, now that adding more channels is very slow.
My eggdrop when it was on 3 channels was very fast, (it only took 15 seconds to respond requests), and for two weeks I added 3 more channels, ie my bot is now on 6 channels, now it takes about two minutes to work or respond Tcl requests.
It seems that when adding more channels the bot takes or is slow
Some friend that help me to make my bot fast as before.

In summary it seems that when adding more than five channels to the bot this influences that the bot is very slow, some friend who teaches me to solve this slowness by adding more than five channels.

help please
_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
caesar
Ass Kicker


Joined: 14 Oct 2001
Posts: 3403
Location: Area 51

PostPosted: Mon May 15, 2017 2:02 am    Post subject: Reply with quote

Most likely you have some TCL scripts that are causing problems. Try with removing them all and see if there's a difference and then load them one by one until you notice the lag is back. When you find the culprit fix or remove it. Simple as that.
_________________
You may say anything about me, but don't misspell my name.
Back to top
View user's profile Send private message
Arnold_X-P
Op


Joined: 30 Oct 2006
Posts: 144
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Mon May 15, 2017 1:29 pm    Post subject: Reply with quote

Friend will not have a command in partyline to see how tcl works or show that tcl is consuming resources it is possible to see that with commands in partyline or dcc.

ok caesar thanks
I will check the tcl all and load in two by two to see that tcl is giving errors..
_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Arnold_X-P
Op


Joined: 30 Oct 2006
Posts: 144
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Wed Jun 21, 2017 4:16 pm    Post subject: Reply with quote

hi caesar
I found the bug is in the file kantuta.chan
To much use the activation by partyline in .chanset #chan +
That makes the bot saturate and late in responding some tcl
The bot responds after 2 minutes that I enter the irc
Code:

#Dynamic Channel File for Kantutina (eggdrop v1.8.0+preinit) -- written Sat Apr 22 14:00:00 2017

channel add #cremacamba { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #cremacamba -udef-flag-mc.who
channel set #cremacamba +udef-flag-whereis
channel set #cremacamba +udef-flag-whois
channel set #cremacamba +udef-flag-cswelcome
channel set #cremacamba -udef-flag-masscmd
channel add #lapaz { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #lapaz -udef-flag-mc.who
channel set #lapaz +udef-flag-whereis
channel set #lapaz +udef-flag-whois
channel set #lapaz +udef-flag-cswelcome
channel set #lapaz -udef-flag-masscmd
channel add #beni2 { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #beni2 -udef-flag-mc.who
channel set #beni2 -udef-flag-whereis
channel set #beni2 +udef-flag-whois
channel set #beni2 +udef-flag-cswelcome
channel set #beni2 -udef-flag-masscmd
channel add #ayudas { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #ayudas -udef-flag-mc.who
channel set #ayudas -udef-flag-whereis
channel set #ayudas +udef-flag-whois
channel set #ayudas -udef-flag-cswelcome
channel set #ayudas -udef-flag-masscmd
channel add #potosi { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #potosi -udef-flag-mc.who
channel set #potosi -udef-flag-whereis
channel set #potosi +udef-flag-whois
channel set #potosi -udef-flag-cswelcome
channel set #potosi -udef-flag-masscmd
channel add #cochabamba { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #cochabamba -udef-flag-mc.who
channel set #cochabamba +udef-flag-whereis
channel set #cochabamba +udef-flag-whois
channel set #cochabamba -udef-flag-cswelcome
channel set #cochabamba -udef-flag-masscmd
channel add #chile { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #chile -udef-flag-mc.who
channel set #chile -udef-flag-whereis
channel set #chile +udef-flag-whois
channel set #chile -udef-flag-cswelcome
channel set #chile -udef-flag-masscmd
channel add #SantaCruz { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #SantaCruz -udef-flag-mc.who
channel set #SantaCruz +udef-flag-whereis
channel set #SantaCruz +udef-flag-whois
channel set #SantaCruz +udef-flag-cswelcome
channel set #SantaCruz -udef-flag-masscmd
channel add #beni { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:85 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #beni -udef-flag-mc.who
channel set #beni +udef-flag-whereis
channel set #beni +udef-flag-whois
channel set #beni -udef-flag-cswelcome
channel set #beni -udef-flag-masscmd
channel add #Trinidad { chanmode +tn-ki idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:90 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #Trinidad -udef-flag-mc.who
channel set #Trinidad -udef-flag-whereis
channel set #Trinidad +udef-flag-whois
channel set #Trinidad -udef-flag-cswelcome
channel set #Trinidad -udef-flag-masscmd
channel add #bolivia2 { chanmode +tn-ki idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 8:30 flood-ctcp 3:90 flood-join 6:70 flood-kick 3:65 flood-deop 4:50 flood-nick 4:65 aop-delay 5:30 ban-type 3 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet -protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
channel set #bolivia2 -udef-flag-mc.who
channel set #bolivia2 -udef-flag-whereis
channel set #bolivia2 +udef-flag-whois
channel set #bolivia2 -udef-flag-cswelcome
channel set #bolivia2 -udef-flag-masscmd

The solution would be to increase the loading speed of the file kantuta.chan
Friend caesar is there any way to quickly load the kantuta.chan file so my bot is not slow
_________________
Very Happy thanks to that they help, that others learn Very Happy


Last edited by Arnold_X-P on Wed Jun 21, 2017 4:27 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Arnold_X-P
Op


Joined: 30 Oct 2006
Posts: 144
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Wed Jun 21, 2017 4:26 pm    Post subject: Reply with quote

Delete the kantuta.chan and without activating any setudef flag or .chanset #chan +
And when I enter my bot into irc and the channel the bot was again quick to respond to requests either .ping or other
In sistesis the detail of my bot is very slow is because it has many activations in kantuta.chan via partyline using the setudef flag or .chanset #chan +
_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber