Raised This Month: $12 Target: $400
 3% 

SRCDS command-line autocompletion 1.0.1


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 08-28-2016 , 04:25   SRCDS command-line autocompletion 1.0.1
Reply With Quote #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
  • 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, HL2M, 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
__________________

Last edited by Peace-Maker; 12-04-2016 at 20:13. Reason: Update to 1.0.1
Peace-Maker is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-29-2016 , 02:42   Re: SRCDS command-line autocompletion
Reply With Quote #2

Insanely useful, thank you!
__________________
retired
shavit is offline
ofir753
Senior Member
Join Date: Aug 2012
Old 08-29-2016 , 12:57   Re: SRCDS command-line autocompletion
Reply With Quote #3

Seems useful thanks, for some reason I have this problem.
PHP Code:
<FAILEDfile "autocomplete.ext.2.csgo.so"Could not find interface: IGameHelpers 
ofir753 is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 08-29-2016 , 13:20   Re: SRCDS command-line autocompletion
Reply With Quote #4

Quote:
Originally Posted by ofir753 View Post
Seems useful thanks, for some reason I have this problem.
PHP Code:
<FAILEDfile "autocomplete.ext.2.csgo.so"Could not find interface: IGameHelpers 
Requires Sourcemod 1.8+
sneaK is offline
ofir753
Senior Member
Join Date: Aug 2012
Old 08-29-2016 , 13:55   Re: SRCDS command-line autocompletion
Reply With Quote #5

Quote:
Originally Posted by blackhawk74 View Post
Requires Sourcemod 1.8+
Thanks!
ofir753 is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 08-30-2016 , 17:38   Re: SRCDS command-line autocompletion
Reply With Quote #6

Holy shit, thanks for this
__________________
ImACow is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 12-04-2016 , 20:14   Re: SRCDS command-line autocompletion 1.0.1
Reply With Quote #7

Updated to 1.0.1
Code simplifications and support for more games.
  • 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)
__________________
Peace-Maker is offline
wazer
Senior Member
Join Date: Oct 2011
Old 06-03-2017 , 17:04   Re: SRCDS command-line autocompletion 1.0.1
Reply With Quote #8

Remember to update here
wazer is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-13-2017 , 00:31   Re: SRCDS command-line autocompletion 1.0.1
Reply With Quote #9

Working flawlessly on L4D2. Comes pretty handy when you want to get things done quick.
__________________
Spirit_12 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 07-13-2017 , 06:03   Re: SRCDS command-line autocompletion 1.0.1
Reply With Quote #10

Quote:
Originally Posted by Spirit_12 View Post
Working flawlessly on L4D2. Comes pretty handy when you want to get things done quick.
Thanks, did you test on windows too?
__________________
Peace-Maker is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode