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 

murf's weather script v2112 =p
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Thu Jul 20, 2006 5:46 am    Post subject: vq2 Reply with quote

Another bit of fixing and some minor tweaks:

## Jul 20 2006 - Got rid of 'channel udef' junk, YAY! Now just need to add channels to 'set weatherchans'

- Added formatting to Precip code output, no more tabs.
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Jul 24, 2006 10:07 am    Post subject: v3a is here <YAY> Reply with quote

I've finished porting this script to the http package. And as an added bonus, you can choose to use either the socket code, or the http package with a config option. Many other enhancements, and much changed throughout.

This is a beta release and testing/bug reporting is appreciated Smile

http://members.dandy.net/~fbn/weather_2112.3.tcl.txt

Will also upload to the archives after a few days/weeks of testing =)
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Jul 24, 2006 9:31 pm    Post subject: Reply with quote

More tweakage: Switches are no longer mutually exclusive, and can be used in any combination to show their respective outputs (except for -d to set defaults.)

Eg, .wz -t -s -m -p -r will show time, sun, moon, precip and record data if available. .wzf -t -s -m -p -r will show all plus the forecast.
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Jul 25, 2006 4:11 pm    Post subject: Reply with quote

This script is a damn obsession: More tweaks Smile
- Fixed max_forecast to adjust for locations with less than $max_forecast lines.
- Added option to show help for switches when also using seperate binds (as for .moon, .sun, etc)
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Jul 25, 2006 5:02 pm    Post subject: Reply with quote

Wunderground changed the html format for lunar phase dates, today it seems Razz

They've been changing the html quite a bit lately..Expect frequent updates to the script Smile
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Thu Jul 27, 2006 10:34 pm    Post subject: v3h Reply with quote

Jul 26 2006 -

- Fixed -o output, I forgot to add the switch for it back into wz_parse when re-writing..doh Razz

- Test for alpha chars in numerics in final output (shouldn't be any, except when wunderground changes their html and it throws alpha chars into the regex's, which would otherwise break [expr]
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed Aug 02, 2006 5:10 pm    Post subject: get yer redhot bugfix - v3i Reply with quote

Fixed Lunar date regexp to accomodate wunderground's weekly rotation of format.

Also fixed some handling of empty vars or vars set to "-" for [expr] operations in output.
Back to top
View user's profile Send private message
thegleek
Voice


Joined: 04 Aug 2006
Posts: 2

PostPosted: Fri Aug 04, 2006 3:05 pm    Post subject: Reply with quote

DragnLord wrote:
Interesting that you have used my script for most of "your" coding and give no credit for that.
I request that, since you don't want to credit my work, that you download murf's 3.4.1 script
off the archive and go from there.

rosc2112 wrote:
Its at the bottom. I tried to offer the changes to you, you didn't want them.
So I published my own copy. Take it or leave it.

I'm confused as to who is to blame here... Rolling Eyes

Code:
## Script: Weather V3.5.9-a
## Orignal code by: murf
## Modified and fixed by: DragnLord

## Script: Weather V3.8.2
## Orignal code by: murf
## Maintained by: DragnLord

Seems to me murf was the original coder for this project and you took it
over DragnLord... And now you're complaining about murf stealing your
modifications to put back into the code that he originally coded? Shocked
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Aug 04, 2006 5:07 pm    Post subject: Reply with quote

Please post controversy in another thread. This thread is for bug reports and feature requests for the version I am maintaining.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Aug 04, 2006 8:42 pm    Post subject: Reply with quote

@ thegleek: Please try and read forum posts carefully in future. The "discussion" you refer to was between rosc2112 and DragnLord.

The original author of this script no longer supports it and, as a result, you have choices as to which of the two scripts maintained to use.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Aug 06, 2006 6:26 am    Post subject: because you never wanna go outside! Reply with quote

More new data features, added twilight hours, because who wants to go outside to see the weather!
Back to top
View user's profile Send private message
redtube
Voice


Joined: 01 Mar 2006
Posts: 10

PostPosted: Wed Aug 09, 2006 8:25 am    Post subject: Reply with quote

ooops got an error this morning whilst someone on channel tried for phillipines
version is 2112.3.tcl.txt latest


Quote:

Observed at: Davao Airport, Philippines <span class="pwsrt" pwsid="" pwsunit="both" pwsvariable="lu" value="1155114000">5:00 PM PHT on August 09, 2006 Elev: 17m


Dave
westLondon UK[/code]
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed Aug 09, 2006 10:40 am    Post subject: Reply with quote

Latest version on the webpage is v3j, and I need to know what city you tried if there is still a problem in that version.
Back to top
View user's profile Send private message
redtube
Voice


Joined: 01 Mar 2006
Posts: 10

PostPosted: Wed Aug 09, 2006 11:15 am    Post subject: Reply with quote

oh soz I have the correct latest version - set wzscript "Weather v2112.3j"
and now, following that previous error, a repeat of the same city brings up no problem hmmm maybe just a one-off

Quote:

www.Wunderground.com : Davao, Philippines (7.1°N 125.7°E)
[14:30] <car3327> Observed at: Davao Airport, Philippines 8:00 PM PHT on August 09, 2006 Elev: 17m
[14:30] <car3327> Current: Haze Temp: 27°C Wind: 11kmh(SSW) Humidity: 77%
[14:30] <car3327> Dew Point: 24°C Barometer: 1007.hPa (Rising) Ceiling: 30479
[14:30] <car3327> Sunrise: 5:31 AM PHT Set: 5:54 PM PHT Length: 12h 23m Tomorrow: 0m 20s shorter
[14:30] <car3327> [end data]


could it be sommat to do with the time being different when the call was made? bringing up the error? I dunno I'm no tcl'er Its a source problem from the weather underground I guess not your script.

Quote:

www.Wunderground.com : Davao, Philippines (7.1°N 125.7°E)
[13:26] <car3327> Observed at: Davao Airport, Philippines <span class="pwsrt" pwsid="" pwsunit="both" pwsvariable="lu" value="1155114000">5:00 PM PHT on August 09, 2006 Elev: 17m
[13:26] <car3327> Current: Light Rain Temp: 28°C Wind: 11kmh(SSW) Humidity: 79%
[13:26] <car3327> Dew Point: 25°C Barometer: 1006.hPa (Falling) Ceiling: 30479
[13:26] <car3327> Sunrise: 5:31 AM PHT Set: 5:54 PM PHT Length: 12h 23m Tomorrow: 0m 20s shorter
[13:26] <car3327> [end data]


cheers
Dave R.
west London
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed Aug 09, 2006 12:15 pm    Post subject: Reply with quote

If you see the problem again, try to get the html source page from wunderground so I can look at the strings and fix the regexp if needed. I can't seem to duplicate the problem at the moment but I'll keep my eyes open for 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  Next
Page 2 of 4

 
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