View Single Post
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 03-02-2006 , 09:43  
Reply With Quote #8

All of the lag could be taken out of this plugin + an increase in quality could occur if you used Array module. Also, it would be a lot simpler.

You store the state of the player at the frame of start recording, IE model, grenades, weapons, everything.

Then, you record the buttons into one array, and the oldbuttons into another, for each and every frame of the player being recorded.

Then, when you stop recording, you've got a very high quality set of controls.

To play the recording, you simply make a fake client with ALL of the same stuff (you recorded it all into an array before), then set all the buttons and old buttons as you read them from the array.

For more info, contact me. i'll show you how to do it. It will probably fix all the bugs you've been having AND speed the damn thing up a whole lot.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka