Peace-Maker
08-28-2016, 04:25
SRCDS Command-line autocompletion
Command-line tab-completion for the SRCDS
This extension enables command and convar autocompletion in the server command-line.
Shows matching commands in the command-line on <tab> or suggests valid arguments for a command, if the command supports it (try changelevel <tab>).
The argument suggestions use the builtin ConCommand::AutoCompleteSuggest (https://mxr.alliedmods.net/hl2sdk-sdk2013/source/public/tier1/convar.h#284) just like the windows SRCDS GUI does.
Installation
Drag & drop
I've only tested on CS:GO and CS:S on windows and linux. There are binaries for CS:GO, CS:S, TF2, DOD:S, HL2:DM, L4D, L4D2, Nuclear Dawn, Black Mesa Source, Insurgency and SourceSDK 2013 mods included though. Post if there are problems with your game.
Thanks to Didrole for his MethodScanner class and giving me access to his SourceCurses code to get me started.
Download (https://github.com/peace-maker/srcds-autocomplete/releases)
Sourcecode (https://github.com/peace-maker/srcds-autocomplete)
Gamedata (https://raw.githubusercontent.com/peace-maker/srcds-autocomplete/master/autocomplete.games.txt)
Changelog:
28-08-2016 - 1.0: Initial Release
CS:GO and Orangebox games support
04-12-2016 - 1.0.1
Fix CS:GO gamedata
Add support for Left 4 Dead, Left 4 Dead 2, Nuclear Dawn, Black Mesa Source and SourceSDK 2013 mods
Switch to SourceMod's IMemoryUtils instead of using own class to handle signature lookup
Change gamedata layout to be similar to SM's supported libraries ('@' in front of symbols etc)
Command-line tab-completion for the SRCDS
This extension enables command and convar autocompletion in the server command-line.
Shows matching commands in the command-line on <tab> or suggests valid arguments for a command, if the command supports it (try changelevel <tab>).
The argument suggestions use the builtin ConCommand::AutoCompleteSuggest (https://mxr.alliedmods.net/hl2sdk-sdk2013/source/public/tier1/convar.h#284) just like the windows SRCDS GUI does.
Installation
Drag & drop
I've only tested on CS:GO and CS:S on windows and linux. There are binaries for CS:GO, CS:S, TF2, DOD:S, HL2:DM, L4D, L4D2, Nuclear Dawn, Black Mesa Source, Insurgency and SourceSDK 2013 mods included though. Post if there are problems with your game.
Thanks to Didrole for his MethodScanner class and giving me access to his SourceCurses code to get me started.
Download (https://github.com/peace-maker/srcds-autocomplete/releases)
Sourcecode (https://github.com/peace-maker/srcds-autocomplete)
Gamedata (https://raw.githubusercontent.com/peace-maker/srcds-autocomplete/master/autocomplete.games.txt)
Changelog:
28-08-2016 - 1.0: Initial Release
CS:GO and Orangebox games support
04-12-2016 - 1.0.1
Fix CS:GO gamedata
Add support for Left 4 Dead, Left 4 Dead 2, Nuclear Dawn, Black Mesa Source and SourceSDK 2013 mods
Switch to SourceMod's IMemoryUtils instead of using own class to handle signature lookup
Change gamedata layout to be similar to SM's supported libraries ('@' in front of symbols etc)