Adoxa's engclass.dll plugin problem
-
The problem occurs when you dismount and mount an item from your inventory or even from the equipment dealer.
E:\FL\Scratch\Source\Common\Archetype.cpp(60) : *** ERROR: ArchDB::Get(0) failed
The game is fine and I looked the inventory that the engine, power and scanner are mounted properly and I alt+tab to check the FLSpew and there were no errors. But when I go back in-game, then go to inventory to dismount the engine, power and/or scanner, I alt+tab again to check FLSpew, the errors occur.
I followed what is on the readme.txt file by adoxa/Jason.
- I added hp_type for [engine], [power] & [scanner].
- I added attachment_archetype to [good]
- I added material_library to [engine]
- I replaced internals to use available hardpoints
- I added hp_type to [ship]
Additional options:
6) I added all the equipment to be sell & buy able from the goods.ini
7) I added all the equipment to be sold & bought from the market_misc.iniNOTE:
When I removed the engclass.dll from the exe directory and dacom.ini, the problem did not occur. -
[Engine] nickname = escape_pod_engine ids_name = 263670 ids_info = 264670 volume = 0 mass = 10 max_force = 48000 linear_drag = 160 power_usage = 0 reverse_fraction = 0.200000 cruise_charge_time = 5 cruise_power_usage = 20 character_loop_sound = engine_fp7_lifepod character_pitch_range = 10, 65 rumble_sound = rumble_fp7_lifepod rumble_atten_range = -5, 0 rumble_pitch_range = -25, 25 cruise_speed = 500 indestructible = false HP_child = HPConnect hp_type = hp_fighter_engine_special_1 DA_archetype = equipment\models\st\no_thruster.3db outside_cone_attenuation = -3 inside_sound_cone = 60 outside_sound_cone = 180 lootable = false
[Good] nickname = escape_pod_engine equipment = escape_pod_engine category = equipment price = 10000 item_icon = equipment\models\commodities\nn_icons\equipicon_engine.3db combinable = False ids_name = 263670 ids_info = 264670 shop_archetype = equipment\models\hardware\li_fusion_reactor.3db attachment_archetype = equipment\models\hardware\li_fusion_reactor.3db material_library = equipment\models\hardware.mat
Now look if you can find some error. I can’t, because I don’t know what you typed in your files.
-
Here’s mine
[Engine] nickname = custom_engine cruise_speed = 1000 ids_name = 263909 ids_info = 264909 HP_child = HPConnect hp_type = hp_freighter_engine_special_10 DA_archetype = equipment\models\hardware\ge_engine_reheater.3db material_library = equipment\models\hardware.mat volume = 0.000000 mass = 10 max_force = 60000 linear_drag = 599 power_usage = 0 reverse_fraction = 0.400000 flame_effect = gf_rh_smallengine01_fire trail_effect = gf_rh_smallengine01_trail trail_effect_player = gf_rh_smallengine01_playtrail cruise_charge_time = 5 cruise_power_usage = 0 character_start_sound = engine_rh_fighter_start character_loop_sound = ge_s_thruster_01 character_pitch_range = -50, 25 rumble_sound = rumble_cruiser rumble_atten_range = -5, 0 rumble_pitch_range = -25, 25 engine_kill_sound = engine_oe_h_fighter_kill cruise_start_sound = engine_rh_cruise_start cruise_loop_sound = engine_rh_cruise_loop cruise_stop_sound = engine_rh_cruise_stop cruise_disrupt_sound = cruise_disrupt cruise_backfire_sound = cruise_backfire indestructible = false outside_cone_attenuation = -3 inside_sound_cone = 90 outside_sound_cone = 270 lootable = false
[Good] nickname = custom_engine equipment = custom_engine category = equipment price = 200 combinable = false item_icon = equipment\models\commodities\nn_icons\equipicon_engine.3db ids_name = 263909 ids_info = 264909 shop_archetype = equipment\models\hardware\ge_engine_reheater.3db attachment_archetype = equipment\models\hardware\ge_engine_reheater.3db material_library = equipment\models\hardware.mat
-
The problem is your engine_equip:
HP_child = HPConnect DA_archetype = equipment\models\hardware\ge_engine_reheater.3db
ge_engine_reheater.3db has no HPConnect -> nothing can be attached -> the game uses no model -> your error of no model used.
-
No!
*** ERROR: ArchDB::Get(0) failed
Means, it can’t find any model (0 = empty). But the game must have a model there! So you must have DA_archetype and HP_Child there.
For the model you use, HP_Child must be Hp_Mount, since thats the only hardpoint that model has. -
I just followed what you just said. The file have DA_archetype, material_library, & HP_child parameters. I changed ( HP_child = HpConnect ) to ( HP_child = HpMount ) and the errors still persist.
By the way, the error is causing a spam in my FLSpew.txt (i.e.) it makes a lot of ( *** ERROR: ArchDB::Get(0) failed ).
-
Ever tried to put in the model I used in my example?
HP_child = HPConnect
DA_archetype = equipment\models\st\no_thruster.3dbDeleting the engine, Jeider, is no solution. You have to find out what the mistake is, or you will never learn it.
-
Can someone please CHECK if your engclass.dll is also causing the error. ( *** ERROR: ArchDB::Get(0) failed )
-
First, I open the game then I alt+tab to check my FLspew if there are any errors and there is none.
-
I go back to the game to dismount either “engine” or “powerplant” from the inventory and then again I alt+tab to check FLSpew and the error occurs.
WE did everything to make it disappear but still no solution.
-