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 ... 24, 25, 26 ... 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
Pixelz
Voice


Joined: 15 Jun 2005
Posts: 24
Location: EFnet

PostPosted: Tue Mar 30, 2010 6:09 am    Post subject: Reply with quote

GaveUp wrote:
Thanks for the patch. Looking through it, unless I'm missing something most of the changes fix some inconsistencies in the syntax, unless I'm missing something?


expr/if without braces can be very dangerous. I haven't looked that deeply at the code though so it's possible it's fine. Consider the following:

Code:
% set x {[die]}
[die]
% if $x ...
invalid command name "die"
% expr $x
invalid command name "die"
Back to top
View user's profile Send private message
guest
Halfop


Joined: 19 Jan 2004
Posts: 52

PostPosted: Sat Apr 10, 2010 12:22 pm    Post subject: Reply with quote

I think its a shame that u have changed this script taking out what rosc had done with it. You said you had not changed anything when you released 1.0
but you did as you took out all rosc edits that made the script even better giving users the options to pm the bots to get info or in channel now I have tried to update to your new version which plain just does not work on my bot
it works 25% as I can do the tvinfo primetime commands but the announce
just plainly does not work. If I run the updatecache this all it will do

[09:10] Tcl error [::tvrage::updateCache]: invalid command name "debug"
[09:11] Tcl error [::tvrage::announceShows]: can't read "schedule(US:schedule)": no such element in array


I don't even have debug listed in the config right now its set to INFO only
oh well its a shame scripts get changed and made not useable at times.

I did not even change anything in the script thats default settings oh well another good script gone to crap
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Sat Apr 10, 2010 12:39 pm    Post subject: Reply with quote

guest wrote:
I think its a shame that u have changed this script taking out what rosc had done with it. You said you had not changed anything when you released 1.0
but you did as you took out all rosc edits that made the script even better giving users the options to pm the bots to get info or in channel now I have tried to update to your new version which plain just does not work on my bot
it works 25% as I can do the tvinfo primetime commands but the announce
just plainly does not work. If I run the updatecache this all it will do

[09:10] Tcl error [::tvrage::updateCache]: invalid command name "debug"
[09:11] Tcl error [::tvrage::announceShows]: can't read "schedule(US:schedule)": no such element in array


I don't even have debug listed in the config right now its set to INFO only
oh well its a shame scripts get changed and made not useable at times.

I did not even change anything in the script thats default settings oh well another good script gone to crap


Script works fine, and wasn't it rosc that forked it, not the other way around, stop bitchin and contribute something useful.
_________________
I see j00!
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Sun Apr 11, 2010 2:23 pm    Post subject: Reply with quote

guest wrote:
I think its a shame that u have changed this script taking out what rosc had done with it. You said you had not changed anything when you released 1.0
but you did as you took out all rosc edits that made the script even better giving users the options to pm the bots to get info or in channel now I have tried to update to your new version which plain just does not work on my bot
it works 25% as I can do the tvinfo primetime commands but the announce
just plainly does not work. If I run the updatecache this all it will do

[09:10] Tcl error [::tvrage::updateCache]: invalid command name "debug"
[09:11] Tcl error [::tvrage::announceShows]: can't read "schedule(US:schedule)": no such element in array


I don't even have debug listed in the config right now its set to INFO only
oh well its a shame scripts get changed and made not useable at times.

I did not even change anything in the script thats default settings oh well another good script gone to crap


You're right. It was rosc that forked in and as far as I know her fork still works just fine. I have no problem with anyone forking this script and adding features as they see fit. The assumption that I will take any and all forks and merge it back in to my code base is delusional. First and foremost this is a script I use. For what I use it for it works and has worked well for years.

I'll make it quite clear, this script is no democracy. It's my code. I decide what goes in to it and I decide what updates I make to it. If you don't like that, like I said before fork your own. Better yet, here's an even crazier concept: write your own!

If you look back, I've always had an extremely low tolerance for idiots and all bitching will do is make it less likely that I'll make any updates I make to this script public.

