View Issue Details

IDProjectCategoryView StatusLast Update
0002018FSSCPtablespublic2009-12-08 10:03
ReporterFUBAR-BDHR Assigned ToWanderer  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.6.11 
Summary0002018: $Thruster Bitmap 1: and 1a entries in ships.tbl will not load effects
DescriptionDoing some tests with different thruster effects I started using the ships.tbl overrides for species_defs entries. $Thruster Bitmap 2: and 2a overrides load without error but $Thruster Bitmap 1: and 1a error out every time even if supplied with the same bitmap from species_defs.

     fs2_open_3_6_11d_INF_SSE2.exe!debug_int3(char * file=0x00e0acec, int line=1250) Line 760 C++
     fs2_open_3_6_11d_INF_SSE2.exe!Warning(char * filename=0x00e392b7, int line=6625, const char * format=0x00e3d258, ...) Line 1250 + 0x13 bytes C++
> fs2_open_3_6_11d_INF_SSE2.exe!thruster_glow_anim_load(generic_anim * ga=0x0198ee40) Line 6625 + 0x1d bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!ship_page_in_textures(int ship_index=0) Line 14423 + 0xe bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!model_page_in_textures(int modelnum=601, int ship_info_index=0) Line 4468 + 0x9 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!ship_model_change(int n=12, int ship_type=0) Line 7985 + 0x13 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!change_ship_type(int n=12, int ship_type=0, int by_sexp=0) Line 8112 + 0xd bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!update_player_ship(int si_index=0) Line 2390 + 0x15 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!create_default_player_ship(int use_last_flown=1) Line 2426 + 0x9 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!mission_load(char * filename_ext=0x00f1fbbc) Line 111 + 0x7 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!game_start_mission() Line 1580 + 0xa bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!game_enter_state(int old_state=1, int new_state=2) Line 6476 + 0x5 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!gameseq_set_state(int new_state=2, int override=1) Line 280 + 0x18 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!game_process_event(int current_state=1, int event=2) Line 5554 + 0x9 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!gameseq_process_events() Line 395 + 0x19 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!game_main(char * cmdline=0x0015232f) Line 7446 + 0x5 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!WinMain(HINSTANCE__ * hInst=0x00400000, HINSTANCE__ * hPrev=0x00000000, char * szCmdLine=0x0015232f, int nCmdShow=10) Line 7522 + 0x9 bytes C++
     fs2_open_3_6_11d_INF_SSE2.exe!__tmainCRTStartup() Line 263 + 0x2c bytes C
     fs2_open_3_6_11d_INF_SSE2.exe!WinMainCRTStartup() Line 182 C
     kernel32.dll!7c817077()
     [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]

- ga 0x0198ee40 {filename=0x0198ee40 "Thruster_Col_Main" first_frame=-1 num_frames=0 ...} generic_anim *
+ filename 0x0198ee40 "Thruster_Col_Main" char [32]
        first_frame -1 int
        num_frames 0 int
        keyframe 0 int
        keyoffset 0 int
        current_frame 0 int
        previous_frame -1 int
        direction 0 unsigned char
        done_playing 0 unsigned char
        total_time 0.00000000 float
        anim_time 0.00000000 float
+ ani {animation=0x00000000 instance=0x00000000 bg_type=0 } generic_anim::<unnamed-tag>::<unnamed-type-ani>
        eff {...} generic_anim::<unnamed-tag>::<unnamed-type-eff>
        type 0 unsigned char
        streaming 0 unsigned char
+ buffer 0x00000000 <Bad Ptr> unsigned char *
        height 0 int
        width 0 int
        bitmap_id -1 int
+ ga->filename 0x0198ee40 "Thruster_Col_Main" char [32]
        ga->first_frame -1 int
Additional Information3.6.11 r5635
TagsNo tags attached.

Activities

Wanderer

2009-12-05 16:56

developer   ~0011381

Try loading something other than animation.

Wanderer

2009-12-08 10:03

developer   ~0011385

Added warnings to the function to notify modders not to use .EFF or .ANI effects. Changed loading functions to same ones as used by the species_defs effect loader.

Issue History

Date Modified Username Field Change
2009-11-03 23:20 FUBAR-BDHR New Issue
2009-12-05 16:56 Wanderer Note Added: 0011381
2009-12-08 10:02 Wanderer Status new => assigned
2009-12-08 10:02 Wanderer Assigned To => Wanderer
2009-12-08 10:03 Wanderer Note Added: 0011385
2009-12-08 10:03 Wanderer Status assigned => resolved
2009-12-08 10:03 Wanderer Resolution open => fixed