Go Back   RunUO - Ultima Online Emulation > RunUO > Modification Suggestions

Modification Suggestions This is where you can suggest a modifcation to RunUO!

Reply
 
Thread Tools Display Modes
Old 07-17-2007, 09:20 AM   #1 (permalink)
Forum Expert
 
Liacs's Avatar
 
Join Date: Mar 2004
Location: Belgium / Germany
Age: 31
Posts: 1,036
Send a message via MSN to Liacs
Default Weather changeable

I did a search on weather and was surprised that I didn't find a modification suggestion for it: I want to be able to change the weather! I would like have commands that make it rain - or snow - or hot - or freezing cold :-)!

The system atm is not really userfriendly

And implement the sickness system of draco perhaps with it. ( very cold weather + no coat = *sneeze* )

I am dreaming of great RPG with druids who make the sky cry and help the lands grow green again!

*Tries to stop dreaming*
__________________
;)My C# Bookshelf (carpented by Soultaker);)

BTW: Please ask questions in the adequat forum and not on a private message! Otherwise nobody can learn from it!
Liacs is offline   Reply With Quote
Old 07-17-2007, 09:55 AM   #2 (permalink)
Forum Expert
 
Join Date: Sep 2004
Age: 31
Posts: 677
Default

Heh. This is something my GF & other admin wants badly. I have to keep telling her I'm not that good with scripting.
__________________
Please don't preach to me. You won't convert me. You won't convince me. I am me and you are you. I will respect you because that's who I am. Disrespect me, and you've only proven who you really are.
Vhaerun is offline   Reply With Quote
Old 07-17-2007, 12:16 PM   #3 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,782
Send a message via Yahoo to Lord_Greywolf
Default

even the ability to turn it on and off would be nice

get a big event going - with lots of players and monsters then - so some slight lag - then it starts to rain and everybody lags lol - except the monsters
(guess they love to play in the rain)

but having different stuff would be nice with the weather - like the sickness system - but even other stuff too - like if it is raining and no cloak/robe on and metal armor --- the armor does not like that and other effects - that would really add to a RPG shard
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is online now   Reply With Quote
Old 08-12-2007, 08:11 AM   #4 (permalink)
Forum Expert
 
Alex21's Avatar
 
Join Date: Jul 2007
Location: Australia, Queensland, Sunshine Coast
Age: 16
Posts: 1,162
Send a message via MSN to Alex21
Default

i have noticed on shard where i have two client standing next to each other in the world, it can be raining on one screen and nothing on the other

i have yet to see it raining on both client windows at the same time

even if some one fixed this to make it rain at the same time for everyone in that area would be an achievement i believe
__________________
Advertise Your Server On JoinUO!
JoinUO @ - joinuo.com
Alex21 is offline   Reply With Quote
Old 08-13-2007, 12:28 PM   #5 (permalink)
Newbie
 
Join Date: Aug 2004
Location: Bochum, Germany
Age: 21
Posts: 56
Send a message via ICQ to Brutus5000 Send a message via Skype™ to Brutus5000
Default

Quote:
Originally Posted by Alex21 View Post
i have noticed on shard where i have two client standing next to each other in the world, it can be raining on one screen and nothing on the other
I have tested weather a lot and there are a lot of problems caused by the UO client, not by RunUO. My english is not the best, but i will try to explain how it works:

Technical
I assume that you know, how the network communication is based on Packets.

To make the client show weather effects, you need to send him a WeatherPacket (as you can see in Misc/Weather.cs).

The WeatherPacket contains the type of weather (rain, snow, storm), density (1-100% if I remember correct) and temperature (I think it has no effect).

RunUO has a very simple, but still complex way to create the weather. It uses rectangles to specify one weather region, i will call it (weather) zone. There are static weather zones, you can set in the script and there are dynamic zones, that move randomly around over the map (You can see there position by adding a WeatherMap und double-clicking it. You will see, that they move.)

Every zone has a configuration: a chance of rain/snow, density and temperature. Every 30 seconds the weather inside the zone is new calculated and a WeatherPacket is sent to all players inside the zone.
Important: If you are inside a zone, there is not alway rain/snow/storm. This is random. You can also receive a WeatherPacket which stops current weather effects at your client.

So far the technical background.


Special UO client behavior

But now there are 2 important things that can totally break the RunUO system:
  1. The client stops weather effect on location changes without moving by yourself (i.e. teleporter, entering a ship, moved by a GM, whatever).
    The UO client stops displaying weather, until a new packet is received. But this is the smaller problem. More important:
  2. The UO client only stops weather if #1 happens or you restart the client. What does it mean?

    Example: You are in of RunUOs weather zones and RunUO sends you a packet Rain, density: 100%. Now you leave this zone (walk away). The rain will not stop on it's own. There is no timer.

    If you do not receive a new WeatherPacket and do not move it will rain and rain and rain. Another player joins your location. He has just logged in. On his screen, there is no rain.

    How often does it happen? Very often! But this is based on the RunUO script. The weather zones are not so big (400x400 tiles), but they move very fast. This means if you are not inside a weather zone, the current weather effect will stay until #1 happens or until you enter a new weather zone.
Brutus5000 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5