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

DoCommand problem #2980

Closed
DorpsGek opened this issue Jun 15, 2009 · 2 comments
Closed

DoCommand problem #2980

DorpsGek opened this issue Jun 15, 2009 · 2 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

fanioz opened the ticket and wrote:

Hello all, I didn't mean to report this as bug as I don't really know if it was a bug or feature :D.
However this will make the game run very slowly. Attached picture is Admiral try to execute a DoCommand somewhere inside his save/load/valuator/call. I 've ever got this problem too (It seems almost all AI too, except WrightAI :D ) And for me its hard to know which DoCommand in my code that make this error.

Suggestion :
Instead of full-fill debug screen with message "You're not allowed ....." and make the game run slower, what if immediately kill an AI that is try to run DoCommand in invalid time/place, and got message like :
"You're not allowed ....." + "in line xxxx "

Thanks for attention

Reported version: 0.7.1
Operating system: All


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

fanioz wrote:

I seems the attachment is missing

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/2980#comment6219

@DorpsGek
Copy link
Member Author

Yexo closed the ticket.

Reason for closing: Implemented

In r17223


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

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) enhancement component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) labels Apr 7, 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

1 participant