
Drifter
Board Admin
Posts: 2948
|
Demo script
Posted: Dec 16, 2007, 07:45:15
Well after talking about my demo script i was asked to post it for others. Well here it is. This script will bind f10 to record demos,type in status, and even sb_status :eek: It can record up to 10 demos without having to change the demos names. push f10 it records and saves it as f9demo1.dem push f10 again and it stops. push f10 again and it start f9demo2.dem and etc Now to install this go into your Steam\steamapps\<accountlogin>\counter-strike source\cstrike\cfg and create if it dosnt exist already a autoexec.cfg. to do this you open notepad and paste the script code in. After that go to save and save it as 'autoexec.cfg' without quotes. and save in the cfg folder. Also after you exit game you have to change the name of the demos. Or it will rewrite them again if you enter game and start demoing again. 2nd after 10 demos it will rewrite the first one. 3rd I always type in status again before i finish the demo just to make sure that its in the demo. Sometimes the status wont show up in the demo cause it was typed so fast that the recording started after status was typed in. This is very rare and NEVEr happens on decent computers. If its a bit slower just add another wait100 after each one that already exists.
Quote: alias "wait10" "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;"
alias "wait50" "wait10; wait10; wait10; wait10; wait10"
alias "wait100" "wait50; wait50"
bind f10 demo
alias demostart "demo"
alias demo demo1
alias demo1 "alias demo demo2; record F9demo1; wait100; status; sb_status; echo -- RECORDING F9DEMO1 --; "
alias demo2 "alias demo demo3; stop; echo -- STOPPED DEMO1 --;"
alias demo3 "alias demo demo4; record F9demo2; wait100; status; sb_status; echo -- RECORDING F9DEMO2 --;"
alias demo4 "alias demo demo5; stop; echo -- STOPPED F9DEMO2 --;"
alias demo5 "alias demo demo6; record F9demo3; wait100; status; sb_status; echo -- RECORDING F9DEMO3 --;"
alias demo6 "alias demo demo7; stop; echo -- STOPPED F9DEMO3 --;"
alias demo7 "alias demo demo8; record F9demo4; wait100; status; sb_status; echo -- RECORDING F9DEMO4 --;"
alias demo8 "alias demo demo9; stop; echo -- STOPPED F9DEMO4 --;"
alias demo9 "alias demo demo10; record F9demo5; wait100; status; sb_status; echo -- RECORDING F9DEM05 --;"
alias demo10 "alias demo demo11; stop; echo -- STOPPED F9DEMO5 --;"
alias demo11 "alias demo demo12; record F9demo6; wait100; status; sb_status; echo -- RECORDING F9DEM06 --;"
alias demo12 "alias demo demo13; stop; echo -- STOPPED F9DEMO6 --;"
alias demo13 "alias demo demo14; record F9demo7; wait100; status; sb_status; echo -- RECORDING F9DEM07 --;"
alias demo14 "alias demo demo15; stop; echo -- STOPPED F9DEMO7 --;"
alias demo15 "alias demo demo16; record F9demo8; wait100; status; sb_status; echo -- RECORDING F9DEM08 --;"
alias demo16 "alias demo demo17; stop; echo -- STOPPED F9DEMO8 --;"
alias demo17 "alias demo demo18; record F9demo9; wait100; status; sb_status; echo -- RECORDING F9DEM09 --;"
alias demo18 "alias demo demo19; stop; echo -- STOPPED F9DEMO9 --;"
alias demo19 "alias demo demo20; record F9demo_; wait100; status; sb_status; echo -- RECORDING F9DEMO10(LAST!) --;"
alias demo20 "alias demo demo1; stop; echo -- STOPPED F9F9DEMO10(LAST!)--; " If anybody needs help or anything post here.
PS this is great for forgetful people and/or new players.
|

Jbulldog25
Member
Posts: 661
|
Posted: Dec 16, 2007, 08:01:42
Thx for the script. Works perfect :D +rep for you ;)
|

