OpenTTD

Tasklist

FS#4158 - Admins should have delete controls

Attached to Project: OpenTTD
Opened by Tim (timvdalen) - Sunday, 10 October 2010, 15:04 GMT
Last edited by andythenorth (andythenorth) - Saturday, 19 August 2017, 13:28 GMT
Type Feature Request
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 1.0.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

In a networkgame, when a user set as administrator is spectating, he or she should have the ability to delete anything.
This task depends upon

Closed by  andythenorth (andythenorth)
Saturday, 19 August 2017, 13:28 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Flyspray clean up: more than 5 years old, and not obvious what should be done with this next, so closing. If this offends, discuss with andythenorth in irc. Thanks.
Comment by Nathanael Rebsch (dihedral) - Monday, 11 October 2010, 14:46 GMT
for some further clarity: How do you set a spectating user to be an 'administrator'?
Comment by Tim (timvdalen) - Monday, 11 October 2010, 16:27 GMT
I'd say something like:
'rcon <pass> "admin"'
Comment by Nathanael Rebsch (dihedral) - Monday, 11 October 2010, 19:27 GMT
I'd personally suggest to make use of the move command: rcon <passwd> "move <clientid> <companyid>"
Where <clientid> is that of your client. Then you can act as that company in full.

The thing is that spectators are not allowed to carry out docommands, which removing e.g. rails from a tile is.
Such actions are bound to a company id.

The move command, when executed on the server (i.e. via rcon) does not require the company password of the company you want to join. Hope this is a helpful solution.
Comment by Tim (timvdalen) - Wednesday, 13 October 2010, 13:04 GMT
I just tried this, and even when executed via rcon, I still need a password to join a protected companies
Comment by Ingo von Borstel (planetmaker) - Wednesday, 13 October 2010, 13:14 GMT
I can't confirm that. On our servers I can join any company fine without the company password, just using rcon move <clientID> <companyID>
That's the usual way we use to arbitrate and rectify things on our welcome server.
Comment by Tim (timvdalen) - Wednesday, 13 October 2010, 16:07 GMT
Ah, I'm sorry. I used the join command rather than the move command.

I had a better idea though:
We could make a special company (like Spectators) with a fixed id (or either set in your config) that is locked with the rcon passwd.
The company would have infinite money (either that, or everything is free, but that would require more code changes, the way the code is now) and the ability to delete anything.
Comment by Nathanael Rebsch (dihedral) - Wednesday, 13 October 2010, 16:10 GMT
it will probably require the same amount of changes. and i am guessing it both will not happen.
Comment by Nathanael Rebsch (dihedral) - Saturday, 01 January 2011, 23:07 GMT
a new feature allows further incoming connections on a separate network port. this network has been designed for 3rd party applications to control the server. you can write a program that connects to your dedicated server and provides access to any of the rcon commands which are executed directly on the server console - no rcon password is needed (nor the rcon command itself). you can then distribute this program to those you which to grant this control.

Loading...