Game Maker Community YoYo Games

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
Weatherbug Dll (current Version: 0.1.0)
Danopia
post May 1 2007, 11:39 PM
Post #1


Just another GMC member
Group Icon

Group: GMC Member
Posts: 127
Joined: 21-September 05
From: USA
Member No.: 35536



Current version: 0.1.0 | Download .ZIP 361 kilobytes | Help file (online version)

<span style='font-size:14pt;line-height:100%'>WeatherBug DLL</span>
US only, international will be later on since it has much less info and is requested from the server completely different.

Current features:
* Forecasts, 2-day and 3-day
* Current conditions
* Test connection and server

Expected features:
  • Metric or English measurements (currently all English)
  • INTERNATIONAL support! I know you all want that wink1.gif
  • WeatherBug station list, starting with closest to the specified zip code
  • Alerts for the specified zip code or station ID. These are severe weather alerts from the NWS. There is a whole range of alert types, mostly watches, warnings, advisories, emergencies, and statements. To me, these would be good for screen savers, so you can show alerts to keep the user informed.
Since it only allowd America at the moment, a whole bunch of info is returned. See the help file for the full list. Among others, here are some values for Current Conditions:
  • Time
  • Date
  • Temperature
  • Wind direction
  • Wind Speed
  • Today Rainfall
  • Rainfall Rate
There are 39 fields total.

Now for the why...
Alerts would be good for screen savers, so you can show alerts to keep the user informed.

Current conditions have a bunch of uses. You can base weather in a game of the current conditions of a real location, either a random location, the server location, or the player's location (best for one-player games).

Don't forget that you can actually create weather programs with this! You might even want to clone the official WeatherBug client if your bored.

<span style='font-size:7pt;line-height:100%'>Legalise: This DLL, help file, any included icons, the example, or any other included files ("DLL"), created by Danopia, danopia.net, FPSCheats, or any related party ("Danopia") is in no way affiliated with WeatherBug, weatherbug.com, weather.com, or AWS ("WeatherBug"). Any damage caused by the usage of this service is not the DLL's or Danopia's fault. Danopia recommends NOT to program triggers for nuclear bombs or rocket launchers using neither this DLL nor WeatherBug. wink1.gif This DLL is only to be used as a substitute for actually coding a weather system, looking out the window, or selecting a weather condition manually.</span>

Download version 0.1.0
Go to the top of the page
 
+Quote Post
oakwhiz
post May 2 2007, 01:50 AM
Post #2


GMC Member
Group Icon

Group: GMC Member
Posts: 275
Joined: 26-July 06
Member No.: 55707



You should make it for US, Canada and UK.
Go to the top of the page
 
+Quote Post
Shaltif
post May 2 2007, 05:07 AM
Post #3


The Audio Master
Group Icon

Group: Retired Staff
Posts: 1219
Joined: 6-October 03
From: Pennsylvania
Member No.: 150



QUOTE
2. All topics require a download link to the creation they are showcasing. Any creation which requires a user to contact the creator via e-mail, Personal Messager or other similar means are not allowed.


You can report this topic with a download link. Once this happens, it can be reopened.

~Brandon
Go to the top of the page
 
+Quote Post
Smarty
post May 10 2007, 10:29 PM
Post #4


GMC Member
Group Icon

Group: Retired Staff
Posts: 6251
Joined: 5-October 03
From: Amsterdam
Member No.: 131



Link is back, topic reopened.
Go to the top of the page
 
+Quote Post
NEED HELP sorta
post May 11 2007, 06:46 AM
Post #5


GMC Member
Group Icon

Group: GMC Member
Posts: 1528
Joined: 26-April 04
From: U.S.A van buren arkansas
Member No.: 8782



Would it be feasible to use this for the server of an online game to check the weather outside and send that as the weather for all of the clients to set?

I am thinking of implementing this into my own MMORPG, instead of randomizing the weather with the server.
Go to the top of the page
 
+Quote Post
Danopia
post May 11 2007, 11:53 AM
Post #6


Just another GMC member
Group Icon

Group: GMC Member
Posts: 127
Joined: 21-September 05
From: USA
Member No.: 35536



QUOTE (NEED HELP sorta @ May 11 2007, 01:46 AM)
Would it be feasible to use this for the server of an online game to check the weather outside and send that as the weather for all of the clients to set?

I am thinking of implementing this into my own MMORPG, instead of randomizing the weather with the server.
*
I would go through the server. But if the server is low-bandwidth and can't handle weather, then you can also request from each client. In fact, you can request every 2 seconds. The true WeatherBug client updates secondly.

And, if you want stuff like "Sunny" or "Rain", then I am looking for how to get that.
Go to the top of the page
 
+Quote Post
NEED HELP sorta
post May 11 2007, 06:42 PM
Post #7


GMC Member
Group Icon

Group: GMC Member
Posts: 1528
Joined: 26-April 04
From: U.S.A van buren arkansas
Member No.: 8782