Alpha
Board Admin
Posts: 8217
|
Posted: Dec 16, 2007, 08:05:26
nice job Drifter! Thanks :-) <3
|

Jbulldog25
Member
Posts: 661
|
Posted: Dec 16, 2007, 08:18:19
Oh one thing, if I record, say f9demo7.dem, then exit css. I do not rename any of the 7. I go back in css will it record onto 8 or start rewriting 1 again.
I forgot to ask you this while you were still on :)
|

DoNotEnter
Member
Posts: 352
|
Posted: Dec 16, 2007, 10:03:06
Thank you very much you made my job allot easier.
|

gkMasta
Member
Posts: 477
|
Posted: Dec 16, 2007, 12:47:50
modified it a bit but still great ^^ <3
btw what does +rep mean? and what does it do?
|

Titan
Member
Posts: 1450
|
Posted: Dec 16, 2007, 14:48:45
Nice script Drift, I will put it into use. You have made my life easier.
Will you have my child?
|

Drifter
Board Admin
Posts: 2948
|
Posted: Dec 16, 2007, 15:23:41
Oh one thing, if I record, say f9demo7.dem, then exit css. I do not rename any of the 7. I go back in css will it record onto 8 or start rewriting 1 again.
I forgot to ask you this while you were still on :)
Also after you exit game you have to change the name of the demos. Or it will rewrite them again if you enter game and start demoing again. If anybody needs help or anything post here.
that answeres you bulldog lol
Nice script Drift, I will put it into use. You have made my life easier.
Will you have my child?
And rofl no thanx :p
And thanx guys, I always found it usefull cause im lazy :) iv used it for over a year and the only problem i ahd was when i first switched to source. Status wouldnt show up but the wait100 cmd fixed that :)
|

bigdew
Member
Posts: 55
|
Demo Script
Posted: Dec 16, 2007, 21:57:02
Drifter this is great! I just have two questions:
1. If you're on a Death Match server and want to demo a suspected hacker,
do you have to be in Spectator mode before you hit F10? If not I would
think you're only recording a demo of youself and every time you die the
demo would stop;
2. I once renamed a demo file but couldn't get it to run until I changed the
name back to the orginal file name. Have you had this problem? Do you
just rename the file (e.g., using Explorer) or is there another way?
|

Grenade
Member
Posts: 200
|
Posted: Dec 16, 2007, 22:31:04
WOW! Great script! Thank you very much!
|

Nithium
Member
Posts: 39
|
Posted: Dec 16, 2007, 22:36:10
Quote from gkMasta: btw what does +rep mean? and what does it do?
As far as I know, +rep basically means + reputation, but I've seen it mean something else other places. And I guess since you can press a button that says +REP a bit below posting user's names, it's gotta increase their reputation on the site :p
Also, thanks alot Drifter, very handy. Good job!
|

ChRoNo16
Member
Posts: 69
|
Posted: Dec 16, 2007, 22:42:29
Ive done some people a favor and premade the file for you, you can download it Here
It's called "autoexec.cfg" any issues downloading it shoot me an IM @ KTFCC Websites on AIM
|

Drifter
Board Admin
Posts: 2948
|
Posted: Dec 17, 2007, 00:09:10
Drifter this is great! I just have two questions:
1. If you're on a Death Match server and want to demo a suspected hacker,
do you have to be in Spectator mode before you hit F10? If not I would
think you're only recording a demo of youself and every time you die the
demo would stop;
2. I once renamed a demo file but couldn't get it to run until I changed the
name back to the orginal file name. Have you had this problem? Do you
just rename the file (e.g., using Explorer) or is there another way?
1.) You always have to be specing the player to demo them. You cant just be playing and expect it to demo someone else. You have to be in first person of the susspected hacker.
2. Nope i never had this problem. Just make sure you dont put any weird characters. And yes i just use explorer and just change it myself.
Thank you chrono for uping it. I didnt do this since someone might think its some evil virus or something. Or a joke you know lol.
BTW can this be stickied somewhere maybe in general or in noobs in traning where it best fits i guess.
|

deathscythe04
Member
Posts: 1291
|
Posted: Dec 17, 2007, 00:19:25
Drifter this is great! I just have two questions:
1. If you're on a Death Match server and want to demo a suspected hacker,
do you have to be in Spectator mode before you hit F10? If not I would
think you're only recording a demo of youself and every time you die the
demo would stop;
2. I once renamed a demo file but couldn't get it to run until I changed the
name back to the orginal file name. Have you had this problem? Do you
just rename the file (e.g., using Explorer) or is there another way?
when recording demos it doesn't stop recording till you enter stop command or leave server i use demos the entire time i play on the dust / dust 2 / office / office extended server i am admin on.
|

Drifter
Board Admin
Posts: 2948
|
Posted: Dec 17, 2007, 00:21:15
Quote from deathscythe04: when recording demos it doesn't stop recording till you enter stop command or leave server i use demos the entire time i play on the dust / dust 2 / office / office extended server i am admin on.
yea that is correct i didnt see he had asked that my fault.
|

ChRoNo16
Member
Posts: 69
|
Posted: Dec 17, 2007, 00:43:57
1.)
Thank you chrono for uping it. I didnt do this since someone might think its some evil virus or something. Or a joke you know lol.
Np, just thought I would save people having to make it themselves (although easy) and give them the ability to download the already made file and just drop it in. The other things on my site are free to download as well, Most of it is like, diablo 2 stuff or tools I have found.
Drifter in the future if you do something like this lemme know I can host your file for you again :)
|

L4rk3m0n
Member
Posts: 669
|
Posted: Dec 17, 2007, 15:09:58
Awesome script tbh dude, i think ill give it a go.
Great for lazy people, alltho i do prefer doin it manually ;)
|

FearBRUTUS
Member
Posts: 45
|
Posted: Jan 12, 2008, 21:47:32
great demo script...works perfect. +rep
|

SS-Midnight
Member
Posts: 399
|
Posted: Jan 12, 2008, 23:48:38
Thank you Drifter. This script is great. This was my fist CS script however and I did run into some snags that I thought I would share in case there was another n00b on the loose. ;)
Windows (I have vista (unfortunately...)) will not automatically show you common file extentions. So when I created a new text document and labeled it I got 'autoexec.cfg.txt'. Though all I saw was 'autoexec.cfg'. The interesting thing about that is that it is a text file NOT a config file. :eek: So - I had to go in to the options and tell windows to bend to MY will not Bill's will. (Gates....) That means that I altered the settings to SHOW common file extensions. Then and only then was I able to see it for what it was (as I had suspected) and make it a .cfg instead of a .txt file. When I tried to use this script as a .txt file it shut down my CS. That fit I guess. If you don't know how to use it then you should put it back in the box and send it back where it came from, right? Heh. Well I was stuborn, and I learned quick.
May none of you have my noobish problem.
|

Drifter
Board Admin
Posts: 2948
|
Posted: Jan 13, 2008, 00:10:21
Thank you Drifter. This script is great. This was my fist CS script however and I did run into some snags that I thought I would share in case there was another n00b on the loose. ;)
Windows (I have vista (unfortunately...)) will not automatically show you common file extentions. So when I created a new text document and labeled it I got 'autoexec.cfg.txt'. Though all I saw was 'autoexec.cfg'. The interesting thing about that is that it is a text file NOT a config file. :eek: So - I had to go in to the options and tell windows to bend to MY will not Bill's will. (Gates....) That means that I altered the settings to SHOW common file extensions. Then and only then was I able to see it for what it was (as I had suspected) and make it a .cfg instead of a .txt file. When I tried to use this script as a .txt file it shut down my CS. That fit I guess. If you don't know how to use it then you should put it back in the box and send it back where it came from, right? Heh. Well I was stuborn, and I learned quick.
May none of you have my noobish problem.
Hmm i never had that problem. Maybe its a vista only problem. IDK i never had that problem. With any of the configs i made.
|
|
Forum Home > SpawnPoint General > Welcome Newbies > Demo script
|