| View previous topic :: View next topic |
| Author |
Message |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Thu Jun 29, 2006 11:45 am Post subject: |
|
|
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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Fri Jun 30, 2006 6:43 pm Post subject: Re: Update |
|
|
| 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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Sat Jul 01, 2006 12:53 am Post subject: |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Thu Jul 20, 2006 8:22 am Post subject: v3.8.2 |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Thu Jul 20, 2006 8:31 am Post subject: side note about script methods |
|
|
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 |
|
 |
redtube Voice
Joined: 01 Mar 2006 Posts: 10
|
Posted: Fri Jul 28, 2006 8:18 am Post subject: tcl error bug |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Fri Jul 28, 2006 8:22 am Post subject: Re: tcl error bug |
|
|
| 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 |
|
 |
redtube Voice
Joined: 01 Mar 2006 Posts: 10
|
Posted: Wed Aug 02, 2006 1:59 pm Post subject: |
|
|
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 |
|
 |
thegleek Voice
Joined: 04 Aug 2006 Posts: 2
|
Posted: Fri Aug 04, 2006 3:00 pm Post subject: Re: 3.7 released to public |
|
|
| 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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Aug 04, 2006 8:37 pm Post subject: |
|
|
| 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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Fri Aug 04, 2006 11:26 pm Post subject: about changes |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Fri Aug 04, 2006 11:44 pm Post subject: |
|
|
| 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 |
|
 |
minted Halfop
Joined: 20 Jul 2005 Posts: 64
|
Posted: Thu Aug 17, 2006 7:21 pm Post subject: |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Thu Aug 17, 2006 7:34 pm Post subject: |
|
|
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 |
|
 |
minted Halfop
Joined: 20 Jul 2005 Posts: 64
|
Posted: Fri Aug 18, 2006 11:38 am Post subject: |
|
|
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 |
|
 |
|