stuck initializing latest patch

06/27/2011 01:04 Mr_PoP#1
PHP Code:
switch (pack.Type)
            {
                case 
PacketType.Language:
                    {
                        
ChatPacket chat = new ChatPacket("ANSWER_OK", "SYSTEM", "ALLUSERS", ChatType.LoginInformation);
                        
SendPacket(chat);

                        
byte[] buf = new byte[] { 0x83, 0x00, 0xEE, 0x03, 0x26, 0x6D, 0x14, 0x00, 0xF1, 0x65, 0x27, 0x00, 0x19, 0x02, 0xD8, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xDB, 0xD7, 0x0F, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2B, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x41, 0x00, 0x64, 0x00, 0xE4, 0x00, 0x00, 0x00, 0xDD, 0x0A, 0x18, 0x19, 0x00, 0x00, 0x79, 0x91, 0x87, 0x00, 0x00, 0x01, 0x00, 0xA8, 0x02, 0x00, 0x00, 0x64, 0x00, 0x00, 0x00, 0x34, 0x00, 0x6A, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x0A, 0x7E, 0x42, 0x6C, 0x75, 0x65, 0x57, 0x61, 0x76, 0x65, 0x7E, 0x00, 0x09, 0x42, 0x6C, 0x61, 0x63, 0x6B, 0x44, 0x75, 0x73, 0x74 };
                        
TqPacket packet = new TqPacket(new ByteBuffer(buf, buf.Length));
                        
SendPacket(packet);
                        break;
                        
                    }
                case 
PacketType.Command:
                    {
                        
CommandPacket cmd = new CommandPacket(1002, 1002, 444, 444,0xA4);
                        
SendPacket(cmd);
                        break;
                    }
                default:
                    {
                        
Console.WriteLine("\n\n"+outPutHex.ToHex(pack.getBuffer()));
                        break;
                    }
            } 
as u can see am sending chat/char then the client request the CommandPacket i send it but am still stuck in initializing bar
and then the client send me some shit


idk what's wrong LOL!
06/27/2011 11:03 { Angelius }#2
Again .

@Mr_PoP ...when you get online find me on yahoo messenger cus i think i can help you with that one ,

and i said again cus i offered to help in an earlier post/replay and that korfaks deleted it :/
06/27/2011 14:14 -impulse-#3
The problem is probably caused by the fact that you send random command packets. You send the set location id when the client requests it (74 [not hex]). This should make it work just fine
06/27/2011 15:52 Mr_PoP#4
Quote:
Originally Posted by { Angelius } View Post
Again .

@Mr_PoP ...when you get online find me on yahoo messenger cus i think i can help you with that one ,

and i said again cus i offered to help in an earlier post/replay and that korfaks deleted it :/
right i will msg you thanks

Quote:
Originally Posted by -impulse- View Post
The problem is probably caused by the fact that you send random command packets. You send the set location id when the client requests it (74 [not hex]). This should make it work just fine
yeah the client requested it and i sent it , all my packets are hexed it wont make anydifferent really. thanks for your replay Impules :)