Yes, I simply want a few pieces of information about current wheather.
And I can use my server to find the current wheather ever 30 seconds or so and then transfer that to my clients in a string thats more easily readable to them.
Each client will have the same wheather at the same time this way and I won't have to come up with a less-realistic wheather randomizing script.

This post has been edited by NEED HELP sorta: May 11 2007, 06:43 PM
Go to the top of the page
 
+Quote Post
The_Cookie_Monst...
post May 11 2007, 06:50 PM
Post #8


GMC Member
Group Icon

Group: GMC Member
Posts: 239
Joined: 9-October 06
Member No.: 61136



America only? How selfish...
Go to the top of the page
 
+Quote Post
Danopia
post May 11 2007, 07:29 PM
Post #9


Just another GMC member
Group Icon

Group: GMC Member
Posts: 127
Joined: 21-September 05
From: USA
Member No.: 35536



QUOTE (The_Cookie_Monster @ May 11 2007, 01:50 PM)
America only? How selfish...
*
There are two ways to get to the WeatherBug API.
1) XML format (US & Intl)
2) Pipe delimited format (US only)
This DLL uses the pipe-delimited. I can do the RSS/XML but it would be much harder.

Here is an example of XML for international current conditions: http://a6546869447.api.wxbug.net/getLiveWe...7&zipCode=08341
Now check out what the US-only feed gets: http://www.danopia.net/projects/aws/help/i...nt_getvalue.htm

The only advantage of the international system is that you get the current condition icon! (and that it is international). Chris added the icon to the to-do list on the US-only system though:
QUOTE (From: Daniel; To: Chris @ May 10 2007)
Chris,
...
Is there any way to get current condition, i.e. "Sunny" or "Cloudy" or "Rain", without parsing the RSS of the international system? Pipe-separated is much easier on me.
...
Sincerely,
Daniel J. Danopia
QUOTE (From: Chris; To: Daniel @ May 11 2007)
Dan,

I will add the current condition idea to the "TODO" list for future version of the pipe delimited feed.
...
Chris
I conclude that he lives in Rockville, MD.

And, if anyone wants it, Chris revealed how to get decimal temperatures like the real client.
Go to the top of the page
 
+Quote Post
Speewave123
post May 11 2007, 10:54 PM
Post #10


GMC Member
Group Icon

Group: GMC Member
Posts: 66
Joined: 5-February 07
Member No.: 70040



This is a good Idea.. This could be good for a little knowitall app or something like a Wii FrontEnd that are manly on the Wii Download site on dl.qj.net with a Weather Channel

I Do think America Only is selfish but no problems here i mean the dude freakin mentioned another DLL for intl weather

-BTW: NEVER CRITIZIZE UNLESS U CAN DO BETTER! mad.gif


hey but keep up the good work...

This is like one of the coolest DLLs iv seen!

next to the Force FeedBack DLL and SXMS smile.gif
Go to the top of the page
 
+Quote Post
darksoft.co.uk
post May 12 2007, 08:01 PM
Post #11


GMC Member
Group Icon

Group: GMC Member
Posts: 615
Joined: 18-August 06
From: Rotherham, UK.
Member No.: 57451



This is a great idea! I won't use it until its Worldwide though, A lot of my users would be in the UK.
Go to the top of the page
 
+Quote Post
ardnat
post May 12 2007, 09:49 PM
Post #12


GMC Member
Group Icon

Group: GMC Member
Posts: 628
Joined: 13-January 05
From: From:From:From:From:From:

Member No.: 19793



this is great because downloading weather bug puts spy ware and adware on your coputer
http://www.antivirusprogram.se/virusinfo/W...erBug_6775.html
http://www.pchell.com/support/weatherbug.shtml
http://www.frsirt.com/english/virus/2006/05580
Go to the top of the page
 
+Quote Post
Danopia
post May 13 2007, 12:12 AM
Post #13


Just another GMC member
Group Icon

Group: GMC Member
Posts: 127
Joined: 21-September 05
From: USA
Member No.: 35536



QUOTE (jakeruston @ May 12 2007, 03:01 PM)
This is a great idea! I won't use it until its Worldwide though, A lot of my users would be in the UK.
*
I am adding international to the list. In order to do international, you must have a City Code - which means that I also need to add a city code finder. sad.gif

QUOTE (ardnat @ May 12 2007, 04:49 PM)
Correction: only adware. And it is adware - uninstall and all gone.

Adware has ads, right? So then you are saying that Windows Live Messenger is adware - there are ads below the contacts list. AIM has them above. And Google also, and just about any site that doesn't have much of an income unless they have ads on their site.

But, yea, this is great. sleep.gif
Go to the top of the page
 
+Quote Post
CHFD_113
post May 13 2007, 01:24 AM
Post #14


GMC Member
Group Icon

Group: GMC Member
Posts: 178
Joined: 18-May 05
From: United States
Member No.: 27960



Hey, how do we access these 'weather alerts' for NOAA advisories and warnings / watches etc...?

Btw...
Adware is usualyl classified by the way it behaves.
- Does it connect to dangerous adservers
- Does it display adult content?
- Does it show ads but doesnt mention ads in a license agreement?
- Do the ads come as popups?
- Are the ads displayed by Browser Hijacking?
- Or are the ads just plain annoying?

