AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Sequence Recorder (https://forums.alliedmods.net/showthread.php?t=24639)

GHW_Chronic 02-27-2006 20:50

Sequence Recorder
 
1 Attachment(s)
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 :D
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:
http://www.ChronicsCyberCafe.com/AMX...c/picture1.jpg

http://www.ChronicsCyberCafe.com/AMX...c/picture2.jpg

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


d4rkst4r 02-27-2006 21:38

nice, this will help me to train my clan ,GJ :D

eFrigid 02-27-2006 21:58

Nice job! 8)

Xanimos 02-27-2006 22:05

Approved however make sure people know that it has potential lagging capabilites. (Make the text bigger at that part so it stands out)

GHW_Chronic 02-27-2006 22:10

Done.

*R!gG3d 03-01-2006 12:16

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

so you can make player demo's? or what? lol

Xanimos 03-01-2006 16:08

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.

Twilight Suzuka 03-02-2006 09:43

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.

bmann_420 03-03-2006 16:52

Very Nice Chronic. Origional for sure.

Des12 03-04-2006 10:08

Amazing!


All times are GMT -4. The time now is 01:49.

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