Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Oh, unkown crash make me crazy

The general place to discuss MOD''ing Freelancer!

Post Sun Oct 28, 2007 5:30 pm

Oh, unkown crash make me crazy

Hello, anybody, im back and looking for some help. i have try try etc etc, but i cant found a way to solve it.

Sometimes when i encounters npc and they fighting (with player or other npcs), the server will crash. but if NPC not in fight, the server will works fine.

here is a popzone, when i enter the zone will encounters npc and server will crash.
<pre><font size=1 face=Courier>
[Zone
nickname = Zone_DEFWP02_pop_ambient_01
pos = -788, 0, 5917
rotate = 0, 0, 0
shape = SPHERE
size = 88362
comment = Ambient Pop
sort = 17
toughness = 19
density = 9
repop_time = 10
max_battle_size = 6
pop_type = Background
relief_time = 35
population_additive = false
faction_weight = fc_shadow_grp, 1
faction_weight = fc_lost_grp, 1
faction_weight = fc_pu_grp, 1
faction_weight = fc_ui_grp, 1
faction_weight = gd_bh_grp, 1
faction_weight = fc_x_grp, 1
encounter = area_scout, 19, 0.500000
faction = fc_shadow_grp, 0.100000
faction = fc_lost_grp, 0.100000
faction = fc_pu_grp, 0.200000
encounter = area_assault, 19, 0.100000
faction = fc_ui_grp, 0.500000
faction = fc_pu_grp, 0.400000
faction = fc_x_grp, 0.100000
encounter = area_bh_scout, 19, 0.400000
faction = gd_bh_grp, 1.000000
</font></pre>

in this pop, new faction use new ship like this:
<pre><font size=1 face=Courier>
[NPCShipArch
nickname = fc_lost_de_npc_ravenclaw_figter_d1-19
loadout = de_npc_ravenclaw_figter_loadout01
level = d18
ship_archetype = de_npc_ravenclaw_figter
pilot = pilot_pirate_ace
state_graph = FIGHTER
npc_class = unlawful, class_fighter, d1 ,d2 ,d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18, d19
</font></pre>

here is the faction setting:
<pre><font size=1 face=Courier>
[FactionProps
affiliation = fc_lost_grp
legality = unlawful
nickname_plurality = singular
msg_id_prefix = ignore
jump_preference = any
npc_ship = fc_lost_de_npc_ravenclaw_figter_d1-19
voice = pilot_f_ill_m01
voice = pilot_f_ill_m02
voice = pilot_f_leg_f01
voice = pilot_f_leg_f01a
mc_costume = mc_fc
space_costume = br_bartender_head, br_male_guard_body, comm_br_brighton
space_costume = br_quigly_head, br_male_guard_body, comm_br_kaitlyn
space_costume = br_sales_head_hat, br_male_guard_body, comm_br_brighton
space_costume = ge_male4_head, br_male_guard_body, comm_br_kaitlyn
space_costume = ge_male1_head, br_male_guard_body, comm_br_brighton
space_costume = sc_scientist1_head_hat, br_male_guard_body, comm_br_kaitlyn
space_costume = br_newscaster_head_gen_hat, br_female_guard_body, comm_br_brighton_female
space_costume = br_newscaster_head_gen_hat, br_female_guard_body, comm_br_kaitlyn_female
space_costume = rh_newscaster_head_gen_hat, br_female_guard_body, comm_br_brighton_female
space_costume = rh_newscaster_head_gen_hat, br_female_guard_body, comm_br_kaitlyn_female
space_costume = pl_female2_head, br_female_guard_body, comm_br_brighton_female
space_costume = pl_female2_head, br_female_guard_body, comm_br_kaitlyn_female
firstname_male = 226608, 226741
firstname_female = 228208, 228407
lastname = 227008, 227307
rank_desig = 197128, 197129, 197130, 10, 15
formation_desig = 197808, 197820
large_ship_desig = 196983
large_ship_names = 202908, 202947
scan_for_cargo = commodity_alien_artifacts, 2
scan_for_cargo = commodity_cardamine, 2
scan_announce = false
scan_chance = 1.000000
formation = fighters, fighter_pirate
</font></pre>

in mShipProps.ini
<pre><font size=1 face=Courier>
[mShipProps
archetype_id = de_npc_ravenclaw_figter
prop = can_use_berths
</font></pre>

i have no change pilots_population.ini and pilots_story.ini.

When server crash (Server Console are all green), i open FLSpew.txt and found lot of
<pre><font size=1 face=Courier>
E:\FL\Scratch\Source\Client\cmn\MiscUtil.cpp(396) : *** WARNING: Failed to load ids: 65337752
E:\FL\Scratch\Source\Client\cmn\MiscUtil.cpp(396) : *** WARNING: Failed to load ids: 2532875145
E:\FL\Scratch\Source\Common\Archetype.cpp(60) : *** ERROR: ArchDB::Get(2478328330) failed
E:\FL\Scratch\Source\Common\CELauncher.cpp(407) : *** WARNING: CELauncher:rawAmmoFromCargo(1). Ammo pack not found!
</font></pre>

about MiscUtil.cpp(396), i can not found 65337752 and 2532875145 in all my ini file.
about ArchDB::Get(2478328330), CRCTool says NOT FIND
about CELauncher.cpp(407), i recheck loadout all ammo pack looks correct.


Anyone who can give me a way to solve the problem? I really dont known how to continue to solve it now .

Post Sun Oct 28, 2007 5:40 pm

encounter = area_scout, 19, 0.500000
faction = fc_shadow_grp, 0.100000
faction = fc_lost_grp, 0.100000
faction = fc_pu_grp, 0.200000

total = less than 1

2532875145 = commodity_water


msg_id_prefix = ignore (?)

Post Sun Oct 28, 2007 5:55 pm

Thanks for reply

1.total = less than
thats mean i need change set to
<pre><font size=1 face=Courier>
encounter = area_scout, 19, 0.500000
faction = fc_shadow_grp, 0.300000
faction = fc_lost_grp, 0.400000
faction = fc_pu_grp, 0.500000
</font></pre>
and make sure faction1+faction2+faction3+...+factionN >= 1 ? i will try this.

2.2532875145 = commodity_water thanks for found this, i will retry to search others ids.

3.msg_id_prefix = ignore (?)
set to ignore npc will say "This is Beta 4" not "This is *HOLD*", some mod like Discovery use this and its works fine.

Post Sun Oct 28, 2007 11:44 pm

oh no, i change it to
encounter = area_scout, 19, 0.500000
faction = fc_shadow_grp, 0.300000
faction = fc_lost_grp, 0.400000
faction = fc_pu_grp, 0.500000
but nothing changes

Post Mon Oct 29, 2007 1:11 am

@ CV
I can't see anything wrong with the encounter, there's nothing wrong with this part,

encounter = area_scout, 19, 0.500000
faction = fc_shadow_grp, 0.100000
faction = fc_lost_grp, 0.100000
faction = fc_pu_grp, 0.200000

That should work without issues, as none of the parts are higher than 1.0. It doesn't have to equal 1.0 to work.

@nieckey

I see you're using the Ravenclaw, which is where i suspect the problem is. This model has a few issues to start with and if memory serves had problems with its sur file. I'd try changing that first, not sure if i have a fixed version of this model floating around somewhere as i don't use it in my mods.

Also could be a loadout issue with the NPC version of the ship, or a simple typo somewhere, if it only crashes when that ship turns up, its either the model, or something with the npc side of things so check related files.

Member of the HAVEN ADMINS community
http://talonstrike.co.uk/HavenAdmin/index.php

Gizmo Studios - Home to the Galactica mod series
http://gizmostudios.proboards38.com/index.cgi

Edited by - Gibbon on 10/29/2007 1:14:03 AM

Post Mon Oct 29, 2007 2:25 am

Thank you Gibbon, i will give npc 1.0 ships and loadout before test that.

Edited by - nieckey on 10/29/2007 2:26:28 AM

Post Mon Oct 29, 2007 2:43 am

No need to change the encounters, i'd leave those alone and look at the NPC side of things

Member of the HAVEN ADMINS community
http://talonstrike.co.uk/HavenAdmin/index.php

Gizmo Studios - Home to the Galactica mod series
http://gizmostudios.proboards38.com/index.cgi

Post Mon Oct 29, 2007 4:49 am

OK, i change all new NPC SHIP to
<pre><font size=1 face=Courier>
[NPCShipArch
nickname = fc_lost_de_npc_ravenclaw_figter_d1-18
loadout = fc_lr_pi_fighter_loadout01
;;;;;;;loadout = de_npc_ravenclaw_figter_loadout01
level = d18
ship_archetype = pi_fighter
;;;;;;;ship_archetype = de_npc_ravenclaw_figter
pilot = pilot_pirate_ace
state_graph = FIGHTER
npc_class = unlawful, class_fighter, d1 ,d2 ,d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18
</font></pre>

and keep FLServer run 2 hours on my pc, no crash.

Edit -
the error
<pre><font size=1 face=Courier>
E:\FL\Scratch\Source\Client\cmn\MiscUtil.cpp(396) : *** WARNING: Failed to load ids: 65337752
E:\FL\Scratch\Source\Client\cmn\MiscUtil.cpp(396) : *** WARNING: Failed to load ids: 2532875145
E:\FL\Scratch\Source\Common\Archetype.cpp(60) : *** ERROR: ArchDB::Get(2478328330) failed
E:\FL\Scratch\Source\Common\CELauncher.cpp(407) : *** WARNING: CELauncher:rawAmmoFromCargo(1). Ammo pack not found!
</font></pre>
has removed too

i will keep it run 5 hours to make sure there havent other error before fix the newship. big thanks to Gibbon.

Edited by - nieckey on 10/29/2007 4:53:16 AM

Post Mon Oct 29, 2007 11:53 am

server has run 8 hours, and i get 4 times

<pre><font size=1 face=Courier>
E:\FL\Scratch\Source\Common\CELauncher.cpp(407) : *** WARNING: CELauncher:rawAmmoFromCargo(1). Ammo pack not found!
</font></pre>

n times
<pre><font size=1 face=Courier>
E:\FL\Scratch\Source\Client\Space\HUD_Comm.cpp(792) : *** WARNING: invalid MSG id (3045999552) for voice profile (0x8ec8890d)
</font></pre>

and no others warning. about CELauncher.cpp(407), i search the forum and cant found any information. but looks server works fine.

Post Mon Oct 29, 2007 12:16 pm

Ammo pack? You created any new weapons requiring ammo?

Member of the HAVEN ADMINS community
http://talonstrike.co.uk/HavenAdmin/index.php

Gizmo Studios - Home to the Galactica mod series
http://gizmostudios.proboards38.com/index.cgi

Post Mon Oct 29, 2007 12:21 pm

i have add some missile etc, but im not loadout it to NPC.

CELauncher:: DrawAmmoFromCargo(1) i don't known what is *1*, CRCTools not found that. fc_lr_pi_fighter_loadout01 is old loadout i have no change that.

Post Mon Oct 29, 2007 1:12 pm

The error will still come up if its NPC or player, sounds like something is not defined properly, probably the ammo itself. The error will occur everytime you use the weapon so it has to be one of the new things you added.

Member of the HAVEN ADMINS community
http://talonstrike.co.uk/HavenAdmin/index.php

Gizmo Studios - Home to the Galactica mod series
http://gizmostudios.proboards38.com/index.cgi

Post Tue Oct 30, 2007 12:29 am

OK, im back.

you are right Gibbon, when i remove missile form loadout will remove all CELauncher.cpp(407) error.

and when npc use new ship on encounters will show
<pre><font size=1 face=Courier>
E:\FL\Scratch\Source\Common\Archetype.cpp(60) : *** ERROR: ArchDB::Get(2478328330) failed
</font></pre>

ummmmm.....


---Edit

i have fixd Archetype.cpp(60) : *** ERROR: ArchDB::Get(2478328330) failed by re-add all npc ship. now this time to check CELauncher.cpp(407).

Edited by - nieckey on 10/30/2007 1:48:47 AM

Return to Freelancer General Editing Forum