That's usually how adware becomes what it is.
And no Windows Live Messenger is not adware.

Adware.WeatherBug is adware.
Go to the top of the page
 
+Quote Post
Danopia
post May 13 2007, 04:00 AM
Post #15


Just another GMC member
Group Icon

Group: GMC Member
Posts: 127
Joined: 21-September 05
From: USA
Member No.: 35536



QUOTE (CHFD_113 @ May 12 2007, 08:24 PM)
Hey, how do we access these 'weather alerts' for NOAA advisories and warnings / watches etc...?
*
Future feature. This will be used differently, probably with next_alert(), returning 1 if there is one and 0 if not, then read alert-by-alert like current conditions. This will be done later on; international support is higher on the list.

QUOTE (CHFD_113 @ May 12 2007, 08:24 PM)
Btw...
Adware is usualyl classified by the way it behaves.
- Does it connect to dangerous adservers
- Does it display adult content?
- Does it show ads but doesnt mention ads in a license agreement?
- Do the ads come as popups?
- Are the ads displayed by Browser Hijacking?
- Or are the ads just plain annoying?

That's usually how adware becomes what it is.
And no Windows Live Messenger is not adware.

Adware.WeatherBug is adware.
*
1. Not if you are good with HOSTS files.
2. No.
3. I'm not sure, but it does mention ads when installing.
4. I've never had a WeatherBug popup.
5. No.
6. No!!! I don't even notice them.
Go to the top of the page
 
+Quote Post
darksoft.co.uk
post May 13 2007, 08:58 AM
Post #16


GMC Member
Group Icon

Group: GMC Member
Posts: 615
Joined: 18-August 06
From: Rotherham, UK.
Member No.: 57451



QUOTE (Danopia @ May 13 2007, 12:12 AM)
QUOTE (jakeruston @ May 12 2007, 03:01 PM)
This is a great idea! I won't use it until its Worldwide though, A lot of my users would be in the UK.
*
I am adding international to the list. In order to do international, you must have a City Code - which means that I also need to add a city code finder. sad.gif

QUOTE (ardnat @ May 12 2007, 04:49 PM)
Correction: only adware. And it is adware - uninstall and all gone.

Adware has ads, right? So then you are saying that Windows Live Messenger is adware - there are ads below the contacts list. AIM has them above. And Google also, and just about any site that doesn't have much of an income unless they have ads on their site.

But, yea, this is great. sleep.gif
*



Good! I'd like you to contact me when its gone international smile.gif
Go to the top of the page
 
+Quote Post
mememe
post May 13 2007, 11:08 AM
Post #17


GMC Member
Group Icon

Group: GMC Member
Posts: 1672
Joined: 24-June 06
Member No.: 53264



QUOTE (oakwhiz @ May 2 2007, 11:50 AM)
You should make it for US, Canada and UK.
*


And Australia...
Go to the top of the page
 
+Quote Post
coolsmile
post May 13 2007, 01:20 PM
Post #18


Programmer
Group Icon

Group: GMC Member
Posts: 1443
Joined: 24-March 05
From: USA :)
Member No.: 24617



This dll rocks. Very nice job. I'm not going to complain because I'm from the US happy.gif
Again, nice job. This dll rocks smile.gif
Go to the top of the page
 
+Quote Post
Danopia
post May 14 2007, 10:50 PM
Post #19


Just another GMC member
Group Icon

Group: GMC Member
Posts: 127
Joined: 21-September 05
From: USA
Member No.: 35536



I'm working on international now. I just made a BIG discovery...

You know how I said that international has very little information? Well, it has much more info! Open this link: http://api.wxbug.net/getLiveWeatherRSS.asp...0874&unittype=0

Have it? Good. now pull up the source. Look for the line that begins with:
<aws:weather xmlns:aws="http://www.aws.com/aws"><aws:api version="2.0" />

See that line? If has more info than the other methods. In fact, I need to modify how it is returned to GM to make room! I'll probably format the date and stuff into a single string.

I'll probably post the international DLL later tonight or tomorrow.
Go to the top of the page
 
+Quote Post
darksoft.co.uk
post May 16 2007, 04:13 PM
Post #20


GMC Member
Group Icon

Group: GMC Member
Posts: 615
Joined: 18-August 06
From: Rotherham, UK.
Member No.: 57451



QUOTE (Danopia @ May 14 2007, 10:50 PM)
I'm working on international now. I just made a BIG discovery...

You know how I said that international has very little information? Well, it has much more info! Open this link: http://api.wxbug.net/getLiveWeatherRSS.asp...0874&unittype=0

Have it? Good. now pull up the source. Look for the line that begins with:
<aws:weather xmlns:aws="http://www.aws.com/aws"><aws:api version="2.0" />

See that line? If has more info than the other methods. In fact, I need to modify how it is returned to GM to make room! I'll probably format the date and stuff into a single string.

I'll probably post the international DLL later tonight or tomorrow.
*


Thats awesome!

Is it done?
Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 9th February 2010 - 05:00 PM