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

Crash, if I scroll fast the game script preferences. #5632

Closed
DorpsGek opened this issue Jul 3, 2013 · 8 comments
Closed

Crash, if I scroll fast the game script preferences. #5632

DorpsGek opened this issue Jul 3, 2013 · 8 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 Jul 3, 2013

idioty opened the ticket and wrote:

The game crashed for me twice with this bug.

Attachments

Reported version: trunk
Operating system: Mac OS X


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

DorpsGek commented Jul 3, 2013

Rubidium wrote:

Which game script did you use to trigger this? I can't find any that has settings that look like those on bananas.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5632#comment12374

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2013

idioty wrote:

This is my script.
The scroll work with 1.3.0 version.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5632#comment12375

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2013

planetmaker wrote:

Maybe you provide the script so that we can actually reproduce the crash ourselves?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5632#comment12376

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2013

idioty wrote:

OK:

Here is source:
https://github.com/kissferenc/Feca-Goal-Games


This comment was imported from FlySpray: https://bugs.openttd.org/task/5632#comment12377

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2013

Rubidium closed the ticket.

Reason for closing: Fixed

In r25555.
The problem is caused by a tab character in one of the strings that was shown in the settings. Recently a debug check was added no special characters (such as tabs) was added, which you triggered. Now it replaces 'invalid' characters with question marks.


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

@DorpsGek DorpsGek closed this as completed Jul 4, 2013
@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2013

idioty wrote:

Where is the invalid character in my script? I can't find...


This comment was imported from FlySpray: https://bugs.openttd.org/task/5632#comment12378

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2013

Rubidium wrote:

See the attached diff for the exact location

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5632#comment12379

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2013

idioty wrote:

Thanks!


This comment was imported from FlySpray: https://bugs.openttd.org/task/5632#comment12380

@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