View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001448 | FSSCP | tables | public | 2007-07-28 11:36 | 2009-11-13 08:34 |
Reporter | Tolwyn | Assigned To | portej05 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 3.6.11 | ||||
Summary | 0001448: messages.tbl limit | ||||
Description | I thought that messages.tbl parsing had been made dynamic a couple of years back. Apparently there is still some sort of a limit. Right now I have about 25 (?) personas in the table, adding another one will result in FRED crashing on startup without any error messages. This applies for both debug and retail version. Now, it has nothing to do with the number of personas per se, but rather with the number of messages in the table. It starts crashing after adding 11th (?) message. | ||||
Tags | No tags attached. | ||||
|
could you attach your table so we can test with it? |
2007-08-02 15:42
|
|
|
I believe this one was causing problems... |
|
does this affect only FRED, or does it also affect FS2? |
|
FRED crashes, game will start. However, it has been reported, that the game will crash at random. |
|
MAX_MISSION_MESSAGES (aka the canned messages played by wingmen) is set at 500. |
|
Hmm... this would explain it, because, most likely, we are hitting 500 limit with our current tbl. |
|
yea, you're at 516 now. and after looking at the code more, MAX_MISSION_MESSAGES is actually the limit of the number of canned messages + the number of "custom" messages created in the mission events editor in fred. |
|
I kinda suspected that. Is there a way around this? |
|
well the MAX_MESSAGES macro is used in more than one place, so it'll be hard to dynamicize everything. |
|
but if it is just a "number", then, from what little I know of C, couldn't it be just increased to a higher value? Or introduce a different macro for messages.tbl? |
|
I can take a look at this. |
|
thanks, Goober. |
|
This is labelled as "minor". :p |
|
-This is a Saga showstopper- |
|
I need to talk to portej05, but this is on the must-include list for 3.6.11. |
|
This has been solved thanks to portej05's SCP_allocator. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-07-28 11:36 | Tolwyn | New Issue | |
2007-08-02 04:23 | phreak | Note Added: 0008322 | |
2007-08-02 15:42 | Tolwyn | File Added: messages.tbl | |
2007-08-02 15:42 | Tolwyn | Note Added: 0008327 | |
2007-08-03 01:38 | phreak | Note Added: 0008328 | |
2007-08-03 10:35 | Tolwyn | Note Added: 0008332 | |
2007-08-05 03:08 | phreak | Note Added: 0008341 | |
2007-08-05 22:47 | Tolwyn | Note Added: 0008343 | |
2007-08-05 23:45 | phreak | Note Added: 0008344 | |
2007-08-06 00:52 | Tolwyn | Note Added: 0008345 | |
2007-08-07 02:00 | phreak | Note Added: 0008346 | |
2007-08-07 10:18 | Tolwyn | Note Added: 0008351 | |
2007-08-07 17:16 | Goober5000 | Status | new => assigned |
2007-08-07 17:16 | Goober5000 | Assigned To | => Goober5000 |
2007-08-07 17:16 | Goober5000 | Note Added: 0008354 | |
2007-08-07 17:44 | Tolwyn | Note Added: 0008356 | |
2009-03-16 18:25 | Goober5000 | Note Added: 0010743 | |
2009-06-26 17:01 | KeldorKatarn | Note Added: 0010997 | |
2009-06-26 17:47 | Goober5000 | Note Added: 0011006 | |
2009-11-13 08:34 | Goober5000 | Note Added: 0011261 | |
2009-11-13 08:34 | Goober5000 | Assigned To | Goober5000 => portej05 |
2009-11-13 08:34 | Goober5000 | Status | assigned => resolved |
2009-11-13 08:34 | Goober5000 | Resolution | open => fixed |
2009-11-13 08:34 | Goober5000 | Fixed in Version | => 3.6.11 |