Now with those specific complaints, or rather trolling. The script has for a long time supported accepting commands from private message as well as announcing privately. The fact that you were not able to even look and understand this much of the script and yet still modified it to try to make it "work" (hint: it worked before) means I am not even going to attempt to guess how you broke the script in such a way to get the errors above.

Now with all of that said, if you has a legitimate and useful bug report then please report it along with the steps I need to take to report it, but understand I do NOT support any forks that have been made of this script. Again, there is nothing wrong with rosc's fork but I will not support it.

So if anyone has any of the following please post them and they'll get looked at:

*Useful bug reports. See above, for what qualifies as useful.
*Original themes. I would be more than happy to include most themes in the default package than just the default theme currently there.
*Patches. Patches are always welcome, preferably in patch format as Pixelz provided recently. Note, just because I receive a patch does not mean I will immediately incorporate it in to the code base or incorporate it at all. Only that I will investigate it and decide whether or not to merge it in. (BTW: Thanks again Pixelz for the patch.)

Things to not post:
*Whining, ranting, btiching and any other useless drivel. If you don't like the script than offer something constructive or GO AWAY.
*Problems regarding dict. I've said before and I'll say it again that I will not deal with a person's inability to administer their bot installation. In addition there is a separate thread for dict.
Back to top
View user's profile Send private message
sephrond
Voice


Joined: 11 Apr 2010
Posts: 4

PostPosted: Sun Apr 11, 2010 6:02 pm    Post subject: Reply with quote

I would like to offer thanks to GaveUp for the work done on this script. I use it without problems.

I modified the default.theme which incorporated the following changes. The schedule announces were changed to
Code:
 NOTICE {%%nick%%}
instead of
Code:
 PRIVMSG {%%chan%%}

This keeps channel spam to a minimum. I added variables for BOLD, COLOR, etc which made format and color changes easier for me. I also changed the color and format of the !showinfo announce somewhat.

These are changes anyone can make, but If anyone is interested in it let me know.

--Seph--
Back to top
View user's profile Send private message
NorthSide
Voice


Joined: 08 Dec 2008
Posts: 8

PostPosted: Sat Apr 17, 2010 6:07 pm    Post subject: TVRage TCL 2.0b5 Reply with quote

TVRage TCL 2.0b5 seem to not be working anymore i keep getting errors! tvrage.tcl warning: Unable to load tvrage.conf. Using default values.
tvrage.tcl info: Loaded themes/default.theme successfully.
UDEF: tv defined
UDEF: tvlog defined
UDEF: tvannounce defined
TVRage: TVRage: ERROR: connect failed connection refused
TVRage: TVRage: ERROR: connect failed connection refused
TVRage: TVRage: ERROR: connect failed connection refused
TVRage: TVRage: ERROR: connect failed connection refused
Tcl error [::tvrage::announceShows]: can't read "schedule(US:schedule)": no such element in array
-
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Sat Apr 17, 2010 7:07 pm    Post subject: Reply with quote

The URLs for retrieving show information changed. Update the settings to http://www.tvrage.com/quickinfo.php and http://www.tvrage.com/quickschedule.php.
Back to top
View user's profile Send private message
NorthSide
Voice


Joined: 08 Dec 2008
Posts: 8

PostPosted: Wed Apr 28, 2010 6:29 am    Post subject: TvRage.Tcl Reply with quote

It looks like they had change there link again cuz my !primetime !today !tomorrow wasnt working!!! easy fix just go to tvrage.conf.defaults and change the link back to ->

set tvrage(showinfourl) "http://services.tvrage.com/tools/quickschedule.php"

Im sure most of you already knew that!
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Wed Apr 28, 2010 8:33 am    Post subject: Re: TvRage.Tcl Reply with quote

NorthSide wrote:
It looks like they had change there link again cuz my !primetime !today !tomorrow wasnt working!!! easy fix just go to tvrage.conf.defaults and change the link back to ->

set tvrage(showinfourl) "http://services.tvrage.com/tools/quickschedule.php"

Im sure most of you already knew that!


I never changed mine and it never stopped working, not sure what your problem is.
_________________
I see j00!
Back to top
View user's profile Send private message
ace530
Voice


Joined: 29 Apr 2010
Posts: 2

