Posts: 367
Threads: 14
Joined: Dec 2004
Reputation:
0
having ftp access to edit the server.cfg and forceibly change an rcon password if someone attempts to break the cycle should work.
Or you could have users add 'exec rcon.cfg' to their server.cfg and your program edits that file via ftp each time someone breaks the cycle.
Looks like a good program your working on.
-Paul
Posts: 11
Threads: 1
Joined: Jul 2006
Reputation:
0
Is there a way to execute a config file without using rcon?
Your idea is a pretty good solution. However, if you specify the rcon password in server.cfg, then the rcon password will reset whenever the map changes, which would break the reservation system.
My current idea is to email the administrator if the cycle gets broken so that he can restart the server or do whatever he needs to do.
Posts: 153
Threads: 1
Joined: Jun 2006
I guess you could make the server.cfg read-only?
Posts: 11
Threads: 1
Joined: Jul 2006
Reputation:
0
I have the initial version checked into cvs. I haven't created the install documentation yet, so its not really ready for use.
However, if you know perl, apache, and srcds you could get it to work.
Posts: 367
Threads: 14
Joined: Dec 2004
Reputation:
0
what i mean is, whenever a server is being set up for someone to use, you overwrite the rcon password part of the server.cfg so that if someone does change the password, it will revert back to what was originally chosen when the map changes.
An admin will presumably have access to the server ftp directory at minimum so will easily be able to change the password and reboot the server if necessary
Posts: 11
Threads: 1
Joined: Jul 2006
Reputation:
0
Ah, I see. Thats not a bad idea. It does add more configuration complexity than I would like though.
For now, I would like to release the first version with what I have so far. After that I need to implement a clean way of doing what you suggested.
Posts: 623
Threads: 7
Joined: Mar 2005
Reputation:
0
Just let us know when it's finished, this tool might come in handy for me.
Good work.
Posts: 1,217
Threads: 42
Joined: Dec 2004
Reputation:
0
One thing you could have done was intercept commands being used, You can probably do some if statement where if a certain command were to be used, you deny it.
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Posts: 1
Threads: 0
Joined: Nov 2006
Reputation:
0
Looks great...
Could you a port variable so we can run multiple servers on a single IP?
Does this system kill the server process, or just rcon a quit, or rcon the changes?
Thanks!
Chumly
Posts: 11
Threads: 1
Joined: Jul 2006
Reputation:
0
11-03-2006, 04:46 AM
(This post was last modified: 11-03-2006, 04:48 AM by espergreen.)
Yes, I should be able to add that. Actually, I just did! You can check out the latest version from cvs.
All this program does is rcon the changes, its kind of a hack.
If you have any more suggestions, I would suggest posting them on the SourceForge project page rather than here..I don't check this forum very often.