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

Socket connection failed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GrooveS
Junior Member
Join Date: Sep 2013
Old 09-27-2013 , 07:37   Socket connection failed
Reply With Quote #1

I want to load a plugin, however, it worked every time, but today if im typing: sm_rcon rcon plugins load waky-jail (waky-jail = pluginname), i will get:

] sm_rcon rcon plugins load waky-jail
Socket connection failed (WSAEADDRNOTAVAIL)
Unable to connect to remote server (0.0.0.0:0)

can anyone help please ?
GrooveS is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 09-27-2013 , 09:07   Re: Socket connection failed
Reply With Quote #2

sorry I could not find the waky-jail plugin. where do you setup the remote server ip? does this plugin have a cfg file? why are you loading it by hand everytime? why are you using sm_rcon + rcon just to load a plugin?
hamilton5 is offline
GrooveS
Junior Member
Join Date: Sep 2013
Old 09-27-2013 , 09:29   Re: Socket connection failed
Reply With Quote #3

generally the loading of a plugin isnt working anymore!
GrooveS is offline
Adjo
Member
Join Date: Dec 2009
Location: UK
Old 09-27-2013 , 09:45   Re: Socket connection failed
Reply With Quote #4

This only happens because you're using sm_rcon rcon - which doesn't make much sense, and I doubt it would've worked before in the way you've shown it.

The reason I'd guess why it doesn't work is because sm_rcon and rcon both send the input to the server console to be executed, if you do sm_rcon rcon, the server doesn't know what to connect to (since there is a second 'rcon', because the server doesn't have any rcon_address set) for executing the command. If the above is true then it could be worked around, but it would be silly doing so.

If you want to load a plugin via sm_rcon, this would work: sm_rcon sm plugins load pluginpath
Likewise for just rcon (after having set the rcon_password) : rcon sm plugins load pluginpath - or, if you're using something like HLSW or any other remote administration tool, the *_rcon parts can be ignored.
Adjo is offline
GrooveS
Junior Member
Join Date: Sep 2013
Old 09-27-2013 , 10:01   Re: Socket connection failed
Reply With Quote #5

Thanks it works! But i have question!
2 Plugins (selfcoded) are every time unloaded, if i have restarted the server
an every time i have to load the plugins handly, how can i change this ?
GrooveS is offline
Adjo
Member
Join Date: Dec 2009
Location: UK
Old 09-27-2013 , 10:15   Re: Socket connection failed
Reply With Quote #6

They should load automatically if they're in the plugins folder, assuming they have any necessary dependencies loaded which the plugins rely on.

Check over the error logs if you haven't already (sourcemod/logs/errors_datestamp.log), there might be something logged about why it doesn't load automatically.
Adjo 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 06:45.


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