SRCDS command-line autocompletion 1.0.1
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 just like the windows SRCDS GUI does. Installation
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 Sourcecode Gamedata Changelog:
Spoiler
|
Re: SRCDS command-line autocompletion
Insanely useful, thank you!
|
Re: SRCDS command-line autocompletion
Seems useful thanks, for some reason I have this problem.
PHP Code:
|
Re: SRCDS command-line autocompletion
Quote:
|
Re: SRCDS command-line autocompletion
Quote:
|
Re: SRCDS command-line autocompletion
Holy shit, thanks for this
|
Re: SRCDS command-line autocompletion 1.0.1
Updated to 1.0.1
Code simplifications and support for more games.
|
Re: SRCDS command-line autocompletion 1.0.1
Remember to update here :D
|
Re: SRCDS command-line autocompletion 1.0.1
Working flawlessly on L4D2. Comes pretty handy when you want to get things done quick.
|
Re: SRCDS command-line autocompletion 1.0.1
Quote:
|
Re: SRCDS command-line autocompletion 1.0.1
Quote:
|
Re: SRCDS command-line autocompletion 1.0.1
<FAILED> file "autocomplete.ext.2.tf2.so": /var/HDD_Storage/servers/server-1/tf/addons/sourcemod/extensions/autocomplete.ext.2.tf2.so: undefined symbol: Warning
|
Re: SRCDS command-line autocompletion 1.0.1
What version of sourcemod?
|
Re: SRCDS command-line autocompletion 1.0.1
Did you try the latest builds for version 1.0.1? That's usually caused by some compiler being unable to link tier0 correctly, but that should be the case for all builds not only the tf2 one.
Building the extension again using clang should work. |
Re: SRCDS command-line autocompletion 1.0.1
SourceMod Version: 1.9.0.6248
error log Code:
L 09/02/2018 - 14:01:10: [SM] Unable to load extension "autocomplete.ext": /left4dead2/addons/sourcemod/extensions/autocomplete.ext.2.l4d2.so: undefined symbol: Error Code:
sm exts list |
Re: SRCDS command-line autocompletion 1.0.1
Code:
<FAILED> file "autocomplete.ext.2.l4d2.so" undefined symbol: Error Code:
SourceMod Version: 1.10.0.6497 |
Re: SRCDS command-line autocompletion 1.0.1
Looks like L4D2 Linux changed. The Windows version still works fine up to this day.
|
Re: SRCDS command-line autocompletion 1.0.1
1 Attachment(s)
Quote:
Here's another build compiled with clang, but the one in the release was as well, so not sure why those loading errors occur. |
Re: SRCDS command-line autocompletion 1.0.1
Code:
[SM] Extension autocomplete.ext.so failed to load: Failed to find CTextConsole::ReceiveTab symbol in dedicated library |
Re: SRCDS command-line autocompletion 1.0.1
Quote:
|
Re: SRCDS command-line autocompletion 1.0.1
Quote:
|
Re: SRCDS command-line autocompletion 1.0.1
Did you download the gamedata file from the first post?
|
Re: SRCDS command-line autocompletion 1.0.1
Quote:
#1 It not support autocomplete of commands like sm version? |
Re: SRCDS command-line autocompletion 1.0.1
No, because SourceMod itself doesn't provide the autocompletion information for the "sm" command that would be used by this extension. The proposal to add support for this didn't receive too much feedback.
|
All times are GMT -4. The time now is 02:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.