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

A maximum of only 15 goals allowed #4928

Closed
DorpsGek opened this issue Dec 31, 2011 · 4 comments
Closed

A maximum of only 15 goals allowed #4928

DorpsGek opened this issue Dec 31, 2011 · 4 comments
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

11Runner opened the ticket and wrote:

The attached script attempts to create 6 scripts per company, and on the 3rd company, it will begin failing to create goals because only a maximum of 15 goals (1 goal per company) are allowed.

When starting, the script will wait for 2000 milliseconds and then begin creating goals for the available companies. I recommend that you create at least 3 AIs before the sleeping time finishes. You can look in the game script log to see the output. It will show successfully created goals, and unsuccessfully created goals (with their GSError message)

Attachments

Reported version: trunk
Operating system: All


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

11Runner wrote:

Forgot to mention: I am using Linux Mint 12, but I dont really think it would make a difference


This comment was imported from FlySpray: https://bugs.openttd.org/task/4928#comment10639

@DorpsGek
Copy link
Member Author

Rubidium wrote:

What would be a good limit for the number of goals? Currently it's limited to the number of companies, although that might be too small.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4928#comment10641

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 1, 2012

11Runner wrote:

The number of companies is too small because if 15 companies get created, and I am running a script that creates, say 3 goals per company, we run out. I propose the goal limit should be 256 (which would give a little more than 17 goals per company per company)


This comment was imported from FlySpray: https://bugs.openttd.org/task/4928#comment10643

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 1, 2012

TrueBrain closed the ticket.

Reason for closing: Fixed

Fixed in r23699


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

@DorpsGek DorpsGek closed this as completed Jan 1, 2012
@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Goal/Game script labels Apr 7, 2018
@frosch123 frosch123 added the component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) label Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

2 participants