[Release] Day & Night!!

10/24/2008 17:48 konkizta#16
thanks, good guide can also put sunrise and sunset:D:handsdown::handsdown:
10/24/2008 20:29 _Emme_#17
Quote:
Originally Posted by felipeboladao View Post
Hahaha,
Also on my must, if I do not mistake me this is the packts?

Code:
        
//Weather Effects (rain, snow, leaves, confetti, etc) [probobly wrong]
        public byte[] Packet0x3f8(uint UID, uint dwParam, ushort wParam1, ushort wParam2, ushort wParam3, ushort ID)
        {
            byte[] Buffer = new byte[24];
            fixed (byte* lpBuffer = Buffer)
            {
                *((ushort*)(lpBuffer)) = 24;
                *((ushort*)(lpBuffer + 2)) = 0x3f8;
                *((uint*)(lpBuffer + 4)) = (uint)Environment.TickCount;
                *((uint*)(lpBuffer + 8)) = UID;
                *((uint*)(lpBuffer + 12)) = dwParam;
                *((ushort*)(lpBuffer + 16)) = wParam1;
                *((ushort*)(lpBuffer + 18)) = wParam2;
                *((ushort*)(lpBuffer + 20)) = wParam3;
                *((ushort*)(lpBuffer + 22)) = ID;
            }
            return Buffer;
        }

        //Color v.2
        public byte[] Packet0x3f2(uint UID, uint dwParam, ushort wParam1, ushort wParam2, ushort wParam3, ushort ID)
        {
            byte[] Buffer = new byte[24];
            fixed (byte* lpBuffer = Buffer)
            {
                *((ushort*)(lpBuffer)) = 24;
                *((ushort*)(lpBuffer + 2)) = 0x3f2;
                *((uint*)(lpBuffer + 4)) = (uint)Environment.TickCount;
                *((uint*)(lpBuffer + 8)) = UID;
                *((uint*)(lpBuffer + 12)) = dwParam;
                *((ushort*)(lpBuffer + 16)) = wParam1;
                *((ushort*)(lpBuffer + 18)) = wParam2;
                *((ushort*)(lpBuffer + 20)) = wParam3;
                *((ushort*)(lpBuffer + 22)) = ID;
            }
            return Buffer;
        }


GOOD JOB!!! You copied and pasted from kinshis source,omfg your uber pro..

Newb
10/25/2008 00:23 kinshi88#18
Quote:
Originally Posted by emildayan1 View Post
GOOD JOB!!! You copied and pasted from kinshis source,omfg your uber pro..

Newb
How did you get...
-Nevermind that, its not even the right packet, I was just playing around =P
10/25/2008 15:09 tao4229#19
Was going to say, until I lol'd... Not the right packet anyways, and the "Color v.2" is the exact same thing as the first post with different variable names(0x3F2 is 1010-RGB/Map color packet). If it even works x.x
10/26/2008 03:13 valyy#20
i don t find this

Auth = new System.Timers.Timer();
Auth.Interval = 300000;
Auth.Elapsed += new ElapsedEventHandler(Auth_Elapsed);
Auth.Start();

:mad::mad::mad::mad::confused::confused::confused:
10/26/2008 11:03 randomnoob#21
Quote:
Originally Posted by valyy View Post
i don t find this

Auth = new System.Timers.Timer();
Auth.Interval = 300000;
Auth.Elapsed += new ElapsedEventHandler(Auth_Elapsed);
Auth.Start();

:mad::mad::mad::mad::confused::confused::confused:
quit making a server.
12/30/2008 12:38 J-STAR#22
pfft its not working by me
04/20/2009 04:29 auraboreal#23
Quote:
Originally Posted by valyy View Post
i don t find this

Auth = new System.Timers.Timer();
Auth.Interval = 300000;
Auth.Elapsed += new ElapsedEventHandler(Auth_Elapsed);
Auth.Start();

:mad::mad::mad::mad::confused::confused::confused:
Find for:

Thetimer.Interval
04/20/2009 04:33 andyd123#24
#Closed - thread digging