Middle Dot, Crash with OpenTTD build r6551 (Solved)

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
Arnau
Engineer
Engineer
Posts: 54
Joined: 20 Jul 2006 10:18

Middle Dot, Crash with OpenTTD build r6551 (Solved)

Post by Arnau »

Hi, I was testing the lastest build and when trying to do a new game sometimes (1 time every 50 newgames aprox) the game crashes. Giving the following error Message "Tried to load non-sprite #153" Probable cause: Wrong/Missing NewGRFs"

What I don't understand is that with this seed number I retried to start the game and it didn't crash. So it seems there's some random pattern.

I don't have any third party GRF's installed and I compile the trunk with MSVC2005Express. The first time I noticed was in version r6xxx

I attach in a picture the options I used when starting the new game.

I searched for info a little bit but I didn't find anything.
Anyone else with this problem it is already reported?
Attachments
error.png
error.png (20.27 KiB) Viewed 3195 times
opcions.png
opcions.png (52.53 KiB) Viewed 3195 times
Last edited by Arnau on 01 Nov 2006 10:17, edited 1 time in total.
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

do you multiple CPUs or a dualcore CPU?
what map size was this? (the one displayed?)
Arnau
Engineer
Engineer
Posts: 54
Joined: 20 Jul 2006 10:18

Post by Arnau »

All settings are the ones in the picture.
I tried, printscreen, tried printscreen, and tried printscreen, until it crashed.

I've got an Athlon64 3200+ (Single core) 1Gb RAM, Windows XP (32bit) SP2, no antivirus.



I attach you my compiled openttd.exe and the terrain settings in english sorry.

I want to insist that it doesn't crash always even with this terrain.

I'll be trying to search for some pattern in order to reproduce it better.

Bye
Attachments
openttd.rar
(483.92 KiB) Downloaded 117 times
opcions2.png
opcions2.png (45.43 KiB) Viewed 3171 times
Arnau
Engineer
Engineer
Posts: 54
Joined: 20 Jul 2006 10:18

Post by Arnau »

Mmmm I think I found some important information.
The crash only happens with the Catalan interface language.
Now I'm able to reproduce the crash with this seed number and Catalan interface languange.
I suppose that there is some type of problem with the translated loading messages, but I don't know what's wrong.
Arnau
Engineer
Engineer
Posts: 54
Joined: 20 Jul 2006 10:18

Post by Arnau »

Ok, I think I solved it.

It was a problem with in the word "Cell", in Catalan "cel·les". The dot in the middle doesn't seem to work with Openttd. I changed · for . and problem solved.

Sorry for the incovenience
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

is that something you added yourself or is the problem in the trunk?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Bjarni, can we please lead by example?

Code: Select all

$ grep ":.*cel" trunk/lang/catlan.txt
STR_012E_CANCEL                     :{BLACK}Cancel.lar
STR_CONFIG_PATCHES_REALISTICACCEL   :{LTBLUE}Activar l'acceleració realista per als trens: {ORANGE}{STRING}
STR_NETWORK_TILESET                 :{SILVER}Grup de cel.les:  {WHITE}{STRING}
STR_303B_EXCELLENT                  :Excelent
STR_7047_CANCEL_NEW_FACE_SELECTION  :{BLACK}Cancel.lar la selecció de nova cara
STR_PREPARING_TILELOOP              :{BLACK}Passant el bucle de cel·les
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Arnau
Engineer
Engineer
Posts: 54
Joined: 20 Jul 2006 10:18

Post by Arnau »

The problem was in the Catalan.txt translation file, it was just the · character which does not seem to be acceptable. I've updated the catalan.txt file so in next webtranslator2 update the problem will be solved.
Arnau
Engineer
Engineer
Posts: 54
Joined: 20 Jul 2006 10:18

Post by Arnau »

DaleStan wrote:Bjarni, can we please lead by example?

Code: Select all

$ grep ":.*cel" trunk/lang/catlan.txt
STR_012E_CANCEL                     :{BLACK}Cancel.lar
STR_CONFIG_PATCHES_REALISTICACCEL   :{LTBLUE}Activar l'acceleració realista per als trens: {ORANGE}{STRING}
STR_NETWORK_TILESET                 :{SILVER}Grup de cel.les:  {WHITE}{STRING}
STR_303B_EXCELLENT                  :Excelent
STR_7047_CANCEL_NEW_FACE_SELECTION  :{BLACK}Cancel.lar la selecció de nova cara
STR_PREPARING_TILELOOP              :{BLACK}Passant el bucle de cel·les
It was my fault because one month ago I translated this string using the bad character. Just I didn't know I couldn't use it.
Tron
OpenTTD Developer
OpenTTD Developer
Posts: 57
Joined: 13 Dec 2004 23:15

Post by Tron »

Arnau wrote:It was a problem with in the word "Cell", in Catalan "cel·les".
Is the middle dot common use in catalan or is it just a substitute for something else which is not present in the ISO-8859-15 charset?
If it is the former, then a glyph can easily be added for this char. It shouldn't be too hard to draw a nice looking dot in the three font sizes. There was just no need for this before.
Arnau
Engineer
Engineer
Posts: 54
Joined: 20 Jul 2006 10:18

Post by Arnau »

The middle dot (present in a spanish keyboard Shift + 3 key) is common use in Catalan language. It doen't substitute anything, though everybody understand it if we use the normal dot. I didn't know that catalan was the only language here that use this character!
It would be great if it could be added but it doesn't hurry.


ISO8859-15 Table
Image

ISO8859-15
Table 57. ISO8859-1 Code set
Symbolic Name Hex Value

...
pilcrow sign B6
middle dot B7
...


Thanks for your time.
Arnau
Engineer
Engineer
Posts: 54
Joined: 20 Jul 2006 10:18

Post by Arnau »

I saw that the middle dot was introduced in the openttd trunk SVN 7013. I just wanted to say thanks to Tron for his effort on this little little detail!
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 14 guests