Someone can help this file original type play mode
i have little problem in this locate he not call true type mode play
writeC(2); // TYPE MODE PLAY 1 and
2 and
3?
Код:
writeD(room.isFigth());
writeD(room.getRoomSlotByPlayer(player).getId());
writeC(2); // TYPE MODE PLAY 1 and 2 and 3?
writeB(room.getLeader().getConnection().getIPBytes());
writeH(29890);// порт откуда идет
writeB(room.getLeader().getConnection().getIPBytes());
writeH(29890);// порт куда идет
writeC(0);
writeB(player.getConnection().getIPBytes());
writeH(29890);// порт
writeB(player.getConnection().getIPBytes());
writeH(29890); // порт
writeC(0);
writeB(NetworkUtil.parseIpToBytes("127.0.0.1"));
writeH(40000);
writeB(new byte[] {
//
// (byte) 0xc3, 0x51, 0x74, 0x36, // айпи чего?
//
// 0x43,
// (byte) 0x9c, // 40000 - порт?
//
(byte) 0x91, 0x00, 0x00, 0x00,
//
(byte) 0x47, 0x06, 0x00, 0x00
});
writeC(0);
writeB(new byte[] {
0x0a, 0x22, 0x00, 0x01, 0x10, 0x03, 0x1e, 0x05, 0x06, 0x07, 0x04, 0x09, 0x16, 0x0b, 0x1b, 0x08, 0x0e, 0x0f, 0x02, 0x11, 0x12, 0x21, 0x14, 0x15, 0x13, 0x17, 0x18, 0x19, 0x1a, 0x0c, 0x1c, 0x1d, 0x0d, 0x1f, 0x20
});
}
}