Socket connection failed
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 ? |
Re: Socket connection failed
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?
|
Re: Socket connection failed
generally the loading of a plugin isnt working anymore!
|
Re: Socket connection failed
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. |
Re: Socket connection failed
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 ? |
Re: Socket connection failed
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. |
All times are GMT -4. The time now is 18:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.