I have got a rather odd problem... When ever i try to use ballistic weapons that are included to the parent table files (tbl) and afterburnertrails from tbms i get a rather depressing error report with debug builds, with r-builds i got no errors but the $PBank Capacity: field has no effect at all. Main fs2 folder contains no extra table or modular table files (apart from stars.tbl) and also no table files or modular table files were in any of the vp files (only extra vp file is ls_neb.vp) in the main freespace2 directory (/freespace2/, /freespace2/data/, /freespace2/data/xxx). Mediavps (3.6.8 delta) are run as a mod as per current recommendations. Problem appears if i have in the main table file a ballistic primary enabled ship that has afterburnertrails defined in some of the tbms (originally mv_effects.vp/mv_trails-shp.tbm seemed to cause the problems). I only get errors for those ships that have abtrails defined in tbms.
For example these test table files give me the error:
Ships.tbl,
Weapons.tbl,
oro-shp.tbm. They are extracted directly from root_fs2.vp and i have only added a single ballistic primary to the allowed primaries list of the GTF Ulysses and also created a new ballistic primary weapon to the weapons.tbl. Again without the tbm they run fine and without errors but with the tbm i get the following error when running debug builds and wrong ballistic primary capacity but no errors if running r-build:
Warning: Pbank capacity not specified for ballistic-primary-enabled ship GTF Ulysses.
Defaulting to capacity of 1 per bank.
File:c:\fs2_open\code\ship\ship.cpp
Line: 3229
[This filename points to the location of a file on the computer that built this executable]
Call stack:
------------------------------------------------------------------
fs2_open_d-20060127.exe 007f6598()
fs2_open_d-20060127.exe 00a3529e()
fs2_open_d-20060127.exe 007f6a19()
fs2_open_d-20060127.exe 006d3973()
fs2_open_d-20060127.exe 006e02e9()
fs2_open_d-20060127.exe 006e0619()
fs2_open_d-20060127.exe 00b56477()
kernel32.dll 7c816d4f()
------------------------------------------------------------------
I can toggle this error message from appearing (and crashing the d-build) by renaming or removing the tbm that defines abtrails. After quick test (i begged Axem to try it out) this doenst seem to be a common problem...
Command line: FreeSpace2\fs2_open_d-20060127.exe -spec -glow -jpgtga -mipmap -nomotiondebris -2d_poof -dualscanlines -targetinfo -orbradar -rearm_timer -ballistic_gauge -nobeampierce -ship_choice_3d -3dwarp -warp_flash -snd_preload -fps -window -ambient_factor 75 -fov 0.6
Other info: WinXP Pro /w sp2, amd 2400+, ATI Radeon 9600Pro, run in OGL mode, 640 x 400
EDIT: and this
fs2_open_d-20060127 caused an Integer Divide by Zero in module atioglxx.dll at 001b:691cdfe6.
Exception handler called in Freespace 2 Main Thread.
Error occurred at 1/30/2006 10:00:20.
d:\Games\FreeSpace2\fs2_open_d-20060127.exe
EDIT2: Errorlog text.. it has only something to do with pop up windows (like debug errors) and running the game in OGL mode... That combination causes the crash but the error report and the effects caused by it remains when running the game in DX8 mode.