PDA

View Full Version : package require http 2.3 error


ChipMunk666
11-01-2005, 11:50 AM
well i searched the forum cause i knew i had this once before

but now there is one diffrence the bot is outside the ioftpd dir and still says it

http://www.inicom.net/forum/showthread.php?t=13301&highlight=package+http+2.3

this was the link

this is the error i got


[17:37] can't find package http 2.3
while executing
"package require http 2.3 "
invoked from within
"if { $IMDB_ALT == 0 } { package require http 2.3 }"
(file "scripts/dZSbot.tcl" line 1189)
invoked from within
"source scripts/dZSbot.tcl"
(file "eggdrop.conf" line 212)
[17:37] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

so i went searching in dszbot.tcl

and i found this
if { $IMDB_ALT == 0 } { package require http 2.3 }
proc imdbcall {vpath url user group winpath} {
#putlog "proc imdbcall"
global binary disable IMDBTAG IMDBMSG_STYLE IMDB_ALT IMDBMSG_MSG
set title "N/A" ; set name "N/A" ; set genre "N/A" ; set tagline "N/A"
set plot "N/A" ; set rating "N/A" ; set votes "N/A" ; set mpaa "N/A"
set runtime "N/A" ; set budget "N/A" ; set screens "N/A" ; set country "N/A"
set language "N/A" ; set soundmix "N/A" ; set top250 "N/A"
set url2 [string map {207.171.166.140 www.imdb.com} $url]
if { $disable(IMDBURL) == 0 } {
regexp {[^/]+$} $winpath tempDN
set dirname [string tolower $tempDN]
set urlid [open $winpath/$dirname.url w]
puts $urlid "\[InternetShortcut\]\nURL=$url2"
close $urlid
}

but no source to alter :s

can anyone help me out?
strangest thing is it was allready working i just rebooted the bot :s
I use firedeamon btw

ChipMunk666
11-10-2005, 11:08 AM
found the solution put http.tcl before all other scripts :)