Source Code Project Mantis - FSSCP
View Issue Details
0003126FSSCPtablespublic2014-10-18 18:382014-10-24 16:20
Assigned ToMageKing17 
PlatformOSOS Version
Product Version 
Target Version3.7.2Fixed in Version 
Summary0003126: FreeSpace can't load more than 32 of a modular table type
DescriptionI had a modular scripting table that suddenly stopped working without any warning. On looking in the debug log, the table wasn't being loaded, despite being in the root data/tables.

Counting the number of loaded tables, there was 32 entries. I added one more modular scripting table to the bunch and re-ran debug. There were still 32 entries!

I brought it up in #scp and Mageking seems to have found the limitation and has a patch to fix it. The test build does appear to fix the problem.
TagsNo tags attached.
Attached Filespatch tbm_fix.patch (3,393) 2014-10-18 18:39

2014-10-18 18:39   
Basically, we had a hardcoded limitation for no immediately apparent reason. There was existing code to do the same thing with a vector, so I tried it, and apparently it worked. Patch attached.
2014-10-24 03:03   
looks good to me; I'll commit... soon (tm)
2014-10-24 16:20   
Fix committed to trunk@11156.

Issue History
2014-10-18 18:38AxemNew Issue
2014-10-18 18:39MageKing17File Added: tbm_fix.patch
2014-10-18 18:39MageKing17Note Added: 0016342
2014-10-18 18:39MageKing17Assigned To => MageKing17
2014-10-18 18:39MageKing17Statusnew => code review
2014-10-22 22:53MageKing17Target Version => 3.7.2
2014-10-24 03:03niffiwanNote Added: 0016347
2014-10-24 16:20niffiwanChangeset attached => fs2open trunk r11156
2014-10-24 16:20niffiwanNote Added: 0016349
2014-10-24 16:20niffiwanStatuscode review => resolved
2014-10-24 16:20niffiwanResolutionopen => fixed