コード例 #1
0
        public override void Handle(GameSession session, PacketReader packet)
        {
            HandleCommon(session, packet);

            // No idea what this is, but server sends it when logging into game server
            session.Send(PacketWriter.Of(SendOp.UNKNOWN_SYNC)
                         .WriteByte()
                         .WriteInt(Environment.TickCount));
            session.Send(RequestPacket.Key());
        }
コード例 #2
0
    public override void Handle(GameSession session, IByteReader packet)
    {
        base.Handle(session, packet);

        // No idea what this is, but server sends it when logging into game server
        var pWriter = Packet.Of(0x132);

        pWriter.WriteByte();
        pWriter.WriteInt(Environment.TickCount);
        session.Send(pWriter);
        session.Send(RequestPacket.Key());
    }
コード例 #3
0
    public override void Handle(GameSession session, PacketReader packet)
    {
        HandleCommon(session, packet);

        // No idea what this is, but server sends it when logging into game server
        PacketWriter pWriter = PacketWriter.Of(SendOp.UNKNOWN_SYNC);

        pWriter.WriteByte();
        pWriter.WriteInt(session.ClientTick);

        session.Send(pWriter);
        session.Send(RequestPacket.Key());
    }