[Patch] Company password change over rcon

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
User avatar
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

[Patch] Company password change over rcon

Post by Ammler »

Dear Patchers

#openttdcoop request following patch from you:

Company password change over server console (rcon).

We would like to open our servers for spectacting and only close the company. As we have a changing password, it needs to be set over console. Currenty we can do that with Autopilot but we can't change the company password the same way.

I have a similar console command in mind like reset_company <num>:

set_company_pw <companyid> <password>

Greets and thanks
Ammler
Last edited by Ammler on 27 Sep 2008 23:00, edited 1 time in total.
mattico
Engineer
Engineer
Posts: 1
Joined: 27 Sep 2008 21:14

Re: [REQUEST] Company password change over rcon

Post by mattico »

Here you go. Made against current SVN trunk (r14406).
Attachments
set_company_pw_2.patch
(3.67 KiB) Downloaded 124 times
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Re: [Patch] Company password change over rcon

Post by SirkoZ »

Nice idea, Ammler, although I can't help myself not asking about this:
We would like to open our servers for spectacting...
Do you have too few players on your servers? :mrgreen:
User avatar
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

Re: [Patch] Company password change over rcon

Post by Ammler »

Someone kind enough to update that patch with new company/player/client system?
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 41 guests