cs-demo-manager
cs-demo-manager copied to clipboard
[FIX][Watch Player] spec_by_accountid or name not working for specific kind of demo
Demo example: https://drive.google.com/file/d/1t7IvqZa0yLuYT3nJP4WszjoGmSSpAWq2/view?usp=sharing
If you try to watch any of the players from this demo, they will not be selected ingame. The VDM file is generated correctly. spec_player_by_accountid is given. I even forked the manager and custom made to write the name instead of the id with the command "spec_player_by_name" and its still not working.
But this is the funny part/case that you could try to:
- Take player "Rainwaker" as an example / Watch Player Rainwaker
- Get into the game/demo and you will see that the camera is not selected (mid air)
- In the console, type: "spec_player_by_name Rainwaker" (This will not work)
- In the console, type: "spec_player_by_name rafftu" (any other player will work)
- In the console, type: "spec_player_by_name Rainwaker" (Now it WORKS?!)
Not sure why, but whenever I try to load on demos like this (I think its Valves demos), the wanted player works only when you first select an other one, that back to the wanted.
Life is funny, isn't it?
Any ideas maybe boys?
Hello there again.
I found out that there is an option named: "spec_lock_to_accountid" Replace spec_player_by_accountid with spec_lock_to_accountid and this should fix the problems with faceit and valve demos not locking the camera to the player.
A new major version has been released, closing the issue 🧹