Weather in 5520+

11/04/2011 21:15 Spirited#31
:facepalm: i'm so done with this...

Code:
public void Nighttime()
        {
            Network.GamePackets.Data Packet = new Network.GamePackets.Data(true);
            Packet.ID = 104;
            Packet.dwParam = 5855577;
            foreach (GameState pclient in ServerBase.Kernel.GamePool.Values)
            {
                Packet.UID = pclient.Entity.UID;
                pclient.Send(Packet);
            }
        }
Now sit in a puddle and be happy.
11/04/2011 21:22 abdeen#32
Worked Fine .

how to make its normal ?

i mean light ?


i know same code , but what number i have to type instead of 5855577 ?
11/04/2011 21:28 Spirited#33
Quote:
Originally Posted by abdeen View Post
Worked Fine .

how to make its normal ?

i mean light ?


i know same code , but what number i have to type instead of 5855577 ?
666.
11/04/2011 21:36 abdeen#34
Quote:
Originally Posted by Fаng View Post
666.
Thanks Fang. i`ll try it , i am creating a timer for it .
11/04/2011 21:42 Lateralus#35
Quote:
Originally Posted by abdeen View Post
Thanks Fang. i`ll try it , i am creating a timer for it .
If you need help with making the timer for it, feel free to make another topic or two.
11/04/2011 21:46 abdeen#36
Quote:
Originally Posted by Lateralus View Post
If you need help with making the timer for it, feel free to make another topic or two.
Lol no thanks i am already made the timer , but 666 made the world is BLUE

it`s not correct O.o
11/04/2011 22:19 BaussHacker#37
Quote:
Originally Posted by abdeen View Post
Lol no thanks i am already made the timer , but 666 made the world is BLUE

it`s not correct O.o
I don't hope you're christian.
11/04/2011 22:24 abdeen#38
Quote:
Originally Posted by BaussHacker View Post
I don't hope you're christian.
what are you talking about ?
11/04/2011 22:29 Matzukaze#39
cool tahanks
11/05/2011 05:00 Spirited#40
Quote:
Originally Posted by abdeen View Post
what are you talking about ?
It was a joke.... i said 666 because i was getting annoyed by how pathetic you're being. 666 is the area code for calling hell. It's "0". That should make everything perfect.
11/05/2011 08:32 Sp!!ke#41
Quote:
Originally Posted by abdeen View Post
Okay , so i am trying to make its night , i coded it to Rain , Snow , Rain Wind and Blowing Cotton and its working fine , but i don't know how to make it`s Night

any help ?

First , you not coded rain,snow ( wheater ) you just copy that from korvacs.

Second , for night you need to make a system with some screen colors, it's simple.
11/05/2011 20:16 abdeen#42
Quote:
Originally Posted by Sp!!ke View Post
First , you not coded rain,snow ( wheater ) you just copy that from korvacs.

Second , for night you need to make a system with some screen colors, it's simple.
First, i did not copied anything from Korvacs

Second, i done with it .
11/05/2011 21:00 Sp!!ke#43
hahahaa !!!

you done it cause fang help you to change 2 line's !

I hate fang cause him help noobs and after they say " I'm done coding that system , was easy " .... first thank to fang for help !

and Korvacs is person who released Wheater packet, without him you wont have that system ! ( since I use him packets ) Thanks..:)

and Fang :P I don't hate you ! just joke...
07/01/2014 04:43 marcbacor6666#44
is there a way to make it work only in tc, i have tried everything still fails damn lol im stupid :)


Code:
 if (client.Entity.MapID == 1002)
                    {
                        Program.ScreenColor = 5855577;
                        foreach (Client.GameClient C in Kernel.GamePool.Values)
                        {
                            Data datas = new Data(true);
                            datas.UID = C.Entity.UID;
                            datas.ID = 104;
                            Program.ScreenColor = 5855577;
                            datas.dwParam = 5855577;
                            C.Send(datas);
                        }
                    }
bump
07/01/2014 05:23 Spirited#45
Quote:
Originally Posted by marcbacor6666 View Post
is there a way to make it work only in tc, i have tried everything still fails damn lol im stupid :)


Code:
 if (client.Entity.MapID == 1002)
                    {
                        Program.ScreenColor = 5855577;
                        foreach (Client.GameClient C in Kernel.GamePool.Values)
                        {
                            Data datas = new Data(true);
                            datas.UID = C.Entity.UID;
                            datas.ID = 104;
                            Program.ScreenColor = 5855577;
                            datas.dwParam = 5855577;
                            C.Send(datas);
                        }
                    }
bump
Your code reads: If the current player is on map 1002 (Twin City), then for each player on the server, change the screen color. Yeah, that's doesn't sound right to me at all. PS: This has already been addressed on this thread. Please read.