Raised This Month: $ Target: $400
 0% 

sm_rcon sm plugins list


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
serpentine
I don't have a problem
Join Date: Feb 2011
Location: Madison, WI
Old 03-01-2012 , 13:05   sm_rcon sm plugins list
Reply With Quote #1

I have sm_rcon access on my communities server, the sm_rcon sm plugins list doesn't show all plugins loaded, it cuts off at around 20 or so. I know when I just do it straight rcon sm plugins list on my personal box it displays everything as it should. Is this a known bug or am I missing something?
serpentine is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 03-01-2012 , 13:21   Re: sm_rcon sm plugins list
Reply With Quote #2

Type sm plugins 00 then 11 and 22 and you dont have to use sm_rcon.
__________________
retired
shavit is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-01-2012 , 13:36   Re: sm_rcon sm plugins list
Reply With Quote #3

It's not specific to just sm_rcon sm plugins list; there's a limit to the number of characters that sm_rcon can return to a client. You can test it for yourself by reproducing the cutoff via "sm_rcon echo <very very very very very long string>"
__________________
thetwistedpanda is offline
serpentine
I don't have a problem
Join Date: Feb 2011
Location: Madison, WI
Old 03-01-2012 , 18:37   Re: sm_rcon sm plugins list
Reply With Quote #4

Ah got it, thanks.
serpentine is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 03-01-2012 , 23:02   Re: sm_rcon sm plugins list
Reply With Quote #5

didn't SM 1.4.1 increase the buffer for sm_rcon responses?
__________________
View my Plugins | Donate
TnTSCS is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 03-02-2012 , 01:32   Re: sm_rcon sm plugins list
Reply With Quote #6

Quote:
Originally Posted by TnTSCS View Post
didn't SM 1.4.1 increase the buffer for sm_rcon responses?
Yep.
__________________
napalm00 is offline
Smurfy1982
Junior Member
Join Date: Feb 2010
Old 04-13-2012 , 10:15   Re: sm_rcon sm plugins list
Reply With Quote #7

Doesn't work here, output is still limited to 1024 bytes.

Or did i miss something?
Smurfy1982 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-13-2012 , 10:34   Re: sm_rcon sm plugins list
Reply With Quote #8

Quote:
Originally Posted by Smurfy1982 View Post
Doesn't work here, output is still limited to 1024 bytes.

Or did i miss something?
As seen by the patch for SourceMod 1.4.1 bug 5169, it should be 4k now (it used to be 1k)
PHP Code:
     1.1 --- a/plugins/basecommands.sp    Wed Dec 07 11:58:09 2011 -0500
     1.2 
+++ b/plugins/basecommands.sp    Wed Dec 07 12:13:52 2011 -0500
     1.3 
@@ -421,+421,@@
     
1.4      {
     
1.5          ServerCommand("%s"argstring);
     
1.6      } else {
     
1.7 -        new String:responseBuffer[1024];
     
1.8 +        new String:responseBuffer[4096];
     
1.9          ServerCommandEx(responseBuffersizeof(responseBuffer), "%s"argstring);
    
1.10          ReplyToCommand(clientresponseBuffer);
    
1.11      
__________________
View my Plugins | Donate

Last edited by TnTSCS; 04-13-2012 at 10:35.
TnTSCS is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-13-2012 , 10:37   Re: sm_rcon sm plugins list
Reply With Quote #9

Quote:
Originally Posted by Smurfy1982 View Post
Doesn't work here, output is still limited to 1024 bytes.

Or did i miss something?
It's definitely 4096 in 1.4.1, might want to re-update.
__________________
asherkin is offline
Smurfy1982
Junior Member
Join Date: Feb 2010
Old 04-13-2012 , 13:48   Re: sm_rcon sm plugins list
Reply With Quote #10

Re-update didn't work. Disabling all other plugins didn't work.

Trying a fresh clean install in the next days.

Tried with fresh install of srcds, Metamod:Source and SourceMod, still doesn't work.

Now testing with snapshots. => Also failed.

Now looking into sourcecode and found this:

http://hg.alliedmods.net/sourcemod-c...mn_console.cpp

Maybe this is because line 888 is still @1024 bytes?

Last edited by Smurfy1982; 04-13-2012 at 16:15.
Smurfy1982 is offline
Reply



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 04:47.


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