Mysterious Crash

  • One of my mod is suddenly highly unstable. E.g. it crashes whenever loading a saved game. FL Spit doesnt show anything up that points to the reason of the CTD:


    [05.01.2011 18:17:39]
    WARNING:General:set_gamma_function() called outside of create_buffers/destroy_buffers
    WARNING: Failed to get start location
    WARNING: get_base(Li01_02_Base) failed.
    WARNING: get_base(Ku06_01_Base) failed.
    WARNING: get_base(Ku07_01_Base) failed.
    WARNING: get_base(Ku07_02_Base) failed.
    WARNING: get_base(AR04_07_Base) failed.



    Same thing when I click on New Game in main menu

  • So, now a rundown of how things went:


    FL crashing at new game/loading game
    Deleted savegames
    Started new game and bought custom ship at other base
    Return planetside and buy guns
    Take a job
    CTD at launch.
    Restart Freelancer
    Crash at new game/loading game
    Deleted savegames
    Restart Freelancer
    CTD at new game


    What the heck is going wrong ??

  • from AR01.ini:


    [Object]
    nickname = AR01_06
    pos = 21300, 0, 27400
    ids_info = 65713
    behavior = NOTHING
    pilot = pilot_solar_easy
    dock_with = AR01_06_Base
    base = AR01_06_Base
    reputation = li_n_grp
    rotate = 0, 60, 0
    archetype = l_dreadnought
    ids_name = 458772
    loadout = li_dreadnought
    difficulty_level = 2
    space_costume = rh_wilham_head, li_male_guard_body
    voice = pilot_f_ill_m01b


    from universe.ini:


    [Base]
    nickname = AR01_06_Base
    system = AR01
    strid_name = 458772
    file = Universe\Systems\AR01\Bases\AR01_06_Base.ini
    BGCS_base_run_by = W02bF33

  • So, I scratched all bases mentioned in flSpit
    WARNING: get_base(Li01_02_Base) failed.
    WARNING: get_base(Ku06_01_Base) failed.
    WARNING: get_base(Ku07_01_Base) failed.
    WARNING: get_base(Ku07_02_Base) failed.
    WARNING: get_base(AR04_07_Base) failed.


    from mbases.ini


    the messages now have disappeared from FLspit.txt but the crash persists -.-

  • Must have something to do with my custom ship. Strange is that I can fly around in space once with it as long and far as I want but on the second launch - bam - CTD


    I'll post the code:


    shiparch.ini:


    [Ship]
    ids_name = 458791
    ids_info = 66567
    ids_info1 = 66568
    ids_info2 = 66608
    ids_info3 = 66569
    ship_class = 1
    nickname = or_interceptor
    msg_id_prefix = gcs_refer_shiparch_Libhf
    mission_property = can_use_berths
    LODranges = 0, 5000
    type = FIGHTER
    DA_archetype = ships\order\horus\horus.cmp
    material_library = ships\order\horus\horus.mat
    material_library = fx\envmapbasic.mat
    envmap_material = envmapbasic
    cockpit = cockpits\liberty\l_elite.ini
    pilot_mesh = generic_pilot
    nanobot_limit = 70
    shield_battery_limit = 70
    mass = 150.000000
    hold_size = 80
    linear_drag = 1.000000
    fuse = intermed_damage_smallship01, 0.000000, 400
    fuse = intermed_damage_smallship02, 0.000000, 200
    fuse = intermed_damage_smallship03, 0.000000, 133
    max_bank_angle = 30
    camera_offset = 8, 34
    camera_angular_acceleration = 0.050000
    camera_horizontal_turn_angle = 17
    camera_vertical_turn_up_angle = 5
    camera_vertical_turn_down_angle = 25
    camera_turn_look_ahead_slerp_amount = 1.000000
    hit_pts = 12500
    explosion_arch = explosion_li_elite
    surface_hit_effects = 0, small_hull_hit_light01, small_hull_hit_light02, small_hull_hit_light03
    surface_hit_effects = 150, small_hull_hit_medium01, small_hull_hit_medium02, small_hull_hit_medium03
    surface_hit_effects = 300, small_hull_hit_heavy01, small_hull_hit_heavy02, small_hull_hit_heavy03
    steering_torque = 50000.000000, 50000.000000, 230000.000000
    angular_drag = 40000.000000, 40000.000000, 141000.000000
    rotation_inertia = 8400.000000, 8400.000000, 8400.000000
    nudge_force = 30000.000000
    strafe_force = 20000
    strafe_power_usage = 2
    bay_door_anim = Sc_open baydoor
    bay_doors_open_snd = cargo_doors_open
    bay_doors_close_snd = cargo_doors_close
    HP_bay_surface = HpBayDoor01
    HP_bay_external = HpBayDoor02
    HP_tractor_source = HpTractor_Source
    num_exhaust_nozzles = 4
    shield_link = l_elite_shield01, HpMount, HpShield01
    ;hp_type = hp_gun_special_3, HpMissile01
    hp_type = hp_gun_special_1, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
    hp_type = hp_elite_shield_special_10, HpShield01
    hp_type = hp_elite_shield_special_9, HpShield01
    hp_type = hp_elite_shield_special_8, HpShield01
    hp_type = hp_elite_shield_special_7, HpShield01
    hp_type = hp_elite_shield_special_6, HpShield01
    hp_type = hp_elite_shield_special_5, HpShield01
    hp_type = hp_elite_shield_special_4, HpShield01
    hp_type = hp_elite_shield_special_3, HpShield01
    hp_type = hp_elite_shield_special_2, HpShield01
    hp_type = hp_elite_shield_special_1, HpShield01
    hp_type = hp_thruster, HpThruster01
    hp_type = hp_mine_dropper, HpMine01
    hp_type = hp_countermeasure_dropper, HpCM01
    hp_type = hp_turret_special_1, HpTurret01
    ;hp_type = hp_torpedo_special_1, HpTorpedo01
    ;hp_type = hp_torpedo_special_2, HpTorpedo01


    goods.ini:


    [Good]
    nickname = oi_hull
    category = shiphull
    ship = or_interceptor
    price = 1000
    ids_name = 873400
    item_icon = Equipment\models\commodities\nn_icons\or_fighter.3db


    [Good]
    nickname = oi_package
    category = ship
    hull = oi_hull
    addon = ge_oe2_engine_01, internal, 1
    addon = ge_s_scanner_01, internal, 1
    addon = ge_s_tractor_01, internal, 1
    addon = order_shield, HpShield01, 1
    addon = LargeWhiteSpecial, HpHeadlight, 1
    addon = SlowSmallYellow, HpRunningLight01, 1
    addon = SlowSmallYellow, HpRunningLight02, 1
    addon = SlowSmallYellow, HpRunningLight03, 1
    addon = SlowSmallYellow, HpRunningLight04, 1
    addon = contrail01, HpContrail01, 1
    addon = contrail01, HpContrail02, 1
    addon = contrail01, HpContrail03, 1
    addon = contrail01, HpContrail04, 1
    addon = DockingLightRedSmall, HpDockLight01, 1

  • Did a scan and fixed some more errors.
    Hardpoints were missing and the [Hull] entry in goods.ini had a totaly wrong ids_name entry plus some other things. Now it works.

  • Sounds like my old friend Griff's luck. My only other thought, is to do one of two things. Rebuild it file by file, giving it a "fine tooth comb-over" as you reconstruct it. Or have someone else test it and see if they're having the same problem.

  • Well if you got time I could give you the mod and have you take a look if you get the same problems.
    Strange though that the same ship files (model, etc..) with the same code in the inis work fine in a different mod ^^

  • email it to me. I'm about to clean up my computer and format the partition on my drive so I can't download it for now. When I get a min. I'll go over it.