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

Resuming game freezes OTTD #2869

Closed
DorpsGek opened this issue Apr 28, 2009 · 3 comments
Closed

Resuming game freezes OTTD #2869

DorpsGek opened this issue Apr 28, 2009 · 3 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

Rebles opened the ticket and wrote:

After loading 2000x2000 maps, pressing resume, OTTD does not respond, but after 2 to 5 minutes it finally responded. Before pressing resume, I am able to zoom and pan around the map, open windows, and interact with the menu.

(Attached is my saved game which gave me problems)

Attachments

Reported version: 0.7.0
Operating system: All


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

Rubidium wrote:

Your savegame uses NoCAB which is known for exploiting a weakness in the NoAI API that is only useful when 'battling' against eachother.

What happens is that during the initialisation of the AI, NoCAB does all kinds of queries to the map, it's vehicles, stations etc. This causes the initialisation phase to take extremely long. The problem with this is that we cannot suspend the AI in it's initialisation phase. I suggest that you remove all NoCAB AIs.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2869#comment5982

@DorpsGek
Copy link
Member Author

Rebles wrote:

Thank you very much for the quick response. With v0.7.0, I was downloading AIs and enabling newGRFs, so I wasn't sure what the source of the problem was. I will uninstall NoCAB AIs. This does give me the chance to thank the OTTD team for the excellent work they have done. Keep up the good work!!


This comment was imported from FlySpray: https://bugs.openttd.org/task/2869#comment5983

@DorpsGek
Copy link
Member Author

Yexo closed the ticket.

Reason for closing: Fixed

In r16425


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

@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 6, 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