Cvarlist: Difference between revisions
Jump to navigation
Jump to search
Bug:All (or most) console variables with description longer than ~128 characters will get it's description cut-off. This issues affects in most Source games, but was fixed in some games such as Counter-Strike: Source, and in all Source 2 games (example: Counter-Strike 2)
(This bug was probably never seen before or something, cvarlist generated on all engines except Source 2013 will have it's description cut off after ~128 characters.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Entity|type=convar|cvarlist}}{{confirm}} This console command generates a list of all console commands for the game it is run from. Parameters allow the generation of a partial list and saving the list to a file. | {{Entity|type=convar|cvarlist}}{{confirm}} This console command generates a list of all console commands for the game it is run from. Parameters allow the generation of a partial list and saving the list to a file. | ||
{{Bug|since=src04|fixed=src13-except-l4d|All (or most) console variables with description longer than ~128 characters will get it's description cut-off. This issues affects all | {{Bug|since=src04|fixed=src13-except-l4d|All (or most) console variables with description longer than ~128 characters will get it's description cut-off. This issues affects in most {{source|1}} games, but was fixed in some games such as {{css|1}}, and in all {{source2|1}} games (example: {{cs2|1}})<br> | ||
'''See the issue below:''' | |||
{{codeblock|src=From {{p3|1}}|<nowiki>cl_clock_correction_adjustment_max_amount : 200 : , "cheat" : Sets the maximum number of milliseconds per second it is allowed to correct the client clock. It will only correct this amount | |||
</nowiki>}} | |||
{{codeblock|src=From {{csgo|1}}|<nowiki>"cl_clock_correction_adjustment_max_amount","200 ",,,,"CHEAT",,,,,,,,,,,,,,,,,"Sets the maximum number of milliseconds per second it is allowed to correct the client clock. It will only correct this amount " | |||
</nowiki>}} | |||
'''See the example from the game that was not affected:''' | |||
{{codeblock|src=From {{css|1}}|<nowiki>cl_clock_correction_adjustment_max_amount : 200 : , "cheat" : Sets the maximum number of milliseconds per second it is allowed to correct the client clock. It will only correct this amount if the difference between the client and server clock is equal to or larger than cl_clock_correction_adjustment_max_offset. | |||
</nowiki>}} | |||
}} | |||
For instance: | For instance: |
Revision as of 00:20, 5 October 2023
Template:Entity[confirm] This console command generates a list of all console commands for the game it is run from. Parameters allow the generation of a partial list and saving the list to a file.

See the issue below:
See the example from the game that was not affected:
[todo tested in ?]For instance:
cvarlist ai log ai_commands.txt
Will display a list of all console commands beginning with "ai", and will record that list to "ai_commands.txt" (in the game's root directory).