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

Dropdown Setting is changing value of non-visible Parameter #6479

Closed
DorpsGek opened this issue Jun 16, 2016 · 3 comments
Closed

Dropdown Setting is changing value of non-visible Parameter #6479

DorpsGek opened this issue Jun 16, 2016 · 3 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Samu opened the ticket and wrote:

I used SynTrans version 15 from Online Content to reproduce this bug.

Steps:

  1. Ensure that OpenTTD is set to hide developer settings first.
    - Launch OpenTTD
    - Open Console
    - Type in: setting gui.ai_developer_tools 0
    - Close Console

  2. Access the Parameters of SynTrans.
    - Click AI/Game Script Settings
    - Click Select AI and chose SynTrans
    - Click Configure

  3. Modifying the value for "The distance of the vehicle routes built by SynTrans" setting.
    - Click the Dropdown and select a different value...

...bug: the value doesn't change.

The value that was changed was for a hidden parameter of SynTrans. Check openttd.cfg file.
- Open openttd.cfg in a text editor
- Scroll down to [ai_player} section

...bug: should be displaying something like this: SynTrans = log_level=1,route_distance=3,start_date=1

log_level is the hidden Parameter, which comes before route_distance, according to the info.nut of SynTrans.

Reported version: 1.6.1-RC1
Operating system: Windows


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

Samu wrote:

I made a typo near the end of 3rd step.

Where it says
SynTrans = log_level=1,route_distance=3,start_date=1

should be saying:

SynTrans = log_level=1,start_date=1

It confirms that it is bugged, because it is changing the value of log_level instead of route_distance.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6479#comment14212

@DorpsGek
Copy link
Member Author

Samu wrote:

This fixes it: https://paste.openttdcoop.org/pwcw1hpc4

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/6479#comment14213

@DorpsGek
Copy link
Member Author

peter1138 closed the ticket.

Reason for closing: Fixed

Fixed in r27786


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

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 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/)
Projects
None yet
Development

No branches or pull requests

1 participant