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 

TVRage.com Schedule Script (Latest: 2.0)
Goto page Previous  1, 2, 3, 4 ... 32, 33, 34  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Sun Feb 12, 2006 6:13 pm    Post subject: Reply with quote

Change line 122 to
Code:
      if {[regexp {^Latest Episode@(\d+)x(\d+)\^([\w\'\.\, \#\&\@\:\(\)\-]+)\^([\w\/]+)$} $line -> season episode eptitle epDate]} {


and line 125 to
Code:
      if {[regexp {^Next Episode@(\d+)x(\d+)\^([\w\'\.\, \#\@\&\:\(\)\-]+)\^([\w\/]+)$} $line -> season episode eptitle epDate]} {


That should fix the problem.
Back to top
View user's profile Send private message
Tammik
Voice


Joined: 23 Jan 2006
Posts: 10

PostPosted: Sun Feb 12, 2006 6:30 pm    Post subject: Reply with quote

yepp that worked..


found another bug now..

when i typ !today now... it show mondays show.. but it is still sunday..
so when i type !schedule mon i will get tue show insted..

is you understand what i mean..
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Sun Feb 12, 2006 6:37 pm    Post subject: Reply with quote

What's your local time? I've had that happen to me near midnight, but haven't had a chance to figure out what is causing it.
Back to top
View user's profile Send private message
Tammik
Voice


Joined: 23 Jan 2006
Posts: 10

PostPosted: Sun Feb 12, 2006 6:39 pm    Post subject: Reply with quote

my time is
Sun Feb 12 23:40:14 CET 2006
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Sun Feb 12, 2006 6:50 pm    Post subject: Reply with quote

Comment out line 154 ... a quick once over and I'm not sure why I had that line in there and it could account for the problem.

Code:
   #set systemTime [expr $systemTime + 3600]
Back to top
View user's profile Send private message
Tammik
Voice


Joined: 23 Jan 2006
Posts: 10

PostPosted: Sun Feb 12, 2006 6:54 pm    Post subject: Reply with quote

yepp great m8 works fine now..
Back to top
View user's profile Send private message
JAFO
Voice


Joined: 13 Oct 2005
Posts: 19

PostPosted: Wed Feb 15, 2006 5:31 am    Post subject: Reply with quote

Tried it , Loving it ...

Nice job GaveUp , thx Very Happy
Back to top
View user's profile Send private message
loc
Voice


Joined: 05 May 2006
Posts: 15

PostPosted: Sun May 14, 2006 8:02 am    Post subject: Does this script still work? Reply with quote

Hi, i've installed this script today, but it doesn't appear to work? Any command i give !today !tomorrow, whatever, gives no channel output OR errors/messages on the partyline. I've copied the lastest code snippets from the author into my tcl. Any ideas?
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Sun May 14, 2006 2:47 pm    Post subject: Reply with quote

The script is still working fine. If it's not working for you make sure you can load this page as that is what is parsed.
Back to top
View user's profile Send private message
qw3rty
Voice


Joined: 06 Apr 2006
Posts: 4

PostPosted: Mon May 15, 2006 7:48 am    Post subject: Reply with quote

first off let me say that the script is awesome... works and looks great...

secondly it would be even more awesome if you could make the output more configurable i.e. colors and also if you could make more variables i.e. show classification , network , genre , etc...
Back to top
View user's profile Send private message
loc
Voice


Joined: 05 May 2006
Posts: 15

PostPosted: Mon May 15, 2006 12:05 pm    Post subject: Reply with quote

GaveUp wrote:
The script is still working fine. If it's not working for you make sure you can load this page as that is what is parsed.


Well i've tried version 0.2 and 0.5 and neither works. I went to that page you said, and lynx on my shell parses it fine. If i do !today in the channel absolutely nothing happens, no message on partyline or anything. It's like the bot is not picking it up. What could this be? Do i need to load any additional tcl's to get this script to work? Could it be this http package i'm missing? How do i check if i have it, and if not, where do i get it?

This is my setup info:
OS: Linux 2.6.15-1-686-smp
Tcl library: /usr/lib/tcl8.4
Tcl version: 8.4.12 (header version 8.4.11)
Tcl is threaded.

Thanks, loc
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Mon May 15, 2006 4:59 pm    Post subject: Reply with quote

Code:
set token [http::geturl [join [list "http://www.tvrage.com/quickinfo.php?show=" [ncgi::encode [string trimleft $text]]] ""]]
#set token [http::geturl [join [list "http://www.tvrage.com/quickinfo.php?show=" [parse:tvrage.com.encodeURL [string trimleft $text]]] ""]]

Try commenting out the first line and uncommenting the second, although if that was the problem an error should be shown.
Back to top
View user's profile Send private message
loc
Voice


Joined: 05 May 2006
Posts: 15

PostPosted: Tue May 16, 2006 9:23 am    Post subject: Reply with quote

GaveUp wrote:
Code:
set token [http::geturl [join [list "http://www.tvrage.com/quickinfo.php?show=" [ncgi::encode [string trimleft $text]]] ""]]
#set token [http::geturl [join [list "http://www.tvrage.com/quickinfo.php?show=" [parse:tvrage.com.encodeURL [string trimleft $text]]] ""]]

Try commenting out the first line and uncommenting the second, although if that was the problem an error should be shown.


I already tried that, i've read this entire thread and included all bugfixes ect. There is no reply at all from the bot. As i said it appears its not seeing the !today command in the channel. Any other ideas? I really want to get this working :/
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Tue May 16, 2006 11:10 am    Post subject: Reply with quote

Short of adding a number of putlog statments all over the place to see just what it does or doesn't do I'm clueless.
Back to top
View user's profile Send private message
loc
Voice


Joined: 05 May 2006
Posts: 15

PostPosted: Tue May 16, 2006 3:24 pm    Post subject: Reply with quote

GaveUp wrote:
Short of adding a number of putlog statments all over the place to see just what it does or doesn't do I'm clueless.


Have you enabled enough error output to the script? Or could it be i missing the http package? Where do i install it?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4 ... 32, 33, 34  Next
Page 3 of 34

 
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