View Single Post
Plugin Info:     Modification:          Category:          Approver:   Xanimos (85)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-27-2006 , 20:50   Sequence Recorder
Reply With Quote #1

This plugin is unsupported atm.




This plugin records what you are doing (example: a strat), and then allows you to replay what you did in real time. It spawns a fake player and he runs around doing what you recorded yourself doing. Maximum recording length is 3 minutes.

Commands (requires flag "M"):
amx_seq_record - Record a sequence of target <target name> <record name>
amx_seq_stoprecord - Stop recording current recording sequence
amx_seq_play - Playback a recorded sequence <record name>
amx_seq_list - Lists all the recorded sequences for the current map

CVARs:
seq_playback_quality - quality that the sequence is played back in. Scale from 0(worst) to 40(best) (Default 20)

amx_seq_list pint out example:
Code:
[AMXX] Sequences recorded on this map:
<---->
-test1
-test2
-2_3_split-1
<---->
Modules:
cstrike
engine

Recorded sequences (.seq) will be put into a folder that is created for you. Folder is amxmodx/data/recorded_sequences.

If you want to transfer sequences from 1 server to another:
A. copy all of the .seq files from 1 server to the other
B. open "sequence_names.dat" from the first server (in notepad)
C. copy all of the text from that file.
D. paste all of that text onto the end of the other server's "sequence_names.dat" file.

If you have this plugin installed and you are going to install a new copy / version:
Because of a seemingly unsquashable bug, you must do the following steps to reinstall / install a new version of this plugin if it is already running on your server:
A. take the filename out of plugins.ini
B. upload new version
C. change map / reload server
D. add the filename back into plugins.ini
E. change map / reload server again.
If you do not comply to these steps, your server is guarenteed to crash. (Will auto-fix problem on reboot though).

Notice #1: Playbacks do not appear 100% real, and the lower the quality the more "glitchy" they appear.
Notice #2:THIS PLUGIN HAS POTENTIALLY LAGGY CAPABILITES:
Some servers may not be able to handle:
A. more than one playback at a time
B. more than one recording at a time
C. a combination of both
D. playback with several people in the server
E. high-quality play backs. or even
F. this plugin at all
So I suggest seing what you can do without lagging your server. If your server starts to lag, you know it's limits. Try not to crash your server and then come complain
Notice #3: Grenades... don't exxactly... always go in the direction you throw them. They go in the direction you were running towards. Fake grenades thrown by these fake players do not flash or hurt. They do however explode and/or smoke
Notice #4: You cannot "see" what gun the fake playback player has, however you a hud displays his current ammo + weapon.
Notice #5: Sometimes instead of walking... the player appears to be skating (like on ice)

Tips (If your server can handle it):
Code:
amx_seq_record player1 strat1-1;amx_seq_record player2 strat1-2;amx_seq_record player3 strat1-3;amx_seq_record player4 strat1-4;amx_seq_record player5 strat1-5
AND
Code:
amx_seq_play player1 strat1-1;amx_seq_play player2 strat1-2;amx_seq_play player3 strat1-3;amx_seq_play player4 strat1-4;amx_seq_play player5 strat1-5
To record a strat. Or just record yourself playing 5 different strat postitions.

Most important part:
Pictures:




Code:
v3x: is it laggy?
GHW Chronic: not when I tested on a listen at 40 quality
GHW Chronic: but since servers generally have less quality than a listen server
GHW Chronic: I added a quality tool (CVAR)
Code:
v3x: notices, more like bugs :P
GHW Chronic: no
GHW Chronic: not really
GHW Chronic: unfixable bugs
GHW Chronic: or
GHW Chronic: fixable with EXTREME LAG
v3x: F. this plugin at all 
v3x: rofl
GHW Chronic: well
GHW Chronic: if u have a $3 / month walmart server
GHW Chronic: or like that one guy
GHW Chronic: who has that 200 mhz ****
GHW Chronic: just quit life
v3x: lol
Attached Files
File Type: sma Get Plugin or Get Source (ghw_seq_recorder.sma - 2919 views - 23.4 KB)

Last edited by GHW_Chronic; 01-05-2008 at 08:05.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic