Source Code Project Mantis - FSSCP
View Issue Details
0001518FSSCPgameplaypublic2007-11-08 16:102007-11-09 01:58
ReporterARSPR 
Assigned Totaylor 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformDELL Dimension 9200OSWindows VistaOS VersionUltimate 32-bit
Product Version3.6.9 
Target VersionFixed in Version3.6.10 
Summary0001518: Ingame F3 hotkey assignment window is empty if there are too many ships.
Description+ Pick the attached mission (AllTerranShips.fs2). It just has all the FS2 Terran ships in it.
+ Start the mission.
+ Go to F3 hotkey assignment window.
+ Voila, it's empty.


I think this issue has been present since retail.
TagsNo tags attached.
Attached Files? AllTerranShips.fs2 (44,214) 2007-11-08 16:10
http://scp.indiegames.us/mantis/file_download.php?file_id=946&type=bug

Notes
(0008624)
taylor   
2007-11-08 21:27   
Hmm, it appears to be a memory overwrite from somewhere that is screwing up the hotkey line types. I'll take a look and see if I can't figure out where the problem is coming from.
(0008625)
taylor   
2007-11-09 01:43   
Yep, an array for the UI code will start to overwrite the hotkey line array after a certain number of elements. It looks like [V] chose that number based on a guess of how many elements would be visible on the screen at a single time. The number of elements for the UI array is 42, but at a resolution of 1024x768 or above, you can get up to 45 elements in use.

So, another bug we can blame on Volition. ;)

I'll bump the limit up to 50, which is more than enough, since needing any more than that would actually require someone to rewrite that interface code. I'll also add in a couple of Assert()'s to catch this in the future, just in case someone does change the code to require more lines.
(0008626)
taylor   
2007-11-09 01:58   
Fixered.

Issue History
2007-11-08 16:10ARSPRNew Issue
2007-11-08 16:10ARSPRFile Added: AllTerranShips.fs2
2007-11-08 21:27taylorNote Added: 0008624
2007-11-08 21:27taylorStatusnew => assigned
2007-11-08 21:27taylorAssigned To => taylor
2007-11-09 01:43taylorNote Added: 0008625
2007-11-09 01:58taylorStatusassigned => resolved
2007-11-09 01:58taylorFixed in Version => 3.6.10
2007-11-09 01:58taylorResolutionopen => fixed
2007-11-09 01:58taylorNote Added: 0008626