Raised This Month: $ Target: $400
 0% 

[Sug] CrossServer RCON-Access


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dangerix
Senior Member
Join Date: Aug 2007
Location: Germany
Old 10-11-2007 , 12:31   [Sug] CrossServer RCON-Access
Reply With Quote #1

Hi there,

I just wondered whether it would be possible to create a plugin letting you administrate "Server #2" while being on "Server #1".
Sometimes I'm playing on one of our gameservers and then I recognize one of the other servers being (nearly) completly empty. Naturally I'm instantly thinking of changing the map to something more popular (de_dust2 that is), but as I am a lazy sod .. I would have to switch to my desktop and start HLSW before I was able to change the map. And maybe I would even miss the start of the next round or die or something similar horrible!

And that's why I thought of a plugin that would let you execute any command, like changing CVARs, changelevel or kick someone.
I know about xREDIRECT and the CrossServer-AdminChat, but I havn't got the slightest idea if you could give someone RCON-Access (or ADMIN_RCON or any other access level) on another server via a sockets-connection as neither of the foresaid plugins does (as far as I know!).

I am not in a urgent need of this plugin, and I havn't seen anything like such a thing on the forums so far. Just had it in my mind.
I think such a plugin would be a very pleasant experience.
__________________
dangerix is offline
_Tool_
Junior Member
Join Date: Sep 2007
Old 10-11-2007 , 12:49   Re: [Sug] CrossServer RCON-Access
Reply With Quote #2

This is already part of the half-life engine. I beleive the command is rcon_address. Personally what I would do is put in your config.cfg or userconfig/autoexec:

alias changercon changercon_1
alias changercon_1 "rcon_address <firstaddy>;rcon_password <firstpw>;echo FIRST_SERVER;alias changercon changercon_2"
alias changercon2 "rcon_address <secondaddy>;rcon_password <secondpw>echo SECOND_SERVER;alias changercon changercon_1"
bind p changercon

just hit p to toggle em then you can do in console: rcon amx_map/amx_kick or whatever

Last edited by _Tool_; 10-11-2007 at 12:52.
_Tool_ is offline
dangerix
Senior Member
Join Date: Aug 2007
Location: Germany
Old 10-11-2007 , 13:19   Re: [Sug] CrossServer RCON-Access
Reply With Quote #3

You are right, tested it right away.
I am playing CS for quite some time now .. but never knew that. Hilarious.

Thanks a lot!

//edit:
Would be a nice feature for the next AMXX-Version anyway. If you could place the IP + Port + RCON in a crossserverrconaccess.ini (or whatever) and then use the whole AMX-Mod-Menu for all the servers in the ini.. or at least the non-player-related menus like changelevel or CVAR Settings. Would save you al lot of typing into the console. I mean, the ninth entry on the second menu page is still empty. Woah!
__________________

Last edited by dangerix; 10-11-2007 at 13:28.
dangerix 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 20:33.


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