Показать сообщение отдельно
Старый 13.06.2014, 01:07  
[Zeto]
Проверенный продавец
Аватар для [Zeto]
OFFLINE
Регистрация: 06.07.2012
Сообщений: 698
Благодарностей:
1,011 всего
Мнения: + 3817
Репутация: 3034
Отправить сообщение для [Zeto] с помощью Skype™

Цитата:
Сообщение от Slow Посмотреть сообщение
вот такой код в лаучере,на счет премиума в хекс значении стоит 2
Код:
defaultSet.SetValue((byte)((byte)remdata.GetValue(5) ^ 0xAF), 19);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(devil) ^ 0xE0), 20);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(7) ^ 0x65), 21);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(music) ^ 0x6E), 22);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(5) ^ 0x3A), 41);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(devil) ^ 0x18), 42);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(7) ^ 0x9C), 43);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(music) ^ 0xC8), 44);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(10) ^ 0x3A), 45);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(11) ^ 0x18), 46);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(12) ^ 0x9C), 47);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(13) ^ 0xC8), 48);  //айди акка,прем
                defaultSet.SetValue((byte)0x3a, 39);
                defaultSet.SetValue((byte)0x4b, 40); // номер серва 1 ili 2, v tom slushae, esli na 1 ip:port 2 serva est
                send = new byte[8] { 0x08, 0x00, 0x15, 0x05, 0x00, 0x00, 0x00, 0x00 };
                client.Send(send);
                client.Receive(remdata);
                send = new byte[6] { 0x06, 0x00, 0x15, 0x07, 0x00, 0x00 };
                client.Send(send);
                client.Receive(remdata);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(11) ^ 0xE6), 23);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(12) ^ 0x22), 24);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(13) ^ 0xCF), 25);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(14) ^ 0xCF), 26);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(15) ^ 0x6F), 27);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(16) ^ 0xDE), 28);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(17) ^ 0xBC), 29);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(18) ^ 0x5B), 30);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(19) ^ 0xDA), 31);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(20) ^ 0x5E), 32);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(21) ^ 0xDF), 33);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(22) ^ 0xAC), 34);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(23) ^ 0x37), 35);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(24) ^ 0x1B), 36);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(25) ^ 0xCD), 37);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(26) ^ 0xBC), 38);  // сессии
                defaultSet.SetValue((byte)((byte)remdata.GetValue(5) ^ 0x3A), 0);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(devil) ^ 0x4B), 1);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(7) ^ 0x9C), 2);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(music) ^ 0xCB), 3);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(9) ^ 0xB6), 4);
                defaultSet.SetValue((byte)((byte)remdata.GetValue(10) ^ 0x4F), 5); // ип ,порт
                defaultSet.SetValue((byte)0xD0, 53);
                defaultSet.SetValue((byte)0x32, 54);
Это не код, это говнокод.

Касательно вашего вопроса, в каком направлении копать, вам уже указали.

Или вы желаете, чтобы вам всё сделали за "спасибо"?
 
Ответить с цитированием