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.
Old posts that have not been replied to for several years.
S
Snakebïte
Post
by Snakebïte » Fri Jan 10, 2003 7:06 am
When I use triggers like !google,!imdb etc, wich are using http ;the bot always quits with this mesage:
Quit (Connection reset by peer)
I'm using the latest http.tcl and he's loaded before the other scripts who're needing it.
The strange thing is that sometimes I don't have that problem @ all and when i then rehash or restart the bot the problem is there again :S
Any help is appriciated
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Fri Jan 10, 2003 7:21 am
It is possible that these scripts are not cleaning up after themselves correctly, and hogging memory.
When this happens, is the bot still running, but simply not on IRC?
Have you tried disabling one of the script, see if it stops it?
S
Snakebïte
Post
by Snakebïte » Fri Jan 10, 2003 9:57 am
It not only quits irc but also disconnect & closes.
I've disabled the scripts one by one but still got same problem..
S
Snakebïte
Post
by Snakebïte » Fri Jan 10, 2003 9:57 am
maybe it's something with http.tcl ? I really dunno
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Fri Jan 10, 2003 11:10 am
It's doubtfully anything wrong with the HTTP package.
What other scripts do you have running on the bot?
Where did you obtain the http file from?
Have you tried using the http package that comes as standard with Tcl?
On top, is this a windows machine?
strikelight
Owner
Posts: 708 Joined: Mon Oct 07, 2002 10:39 am
Contact:
Post
by strikelight » Fri Jan 10, 2003 8:07 pm
It is possible that these scripts you are using aren't taking advantage
of http.tcl's asynchronous mode (ie. doesn't make your bot freeze up, allowing it to do other things at the same time as connecting to a web page), via the -command parameter.
What eggdrop version are you using as well? Eggdrop didn't natively support TCL's non-blocking modes until i think version 1.4.x or 1.5.x (other than the connect/control functions supplied by eggdrop itself).
S
Snakebïte
Post
by Snakebïte » Sat Jan 11, 2003 4:22 pm
I'm using windrop 1.6.13, and some http scripts from here ; abcnews, latest chilla's imdb scripts, and the international weather script.
source scripts/winident1.2.tcl
source scripts/action.fix.tcl
source scripts/alltools.tcl
source scripts/chan.tcl
source scripts/egghttp.tcl
#source scripts/http.tcl
#source scripts/botnick.tcl
source scripts/alice.tcl
source scripts/secnews.tcl
source scripts/abcnews.tcl
source scripts/ChanPeak1.3.tcl
source scripts/imdb-20030014.tcls
ource scripts/imdb.tcl
source scripts/supergoogle.tcl
source scripts/meteo.tcl
source scripts/swatch.tcl
source scripts/Dictionary.tcl
source scripts/bseen1.4.2.tcl
source scripts/easyspeak.tcl
source scripts/ass.tcl
source scripts/entertain.tcl
source scripts/totalnfo.tcl
source scripts/onjoin.tcl
source scripts/trivia.tcl
source scripts/banonword.tcl
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Sat Jan 11, 2003 5:38 pm
It may be possible, that with the amount of script loaded, a variable, or a procedure name clashes with another script.
This could be the possible cause of this.
The only way to resolve, or find out if this is the true causes, is to disableone script for a day each, and see if the issues stops.