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 

DragnLord's weather script
Goto page Previous  1, 2, 3 ... 9, 10, 11 ... 22, 23, 24  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Thu Jun 29, 2006 11:45 am    Post subject: Reply with quote

Still not on tcl archive, are we waiting on webmaster to upload it? I went to your personal website and seen old version listed.

cache
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Fri Jun 30, 2006 6:43 pm    Post subject: Re: Update Reply with quote

DragnLord wrote:

Alphanumeric (letters and numbers) names are still an issue though.

Found an easy way to fix the alpha-numeric issue:
Code:

<       if {[regexp {[0-9]} $location]} {
---
>       if {[regexp {[0-9]{5}} $location]} {

Could prolly use anchors in there as well, just to distinguish a zip from other alpha-numeric names. Tested this with several names from antarctica that have alpha-numeric names, with and without hyphens, etc. Seems to be working well for me.
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Sat Jul 01, 2006 12:53 am    Post subject: Reply with quote

thanks, I tried that when I added \s and \Z to the switches and forgot to follow through on all the iterations (only changed the first)

nice to see it work for 7-M Ranch, California now
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Thu Jul 20, 2006 8:22 am    Post subject: v3.8.2 Reply with quote

Script changed to fix non-U.S. forecasts and U.S. precipitation report.

I may remove the precipitation from the script (since it's only applicable to U.S. locations, and this is designed for international weather).
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Thu Jul 20, 2006 8:31 am    Post subject: side note about script methods Reply with quote

Three months ago I converted the script to use TCL's http package.
Since I changed it over I have seen a few posts about problems with windrop using http, and that version of the script is slower.

I will be keeping the current method (TCL socket) for my script.
Back to top
View user's profile Send private message
redtube
Voice


Joined: 01 Mar 2006
Posts: 10

PostPosted: Fri Jul 28, 2006 8:18 am    Post subject: tcl error bug Reply with quote

getting error

after doing .wzf <city> <country> which displays correctly with no problem
then once that report has completed doing another city, example: .wz london uk brings up

Tcl error [pub_wz]: can't use non-numeric string as operand of "-"

rehash of eggdrop gives another successful display provided its only the command .wz <city> <country>

do .wzf <city> <country> again and it returns error as above once more
version is 3.5.9-a.tcl

wondered if it does this with you or if its already been raised?
cheers
Dave London uk
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Fri Jul 28, 2006 8:22 am    Post subject: Re: tcl error bug Reply with quote

redtube wrote:

version is 3.5.9-a.tcl


READ THE FIRST POST, I DO NOT SUPPORT OUTDATED VERSIONS!

Update to the latest version, v3.8.2, which is in egghelp's tcl archive.
Back to top
View user's profile Send private message
redtube
Voice


Joined: 01 Mar 2006
Posts: 10

PostPosted: Wed Aug 02, 2006 1:59 pm    Post subject: Reply with quote

ok thank you, I got the latest version now
can you add the pressure from weather underground into your script is this possible, you got moon and sunrise - ta?
Back to top
View user's profile Send private message
thegleek
Voice


Joined: 04 Aug 2006
Posts: 2

PostPosted: Fri Aug 04, 2006 3:00 pm    Post subject: Re: 3.7 released to public Reply with quote

popmonkey wrote:
i know, i'm already getting ready to be derided for daring to ask (you really have a way with people)

but: is there a change list somewhere?

I second that motion... What happened to the revision changes?

Code:
##
##      Version Info
##
##      v3.5.9-a Feb 28 2006
##      -Changes due to website
##      -Added variable for output method
##
##      v3.5.9 Feb 26 2006
##      -Changes to forecastp

^ taken from old weather3.5.9a.tcl code ^

The current weather3.8.2.tcl doesn't have anything in it nor is
there a website that maintains the changelog revisions for each release...
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


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

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

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

thegleek wrote:
... nor is there a website that maintains the changelog revisions for each release...

This forum would be where changes, fixes or other pertinent information would be posted.
_________________
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
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Fri Aug 04, 2006 11:26 pm    Post subject: about changes Reply with quote

Changes are done as needed to keep the script operational, if you want details on what has changed use a program that compares files (I stated that before).
I got tired of 97% of revisions stating "fix for website changes".

I am not obligated in any manner to include a list of revisions, neither in the script nor on a website. To put this further, I am not obligated to publicly release my scripts.

This script is maintained for my own use, released to the public only due to sheer generosity.

SIMPLE SOLUTION:
If you have a problem with the lack of listed revisions, stop using the script.
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Fri Aug 04, 2006 11:44 pm    Post subject: Reply with quote

redtube wrote:
can you add the pressure from weather underground into your script is this possible, you got moon and sunrise - ta?

Of course this is possible, however I have no personal use for this. It may make it into some future version.
Back to top
View user's profile Send private message
minted
Halfop


Joined: 20 Jul 2005
Posts: 64

PostPosted: Thu Aug 17, 2006 7:21 pm    Post subject: Reply with quote

i just upgraded to the latest version of the script (was previously using 3.5 i think, still worked though).

now this latest version wont work for me

Tcl error [pub_wz]: can't read "wz_quiet": no such variable

set errorInfo

Currently: can't read "wz_quiet": no such variable
Currently: while executing
Currently: "lsearch -exact $wz_quiet $chan"
Currently: (procedure "pub_wz" line 12)
Currently: invoked from within
Currently: "pub_wz $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Thu Aug 17, 2006 7:34 pm    Post subject: Reply with quote

did you restart your bot?
by default the script has:
Code:
set wz_quiet "#eggdrop"


so your error makes no sense, unless you have removed that setting
Back to top
View user's profile Send private message
minted
Halfop


Joined: 20 Jul 2005
Posts: 64

PostPosted: Fri Aug 18, 2006 11:38 am    Post subject: Reply with quote

just restarted it, and it appears to be working perfect.
no idea what was wrong.
i fugured rehashing would have been enough.

tnx for the speedy responce.
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 ... 9, 10, 11 ... 22, 23, 24  Next
Page 10 of 24

 
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