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
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

DragnLord's weather script

Post by DragnLord »

Latest Public Release Version: 4.2.6
Date: Sept. 28, 2009

Code: Select all

Disclaimer:
Released "as is" and without warranty of any kind, whether express, implied, or statutory, including, but not limited to, any warranty of merchantability or fitness for a particular purpose or any warranty that the contents of the item will be error-free.

License:
User is permitted to:
  1) use this script at will
  2) redistribute script whole and unmodified
Last edited by DragnLord on Mon Oct 05, 2009 1:07 pm, edited 72 times in total.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Weather script update

Post by DragnLord »

The weather script, from version 3.5 and higher, now requires that a channel be set to +weather for public displays.
(This is stated in .tcl, however it seems people are having trouble reading that part.)

From DCC/telnet chat partyline:
.chanset #channelname +weather
to make all channels active:
.chanset * +weather

This feature was added as a certain type of flood control.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Re: Weather script update

Post by De Kus »

DragnLord wrote: (This is stated in .tcl, however it seems people are having trouble reading that part.)
neither I did... thx for stating out :).
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

It definitely wasn't just you. Had 20 emails in 2 days about that.
Figured this would be easier then just saying "Reread the included info." about it.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

3.5.1 released

Post by DragnLord »

Submitted 3.5.1 to the tcl archive here.

Found out that the script will display "Wind Gust:" information instead of the regular "Wind:" if it was available. (corrected)

Changed the "Moon Phase:" information displayed.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

is this tcl only working for USA, or worldwide? many ozzies from down under are screamin thier heads off at me lol
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

International weather

Post by DragnLord »

The script reports international weather, just as murf's script was originally intended. murf has stopped working on the script and I am now attempting to keep the script up with website changes.

Please read the header information in the tcl file. :)
User avatar
LOQUILLO
Voice
Posts: 14
Joined: Wed Jul 21, 2004 4:45 pm
Location: Perú

weather script

Post by LOQUILLO »

I am in Peru and weather script works very well, I don't have problems.
It's with basic configuration.
:D
LOQUILLO
IRC Network: EFnet
Channel: #Spanglish
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

new version

Post by DragnLord »

3.5.3 fixes case issues on some webpages
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Added: Islands

Post by DragnLord »

Updated to 3.5.5
wunderground fairly recently separated major islands from their closest country.
Last edited by DragnLord on Sat Aug 05, 2006 1:10 am, edited 1 time in total.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Fixed website changes

Post by DragnLord »

This is such a minor update that it's not getting a new numeric.

weather3.5.5-a is out
E
Elleroth
Voice
Posts: 2
Joined: Wed Sep 07, 2005 6:08 pm
Location: Florida

Post by Elleroth »

Getting error with 3.5.5a when requesting ".wz" public in +weather channels:


[18:04] Tcl error [pub_wz]: can't read "outupd": no such variable


I looked through the code to see if there's anything I could spot that was out of place or missing and didn't notice anything that should prevent it from working, but I'm no code guru. :?
B
Bonnie
Voice
Posts: 23
Joined: Thu Dec 09, 2004 11:20 am

same error here

Post by Bonnie »

Elleroth
I received the same error.
So did a few other users that have the same script.
I think we are on hold until the script can be updated.
Bonnie
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

you will certainly be on hold at least until you post traceback of the error - read the top sticky post in Script Help forum, it applies to this forum as well
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Elleroth wrote:[18:04] Tcl error [pub_wz]: can't read "outupd": no such variable
The error is caused (a new error btw) when the site isn't updated. The script looks for the keyword "Updated:" on the site. I worked around it easily.

Find this line:

Code: Select all

puthelp "$outtarg : \002$city\002 -- $localtime $outupd $updtime"
.. and change to:

Code: Select all

   if {$updtime != ""} {
       puthelp "$outtarg : \002$city\002 -- $localtime \002Updated:\002 $updtime"
   } else {
   	puthelp "$outtarg : \002$city\002 -- \002Updated:\002 N/A"
   }
At least the script will work until DragnLord can permanently fix it. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply