Add a packet playback function for hax