Skip to content

BUG Key with many sub-Keys triggers an error and the program closes #20

Description

@cristian-dan-f

This can't be signed, triggers an error and the program closes.
My guess is because <Key name="FootmanA"> has no Value inside. It is a Key with many sub-Keys, but no Value.

<?xml version="1.0" encoding="utf-8"?>
<Bank version="1">
    <Section name="Hero">
        <Key name="FootmanA">
            <XPName0 string="AHer"/>
            <ItemCount int="2"/>
            <Type string="Hpal"/>
            <Shields fixed="0"/>
            <XP fixed="18396.0175"/>
            <LearnAbil3 string="War3_LearnHero,3,2"/>
            <LearnAbilCount int="4"/>
            <LearnAbil2 string="War3_LearnHero,2,9"/>
            <Item1 string="ckng,1,64"/>
            <Life fixed="250.9362"/>
            <XPValue0 fixed="18396.0175"/>
            <LearnAbil0 string="War3_LearnHero,0,1"/>
            <Energy fixed="150"/>
            <LearnAbil1 string="War3_LearnHero,1,6"/>
            <Item0 string="ckng,0,64"/>
            <XPCount int="1"/>
        </Key>
    </Section>
    <Section name="Evolutions">
        <Key name="FootmanEvo">
            <Value int="7"/>
        </Key>
    </Section>
    <Section name="Statistics">
        <Key name="HighestWave">
            <Value int="154"/>
        </Key>
        <Key name="FootmanXP">
            <Value fixed="18396.0175"/>
        </Key>
        <Key name="TotalKills">
            <Value int="671"/>
        </Key>
    </Section>
    <Signature value="imposible_to_sign"/>
</Bank>

Can you fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions