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
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

v3.6.b


Found out that 1) Moon data has a different format after moonset.

Code: Select all

             <td style="padding: 3px; border-bottom: 1px solid CCC;">Moon</td>
             <td style="border-bottom: 1px solid #CCC;">
             3:28 AM PDT (5/23)
             </td>
             <td style="border-bottom: 1px solid #CCC;">
             4:41 PM PDT (5/23)
             </td>
2) Barrow, alaska doesn't have sunrise/sunset data because the length of day is 24 hrs :)

As far as the precip code not closing sockets, the problem was occurring when my ISP's dns took a dump and wasn't responding, so some of the returns didn't close it, so I just added catch {close $wzsock} all around before the returns.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Ohh I forgot to ask, do your bots on your channel do loggin? So I can dump a msg there when you're not on? Haven't had any luck catching you online.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

Asking for sun rise/set info for an area it doesn't happen in shows a marked lack of intelligence to me.
If you have editted the script to show moon info and have problems with it, I do not want to hear about your problems with it in this topic. I refer you to line 181:

Code: Select all

####CODE -- Change it if you like, just don't bitch if you break it ###########
As for leaving messages when I'm not online, the network has memoserv.

As far as I can tell, the script is working fine, for what it does, as it is.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

3.7 released to public

Post by DragnLord »

version 3.7 has been released
p
popmonkey
Voice
Posts: 6
Joined: Sat Apr 29, 2006 1:39 pm

Re: 3.7 released to public

Post by popmonkey »

DragnLord wrote:version 3.7 has been released
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?

also, would it really hurt to take out the stupid die statement. this is the third time i've forgotten about it (yes, i must be an idiot (for continuing to use your script)) and the die killed my bot causing the channel to lose ownership of any sort requiring me to ask everyone to leave and come back again...

yours is the only script that does something so nasty, and just because you got "tired" of answering the same question. you could just as well ignore the "stupid" people instead of killing their bots. friggin egomaniac... too bad your script is actually well done and useful, otherwise.

(seriously dude, it's totally uncool, especially since those of us who are upgrading have already set the +weather flag)
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

you don't have to use my script, there are several other scripts out there (including a new one based on mine)

if you're really interested in the changes, compare them
p
popmonkey
Voice
Posts: 6
Joined: Sat Apr 29, 2006 1:39 pm

Post by popmonkey »

DragnLord wrote:if you're really interested in the changes, compare them
:lol:
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

You still plan to update this one? or we have to use this other persons now?

I ask b/c Australia weather now says not supported.

cache
C
CtrlAltDel
Halfop
Posts: 49
Joined: Wed Jun 02, 2004 7:58 am

Post by CtrlAltDel »

heh tried the "new one" .. back to yours .. don't need all the flooding in the channel with useless information not needed (or wanted) by 95% (conservatively) of the people that use the script on a regular basis.
Glad to know you're still updating when needed.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

cache wrote:I ask b/c Australia weather now says not supported.

Code: Select all

[22:02:47] <!Helper>  Broome, Western Australia -- 10:01 AM WST Updated:  9:30 AM WST
[22:02:49] <!Helper>  Temp:  73°F/23°C        Humidity: 31%    
[22:02:51] <!Helper>  Conditions: Clear   Wind: (East) 10mph/16kmh
[22:02:53] <!Helper>  Sydney, New South Wales -- 12:01 PM EST Updated:  11:30 AM EST
[22:02:55] <!Helper>  Temp:  61°F/16°C        Humidity: 63%    
[22:02:57] <!Helper>  Conditions: Partly Cloudy   Wind: (West) 15mph/24kmh
My bot has no problem showing Australia weather, although it is slow to do so. The slowness is on the website, not the script.
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

hmm unless im doing something wrong...

<cache> .wz port pirie AU-SA
-bot- Sorry, aua is not supported. Try .wzc <country> or /msg bot .wzc <country> to find your 2 letter country code.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

You are doing something wrong.

.wz port pirie au
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Update

Post by DragnLord »

3.8 fixes a problem I just found with cities that have hyphens in the name

Alphanumeric (letters and numbers) names are still an issue though.
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

Do you have link we can download the new update? first post takes me to tcl archive with old version. :?:
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

uploaded to archive, keep checking there
Post Reply