rpc getpacketsbeforepacket