Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch] allow listing companies also outside network games #2820

Closed
DorpsGek opened this issue Apr 9, 2009 · 4 comments
Closed

[patch] allow listing companies also outside network games #2820

DorpsGek opened this issue Apr 9, 2009 · 4 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Apr 9, 2009

bilbo opened the ticket and wrote:

The command "companies" was previously available only to network servers.

Since the command provides useful information also for network clients and when debugging AI's, I think it should be available also without networking. I am attaching a patch that allows that. Without networking (when playing locally), the list will say whether the company is controlled by AI (appending " AI" at end of line with companies) or not, instead of telling if it is protected/unprotected.

This allows using commands like stop_ai without having to leave console to look for the company numbers

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/2820
@DorpsGek
Copy link
Member Author

bilbo wrote:

Fixed possible crash when run as network client. Attaching fixed patch

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/2820#comment5945

@DorpsGek
Copy link
Member Author

bilbo wrote:

Update of this patch to 19627 due to changes in trunk. Functionality unchanged.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/2820#comment7866

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Shouldn't the command also be available when networking is fully disabled, i.e. when compiled with --disable-network?


This comment was imported from FlySpray: https://bugs.openttd.org/task/2820#comment9241

@DorpsGek
Copy link
Member Author

DorpsGek commented Dec 9, 2012

frosch closed the ticket.

Reason for closing: Implemented

in r24807, though different


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

@DorpsGek DorpsGek closed this as completed Dec 9, 2012
@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant