Recording and playing demos

Report noobs here

Recording and playing demos

Postby GTFO. al » 26 May 2007, 14:38

Note: You need the console to be enabled. To do this go to Options > Keyboard > Advanced > and check Enable Developer Console. Then access the console using the ~ key which is above tab and left of 1. On some keyboards it may be beside return/enter

When you record a demo it will take a recording of everything you see on screen. This is useful if you are a spectator and following a person you suspect is cheating.

To Record a Demo
- Open the console in game
- Type record abc (where abc is the name you chose for the demo)
- When you have finished open the console again and type stop

To Play a Demo
- When at the main menu screen when you open the game pull down the console using ~ key as normal
- Type playdemo abc (where abc is the name you chose for the demo)
- This will load the demo and start play back. To stop playing the demo at anytime open console and type stopdemo

Where is the demo actually stored?
- All demos you record will be stored in the Steam\steamapps\your account\day of defeat source\dod folder on your hard disk. They are DEM files and will have a little HL2 logo
- If you download a demo from the internet you should place it in this folder too.

Helpful tips
When playing a demo it is possible to view them in a wireframe mode that gives you a wallhack-esque view.
- To enable this mode you have to type two commands while playing the demo. Open console and type sv_cheats 1 followed by mat_wireframe 1. This can be disabled again by typing mat_wireframe 0
- It is also useful to have the Demo Player UI open while playing a demo. It allows you to slow or speed up the demo which is useful if you want to skip to a certain part of a long demo or slow down the action to see help you see if a person is tracking people through walls (used in conjunction with the sv_cheats and mat_wireframe commands above). To activate the UI press SHIFT + F2 while playing the demo or open the console and type demoui

More information:
http://developer.valvesoftware.com/wiki ... ding_Tools
Image
GTFO. al
GTFO. Founder
GTFO. Founder
 
Posts: 3080
Joined: 29 Nov 2005, 00:19
Location: Northern Ireland

Postby GTFO. OneManAndHisGun » 27 May 2007, 13:40

I dunno if it's me, but recording a demo never works if I have the admin console up. I have to close it before starting to record.
GTFO. OneManAndHisGun
24/7 GTFO
24/7 GTFO
 
Posts: 558
Joined: 22 Mar 2006, 14:13

Postby Echelon » 28 May 2007, 00:12

my game crashes if i try to record demos. I have to use FRAPS if i need to record something...
Image
Echelon
Wicked Sick
Wicked Sick
 
Posts: 3606
Joined: 07 May 2006, 16:29
Location: Bryne, Norway

Postby Allmighty_phate » 28 May 2007, 00:32

GTFO. Echelon wrote:my game crashes if i try to record demos. I have to use FRAPS if i need to record something...


mines a bit tempremental... sometimes it will sometimes it crashes
Image
Image
User avatar
Allmighty_phate
Beyond 1337
Beyond 1337
 
Posts: 1460
Joined: 29 May 2006, 03:30
Location: Leicester - England

Postby Mech » 07 Oct 2007, 14:02

I've found an easier way to watch demos that get rid of the confusing with mat_wireframe 1.

Start the game and open the demo console with Shift+F2.

Load the demo, pause it.
Open the console and type "sv_cheats 1" then "r_drawothermodels 2"

Source: Zpgaming
Mech
Regular GTFO'er
Regular GTFO'er
 
Posts: 56
Joined: 29 Dec 2006, 05:35
Location: Newcastle upon Tyne

Postby GTFO. Grond » 07 Oct 2007, 15:56

N1 Mech. Nice to quote source as well, can be useful :wink:
GTFO. Grond
GTFO Fanatic
GTFO Fanatic
 
Posts: 413
Joined: 30 Jun 2006, 14:40

Postby icandance » 09 Jan 2008, 12:41

game crashing when its second or next map since you joined so to record demo rejoin the server and record.
icandance
Forum Noob
Forum Noob
 
Posts: 2
Joined: 09 Jan 2008, 12:37

Postby Echelon » 09 Jan 2008, 18:27

tnx for the tip, icandance
Image
Echelon
Wicked Sick
Wicked Sick
 
Posts: 3606
Joined: 07 May 2006, 16:29
Location: Bryne, Norway

Re: Recording and playing demos

Postby GTFO. kk20 » 13 Feb 2009, 21:58

It is useful to type "status" too to get the steamIDs of the players
Breaking news! Scientists create life in the lab.
(faulty condoms blamed)
GTFO. kk20
GTFO. Clan Member
GTFO. Clan Member
 
Posts: 3620
Joined: 17 Jul 2008, 13:33
Location: Cumbria

Re: Recording and playing demos

Postby DataStorm » 12 Jan 2010, 19:28

As I recieved requests of several people to make a demoscript in various conditions, I made 2 more "common" ones. Otherwise it becomes way too much a custom job per person.

Boths scripts will make up to 30 demo's (demo01-demo30), and if you continue up with that, it will start with demo01 again, overwriting the old one. If you restart your TF2, it will start with Demo01 again. The Toggle one will toggle demo's on and off (press once its recording, press again to stop recording) As I often forget to keep tabs on if its actually running that moment, I just press another time the F6 key to make sure.

With each demo there will be done a status and a condump at the end of the demo.

key, action, explanation.
"F4" "sm_ratelist" // get ratelist in console.
"F5" "jpeg" // screenshot in JPG format
"F6" "recorddemo" // build up a report and start/stop demo
"F7" "status" // put status information (names and their steam_ID's) in console
"F8" "condump" // condump to disk
"F11" "retry" // reconnect to the server (can solve numerous problems,
// mainly for not having your backpack)

"F12" "stop;record fix; stop" // fix lagging out (invis players, players in strange places, prop's out of place etc)

Edit the file with notepad and see on top of it for the bindings, edit if needed for your own preferences (altho most cases those will fit easily cos those keys are either normally already bound for the same functionality "F5", or not used).

Copy the content into the autoexec.cfg file in c:\program files\steam\steamapps\*your_account_name*\Team Fortress 2\tf\cfg\ directory, be sure to watch for conflicts in bindings if it already exists. If it not exists, just rename the one you want to use to "autoexec.cfg.

Let me now how it goes. Topic here is not for long discussions bout it tho. PM any remarks and I revise it if needed.

PS: and PLEASE make sm_ratelist available for normal players, its the only place one can see those "+" sign offenders.
Attachments
toggle.rar
(1.25 KiB) Downloaded 16 times
stop-start.rar
(1.26 KiB) Downloaded 14 times
User avatar
DataStorm
Beyond 1337
Beyond 1337
 
Posts: 1929
Joined: 30 May 2009, 14:14

Re: Recording and playing demos

Postby GTFO. Luckyg » 12 Jan 2010, 19:43

sm_ratelist works for me..... or atleast it did last week..... :S
User avatar
GTFO. Luckyg
Wicked Sick
Wicked Sick
 
Posts: 3632
Joined: 16 Dec 2007, 13:05
Location: Nottingham

Re: Recording and playing demos

Postby GTFO. Kitten » 12 Jan 2010, 20:02

Nice job Data, works a treat. :D
Image
User avatar
GTFO. Kitten
24/7 GTFO
24/7 GTFO
 
Posts: 953
Joined: 04 Aug 2009, 22:46
Location: Newbridge, Gwent

Re: Recording and playing demos

Postby DataStorm » 12 Jan 2010, 23:30

lucky, couple months ago I could access it (with sm_rates or something). Then it was changed to sm_ratelist, but I could not get the list in any way in console. Only the "menu" thing on screen, which doesn't show those "+" hacks.

I just tried on #09 tf2, wont give me that list.
User avatar
DataStorm
Beyond 1337
Beyond 1337
 
Posts: 1929
Joined: 30 May 2009, 14:14

Re: Recording and playing demos

Postby Orv » 15 Jan 2010, 16:47

Both me and Rago could access the sm_ratelist yesterday (I could before i was given admin rights). Either it's been enabled or it works for Donors (Would explain why lucky can get it but not you.).
User avatar
Orv
Beyond 1337
Beyond 1337
 
Posts: 1471
Joined: 02 Aug 2009, 11:50
Location: Hoodoo St 1, Gorgetown, Egypt


Return to Bans / Suspect Players



Who is online

Users browsing this forum: Google [Bot] and 1 guest