Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Dragon on March 07, 2009, 01:47:25 pm
-
I was running my own mod on latest nightly (r5083) and after i added one ship and one weapon it started to crash on any mission i want to start.
I have no idea what could cause it ,debug build fed me on various minor TB errors which i fixed and
finally i got this:
Assert: count < max_ints
File: parselo.cpp
Line: 2479
Call stack:
------------------------------------------------------------------
fs2_open_3_6_10d-20090303_r5083.exe 00895aba()
fs2_open_3_6_10d-20090303_r5083.exe 00891220()
fs2_open_3_6_10d-20090303_r5083.exe 00898e96()
fs2_open_3_6_10d-20090303_r5083.exe 0098b341()
fs2_open_3_6_10d-20090303_r5083.exe 00899475()
fs2_open_3_6_10d-20090303_r5083.exe 007334db()
fs2_open_3_6_10d-20090303_r5083.exe 0073feb9()
fs2_open_3_6_10d-20090303_r5083.exe 0074022e()
fs2_open_3_6_10d-20090303_r5083.exe 00c96be6()
fs2_open_3_6_10d-20090303_r5083.exe 00c96a6f()
kernel32.dll 7c817067()
------------------------------------------------------------------
Regular builds just start ,are working on everything else ,but if i start a mission on simulator it loads few bars and just crashes on desktop and wants to send error report.
I don't know what to do even what category it is ,can you help me?
[attachment deleted by admin]
-
Moving this to the modding board, since the problem occurs after modding.
Also, you could also post your fs2_open.log from the \freespace2\data\ folder.
-
OK so there it is.
Attached.
Sorry for posting in the wrong board.
Didn't know where to look so i posted in a board that had "Support" in name.
[attachment deleted by admin]
-
Does your mod work on other builds? Like 3.6.9, or an older 3.6.10 build?
-
The problem is in Terran-shp.tbm.
My guess is that one of the number lists has too many entries. You're basically looking at a problem with entries like $Detail distance: and $PBank Capacity: which are followed by a list of numbers. The problem is that you have too many numbers. If you've said a ship has two primaries and then done this $PBank Capacity: (30 30 30) you might hit this issue as the game has gotten to the third entry and doesn't know what the hell to do with it as it is only supposed to have two entries!
Posting the table should help someone figure out what is wrong with it although with luck I've given you enough of a clue you can track it down yourself. :)
-
Could this error be trapped and not assert out? Perhaps just a warning? It doesn't seem like too many numbers should break anything, if you just use the first ones in the list.
-
OK i tried to search terrans-shp.tbm ,but i think i failed.
Here is the table ,i hope somebody will be able to track the bug.
Assertion message was only that I got ,but I don't really know if the crash is caused by this.
As for models:
FTF Valkyrie: HTL FSPort Angel
FTF Baldur: HTL FSPort Valkyrie
FTF Banshee: HTL Stentor (Valkyrie Mk2) Fsmods. (I think FOWCOTS used it)
FTB Mjollnir: HTL Athena Mk2 (model from ED Demo)
FTCV Loki: Piranha Cutter from Apocalypse III
FTCV Vidar: HTL Fenris
FTCV Bragi: ED Tyr
FTFG Freya: FSMods Ticonderoga
FTD Gungir: HTL Iceni from TOD
FTC Thor: ED Kaukaz
FTCA Odin: InfA Megaeara
FTDN Solaris: ED Project Solaris
Landscape: TBP Landscape
Moon landscape: TBP Moon landscape
Hope that helps.
Apocalypse III is an old project but cutter was available somewhere else.
If somebody will send me a storyline i may try to do something with it ,it's most likely dead as a doorknob. :)
Iceni from TOD because ships are InfA styled and TOD one was retexturable (i also have HTL Saphah if somebody wants to improve his derelict). :)
Fighters are retextured but POF data remained unchanged (though i want to give Baldur and Banshee two secondary banks)
Loki ,Freya ,Gungir and solaris are retextured (In Solaris mainly engines and hangar - they looked crappy with windows everywhere).
[attachment deleted by admin]
-
Crash started after i added Miollnir.
It's strange because Earth Defence ECB Canberra fork just fine.
Electron was weapon i added and was based on ED Danjal.
Hope that helps.