Rebuilt because snowl stoped working on this. Work on this for LegendaryClient's Replay feature