Top Mud Sites Forum

Top Mud Sites Forum (http://www.topmudsites.com/forums/index.php)
-   Advanced MUD Concepts (http://www.topmudsites.com/forums/forumdisplay.php?f=7)
-   -   Real world information (http://www.topmudsites.com/forums/showthread.php?t=21)

tresspassor 02-07-2004 03:29 PM

Awhile ago I was experimenting with building a dynamic weather system. Rather then building a complete weather system in game I tried to go the route of using real-world weather.

So I mapped each city in the game to a specific city that would reflect its weather (a tropical city would receive Key West weather, while a northern city would use Fargo).

Hourly I would query a specific web-site and try and parse out the current weather. I would get results like this:

{
"|1600",
"|E",
"|12",
"|10",
"|43",
"|39",
"|87",
"|Broken Clouds, Rain",
"|EIDW 071600Z 07010KT 9999
-SHRA SCT020 BKN035 06/04 Q1029"
}

And then use those results to determine the weather that was affecting that city.

I was wondering if anyone has tried to go this route? Or has gone farther with it (using doppler or other information to build weather patterns). Or even using real world events in game such as hurricanes, earthquakes etc?

Also, to continue this. What sorts of online information have you used for in-game results? Has anyone tried making a stock market using real-time data? Or news events, etc?

I'd be interested to hear what sorts of online information people have used for what results.

Rhuarc 02-07-2004 08:09 PM

I once worked on a piece of software that needed to realistically simulate real world weather and natural disasters at key cities across the world.  There is a good deal of information that you can find if you dig enough, but here's a few that should be helpful.







Those should get you started.

Favonius 02-07-2004 08:16 PM

That idea sounds very interesting to me. I do have a queston though.

What kind of timespan does your MUD have? Do your seasons match seasons in real life? Like if its December right now, is it December in your game? If it's not, I can see you having a few problems with keeping the seasons in sync. One solution is to have a database of say the weather in each city for the past 10 years and use that data in making your weather system.

tresspassor 02-08-2004 06:29 PM

Rhuarc thanks for those links, I've been looking for another weather sever to parse for some time now (the one I previously used had a horrible lag)



Was very useful.

The system I was working on was real time, so 1 mud day = 1 real day. Getting a database of the last 5 years is a good idea, that way you don't have to worry about the hourly connection. If the game was real-time (1 mud day = 1 real day) you could even just have 1 year and cycle it. I don't think anyone would notice.

erdos 02-08-2004 07:10 PM

You want to go with raw METAR, not all this decoded crap. Valuable info will be lost in decoded reports. One good way to make this work would be to grab the and decompile it and figure out how it obtains its metars, then basically copy the process into your mud.


All times are GMT -4. The time now is 06:56 AM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Top Mud Sites.com 2022