I need help checking my XML.

Ask here if you experience technical problems with X Rebirth.

Moderator: Moderators for English X Forum

Dreez
Posts: 1167
Joined: Tue, 10. Mar 09, 12:50
x4

I need help checking my XML.

Post by Dreez »

Lately i've found that strange coding appearing in my XML-file, and other things aren't appearing at all. Items bought ingame no registering.
For example, i bought a CV with 100 Construct-drones 30Freightdrones, and max turrets, but in XML, it shows no drones or turrets.

I could post the entire coding here but that will most likely be too much, i could also post the bits and pieces which i find strange.
Of all the things i've lost, i miss my mind the most.
ZonedOut
Posts: 320
Joined: Sun, 15. Dec 13, 16:52
x4

Post by ZonedOut »

If I remember correctly the drones should show up as "ammunition". Search for captains name in the xml, back up a few container levels to the main ship container and find the ammunition. Sorry don't have access to a file at the moment to be more specific.
Dreez
Posts: 1167
Joined: Tue, 10. Mar 09, 12:50
x4

Post by Dreez »

This is part of the coding, and as you can see, there's no </"turrets" or </"Ammunition"

Code: Select all

</connection>
<connection connection="buildcon1">
<component class="ship_xl" macro="units_size_xl_builder_ship_macro" connection="connection_builddummy01" attacker="[0x5b41]" attackmethod="hitbybullet" attacktime="471172" owner="player" knownto="player" id="[0x5794]">
<listeners>
<listener listener="[0x579a]" event="killed"/>
<listener listener="[0x586c]" event="killed"/>
<listener listener="[0x5b41]" event="killed"/>
</listeners>
<events>
<event event="updateengineparameters" time="497867"/>
<event event="updatebuild" time="500016" build="[0x5795]"/>
</events>
<movement forceposition="0" class="navigation">
<position>
<read>
<offset>
<position x="3950.56" y="-165.338" z="22254.5"/>
<rotation yaw="-22.4733"/>
</offset>
<velocity/>
<acceleration/>
</read>
<write>
<offset>
<position x="3950.56" y="-165.338" z="22254.5"/>
<rotation yaw="-22.4733"/>
</offset>
<velocity/>
<acceleration/>
</write>
</position>
<targetpoints/>
<flightcontrolmodel type="spline"/>
<transition/>
</movement>
<offset>
<position x="3950.56" y="-165.338" z="22254.5"/>
<rotation yaw="-22.4733"/>
</offset>
Of all the things i've lost, i miss my mind the most.
Dreez
Posts: 1167
Joined: Tue, 10. Mar 09, 12:50
x4

Post by Dreez »

Continuing code.

Code: Select all

<animations>
<animation part="anim_main_anim">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_a_fr_detail_l">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_a_br">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_b_fr_detail_l">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_c_fr">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_b_br">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_c_br">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_back">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_bottom">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_a_bl">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="anim_top">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_a_fl_detail_l">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_b_fl_detail_l">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_c_fl">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_b_bl">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_msdoc">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_c_bl">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_d_fr">
<part time="496137" sequence="deactivated"/>
</animation>
<animation part="part_d_fl">
<part time="496137" sequence="deactivated"/>
</animation>
</animations>
Of all the things i've lost, i miss my mind the most.
Dreez
Posts: 1167
Joined: Tue, 10. Mar 09, 12:50
x4

Post by Dreez »

Continuing Code. This part show 2 of the NPCs hired onto my CV.

Code: Select all

