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
U
UnderGround
Voice
Posts: 3
Joined: Wed Mar 15, 2006 7:55 am

Post by UnderGround »

Hi there seen be a problem now with the weather script:

Code: Select all

In Partyline:
Tcl error [pub_wz]: can't read "wzsock": no such variable

In Channel Notice:
couldn't open socket: host is unreachable
Try again later, look out the window till then!
Just wanted you know... It was working good every since i got it & now there seen be a problem with it
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

UnderGround wrote:Hi there seen be a problem now with the weather script:

Code: Select all

In Partyline:
Tcl error [pub_wz]: can't read "wzsock": no such variable

In Channel Notice:
couldn't open socket: host is unreachable
Try again later, look out the window till then!
Just wanted you know... It was working good every since i got it & now there seen be a problem with it
Can't help you when you don't give script version. Make sure you are using the latest.
U
UnderGround
Voice
Posts: 3
Joined: Wed Mar 15, 2006 7:55 am

Post by UnderGround »

Sorry forgot post version here it is:

Code: Select all

## Script: Weather V3.5.9-a
## Orignal code by: murf
## Modified and fixed by: DragnLord
I always stick with the latest version,
Guessing weather site are getting tired of ppl using scripts like this & keeps changing so scripter would have re script till get it work right..
(No worries i wouldn't change nothing in script Even though i'm not a scripter at all but have used lots scripts before) & Weather script is the best even though we all know lots people are into this lol Plus glad to see some1 decided help out with this script since no1 wasn't able fix it no more. Keep up with good work
:)
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

socket error

Post by DragnLord »

Now that I know you are using the latest version, the bot can't reach the website.

The problem is with the computer that the bot is running on, not the script.
U
UnderGround
Voice
Posts: 3
Joined: Wed Mar 15, 2006 7:55 am

Post by UnderGround »

Oh ok I see what i can do make it run.. Thanks anyway :twisted:
User avatar
LOQUILLO
Voice
Posts: 14
Joined: Wed Jul 21, 2004 4:45 pm
Location: Perú

Post by LOQUILLO »

Where I can to get Weather V3.5.9
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

RTFM

Post by DragnLord »

LOQUILLO wrote:Where I can to get Weather V3.5.9
For latest script version, simply read:
1) Script header info has where to go
2) First post in this topic has links to latest public release
c
chasingsol
Voice
Posts: 6
Joined: Sun Jul 17, 2005 5:10 pm

Post by chasingsol »

Excellent script, thank you for keeping it updated.

One comment I have, is that you can change the public triggers, but the associated help files also have to be changed to reflect the triggers. Any way you can integrate the trigger in to the help files? There are a lot of references, which I invariably manage to miss a few of each time you update.
r
rix
Halfop
Posts: 42
Joined: Wed Sep 21, 2005 1:04 pm
Location: Estonia

Post by rix »

Somehow the regexp command isn't working perfectly:

Code: Select all

[16:55:32] <rix> .wz tartu estonia
[16:55:33] <StarBot>  Tartu, Estonia -- 4:55 PM EEST Updated: <span class="pwsrt" pwsid="" pwsunit="both" pwsvariable="epoch" value="">12:00 PM EEST
[16:55:34] <StarBot>  Temp: 10 C        Humidity: <span class="pwsrt" pwsid="" pwsunit="both" pwsvariable="humidity" english="" metric="" value="31"><nobr><b>31%
Version is Weather 3.5.9

-edit-
Seems to be working in 3.5.9-b.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Question about country codes

Post by rosc2112 »

Hi, just a quick question. I'm trying to add a few countries to the weather script. and just need to clarify which country codes are actually used. I found a list of country codes here: http://www.statoids.com/wab.html

My best guess is that the script uses the 'A-2' and 'WMO' codes. Is this correct? Maybe there is a better list to refer to?

I've added serbia to the list of countries, btw, with serbia:cs:YG
and this works for me. Also added 'England' and 'Great Britain' as duplicates of United Kingdom, since I've had people lookin for those and not finding em.

Thanks in advance :)
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Re: Question about country codes

Post by DragnLord »

rosc2112 wrote:My best guess is that the script uses the 'A-2' and 'WMO' codes. Is this correct? Maybe there is a better list to refer to?
Refer to wunderground for their code system.

Read the first post in topic.
r
rix
Halfop
Posts: 42
Joined: Wed Sep 21, 2005 1:04 pm
Location: Estonia

Post by rix »

Is it possible to get the results in some other language than english? Webpage supports many languages, so it should be possible to show results in channel for example in Estonian.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

other languages

Post by DragnLord »

rix wrote:Is it possible to get the results in some other language than english? Webpage supports many languages, so it should be possible to show results in channel for example in Estonian.
Of course it's possible. It only requires recoding the parsing engine to use the language you want, as it currently uses certain english words to locate the information.

Since this is not the proper place to be making requests (read the first post), I'm guessing that you are only asking to confirm a possibility.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

3.5.9-b

Post by DragnLord »

Version 3.5.9-b finally made it to egghelp tcl archive.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

3.6

Post by DragnLord »

Version 3.6 is now available on the website.
This version updates the country codes.
Post Reply