zland commented on a Page, Weather script for mIRC  -  Sep 26, 2013

About a week and a half ago version 4.1 stopped working for me, which IIRC it uses the "free" and uncapped Wunderground API, yet I have a web application that utilizes the same free API and that still works. What caused the old script to mess up?

I know you probably don't support it anymore, but I just don't want to have to deal with the hassle of Wunderground's capped API.

eqrunner  -  Sep 26, 2013

The xml pages became un reliable. Along with how mIRC handles reading webpages. For example, the sockopen section. I go through a lot of testing to get the "sockwrite -n $sockname GET %wu_link HTTP/1.1" Section to work correctly. Some use XML/1.0, or XML/1.1. or in this case HTTP/1.1 vs 1.0. And some times it is not needed. Your other app may work fine because it reads the sock differently vs how mIRC reads it. I don't know the specifics, but mIRC can be extremely finicky on how it reads webpages. And wunderground was beginning to kick back more errors, hence why I changed to the API version.

I will try and look back at the old and see if I can get something to work. I found more options and capabilities in the API. (like almanac)

zland  -  Sep 26, 2013

Ah, that makes sense. Btw, this is unrelated to my first comment, but I caught a bug, and this is with calling up alerts. No time is specified, and instead just shows "T".

[9/26/2013 4:36:30pm] 33592: 1 Alerts
[9/26/2013 4:36:32pm] Coastal Hazard Statement till T on September 26, 2013

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.