PROGRAMMATOR Написал:WireShark всё ловит.
Код:
short // readyMask
byte // ? default 255
byte // dinoTeam
long // ?
byte // ?
я добавил этот пакет , но после пакета PROTOCOL_BATTLE_PRESTARTBATTLE_REQ ничего не идет не ответа , не запроса на следующий пакет.
Вот все пакеты которые использую для боя.
PROTOCOL_BATTLE_READYBATTLE_REQ
PROTOCOL_OPCODE_4103
writeH(4103);
writeBS("00000100ab2b0900f192010013150300c9970400d935060061c00700ab2b09006078a53b00ffa63ba085a83b400caa3be092ab3b8019ad3b20a0ae3b000000000000000064646464640000000100ffff01000001000001d403080f0000100a05bdb6000001000000000000000000000000000000000000500072006f006a006500630074005f0047000000000000000000000000000000000000e10000000000000000000000ffffffff00000000000000000000000072006500560061006d007000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000000000000000000006f007200540068006500570069006e000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000072006900670069006e0061006c0056000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000072006500560061006d007000000053000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000072006500560061006d007000000053000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000072006500560061006d007000000065000000000000000000000000000000000000000100000000000000000000ffffffff00000000000000000000000068006500500072006900640065004f000000000000000000000000000000000000000100000000000000000000ffffffff00000000000000000000000072006500560061006d007000000061000000000000000000000000000000000000000100000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009e00110f000000004600650065006c00200054006800650020004800650061006400730068006f00740021002100000000000000000001000001020108050f20030000000000490072006f006e004d0061006e00320031000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004200000000000200000000000000000000000000000000000801");
}
}
}
PROTOCOL_OPCODE_3848_ACK
writeH(3848);
writeBS("0000100905bdb6000001000000000000000000000000000000000000500072006f006a006500630074005f0047000000000000000000000000000000000000e10000000000000000000000ffffffff00000000000000000000000072006500560061006d007000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000000000000000000006f007200540068006500570069006e000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000072006900670069006e0061006c0056000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000072006500560061006d007000000053000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000072006500560061006d007000000053000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000072006500560061006d007000000065000000000000000000000000000000000000000100000000000000000000ffffffff00000000000000000000000068006500500072006900640065004f000000000000000000000000000000000000000100000000000000000000ffffffff00000000000000000000000072006500560061006d007000000061000000000000000000000000000000000000000100000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000ffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000");
}
}
}
PROTOCOL_BATTLE_PRESTARTBATTLE_REQ
PROTOCOL_BATTLE_PRESTARTBATTLE_ACK
writeH(4106);
writeD(1);
writeD(0);
//udp server
writeC(2);
writeB(new byte[] { 0x7F, 0x00, 0x00, 0x01 });
writeB(new byte[] { 0x40, 0x9C });
//room info
writeD(1);
writeD(1);
writeB(new byte [35]);
PROTOCOL_BATTLE_STARTBATTLE_REQ
PROTOCOL_BATTLE_STARTBATTLE_ACK
writeH(4108);
writeD(0);
writeD(0);
writeD(0);
writeD(0);
writeH(0);
writeH(8);
writeD(0);
writeC(0);
writeH(0);
writeC(0);
writeC(0);
PROTOCOL_BATTLE_MISSION_ROUND_PRE_START_ACK
writeH(4127);
writeH(0);
writeC(0);
writeC(0);
writeQ(0);
writeC(0);
PROTOCOL_BATTLE_MISSION_ROUND_START_ACK
writeH(4129);
writeC(1);
writeD(600);
writeH(1);
writeC(0);