<hull value="1.3832e+006" time="471172"/>
<connections>
<connection connection="connection_buildmodule01" macro="connection_buildmodule01">
<component class="buildmodule" macro="buildmodule_stations_albion_macro" connection="buildmodule" id="[0x5795]">
<offset>
<position z="68.2133"/>
</offset>
<build start="497016" end="500016" step="1" steps="6" update="1" type="build" state="building">
<resources>
<ware ware="energycells" amount="2028"/>
<ware ware="fusionreactor" amount="170"/>
<ware ware="reinforcedmetalplating" amount="852"/>
<ware ware="shieldgenerator" amount="11"/>
<ware ware="dumbfireturret"/>
<ware ware="machinegunturret" amount="26"/>
<ware ware="plasmaturret" amount="13"/>
</resources>
<components>
<component component="[0x57b1]"/>
</components>
</build>
<connections>
<connection connection="buildanchor" id="[0x5797]">
<connected connection="[0x57bf]"/>
</connection>
</connections>
</component>
</connection>
<connection connection="connection_dock_p01" macro="connection_dock_p01">
<component class="destructible" macro="playerdock_capship01_macro" connection="connection_component01" id="[0x5798]">
<offset>
<position x="46.4917" y="43.1856" z="-195.993"/>
</offset>
<connections>
<connection connection="connection_dockingbay01" macro="connection_dockingbay01">
<component class="dockingbay" macro="dockingbay_player_build_macro" connection="connection02" id="[0x5799]">
<listeners>
<listener listener="[0x5b5b]" event="killed"/>
</listeners>
<connections>
<connection connection="npcconnection">
<component class="npc" macro="character_ar_female_dv_b_macro" connection="commandroomslot" name="Ayaka Stringer" owner="player" page="10103" id="[0x579a]">
<listeners>
<listener listener="[0x5794]" event="killed"/>
</listeners>
<offset>
<position x="10.5742" y="0.0122962" z="4.96188"/>
<rotation yaw="90"/>
</offset>
<skills visible="1">
<skill type="boarding" value="2"/>
<skill type="combat" value="4"/>
<skill type="engineering" value="1"/>
<skill type="leadership" value="4"/>
<skill type="management" value="2"/>
<skill type="morale" value="4"/>
<skill type="navigation" value="3"/>
</skills>
<entity type="defencecontrol" control="1" customconversation="1"/>
<account id="[0x3d]" amount="51209316"/>
<npcseed bodyparts="159872517" bonescales="3745542053" morphtargetweights="3112193178"/>
<connections/>
</component>
</connection>
<connection connection="npcconnection">
<component class="npc" macro="character_ar_female_dv_b_macro" connection="commandroomslot" name="Rachael Peterson" owner="player" page="10104" id="[0x579b]">
<listeners>
<listener listener="[0x5794]" event="killed"/>
</listeners>
<offset>
<position x="6.3349" y="0.0218307" z="3.24011"/>
<rotation yaw="25.6301"/>
</offset>
Still no Turrets or Ammunition.
Of all the things i've lost, i miss my mind the most.
Dreez
Posts: 1167
Joined: Tue, 10. Mar 09, 12:50
x4

Post by Dreez »

And here is a part which i find really strange:

Code: Select all

<skills visible="1">
<skill type="boarding" value="3"/>
<skill type="combat" value="1"/>
<skill type="engineering" value="4"/>
<skill type="leadership" value="3"/>
<skill type="management" value="3"/>
<skill type="morale" value="3"/>
<skill type="navigation" value="3"/>
<skill type="science" value="3"/>
</skills>
<entity type="engineer" control="1" customconversation="1"/>
<account id="[0x3d]" amount="51209316"/>
<npcseed bodyparts="2897311750" bonescales="3747274676" morphtargetweights="252134276"/>
<connections/>
</component>
</connection>
<connection connection="connection04"/>
</connections>
</component>
</connection>
</connections>
</component>
</connection>
<connection connection="connection_dock_m01"

Code: Select all

<connections/>
</component>
</connection>
<connection connection="connection04"/>
</connections>
</component>
</connection>
</connections>
</component>
</connection>
Repeats itself several times during the XML, and i don't know if that's working as intended.. doesn't look like it.
Of all the things i've lost, i miss my mind the most.

Return to “X Rebirth - Technical Support”