MantisBT - Soldat
View Issue Details
0000017SoldatGUIpublic2011-09-14 13:152012-06-23 15:17
Quantifier 
 
highcrashalways
closedfixed 
PCWindows XPSP2
1.6.0 
1.6.3 
0000017: Access violation with caused by fonts.
When FontConsoleSize is set to 9 in txt\font.ini, game becomes unplayable. Whenever F1 scoreboard or F2 statisticts appears, or player opens input for chat or a command, game throws continuous flood of access violation errors.
With font size 10, no error happens.
No tags attached.
Issue History
2011-09-14 13:15QuantifierNew Issue
2011-09-17 21:39ShoozzaNote Added: 0001132
2011-09-17 21:39ShoozzaAssigned To => Shoozza
2011-09-17 21:39ShoozzaStatusnew => feedback
2011-09-18 19:48QuantifierNote Added: 0001138
2011-09-18 19:48QuantifierStatusfeedback => assigned
2011-09-21 02:10ShoozzaStatusassigned => confirmed
2011-09-22 04:52ShoozzaNote Added: 0001158
2011-09-22 04:52ShoozzaStatusconfirmed => resolved
2011-09-22 04:52ShoozzaFixed in Version => 1.6.1
2011-09-22 04:53ShoozzaNote Added: 0001159
2012-06-23 15:17ShoozzaResolutionopen => fixed
2012-06-23 15:17ShoozzaNote Added: 0001558
2012-06-23 15:17ShoozzaStatusresolved => closed
2012-06-23 15:17ShoozzaAssigned ToShoozza =>
2012-06-23 15:17ShoozzaFixed in Version1.6.1 => 1.6.3

Notes
(0001132)
Shoozza   
2011-09-17 21:39   
Doesn't happen for me.

My font.ini:
[FONTS]
Font1=BankGothic Lt BT
Font2=Lucida Console
FontMenuSize=12
FontConsoleSize=9
FontBigSize=28
FontWeaponMenuSize=8
FontConsoleSmallSize=7
FontHeightScale=125
FontMenuBold=1
FontConsoleBold=0
FontBigBold=1
FontWeaponMenuBold=0
FontConsoleSmallBold=0
KillConsoleNameSpace=8

What do the error messages you get look like? Exact message text would be really helpful.
(0001138)
Quantifier   
2011-09-18 19:48   
Your font.ini is the same as mine except for the lines "FontHeightScale=100" (which doesn't affect bug, whether 125 or 100), and "FontConsoleSize=10" (which I had to change in order to run the game)

The message looks like standard Windows error message, with text "Access violation at address 006115DB in module 'Soldat.exe' Read of address 00000000."
(0001158)
Shoozza   
2011-09-22 04:52   
Found out why this is happening.
It seems like your graphics card cannot create font textures for the font size.
I changed it to stop drawing to the texture and log the error (when logging=1 is set in soldat.ini).

The game should run but there will be text missing.
Once the next version is out please run soldat with logging enabled, reopen the bugreport and add the log file (log.txt in logs folder).
(0001159)
Shoozza   
2011-09-22 04:53   
Found out why this is happening.
It seems like your graphics card cannot create font textures for the font size.
I changed it to stop drawing to the texture and log the error (when logging=1 is set in soldat.ini).

The game should run but there will be text missing.
Once the next version is out please run soldat with logging enabled, reopen the bugreport and add the log file (log.txt in logs folder).
(0001558)
Shoozza   
2012-06-23 15:17   
closed if you still have issues open a new bug report