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.

Weather3.tcl

Old posts that have not been replied to for several years.
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Has anyone else had problems with the tcl that pulls weather data from wunderground.org starting today? I've used it for months and months without a problem and today it seems they changed something on their site to screw with the script's parsing..

Example:
<me> .wz
<bot> is currently reporting:
<bot> Temp: NR Wind Chill: NR Humidity: 54% (No Report)
<bot> Conditions : with wind at 0 mph
<bot> Last update at 7:53 PM CDT on May 13, 2002

Humidity was 55% a short while ago, so I guess that is still working, just not the rest.. Any ideas on how to fix this or links to other similar weather tcls would be much appreciated.
f
fox

Post by fox »

Check out their website, it's under constrution, I've had the smae problem it pisses me off. Also I used to have a nice google and file script that worked great until google redid their site so i couldn't use it anymore.
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Yeah, and I do not remember exactly how the site was set up, but from skimming the tcl i see it was looking for Humidity: and other strings, which are eliminated now. *frown*
K
Knogle

Post by Knogle »

Yeah, they've changed the layout alittle, maybe someone here can update the script? :smile:
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Hopefully! :smile: They removed those strings so I don't see an easy way to fix it except using another site and redo'ing all the parsing.. *gag* Maybe one of these afternoons I'll get off my arse and do it.
Y
Ycarus

Post by Ycarus »

I've made a script that can display the weather of any country in the world in different language (english, spanish, french, german,...). This script can also display the "10 Day Forecast" weather.

You download this script at : http://www.yews.fr.st/ (sorry this site is only in french)
You can also download the script directly here :
http://xerus.dns2go.com:81/~yannick/htm ... tit&lid=29

I hope this script will help you. If you have any problem write me a mail :smile: (in french or english only :wink:

( Sorry the link was down : too many traffic :wink: but now it's ok)



<font size=-1>[ This Message was edited by: Ycarus on 2002-05-19 09:48 ]</font>
a
azander

Post by azander »

Greetings,
I tried the meteo.tcl script, and It also generates 'empty' data. I don't know enough about TCL to recode it, but I would like to see something replace weather3.tcl .
The gamers in my game group use it to add some realisim to the fantasy world.

Thanks!
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

<eggs> !meteo chicago, il
<bacon> Météo de Chicago, IL : , °C avec un vent : et une humidité de : et une pression de . Indice UV : ()

Not much of an improvement over weather3.tcl. >:(
Y
Ycarus

Post by Ycarus »

This script need http 2.3 (this script is with TCL 8.3). I know I make a little mistake : my script didn't look if this script is here or not. Now this script didn't work if http.tcl 2.3 isn't here. I think this should solve all problems :smile:

You have to replace "fr" by "uk" if you want the script to speak english. Soon I will put all USA cities, but for now I have a little problem with that :smile:

Sorry

I've just found what I have problems with USA city like chicago : "FLOOD STATEMENT NATIONAL WEATHER SERVICE CHICAGO, IL 857 PM CDT SUN MAY 19 2002" so there are no information about weather other than that... I will correct this soon...

<font size=-1>[ This Message was edited by: Ycarus on 2002-05-20 05:37 ]</font>
Y
Ycarus

Post by Ycarus »

There is a new version of "International Weather Script".
In this new version there are :
* Support for all city in the USA
* Some bugs fixes
* A file is created if the script detect an error (so I can fixes this bug)
* The script detect if there is or not http.tcl

So I think this release should fixes all problems you had :smile:

You can download it here : http://xerus.dns2go.com:81/~yannick/htm ... tit&lid=29

Ycarus
http://yews.fr.st/
yews@ifrance.com
D
Darude

Post by Darude »

I use an eggnet module called weather, I can load any yahoo weather url I want, worldwide ... works fine ... might want to give it a try ...
Just do a search for 'eggnet' on google.
S
Stoner

Post by Stoner »

I have been using a slightly modified
version of Weather 3.2 by Murf. If anyone
can find him tell me, lol. I have the same problems. Wunderground has changed the webpage a hair. I don't know enough to fix
it, but I use the page daily, so I pretty much know what changed.

The have added extra information to the strings the bot reads, like:

Temperature 70° F / 21° C (was only F)
Humidity 56% (didn't change - still works)

They have added the metric and celcius equivilants for each entry. The script
looks for the word "updated" in the Conditions table on the page. So now
with the extra data, the bot won't parse it correctly. Maybe this is enough to persuade
someone to fix it. :smile: If someone wants a copy of the script to look at, scream.

Stoner
Y
Ycarus

Post by Ycarus »

I have made a new version of my script "International Weather Script". Now you can exactly set the result display to what you want. You can also use the "-d" option like in weather3.2
So I think this script have now all option of weather 3.2, if you want some new thinks you can write to me.

download it here :
http://xerus.dns2go.com:81/~yannick/htm ... tit&lid=29

Ycarus
yews@ifrance.com
http://yews.fr.st/
m
mindy

Post by mindy »

On 2002-05-26 00:32, Stoner wrote:
... Maybe this is enough to persuade
someone to fix it. :smile: If someone wants a copy of the script to look at, scream.

Stoner
i'd like a copy, doubt i can fix anything but any step in the right direction would be worth persuing :grin:
S
Stoner

Post by Stoner »

Locked