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.

DragnLord's weather script

Support & discussion of released scripts, and announcements of new releases.
Post Reply
s
stoneone
Voice
Posts: 6
Joined: Fri Dec 19, 2008 6:51 pm

Post by stoneone »

Didn't even notice. Thanks!
Last edited by stoneone on Fri Dec 19, 2008 8:09 pm, edited 1 time in total.
User avatar
Suntop
Voice
Posts: 6
Joined: Fri Dec 19, 2008 6:41 pm

Post by Suntop »

stoneone wrote:Just make the changes to the .tcl file that I mentioned, .rehash, and it will work just fine.
I just did, thanx, works like a charm now :wink:
--==> Wizard Suntop <==--
User avatar
Suntop
Voice
Posts: 6
Joined: Fri Dec 19, 2008 6:41 pm

Post by Suntop »

random2 wrote:stoneone, the 745 fix needs to be inside the catch block (yep, in that big now-one-longer-line -- side note, the original coding style and back in weather4 even was better). Otherwise if there's a problem, you'll be writing to the closed socket. It needs to go right after the "GET ...".

The inconsistencies in the coding style here (look at the difference in all three of the places "GET" is in the code makes this rather unmaintainable code.

The script hangtough mentioned is, like this one, also a successor to murf's. If you want the "original" go back to murf's. :P I've looked at that one as well. I'm not fond of the output format of that one either, but note that the parser on that one is better (it looks at the properties of the html, sort of the way you would in XML [simplified explanation]) rather than the structure of the page. It also didn't need to be updated for this page breakage. :)
So how should it be now?
--==> Wizard Suntop <==--
User avatar
GrumpyBear
Voice
Posts: 3
Joined: Wed Dec 17, 2008 7:11 pm
Location: Care-a-Lot

Post by GrumpyBear »

stoneone wrote:Dragonlords script will work with the fixes mentioned before. My 4.2.4 had the mtemp problem and the outtitle problems also. For clarification the patches I made are shown below:

* SNIP *

Thanks.
AWESOME, its working perfect now, thanks for the hot fix :)
d
doubleu
Voice
Posts: 11
Joined: Sun Feb 10, 2008 11:19 pm

Post by doubleu »

yes thank you stoneone! my channel is happy again :)
s
stoneone
Voice
Posts: 6
Joined: Fri Dec 19, 2008 6:51 pm

Post by stoneone »

Yea, the coding style is a bit inconsistent. Actually, I used line returns and tabbed it out right before I posted my edit, and had to edit my edit when I realized how out of place my formatting seemed. :) Sorry for the error, and to those who asked what it should be now, see the edit of my orig. post.

Cheers.
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

stoneone wrote:Yea, the coding style is a bit inconsistent. Actually, I used line returns and tabbed it out right before I posted my edit, and had to edit my edit when I realized how out of place my formatting seemed. :) Sorry for the error, and to those who asked what it should be now, see the edit of my orig. post.

Cheers.
Thank You :D
User avatar
pdq
Voice
Posts: 6
Joined: Sun Jun 24, 2007 12:10 pm

Post by pdq »

thanks for fix stoneone.

=]
User avatar
Suntop
Voice
Posts: 6
Joined: Fri Dec 19, 2008 6:41 pm

Post by Suntop »

Yeah! Thanx for the fix stoneone :)

Now it really works like a charm :D
--==> Wizard Suntop <==--
k
kato
Voice
Posts: 16
Joined: Sun Mar 23, 2008 7:40 pm

working copy

Post by kato »

Ok not sure on where to make changes anyone have a working copy of the tcl to give out, Thanks in advance

Kato :twisted:
k
kato
Voice
Posts: 16
Joined: Sun Mar 23, 2008 7:40 pm

I got it

Post by kato »

it took me a little but got it right and its working correctly thanks for all the info


KATO 8)
M
Meth
Voice
Posts: 5
Joined: Wed Jun 04, 2008 1:21 am
Contact:

Post by Meth »

I made the appropriate edits and am still getting this error.

Code: Select all

[01:11] Tcl error [pub_wz]: can't read "wzsock": no such variable
-We all go a little mad SomeTymes.
C
Crow50
Voice
Posts: 8
Joined: Tue Jun 03, 2008 8:10 am

Thanks !!

Post by Crow50 »

I used your edit post and it worked for me. I am a complete idiot when it comes to tcl, but you made it easy, thanks again.
F
Fl00k
Voice
Posts: 2
Joined: Wed Jul 16, 2008 12:42 am

Post by Fl00k »

Can someone please post a fixed full script, i tried doing the fixes and i keep getting..
Tcl error [pub_wz]: can't read "wzsock": no such variable
Im a sure a few others are too.
A fixed version that is complete would be appreciated.

Thanks!
C
CtrlAltDel
Halfop
Posts: 49
Joined: Wed Jun 02, 2004 7:58 am

Post by CtrlAltDel »

###### Legal stuff ######
## This script is free to use and modify for personal use
## without warranty of any kind.
## Modified versions of this script may not be distributed
## without author's permission (open source != free domain).
but you can get murf's script @

http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=785
Post Reply