Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 18:20

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

Advertisement



day and night & weather in coemu

Discussion on day and night & weather in coemu within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
day and night & weather in coemu

ive searched for it....a lot of posts say they have it but it ends up not being there. So i was wondering anyone know where the actual posts for these are?

p.s.

im finishing my xmas quests...should i release them? they're pretty fun
killerdiggs is offline  
Old 11/29/2009, 10:48   #2
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by killerdiggs View Post
ive searched for it....a lot of posts say they have it but it ends up not being there. So i was wondering anyone know where the actual posts for these are?

p.s.

im finishing my xmas quests...should i release them? they're pretty fun
Code:
public static byte[] Brightness(int Id, int Red, int Green, int Blue)
        {
            PacketBuilder Packet = new PacketBuilder(10010, 28);
            Packet.Long(Timer);
            Packet.Long(Id);
            Packet.Int(Red);
            Packet.Int(Green);
            Packet.Int(Blue);
            Packet.Int(0);
            Packet.Long(0);
            Packet.Short(0);
            Packet.Short(104);
            Packet.Long(0);
            return Packet.getFinal();
        }
Id is the character id u want to send the day/night to

red/green/blue is the brightness values 255,255,255 will look like sunny screen but about 90/90/90 will give u the night effect
samehvan is offline  
Thanks
1 User
Old 11/29/2009, 12:01   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 259
Received Thanks: 159
in general.cs
Code:
        public static byte[] Rgb(int Identifier, int Color)
        {
            PacketBuilder Packet = new PacketBuilder(1010, 28);
            Packet.Long(Timer);
            Packet.Long(Identifier);
            Packet.Long(Color);
            Packet.Short(0);
            Packet.Short(0);
            Packet.Short(0);
            Packet.Short(104);
            Packet.Long(0);
            return Packet.getFinal();
        }
in chat.cs
Code:
                        case "day":
                            {
                                if (CSocket.Client.isPM || CSocket.Client.isGM)
                                {
                                    foreach (ClientSocket cSocket in Nano.ClientPool.Values)
                                    {
                                        cSocket.Color = 0;
                                        byte[] Data2 = ConquerPacket.Rgb(cSocket.Client.ID, 0);
                                        cSocket.Send(Data2);
                                    }
                                }
                            }
                            break;
Code:
                            case "night":
                            {
                                if (CSocket.Client.isPM || CSocket.Client.isGM)
                                {
                                    foreach (ClientSocket cSocket in Nano.ClientPool.Values)
                                    {
                                        cSocket.Color = 5855577;
                                        byte[] Data2 = ConquerPacket.Rgb(cSocket.Client.ID, 5855577);
                                        cSocket.Send(Data2);
                                    }
                                }
                            }
                            break;
in teleport.cs
Code:
                    byte[] Data2 = ConquerPacket.Rgb(CSocket.Client.ID, CSocket.Color);
                    CSocket.Send(Data2);
and in Client Socket
Code:
 public int Color = 0;
teroareboss1 is offline  
Thanks
1 User
Old 11/29/2009, 23:40   #4
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
thanks guys its a lot of help

i got weather i found the packets so, thnx for the day and night tho
killerdiggs is offline  
Old 11/30/2009, 06:36   #5
 
elite*gold: 0
Join Date: Nov 2009
Posts: 2
Received Thanks: 0
Quote:
Originally Posted by killerdiggs View Post
thanks guys its a lot of help

i got weather i found the packets so, thnx for the day and night tho

can u tell me the packets of weather please
SoulOfDragon is offline  
Old 12/01/2009, 03:18   #6
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
Quote:
Originally Posted by SoulOfDragon View Post
can u tell me the packets of weather please
Nothing = 0x1,
Rain = 0x2,
Snow = 0x3,
RainWind = 0x4,
AutumnLeaves = 0x5,
CherryBlossomPetals = 0x7,
CherryBlossomPetalsWind = 0x8,
BlowingCotten = 0x9,
Atoms = 0xa

props to conquer wiki for the help^^
killerdiggs is offline  
Old 12/02/2009, 01:16   #7
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
thanks guys i got both of them to work
killerdiggs 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 ??
What's the command for weather on....
02/14/2010 - CO2 Private Server - 0 Replies
What's the command to change the weather on tq binaries 5065?
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 18:20.


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.