[PROBLEM]Weather ! Look on PIC

06/21/2010 22:40 Sp!!ke#1
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]


How I can Fix THAT ??
06/22/2010 00:49 pintser#2
this is probably the weather installed in youre client.

Try a diffrent client.
ore try and find the weather packages..

if not there is a post released about Weather.
(releases> Weather)
thought from Yuki, not sure tho..

find and learn ;)
06/22/2010 00:52 Arcо#3
Actually Korv released it for Tanel's 5165, and I think alex released it for his source.
06/22/2010 02:36 Sp!!ke#4
problem is next Snow working perfect but when change new wheater type I got that problem ! arco you can make a command to start all weather type Ex

/weather snow or /weather rain

@pinster I will try a new client
06/22/2010 02:39 Arcо#5
Just take a look at this
[Only registered and activated users can see links. Click Here To Register...]
06/22/2010 03:20 Sp!!ke#6
Code:
                  
   if (Cmd[0] == "/weather")
                        {
                            byte Weather = 0x1;
                            if (Cmd[1] == "n")
                                Weather = 0x1;
                            if (Cmd[1] == "rain")
                                Weather = 0x2;
                            if (Cmd[1] == "snow")
                                Weather = 0x3;
                            if (Cmd[1] == "rw")
                                Weather = 0x4;
                            if (Cmd[1] == "al")
                                Weather = 0x5;
                            if (Cmd[1] == "cb")
                                Weather = 0x7;
                            if (Cmd[1] == "cbw")
                                Weather = 0x8;
                            if (Cmd[1] == "bc")
                                Weather = 0x9;
                            if (Cmd[1] == "atoms")
                                Weather = 0xa;
                            // COPacket Packets.Weather(byte Type, uint Intensity, uint Direction, uint Appearance)
                            GC.AddSend(Packets.Weather(Weather, uint.Parse(Cmd[2]), uint.Parse(Cmd[3]), uint.Parse(Cmd[4])));
                        }
                    }
I got error at
Quote:
GC.AddSend(Packets.Weather(Weather, uint.Parse(Cmd[2]), uint.Parse(Cmd[3]), uint.Parse(Cmd[4])));
06/22/2010 03:26 s.bat#7
Quote:
Originally Posted by Tweety.4Girls View Post
I got error at
Okay, do you have a question? How about posting the details of that error.
06/22/2010 03:31 Sp!!ke#8
how I can fix that command to perfectly working? to start weather system from command
06/22/2010 03:37 Arcо#9
....
Well I guess
if (Cmd[0] == "/weather")
Weather(Features.WeatherType Cmd[1], Cmd[2], Cmd[3], Cmd[4])

Idk try that.
/weather snow 100 100 100 100
06/22/2010 04:38 Sp!!ke#10
not working I got more errors...you can try make a command for me? I will w8 you reply here ! and thanks cause you try to help me
06/22/2010 05:41 s.bat#11
I asked you to post what errors you've received. That information will certainly help to understand what's wrong and where you need help.
06/22/2010 05:57 Arcо#12
Quote:
Originally Posted by Tweety.4Girls View Post
not working I got more errors...you can try make a command for me? I will w8 you reply here ! and thanks cause you try to help me
I made you a command, I can't help anymore if you don't tell me what the problem is.
06/22/2010 06:08 CollegeKid#13
Quote:
Originally Posted by Tweety.4Girls View Post
Code:
                  
   if (Cmd[0] == "/weather")
                        {
                            byte Weather = 0x1;
                            if (Cmd[1] == "n")
                                Weather = 0x1;
                            if (Cmd[1] == "rain")
                                Weather = 0x2;
                            if (Cmd[1] == "snow")
                                Weather = 0x3;
                            if (Cmd[1] == "rw")
                                Weather = 0x4;
                            if (Cmd[1] == "al")
                                Weather = 0x5;
                            if (Cmd[1] == "cb")
                                Weather = 0x7;
                            if (Cmd[1] == "cbw")
                                Weather = 0x8;
                            if (Cmd[1] == "bc")
                                Weather = 0x9;
                            if (Cmd[1] == "atoms")
                                Weather = 0xa;
                            // COPacket Packets.Weather(byte Type, uint Intensity, uint Direction, uint Appearance)
                            GC.AddSend(Packets.Weather(Weather, uint.Parse(Cmd[2]), uint.Parse(Cmd[3]), uint.Parse(Cmd[4])));
                        }
                    }
I got error at
Wow. That looks familiar. That's my code =o
... or looks like my code It's been modified... wrong.

It should be like this:
/weather [Type] [Direction] [Intensity]

And in that picture, if you're getting yellow lines then it's the client.
Good luck.
06/22/2010 06:11 Arcо#14
You're non-working code.

Anyways,
if (Cmd[0] == "/weather")
GC.AddSend(Packets.Weather(Cmd[1], uint.Parse(Cmd[2]), uint.Parse(Cmd[3]), uint.Parse(Cmd[4])));

That MIGHT work.
Unsure, last I remember I gave that guy ^ my working command.
06/22/2010 06:22 CollegeKid#15
Quote:
Originally Posted by .Arco View Post
You're non-working code.

Anyways,
if (Cmd[0] == "/weather")
GC.AddSend(Packets.Weather(Cmd[1], uint.Parse(Cmd[2]), uint.Parse(Cmd[3]), uint.Parse(Cmd[4])));

That MIGHT work.
Unsure, last I remember I gave that guy ^ my working command.
Yah. "Your" working code. :rolleyes:
Anyways... Good luck to the OP! =]