Register for your free account! | Forgot your password?

You last visited: Today at 19:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release]5165 Weather

Discussion on [Release]5165 Weather within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 12/10/2010, 14:52   #46
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by 1337 H4X0R View Post
Code:
if (Cmd[0] == "/weather")
{
            foreach (Game.Character c in Game.World.H_Chars.Values)
            {
                    int Change = Program.Rnd.Next(10);

                    while (Change == 4 || Change == 6 || Change == 7 || Change == 8)
                    {
                        Change = Program.Rnd.Next(10);
                    }

                    Features.Weather.Intensity = (uint)Program.Rnd.Next(50, 220);
                    Features.Weather.Direction = (uint)Program.Rnd.Next(100, 200);
                    if (Change == 5)
                        Features.Weather.Appearence = (uint)Program.Rnd.Next(7);
                    else
                        Features.Weather.Appearence = 0;

                    c.MyClient.AddSend(Packets.Weather(Features.WeatherType.Snow, Features.Weather.Intensity, Features.Weather.Appearence, Features.Weather.Direction));//Change Snow to the weather u want
                }
}
Well I guess that is one way of just giving stuff to people instead of them having to do some work for a change
.Beatz is offline  
Reply


Similar Threads Similar Threads
[PROBLEM]Weather ! Look on PIC
06/23/2010 - CO2 Private Server - 25 Replies
http://img443.imageshack.us/img443/1812/29097290.j pg http://img443.imageshack.us/img443/1812/29097290. jpg How I can Fix THAT ??
weather[Help]
12/23/2009 - CO2 Private Server - 2 Replies
wondering if anyone can point me in the right direction to getting weather working :P
[help]weather packet
11/25/2009 - CO2 Private Server - 2 Replies
staff, I need the packet of the weather, someone has?
Weather hack...
01/07/2007 - Conquer Online 2 - 11 Replies
ok, im trying to make a weather hack, and i have figured out ALMOST EXACTLY what to do to get it workin. But ive run into a major problem. There is a hidden file that seems impossible to get into, and that is the file i need to get to. I need to get to the folder Conquer2.0\data\weather IF ANYONE KNOWS HOW TO GET INTO THE FILE PLZ POST OR PM ME.



All times are GMT +2. The time now is 19:55.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.