PostPosted: Thu Apr 29, 2010 9:29 pm    Post subject: TCL ERROR Reply with quote

Hello can someone tell me the problem I have down below. Rolling Eyes
Bot starts fine then when i do a rehash through the bot this is what ends up.


can't read "tvrage(enableTVLog)": no such variable
[18:05] <INFO> while executing
[18:05] <INFO> "if { $tvrage(enableTVLog) } {
[18:05] <INFO> if { [file exists "$tvrage(tvlog)"] } {
[18:05] <INFO> set tvrage(tvlogSize) [file size $tvrage(tvlog)]
[18:05] <INFO> set tvrage(tvlogTimer) ..."
[18:05] <INFO> (procedure "init" line 10)
[18:05] <INFO> invoked from within
[18:05] <INFO> "init"
[18:05] <INFO> (in namespace eval "::tvrage" script line 985)
[18:05] <INFO> invoked from within
[18:05] <INFO> "namespace eval tvrage {
[18:05] <INFO> if [info exists tvrage] {
[18:05] <INFO> unset tvrage
[18:05] <INFO> }
[18:05] <INFO> set tvrage(version) "v2.0b5"
[18:05] <INFO> set tvrage(versionLine) "TV
[18:05] <INFO> [01:05] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Back to top
View user's profile Send private message
sadnem
Voice


Joined: 18 Mar 2010
Posts: 10

PostPosted: Thu May 06, 2010 12:11 pm    Post subject: Re: TvRage.Tcl Reply with quote

wac wrote:
NorthSide wrote:
It looks like they had change there link again cuz my !primetime !today !tomorrow wasnt working!!! easy fix just go to tvrage.conf.defaults and change the link back to ->

set tvrage(showinfourl) "http://services.tvrage.com/tools/quickschedule.php"

Im sure most of you already knew that!


I never changed mine and it never stopped working, not sure what your problem is.


I also have a problem with !today, !tomorrow, !yesterday, !primetime, I get a
"No schedule is cached for" error with all the commands listed.
Back to top
View user's profile Send private message
NorthSide
Voice


Joined: 08 Dec 2008
Posts: 8

PostPosted: Sun May 09, 2010 1:42 pm    Post subject: tvrage script v2.0b5 Reply with quote

Loading TVRage.com Primetime Schedule Script v2.0b5
tvrage.tcl warning: Unable to load tvrage.conf. Using default values.
Loaded themes/default.theme successfully.
UDEF: tv defined
UDEF: tvlog defined
UDEF: tvannounce defined
Successfully loaded TVRage.com Primetime Schedule Script v2.0b5

when rehashing the bot and it loads the tvrage.tcl then locks up for a min or makes the bot ping out or even sometimes it isnt showing displays right. heres a sample

!showinfo dexter
Title :: {%%show_name%%} <> URL :: {%%show_url%%} <> Premiered :: {%%premiered%%} <> Latest Episode :: N/A <> Next Episode :: N/A <> Country :: {%%country%%} <> Status :: {%%status%%}

but then again sometimes it works anyone here also having this problem or know of some kind of fix? thanks for your time guys.
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Wed May 12, 2010 10:54 am    Post subject: Reply with quote

It looks like the URLs were changed back to the services.tvrage.com ones so your configs will need to be updated. That should resolve the problems you guys are seeing. The http timeout may need to be increased a bit too.
Back to top
View user's profile Send private message
sadnem
Voice


Joined: 18 Mar 2010
Posts: 10

PostPosted: Thu May 13, 2010 10:52 am    Post subject: Reply with quote

GaveUp wrote:
It looks like the URLs were changed back to the services.tvrage.com ones so your configs will need to be updated. That should resolve the problems you guys are seeing. The http timeout may need to be increased a bit too.


If I do !today (or !yestarday, etc...) I still get:
<Mybot> No schedule is cached for Thursday, 13 May 2010

What could this be?
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Thu May 13, 2010 6:59 pm    Post subject: Reply with quote

Do a rehash or an !updateCache.
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 ... 24, 25, 26 ... 32, 33, 34  Next
Page 25 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