#request close

02/16/2010 00:01 Decker_#1
#request close
02/16/2010 00:04 Arcо#2
Quote:
Originally Posted by _Decker View Post
Hello
My source version 5017 has rain but there ain't a command to start it.
Can someone give me a command to make it rain?
The packets probably aren't implemented.
02/16/2010 00:08 ArtOfWar#3
Quote:
Originally Posted by _Decker View Post
Hello
My source version 5017 has rain but there ain't a command to start it.
Can someone give me a command to make it rain?
Put half of the packet here so i can make the command
02/16/2010 00:08 Decker_#4
I'm not a coder so I really don't know what you mean by putting the packet here :S
02/16/2010 00:09 Arcо#5
Quote:
Originally Posted by _Decker View Post
I'm not a coder so I really don't know what you mean by putting the packet here :S
Find the packet.
Post it here.
02/16/2010 00:10 Decker_#6
WHATS THE PACKET???
02/16/2010 00:10 ArtOfWar#7
Quote:
Originally Posted by _Decker View Post
I'm not a coder so I really don't know what you mean by putting the packet here :S
Well try this i dont think it will work.

Code:
if (Splitter[0] == "/rain")
                                        {
                                            SendPacket(General.MyPackets.Rain.Start);
                                        }
02/16/2010 00:13 Arcо#8
Something in packets.cs that would be roughly like this
Code:
        public byte[] StallWindow(uint ID, Character C)
        {
            ushort PacketType = 0x3f2;
            byte[] Packet = new byte[24];
            fixed (byte* Ptr = Packet)
            {
                *((ushort*)(Ptr)) = (ushort)Packet.Length;
                *((ushort*)(Ptr + 2)) = (ushort)PacketType;
                *((uint*)(Ptr + 4)) = (uint)758292;
                *((uint*)(Ptr + 8)) = (uint)C.UID;
                *((uint*)(Ptr + 12)) = (uint)ID;
                *((ushort*)(Ptr + 16)) = (ushort)272;
                *((ushort*)(Ptr + 18)) = (ushort)198;
                *((ushort*)(Ptr + 20)) = (ushort)6;
                *((ushort*)(Ptr + 22)) = (ushort)110;
            }
            return Packet;
        }