Latest topics

» JS-2 gunsight reticle
by geoweb35 Today at 11:18 am

» Game Missions Pack #02 (GMP 2.37)
by lockie Yesterday at 10:11 pm

» Donations for the forum
by Jamrom2 Yesterday at 3:16 pm

» Танк Пантера Д/А/Г/ Panther ausf.D,A,G
by will73 Yesterday at 3:03 pm

» Tanks in the movies
by Jamrom2 Yesterday at 5:04 am

» Campaign "The Nazi power" (Pz.VI "Tiger")
by Lavrinenko Mon Jun 26, 2017 4:05 pm

» Computer Overhaul
by woofiedog Sun Jun 25, 2017 6:44 pm

» Hello, new to Steel Fury/STA... where do I start?
by Tanker Sat Jun 24, 2017 10:49 pm

» We all at sometime or another...
by woofiedog Sat Jun 24, 2017 7:19 pm

June 2017

MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
2627282930  

Calendar Calendar


    CTD in middle of mission

    Share

    Technopiper

    Posts : 144
    Join date : 2015-07-30

    CTD in middle of mission

    Post by Technopiper on Sun Aug 09, 2015 9:19 pm

    Mission:
    Baranovicy Airfield, from Barbarossa Campaign (second mission from the bottom)

    Bug Description:
    Mission would load normally, then crash 5 seconds after you start it (click "Return to Mission" from map) with the message:
    Exception core:
    001: Error initialization program.

    I am using 4GB Patch and my virtual memory is set at 5626.

    Solution:
    If I disabled JulUpd_2015 and FebUpd_2015, the mission runs without a problem. But I notice the message window on the top is blank. If I check it in the map, it shows "???". I also notice that the crash (before I use this solution to fix it) occurred just at the moment the message comes up.

    Could it be a problem with the two Updates? Or is there a language problem with the mission itself?
    avatar
    frinik
    TSF Member-Golden Feather
    TSF Member-Golden Feather

    Posts : 1346
    Join date : 2014-07-27
    Age : 60
    Location : Abu Dhabi-UAE

    Re: CTD in middle of mission

    Post by frinik on Mon Aug 10, 2015 5:53 am

    You may be missing the text file or the required line in the Barbarossa campaign Camp folder. Check it.

    Technopiper

    Posts : 144
    Join date : 2015-07-30

    Re: CTD in middle of mission

    Post by Technopiper on Mon Aug 10, 2015 3:40 pm

    I looked under the two folders:
    Steel Fury\data\k42\loc_rus\levels\LEVELS\cm_bar
    Steel Fury\data\k42\loc_rus\levels\LEVELS\SCRIPTS\cm_bar

    The files are all there.

    I looked under the MOD folder. Barbarossa was introduced in STA 1.0 and modified by FebUpd_2015. I deleted what changes FebUpd_2015 made to that campaign, then apply FebUpd_2015 and JulUpd_2015. The mission runs fine now.

    Whatever crashed the mission must be one of these files:
    FebUpd_2015\data\k42\loc_rus\levels\LEVELS\cm_bar\Rds10.level
    FebUpd_2015\data\k42\loc_rus\levels\LEVELS\SCRIPTS\cm_bar\Rds10_loc_data.text
    FebUpd_2015\data\k42\loc_rus\levels\LEVELS\SCRIPTS\cm_bar\Rds10_scripts.engscr
    FebUpd_2015\data\k42\loc_rus\levels\LEVELS\SCRIPTS\cm_bar\Rds10_zones.engcfg

    Strange, because they are all related to Mission 10, not 9, the mission that crashed. Any idea what went wrong?
    avatar
    frinik
    TSF Member-Golden Feather
    TSF Member-Golden Feather

    Posts : 1346
    Join date : 2014-07-27
    Age : 60
    Location : Abu Dhabi-UAE

    Re: CTD in middle of mission

    Post by frinik on Tue Aug 11, 2015 10:13 am

    Check into the env folder of the mission pack to make sure Rends ' made map for that mission is present.
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3518
    Join date : 2014-07-24
    Age : 50
    Location : Ukraine, Kyiv

    Re: CTD in middle of mission

    Post by lockie on Tue Aug 11, 2015 10:52 am

    Technopiper wrote:I notice the message window on the top is blank. If I check it in the map, it shows "???". I also notice that the crash (before I use this solution to fix it) occurred just at the moment the message comes up.
    Remove "//" before txt_cit_bar()
    ...\data\k42\loc_rus\text\Barbarossa_Orel.text

    Technopiper

    Posts : 144
    Join date : 2015-07-30

    Re: CTD in middle of mission

    Post by Technopiper on Tue Aug 11, 2015 12:14 pm

    lockie wrote:Remove "//" before txt_cit_bar()
    ...\data\k42\loc_rus\text\Barbarossa_Orel.text
    That corrects the "???" during mission load screen. But I was refering to the "???" you see at the right of the map screen. The mission update.

    frinik wrote:Check into the env folder of the mission pack to make sure Rends ' made map for that mission is present.
    I looked and \envs\Rends10Rends10.polypack is where it should be.

    Technopiper

    Posts : 144
    Join date : 2015-07-30

    Re: CTD in middle of mission

    Post by Technopiper on Tue Aug 11, 2015 12:41 pm

    I have isolated the problem to this file: \data\k42\loc_rus\levels\LEVELS\SCRIPTS\cm_bar\Rds10_scripts.engscr
    If I remove it from FebUpd_2015 before enabling FebUpd_2015, the airfield mission runs without problem. I even completed it just to be sure.

    Content of "Rds10_scripts.engscr":
    Script:


    #include "..\ai_defs.engcfg"

    i_divisions:divisions()
    {
    user_human(){ger_player:AAA, wp_gunner, 2;}

    divisions()
    {
    air_plat1, rkka_airst_squad2, plane1, -1, 2, dummy, 1, 1, 0.7, 0.8, 1.0, 0x2, rkka_comp_1, 0.0;
    air_plat2, rkka_airst_squad2, plane3, -1, 2, dummy, 1, 1, 0.9, 1.0, 1.0, 0x1, rkka_comp_1, 0.0;
    air_plat3, rkka_airst_hsquad1, plane2, -1, 2, dummy, 1, 1, 0.8, 1.0, 1.0, 0x1, rkka_comp_7, 0.0;
    sov_flak1, rkka_lgun2, flak1, -1, 2, dummy, 1, 1, 0.8, 1.0, 1.0, 0x7, rkka_comp_1, 0.0;
    sov_flak2, rkka_lgun2, flak1, -1, 2, dummy, 1, 1, 0.7, 0.7, 1.0, 0x7, rkka_comp_1, 0.0;
    sov_flak3, rkka_lgun2, flak1, -1, 2, dummy, 1, 1, 0.9, 0.7, 1.0, 0x7, rkka_comp_1, 0.0;
    sov_flak4, rkka_hgunn1, flak1, -1, 2, dummy, 1, 1, 0.9, 0.9, 1.0, 0x17, rkka_comp_1, 0.9;
    sov_tnk_01, rkka_platoon_ltank1, sov_tank1, -1, 2, dummy, 1, 1, 0.2, 1.0, 1.0, 0x2, rkka_comp_1, 0.0;
    sov_tnk_wave2, rkka_platoon_htank7, rus_2wave, -1, 2, rus_2wave, 1, 1, 0.8, 0.8, 1.0, 0x12, rkka_comp_1, 0.7;
    sov_lkw1, rkka_platoon_4auto, sov_truck0, -1, 2, dummy, 1, 1, 0.7, 1.0, 1.0, 0x1, rkka_comp_1, 0.0;
    sov_inf01, rkka_platoon_minf41, trench, -1, 2, dummy, 1, 1, 0.9, 0.8, 1.0, 0x5, rkka_comp_1, 0.0;
    sov_inf02, rkka_squad_atr, trench, -1, 2, dummy, 1, 1, 0.9, 0.8, 1.0, 0x4, rkka_comp_1, 0.0;
    hangar, wer_hangartnk, hangar_p01, -1, 2, dummy, 1, 1, 0.2, 1.0, 1.0, 0x1, , 0.0;
    ger_player, wer_platoon_mtankcz1, ger_player, -1, 2, ger_playscript, 1, 1, 0.8, 1.0, 1.0, 0x2, wer_comp_6, 0.0;
    ger_motinf, wer_platoon_gren2, ger_motinf, -1, 2, ger_motinf, 1, 1, 0.8, 1.0, 1.0, 0x2, wer_comp_6, 0.0;
    ger_inf, wer_platoon_inf, ger_inf, -1, 2, ger_inf, 1, 1, 0.8, 1.0, 1.0, 0x2, rkka_comp_1, 0.0;
    }
    }

    i_scriptman:scriptman()
    {
    dummy()
    {

    }

    ger_inf()
    {

    wait_time, 60;
    ext, ai_defence, ger_infdef, 15, 150;
    ext, wait_tr, wait_usr;
    ext, ai_move, ger_infziel1, false, -1, 15;
    ext, ai_move, ger_infziel2, false, -1, 15;
    wait_time, 60;
    ext, ai_move, ger_infziel3, false, -1, 15;
    }

    ger_motinf()
    {

    wait_time, 90;
    ext, ai_form, 0;
    ext, ai_setstate, 0, 0x1;
    ext, ai_move, ger_tac01, false, -1, 15;
    ext, ai_exit, false;
    ext, wait_tr, wait_usr;
    ext, ai_move, ger_infziel2, false, -1, 15;
    wait_time, 120;
    ext, ai_move, ger_infziel3, false, -1, 15;
    }

    ger_playscript()
    {

    ext, ai_move, ger_infziel2, false, -1, 15;
    ext, ai_move, ger_infziel3, false, -1, 15;
    }

    rus_2wave()
    {

    wait_time, 210;
    ext, ai_form, 0;
    ext, ai_setstate, 0x1, 0;
    ext, ai_move, win, false, -1, 15;
    }

    }


    i_trigman:trigman()
    {
    cs_artfire()
    {

    }

    cs_main()
    {

    ext, add_misobj, brief, map_airfield, 4, txt_brief_Rds10, txt_rds1_order;
    nop;
    ext, add_misobj, order1, axis_move1, 1, txt_ldm_Rds10_text_01, txt_ldm_Rds10_text_10_sh;
    ext, add_mo, attack, area, 0x60000080, , 6, , 0, map_airfield, -1, true, 0;
    ext, wait_tr, victory;
    ext, change_mo_cols, map_air, 0xc0000080,;
    ext, change_misobj, order1, 3;
    }

    cs_map()
    {

    ext, add_mo, axis_move1, flag_tri1, 0xc0800000, 0x80202020, 1.5, txt_md_rds10_airfield, 0, map_airfield, -1, true, 0;
    ext, add_mo, map0, trench, 0xc0000080, , 1, , 0, map_trench1, -1, true, 0;
    ext, add_mo, map0, trench, 0xc0000080, , 1, , 0, map_trench2, -1, true, 0;
    ext, add_mo, map0, trench, 0xc0000080, , 1, , 0, map_trench3, -1, true, 0;
    ext, add_mo, map0, trench, 0xc0000080, , 1, , 0, map_trench4, -1, true, 0;
    ext, add_mo, map0, trench, 0xc0000080, , 1, , 0, map_trench5, -1, true, 0;
    ext, add_mo, map_air, aero, 0xc0000000, , 2, ,0, map_airfield, -1, true, 0;
    ext, add_mo, map_air, area, 0x60802020, , 6, , 0, map_airfield, -1, true, 0;
    ext, add_mo, map0, bushes, 0xffffffff, , 2, ,0,map_bush01, -1, true, 0;
    ext, add_mo, map0, forest_mix, 0xffffffff, , 2, ,0, map_forest01, -1, true, 0;
    ext, add_mo, map0, forest_mix, 0xffffffff, , 2, ,0, map_forest02, -1, true, 0;
    ext, add_mo, map0, forest_mix, 0xffffffff, , 2, ,0, map_forest03, -1, true, 0;
    ext, set_map, map_usr_start, -1, 1, false;
    nop;
    }

    cs_positions()
    {

    ext, add_trench, 0, ger_infdef, -1, 0, ger_infdef;
    }


    triggers()
    {
    fail, 0x20008;
    fail, 0x20009;
    fail, 0x2000b, fail_bells, 0.000, 0;
    victory, 0xa;
    victory, 0x5, 2, win, 1.500, 3.000;
    victory, 0x2000b, music_anthem, 0.000, 0;
    wait_usr, 0x20001, ger_player, ;
    }
    }

    _vars() {}
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3518
    Join date : 2014-07-24
    Age : 50
    Location : Ukraine, Kyiv

    Re: CTD in middle of mission

    Post by lockie on Tue Aug 11, 2015 6:20 pm

    I've found what have caused CTD.
    It is entry:
    Code:
    wait_usr, 0x20001, ger_player, ;
    Contour was missed. So, now it should work.
    Here's quick fix. Install the last in line.
    Installation:
    1. Steel Sound Mod 1.0 (SSM)
    2. STA 1.0
    3. GMP1.x (optional)
    4. GMP2.x (optional)
    5. GMP3.x (optional)
    6. FebUpd_2015
    7. JulUpd_2015
    8. v01_fix_Jul2015
    9. Any Weather Mod (optional)

    If it works, then it'll be included in the next upd.

    Technopiper

    Posts : 144
    Join date : 2015-07-30

    Re: CTD in middle of mission

    Post by Technopiper on Tue Aug 11, 2015 10:56 pm

    Problem solved, mission runs fine. Even the mission update shows up properly now. Bad news is I didn't complete the mission (tried twice). Good news is I think they are harder now. Will keep trying. Thank you for the hard work!

    Sponsored content

    Re: CTD in middle of mission

    Post by Sponsored content


      Current date/time is Wed Jun 28, 2017 3:06 pm