Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: ShadowGorrath on May 02, 2009, 10:36:36 am

Title: Assert: count < max_ints
Post by: ShadowGorrath on May 02, 2009, 10:36:36 am
Crashes like this upon loading the mod while using a debug build, RC2... Can only select to break to debugger and crash, or cancel and crash.

Code: [Select]
Assert: count < max_ints
File: PARSELO.CPP
Line: 2479


Call stack:
------------------------------------------------------------------
    parse_ship_values()    parse_ship()    parse_shiptbl()    parse_modular_table()    ship_init()    game_init()    game_main()    WinMain()    WinMainCRTStartup()    kernel32.dll 7c816d4f()
------------------------------------------------------------------

Any idea what's causing this?
Title: Re: Assert: count < max_ints
Post by: karajorma on May 02, 2009, 10:49:06 am
One of your ships tables or modular tables is corrupt. Basically it's trying to parse a list of values somewhere in a table and due to the corruption has read in the rest of the table until it choked.

From the comments for this section of the code
Quote
For example, (1) () (1 2 3) ( 1 ) are legal integer lists.

So look for a line in the tables that should read like that but instead has something wrong with it.
Title: Re: Assert: count < max_ints
Post by: ShadowGorrath on May 02, 2009, 01:57:35 pm
Thanks. Uhh... Too bad it's gonna take an eternity until I fix this.