Raised This Month: $32 Target: $400
 8% 

SM RCon (updated 2012-09-09)


Post New Thread Reply   
 
Thread Tools Display Modes
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 04-28-2012 , 15:36   Re: SM RCon (updated 2012-03-10)
Reply With Quote #31

Quote:
Originally Posted by psychonic View Post
I'll have a fixed 1.2.1 posted in a bit.
There was talk of Source 2007 support as well. Think it could make it in there?
__________________
GoD-Tony is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-28-2012 , 15:37   Re: SM RCon (updated 2012-03-10)
Reply With Quote #32

Quote:
Originally Posted by GoD-Tony View Post
There was talk of Source 2007 support as well. Think it could make it in there?
Yup. There will be support for more engines. That's the main reason why I haven't posted the new package yet.
psychonic is offline
jake84
Senior Member
Join Date: Jun 2010
Location: CA
Old 04-28-2012 , 16:00   Re: SM RCon (updated 2012-03-10)
Reply With Quote #33

Quote:
Originally Posted by psychonic View Post
I've identified the issue causing remote logging to not function in most cases with version 1.2.0. I'll have a fixed 1.2.1 posted in a bit.
awsome
jake84 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-28-2012 , 16:22   Re: SM RCon (updated 2012-03-10)
Reply With Quote #34

Version 1.2.1 has now been added to the first post.
psychonic is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 04-28-2012 , 17:04   Re: SM RCon (updated 2012-03-10)
Reply With Quote #35

Thanks! I'll be making good use of this again soon. Lately I've just been loading it for the proper rcon banning support on CS:S.
__________________
GoD-Tony is offline
jake84
Senior Member
Join Date: Jun 2010
Location: CA
Old 04-28-2012 , 17:35   Re: SM RCon (updated 2012-03-10)
Reply With Quote #36

thanks psychonic, logging works now . can someone show me how to add an IP whitelist and disallow rcon if the ip is not equal to the one(s) that I want to allow.
edit: i think this worked.
edit:2 i think my server is crashing with this extension loaded now. both my local and non local.
yeah my local has been crashing nonstop on map end with this. i removed it and no longer crshes

Code:
public Action:SMRCon_OnAuth(rconId, const String:address[], const String:password[], &bool:allow)
{
        if (!strcmp(password, "*****"))
        {
                 if (!strcmp(address, "ip1") || !strcmp(address, "ip2"))
                 {    
                       LogToGame("rcon id %d with address %s sent right password", rconId, address);
                       allow = true;
                       return Plugin_Changed;
                 }
        }
        LogToGame("rcon id %d with address %s was disallowed for sending wrong password \"%s\"", rconId, address, password);
        return Plugin_Continue;
}

Last edited by jake84; 04-29-2012 at 05:23.
jake84 is offline
NaRyan
Member
Join Date: Jan 2010
Location: United Kingdom
Old 05-06-2012 , 13:12   Re: SM RCon (updated 2012-03-10)
Reply With Quote #37

Just tried loading this on GMOD, but I get this error with it.

Quote:
L 05/06/2012 - 18:08:44: [SMRCon] Sigscan for WriteDataRequest failed - Disabling detour to prevent crashes
L 05/06/2012 - 18:08:44: [SMRCon] Error setting up WriteDataRequest detour
L 05/06/2012 - 18:08:44: [SM] Unable to load extension "smrcon.ext": Unknown error
__________________

NaRyan is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-06-2012 , 13:13   Re: SM RCon (updated 2012-03-10)
Reply With Quote #38

Quote:
Originally Posted by NaRyan View Post
Just tried loading this on GMOD, but I get this error with it.
The current version? or GMod 13 Beta?
psychonic is offline
NaRyan
Member
Join Date: Jan 2010
Location: United Kingdom
Old 05-06-2012 , 13:35   Re: SM RCon (updated 2012-03-10)
Reply With Quote #39

Current version of GMOD.
__________________

NaRyan is offline
men232
New Member
Join Date: Aug 2010
Old 05-09-2012 , 15:22   Re: SM RCon (updated 2012-03-10)
Reply With Quote #40

Hi everyone. Please help me with this script:
Code:
#include <smrcon>

public Action:SMRCon_OnAuth(rconId, const String:address[], const String:password[], &bool:allow)
{
        if (!strcmp(password, "test"))
        {
                 if (!strcmp(address, "31.170.**.***") || !strcmp(address, "**.**.130.204"))
                 {    
                       LogToGame("rcon id %d with address %s sent right password", rconId, address);
                       allow = true;
                       return Plugin_Changed;
                 }
        }
        return Plugin_Continue;
}
When i calling sm plugin list, I see that rcon.smx status <failed>. Game is garry's mod, not beta 13.
men232 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 22:59.


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