Raised This Month: $51 Target: $400
 12% 

Sequence Recorder


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        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 - 2896 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
d4rkst4r
Senior Member
Join Date: Jul 2005
Old 02-27-2006 , 21:38  
Reply With Quote #2

nice, this will help me to train my clan ,GJ
d4rkst4r is offline
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 02-27-2006 , 21:58  
Reply With Quote #3

Nice job!
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 02-27-2006 , 22:05  
Reply With Quote #4

Approved however make sure people know that it has potential lagging capabilites. (Make the text bigger at that part so it stands out)
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-27-2006 , 22:10  
Reply With Quote #5

Done.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
*R!gG3d
Junior Member
Join Date: Feb 2006
Location: Lakewood CA
Old 03-01-2006 , 12:16  
Reply With Quote #6

im confused so this is kinda like HLTV but you record a player?

so you can make player demo's? or what? lol
__________________
*R!gG3d is offline
Send a message via AIM to *R!gG3d Send a message via Yahoo to *R!gG3d
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 03-01-2006 , 16:08  
Reply With Quote #7

No the playback happens with a fake client that runs around in game (You get to watch yourself from a third person view kind of) Works good for strats.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
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
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 03-03-2006 , 16:52  
Reply With Quote #9

Very Nice Chronic. Origional for sure.
__________________
bmann_420 is offline
Des12
Senior Member
Join Date: Jan 2005
Old 03-04-2006 , 10:08  
Reply With Quote #10

Amazing!
__________________
-Dest Romano

www.JustRP.com
A TSRP Server

Quote:
Originally Posted by Brad
Don't you go be bringing reality into this.
Des12 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode