Upvote Upvoted 25 Downvote Downvoted
[repost] See player keypresses when watching a dem
1
#1
20 Frags +

reposting this from NATF2 since I don't know how long that will be around

-------------------------------------------------------------------------

A while back I discovered that demo files contain a recording of the commands that players enter. After a slightly laborious process I was able to make this information print out to a text file - original post.

However, that in itself wasn't all that useful because it required post-production and the output was in a text file or somesuch.

I just figured out another way that you can achieve something similar within tf2.

You need these four console commands:

developer 1

this spits out the console output in the top-left corner of your screen while playing / spectating (may vary depending on HUD of choice)

demo_debug 1

as explained in the linked post, this outputs everything that happens in the demo, include commands by the player

con_filter_enable 1

we want to be able to remove all the other junk from the console output about player deaths and unbounded objects and things

con_filter_text "dem_consolecmd"

this will only show lines with player commands

As a result, you get something like this:

http://i.imgur.com/K1fNC.png

The output format is [tick] dem_consolecmd [action][key]

Key numbering is according to the Source engine's indexing system, listed here: http://etf2l.org/forum/tactics/topic-20429/page-1/?recent=410906#post-368762

Now if you're watching a particularly dexterous player, such as Epsilon schocky, it's quite hard to follow along at 100% speed, so if you get to an especially interesting section, it's probably best to slow things down using demoui or whatever.

Frankly this is extremely nerdy and probably of little benefit, but more info to learn from can't hurt, eh?

[b]reposting this from [url=http://natf2.com/topics/3268-see-player-keypresses-when-watching-a-pov-demo]NATF2[/url] since I don't know how long that will be around[/b]

-------------------------------------------------------------------------

A while back I discovered that demo files contain a recording of the commands that players enter. After a slightly laborious process I was able to make this information print out to a text file - [url=http://www.reddit.com/r/teamfortress/comments/m0i9z/retrieve_button_presses_from_a_demo_file_with_tick/]original post[/url].

However, that in itself wasn't all that useful because it required post-production and the output was in a text file or somesuch.

I just figured out another way that you can achieve something similar within tf2.

[b]You need these four console commands:[/b]

[code]developer 1[/code]

this spits out the console output in the top-left corner of your screen while playing / spectating (may vary depending on HUD of choice)

[code]demo_debug 1[/code]

as explained in the linked post, this outputs everything that happens in the demo, include commands by the player

[code]con_filter_enable 1[/code]

we want to be able to remove all the other junk from the console output about player deaths and unbounded objects and things

[code]con_filter_text "dem_consolecmd"[/code]

this will only show lines with player commands

As a result, you get something like this:

[img]http://i.imgur.com/K1fNC.png[/img]

The output format is [tick] dem_consolecmd [action][key]

Key numbering is according to the Source engine's indexing system, listed here: http://etf2l.org/forum/tactics/topic-20429/page-1/?recent=410906#post-368762

Now if you're watching a particularly dexterous player, such as [url=http://vanillatf2.org/demos/343]Epsilon schocky[/url], it's quite hard to follow along at 100% speed, so if you get to an especially interesting section, it's probably best to slow things down using demoui or whatever.

Frankly this is extremely nerdy and probably of little benefit, but more info to learn from can't hurt, eh?
2
#2
1 Frags +

Here's a better one from TF2jump http://forums.tf2jump.com/index.php?topic=596.0

EDIT: Maybe I should read things before I post :X

Here's a better one from TF2jump http://forums.tf2jump.com/index.php?topic=596.0

EDIT: Maybe I should read things before I post :X
3
#3
2 Frags +
PlatypusHere's a better one from TF2jump http://forums.tf2jump.com/index.php?topic=596.0

That's for recording your own demos, not watching someone else's.

[quote=Platypus]Here's a better one from TF2jump http://forums.tf2jump.com/index.php?topic=596.0[/quote]

That's for recording your own demos, not watching someone else's.
4
#4
3 Frags +

Could there in principle be a client-side plugin that could show these as skeys on the hud? I should really get off my ass and learn to code plugins.

Could there in principle be a client-side plugin that could show these as skeys on the hud? I should really get off my ass and learn to code plugins.
5
#5
8 Frags +

http://www.youtube.com/watch?v=LmS1WU_Sr8Y

:)

ipz's take - http://www.youtube.com/watch?v=2GvB6HjoFVs

[youtube]http://www.youtube.com/watch?v=LmS1WU_Sr8Y[/youtube]

:)

ipz's take - http://www.youtube.com/watch?v=2GvB6HjoFVs
6
#6
0 Frags +

I've been looking for this for a while. They had it in TFC as an anticheat measure as you could see if someone was using a script for something.

Would it show things like.. the wait command? Or just the basic movements? Would be interesting to see if someone uses a quickscope, or the interp bug (before it was fixed (although it was pretty obvious in a FP demo anyway)) etc...

I've been looking for this for a while. They had it in TFC as an anticheat measure as you could see if someone was using a script for something.

Would it show things like.. the wait command? Or just the basic movements? Would be interesting to see if someone uses a quickscope, or the interp bug (before it was fixed (although it was pretty obvious in a FP demo anyway)) etc...
7
#7
ETF2L
0 Frags +
ArxWould it show things like.. the wait command?

