Go Back   FlashFXP Forums > > > >

bounty's scripts BQUOTA, NEWDIR, BTRIAL, OCSCRIPT, VERSION SCRIPT, IMDB.TCL

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-03-2005, 01:02 AM   #136
thatruth
Junior Member
 
Join Date: Jan 2005
Posts: 4
Default help please

IMDB_DEBUG permission_result == 0 how can i make this work? and what is the tellin me. i know it is in debug. otherwise i get notin if it is off.
Truth
thatruth is offline   Reply With Quote
Old 01-04-2005, 04:21 PM   #137
grimreap
Junior Member
 
Join Date: Jan 2004
Posts: 2
Default

I have the exact same problem now. Anyone have a fix for this? It started by noticing -bot- No no no! I can't find that!

So I upgraded to the newest version and now get nothing
grimreap is offline   Reply With Quote
Old 01-04-2005, 05:36 PM   #138
thatruth
Junior Member
 
Join Date: Jan 2005
Posts: 4
Default

i updated and the same thing i have talked to poeple tried this and that and notin. they change there site again?

Truth
thatruth is offline   Reply With Quote
Old 01-04-2005, 06:54 PM   #139
Izguer2000
Junior Member
 
Join Date: Dec 2004
Posts: 18
Default

thatruth: "IMDB_DEBUG permission_result == 0" means you didn't set +imdb on your channel... read the instructions in the beginning of the file
and for it to work you have to make the same changes as doomx303


grimreap: what "exact same problem" ?
Izguer2000 is offline   Reply With Quote
Old 01-04-2005, 07:58 PM   #140
thatruth
Junior Member
 
Join Date: Jan 2005
Posts: 4
Default

got it find out why.

truth
thatruth is offline   Reply With Quote
Old 01-05-2005, 03:45 PM   #141
BigBird
Junior Member
 
Join Date: Jan 2005
Posts: 13
Default same problems..

i tried evrything u guys said,
on some of the movies i got results, and other movies just

Tcl error [imdb_proc]: can't read "location": no such variable

donno what's the difference between the movies names.
BigBird is offline   Reply With Quote
Old 01-05-2005, 04:57 PM   #142
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

BigBird: Read a few posts above.

Quote:
Originally posted by Tantuss
I fixed it with this:

change:
regexp {title/tt[0-9]+/} $oldpage(meta) location

to

regexp {title/tt[0-9]+/} $oldpage(body) location

works only with http so not with curl..

I guess that they removed the meta tags..
neoxed is offline   Reply With Quote
Old 01-05-2005, 05:21 PM   #143
BigBird
Junior Member
 
Join Date: Jan 2005
Posts: 13
Default

already tried it...
BigBird is offline   Reply With Quote
Old 01-05-2005, 07:51 PM   #144
Izguer2000
Junior Member
 
Join Date: Dec 2004
Posts: 18
Default

Did you also try my fix?

Quote:
Originally posted by Izguer2000
Change
"{<title>IMDb name and title search</title>} "
to
"{<title>IMDb name and title search}"
and change
"regexp {title/tt[0-9]+/} $oldpage(body)"
back to
"regexp {title/tt[0-9]+/} $oldpage(meta)"
I'll post my modified version tomorrow - going to sleep now...
Izguer2000 is offline   Reply With Quote
Old 01-05-2005, 10:58 PM   #145
grimreap
Junior Member
 
Join Date: Jan 2004
Posts: 2
Default

ah well this seemed to fix my problem

change:
regexp {title/tt[0-9]+/} $oldpage(meta) location

to

regexp {title/tt[0-9]+/} $oldpage(body) location

I kept getting the error
Tcl error [imdb_proc]: can't read "location": no such variable
grimreap is offline   Reply With Quote
Old 01-06-2005, 06:12 AM   #146
BigBird
Junior Member
 
Join Date: Jan 2005
Posts: 13
Default

oh, ok. now it's working
but i want to add something from the "chilla's IMDB script".
the rating_bar of the stars :P

can somebody help me?

Quote:
# the user rating
set j [expr $i + 3]
set line2 [lindex $lines $j]
set j [expr $i + 4]
set line3 [lindex $lines $j]
regsub -all \<\[^\>\]*\> $line3 "" rating
regsub -all \&nbsp\; $rating " " rating
regsub -all \[\ \t\]+ $rating " " rating
set rating [string trim $rating " "]
set goldstars [regexp -all goldstar $line2]
set greystars [expr 10 - $goldstars]

# generating the rating bar
set marker "*"
set rating_bar "11\[7"
for {set i2 0} {$i2 < $goldstars} {incr i2 1} {
set rating_bar "$rating_bar$marker"
}
set marker "-"
set rating_bar "$rating_bar14"
for {set i3 0} {$i3 < $greystars} {incr i3 1} {
set rating_bar "$rating_bar$marker"
}
set rating_bar "$rating_bar11\]"
putserv "PRIVMSG $nick :$rating $rating_bar"
question is how to make it works in this script
BigBird is offline   Reply With Quote
Old 01-06-2005, 08:48 AM   #147
Izguer2000
Junior Member
 
Join Date: Dec 2004
Posts: 18
Default

Ok now here is my modified script.
I also added chilla's rating bar if that's what you want.
Changes are listed in the header.

Edit: Attachment didn't work, here is a link:

imdb.rar
Izguer2000 is offline   Reply With Quote
Old 01-06-2005, 09:59 AM   #148
BigBird
Junior Member
 
Join Date: Jan 2005
Posts: 13
Default

thank you
perfect
BigBird is offline   Reply With Quote
Old 01-07-2005, 09:17 AM   #149
BigBird
Junior Member
 
Join Date: Jan 2005
Posts: 13
Default

i just noticed that when theres no "stars"(raiting) i get error msg
Tcl error [imdb_proc]: can't read "rating_bar": no such variable
and the bot doesn't send anything...
BigBird is offline   Reply With Quote
Old 01-07-2005, 11:43 AM   #150
Izguer2000
Junior Member
 
Join Date: Dec 2004
Posts: 18
Default

Thanks for the hint - fixed it.
If you don't want to redownload:
Insert

set rating_bar ""

after

set language "N/A" ; set soundmix "N/A" ; set top250 "top/bottom:N/A"
Izguer2000 is offline   Reply With Quote
Reply

Tags
bounty, fun, imdb.tcl, m8s, script

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download grinding to a halt bruceh General Discussion 6 09-07-2004 08:29 AM


All times are GMT -5. The time now is 11:27 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)