View Issue Details

IDProjectCategoryLast Update
0022703AI War 2Bug - OtherDec 12, 2020 2:35 pm
ReporterStarKelp Assigned ToChris_McElligottPark  
Severitymajor 
Status resolvedResolutionfixed 
Product VersionBETA 1.310 A Smarter Warden 
Summary0022703: XML Mod Loader - `Error load bundle item aiwar2goodiebox:`
DescriptionFunky little bug if you attempt to make a copy_from ship from an existing copy_from'd ship via xml mod. It doesn't like it. At all.

CivRipper.CivRipper_ParalysisBolt: has missing, invalid, or default 'EntitySystemCategory' in attribute category HasAttribute: False Node-Text: <system name="ParalysisBolt" display_name="Paralysis Sprayer" damage_per_shot="8000" shots_per_salvo="1" base_paralysis_seconds_per_shot="4" paralysis_to_ships_mass_tx_less_than="6" rate_of_fire="Normal" />
CivRipper.CivRipper_ParalysisBolt: has missing, invalid, or default 'FiringTiming' in attribute firing_timing HasAttribute: False Node-Text: <system name="ParalysisBolt" display_name="Paralysis Sprayer" damage_per_shot="8000" shots_per_salvo="1" base_paralysis_seconds_per_shot="4" paralysis_to_ships_mass_tx_less_than="6" rate_of_fire="Normal" />
TagsNo tags attached.

Activities

Chris_McElligottPark

Jan 25, 2020 12:35 pm

administrator   ~0055765

Did you add those systems onto your new ship that was copy-from'd? It looks like they are missing the category tag, legitimately.

The copy-from chaining definitely works within the main game itself, and there's no difference to loading in a mod from loading something in the main game when it comes to copy-from, so I think this is just a bug in your mod.

StarKelp

Jan 25, 2020 1:44 pm

developer   ~0055768

No changes to systems, all that I've done was the following.

<entity name="CivRipper" display_name="Civilian Ripper" skip_export="true" copy_from="CivRipper"
       tags="CivMobile"
       multiplier_to_all_costs="0.5" multiplier_to_all_healths="0.5"
       damage_multiplier_to_all_weapons="0.5" multiplier_to_all_fleet_caps="2"
       multiplier_to_all_scales="0.5"
>
</entity>

Chris_McElligottPark

Jan 25, 2020 3:29 pm

administrator   ~0055770

That... is definitely some sort of strange bug! Why this would be happening only in mods, I have no idea. Can you send me a full copy of the mod with the error happening?

StarKelp

Jan 25, 2020 5:37 pm

developer   ~0055771

Heres the entire XML half of the mod.
XML Code.zip (6,506 bytes)

StarKelp

Jan 25, 2020 5:40 pm

developer   ~0055772

(Forgot you can't edit previous posts, bah.)
Heres the C# part, source and compiled.
Compiled.zip (48,556 bytes)
src.zip (27,684 bytes)

Chris_McElligottPark

Dec 12, 2020 2:35 pm

administrator   ~0059917

This xml loading stuff all works now, thankfully. Thanks!

Issue History

Date Modified Username Field Change
Jan 24, 2020 7:55 pm StarKelp New Issue
Jan 25, 2020 12:35 pm Chris_McElligottPark Note Added: 0055765
Jan 25, 2020 1:44 pm StarKelp Note Added: 0055768
Jan 25, 2020 3:29 pm Chris_McElligottPark Note Added: 0055770
Jan 25, 2020 5:37 pm StarKelp File Added: XML Code.zip
Jan 25, 2020 5:37 pm StarKelp Note Added: 0055771
Jan 25, 2020 5:40 pm StarKelp File Added: Compiled.zip
Jan 25, 2020 5:40 pm StarKelp File Added: src.zip
Jan 25, 2020 5:40 pm StarKelp Note Added: 0055772
Dec 12, 2020 2:35 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Dec 12, 2020 2:35 pm Chris_McElligottPark Status new => resolved
Dec 12, 2020 2:35 pm Chris_McElligottPark Resolution open => fixed
Dec 12, 2020 2:35 pm Chris_McElligottPark Note Added: 0059917