Wasn't the wait command patched out by valve? Someone correct me if i'm wrong.

[quote=Arx]Would it show things like.. the wait command?[/quote]

Wasn't the wait command patched out by valve? Someone correct me if i'm wrong.
8
#8
1 Frags +

The "wait" command is in the game still but it is disabled in all competitive leagues with "sv_allow_wait_command 0" (and also defaults to 0, I believe).

noplsCould there in principle be a client-side plugin that could show these as skeys on the hud? I should really get off my ass and learn to code plugins.

Yes.

http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index91f0.html this lists the codes for each key (which is the number after the console command)

The "wait" command is in the game still but it is disabled in all competitive leagues with "sv_allow_wait_command 0" (and also defaults to 0, I believe).

[quote=nopls]Could there in principle be a client-side plugin that could show these as skeys on the hud? I should really get off my ass and learn to code plugins.[/quote]
Yes.

http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index91f0.html this lists the codes for each key (which is the number after the console command)
9
#9
6 Frags +

http://etf2l.org/2013/10/12/saturday-banpost

http://etf2l.org/2013/10/12/saturday-banpost
10
#10
1 Frags +

Can also be useful for catching trigger botters.

Can also be useful for catching trigger botters.
11
#11
7 Frags +
TekkCan also be useful for catching trigger botters.

it'll destroy their rep though

[quote=Tekk]Can also be useful for catching trigger botters.[/quote]

it'll destroy their rep though
12
#12
0 Frags +
dubiousTekkCan also be useful for catching trigger botters.
it'll destroy their rep though

._.

[quote=dubious][quote=Tekk]Can also be useful for catching trigger botters.[/quote]

it'll destroy their rep though[/quote]

._.
13
#13
3 Frags +
atmohttp://etf2l.org/2013/10/12/saturday-banpost

Is it very common to have this sort of drama with frenchies involved?

[quote=atmo]http://etf2l.org/2013/10/12/saturday-banpost[/quote]
Is it very common to have this sort of drama with frenchies involved?
14
#14
12 Frags +
MrPoT4tOatmohttp://etf2l.org/2013/10/12/saturday-banpostIs it very common to have this sort of drama with frenchies involved?

they're from a country that has had 5 revolutions. i'm not surprised

[quote=MrPoT4tO][quote=atmo]http://etf2l.org/2013/10/12/saturday-banpost[/quote]
Is it very common to have this sort of drama with frenchies involved?[/quote]
they're from a country that has had 5 revolutions. i'm not surprised
15
#15
-3 Frags +
dubiousTekkCan also be useful for catching trigger botters.
it'll destroy their rep though

Let's not go down this rocky road. It's a bit dark.

[quote=dubious][quote=Tekk]Can also be useful for catching trigger botters.[/quote]

it'll destroy their rep though[/quote]

Let's not go down this rocky road. It's a bit dark.
16
#16
-4 Frags +
AndKennethdubiousTekkCan also be useful for catching trigger botters.
it'll destroy their rep though

Let's not go down this rocky road. It's a bit dark.

Agreed, could cause some havoc. Might throw a fluffy lure out on a cruz though, might catch me some sheepys or goats.
...
just realised how twisted that is, they're probably all thrashers.

[quote=AndKenneth][quote=dubious][quote=Tekk]Can also be useful for catching trigger botters.[/quote]

it'll destroy their rep though[/quote]

Let's not go down this rocky road. It's a bit dark.[/quote]

Agreed, could cause some havoc. Might throw a fluffy lure out on a cruz though, might catch me some sheepys or goats.
...
just realised how twisted that is, they're probably all thrashers.
17
#17
6 Frags +
MrPoT4tOatmohttp://etf2l.org/2013/10/12/saturday-banpostIs it very common to have this sort of drama with frenchies involved?

Yes.

[quote=MrPoT4tO][quote=atmo]http://etf2l.org/2013/10/12/saturday-banpost[/quote]
Is it very common to have this sort of drama with frenchies involved?[/quote]

Yes.
18
#18
5 Frags +

I remember awhile back watching a video of a demo recording of a Asian TF2 scout player that was caught trigger botting. The only time he pressed mouse1 was to miss to make it look a little bit more real.

I remember awhile back watching a video of a demo recording of a Asian TF2 scout player that was caught trigger botting. The only time he pressed mouse1 was to miss to make it look a little bit more real.
19
#19
0 Frags +

cya triggerbots

cya triggerbots
20
#20
1 Frags +

http://www.youtube.com/watch?v=8-I48C5cfmE

neva 4get

[youtube]http://www.youtube.com/watch?v=8-I48C5cfmE[/youtube]

neva 4get
21
#21
0 Frags +

So if you're triggerbotting it doesn't record the mouse1 command? Interesting...I thought it would record a virtual mouse1 press anyway. Will this work with all triggerbots?

So if you're triggerbotting it doesn't record the mouse1 command? Interesting...I thought it would record a virtual mouse1 press anyway. Will this work with all triggerbots?
22
#22
0 Frags +

Almost certainly dependent on how the triggerbot is coded.

Almost certainly dependent on how the triggerbot is coded.
Please sign in through STEAM to post a comment.