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

TutorialShipAI error #6224

Closed
DorpsGek opened this issue Feb 1, 2015 · 4 comments
Closed

TutorialShipAI error #6224

DorpsGek opened this issue Feb 1, 2015 · 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

DorpsGek commented Feb 1, 2015

Shiyiya opened the ticket and wrote:

I was holding down tab to speed it up and this window popped up and told me to submit a screenshot to the developer. It may or may not have something to do with the fact that I couldn't get the tutorial to progress? It instructed me to click on the oil rig and I clicked on all of them in every possible place about eight times and it didn't trigger the next step of the tutorial. (So I'm stuck unable to see the rest of the tutorial, as far as I can tell.) (That instruction happened several minutes ago.)

I hope I did this right, I'm sorry if I messed up somewhere.

I'm on Windows 7 Professional 64-bit.

Attachments

Reported version: 1.4.4
Operating system: Windows


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

DorpsGek commented Feb 2, 2015

Alberth wrote:

Bug report forwarded to the tutorial project https://dev.openttdcoop.org/issues/7441


This comment was imported from FlySpray: https://bugs.openttd.org/task/6224#comment13752

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 4, 2015

Zuu wrote:

Thanks for your report. I have some questions for you:

- Does this happen every time you play the tutorial and skip the ship chapter?
- Did the AI crash already when you started the game or was it later when you decided to try the lorries chapter? OpenTTD would have displayed the window you saw already at start if it did crash then.
- You say it was stuck, did you try clicking on the lower part of the oil rig near water surface or only at the top? The clicking detection area I think is at the water surface area covered by the oil rig.

Not directed at you but more regarding the code, I see that the code that do crash is this piece of code in the AI:

local sign_list = AISignList();
foreach(i, _ in sign_list)

A possible cause is that you were unlucky and the game script did remove a sign while the AI was iterating the over the list of signs, and possible the API implementation of AISignList cannot handle that.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6224#comment13759

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 4, 2015

Shiyiya wrote:

I started the tutorial over and it did not happen again and I was able to trigger the next step of the tutorial and it didn't later crash. It didn't display at the start - it was after I had given up on getting the oil rig click to trigger and was messing around with airports and stuff and holding tab to speed it up. I clicked basically every pixel in an inch radius around the oil rig, and when I did get it to trigger on the later runthrough it was definitely on somewhere I had tried clicking before. I didn't skip the ship chapter - I was stuck in the middle and I didn't know how or if I could trigger the chapter list again to skip to something else. I was just playing some more with airplane and bus routes to practice and to see if it would fix itself if I waited, and then the crashy dialog thing happened.

I'm not sure it's a reproducible bug and I probably wouldn't have bothered reporting it if the window hadn't popped up and told me to submit a screencap!


This comment was imported from FlySpray: https://bugs.openttd.org/task/6224#comment13760

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Bug in custom AI


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

@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