OpenTTD / OpenTTD

OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe
https://www.openttd.org/
Other
6.26k stars 875 forks source link

password via command-line #570

Closed DorpsGek closed 15 years ago

DorpsGek commented 17 years ago

Progman opened the ticket and wrote:

Its possible to join a server direct via the command-line option -n (-n [ip:port# player] = Start networkgame), but it is not possible to enter a password for the given server. There should be an option like "-p" to enter the password or extend the -n so it can hold a password for the server.

rev 8082

Reported version: trunk Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/570
DorpsGek commented 16 years ago

Progman wrote:

I have added a patch agains r12594 for a new argument -p which can be used for autologin into a server.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/570#comment3842
DorpsGek commented 16 years ago

Ammler wrote:

Added the possibility for Company password. -p serverpassword -P companypassword

The patch is tested and in use since revision 12350 to current trunk.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/570#comment3950
DorpsGek commented 16 years ago

Ammler wrote:

since around r13374, there are some changes in the source...

working patch is available here: http://trac.openttdcoop.org/browser/ottdbash/autostart/patches/pw_arguments.diff?rev=702


This comment was imported from FlySpray: https://bugs.openttd.org/task/570#comment4235
DorpsGek commented 15 years ago

planetmaker wrote:

Update to current trunk r15286. Updates remain available from the link, Ammler posted.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/570#comment5458
DorpsGek commented 15 years ago

SmatZ closed the ticket.

Reason for closing: Implemented

In r16555. Thanks for the idea, patch and maintenance.


This comment was imported from FlySpray: https://bugs.openttd.org/task/570