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 when generated. This issues affected most Source 1 games, but was fixed in some games such as Counter-Strike: Source, and in all Source 2 games (example: Counter-Strike 2)
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
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). Not all games will have this however, or they might be non-functional. | 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). Not all games will have this however, or they might be non-functional. | ||
{{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 affected most {{source|1|nt=Source 1}} games, but was fixed in some games such as {{css|1}}, and in all {{source2|1}} games (example: {{cs2|1}})<br> | {{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 when generated. This issues affected most {{source|1|nt=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:''' | '''See the issue below:''' | ||
{{codeblock|src=From {{p3|1}} - console.log|<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 | {{codeblock|src=From {{p3|1}} - console.log|<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 | ||
Line 16: | Line 16: | ||
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. | 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>}} | </nowiki>}} | ||
However, the ~128 character limit is not affected if the {{code|help}} command was used instead. | |||
}} | }} |
Revision as of 00:43, 5 October 2023


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.
For instance:
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). Not all games will have this however, or they might be non-functional.

See the issue below:
See the example from the game that was not affected:
However, the ~128 character limit is not affected if the help command was used instead.
[todo tested in ?]