Author Topic: Assert: count < max_ints  (Read 1332 times)

0 Members and 1 Guest are viewing this topic.

Offline ShadowGorrath

  • Not funny or clever
  • 211
Assert: count < max_ints
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?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Assert: count < max_ints
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.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline ShadowGorrath

  • Not funny or clever
  • 211
Re: Assert: count < max_ints
Thanks. Uhh... Too bad it's gonna take an eternity until I fix this.