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[] { 0x830x000xEE0x030x260x6D0x140x000xF10x650x270x000x190x020xD80x0F0x000x000x000x000x000x000xDB0xD70x0F0x080x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x2B0x040x000x000x000x000x000x000x070x000x410x000x640x000xE40x000x000x000xDD0x0A0x180x190x000x000x790x910x870x000x000x010x000xA80x020x000x000x640x000x000x000x340x000x6A0x180x000x000x000x000x000x000xC20x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x030x0A0x7E0x420x6C0x750x650x570x610x760x650x7E0x000x090x420x6C0x610x630x6B0x440x750x730x74 };
                        
TqPacket packet = new TqPacket(new ByteBuffer(bufbuf.Length));
                        
SendPacket(packet);
                        break;
                        
                    }
                case 
PacketType.Command:
                    {
                        
CommandPacket cmd = new CommandPacket(10021002444444,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 :)