You must be logged in to post messages.
Please login or register

Modding Discussions
Moderated by Alexastor, MosheLevi, Mister SCP

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Intilization Failed message... ???
posted 06-21-07 02:11 PM EDT (US)   
I just modified my game, I start and it just quits, leaving this message:



does anyone know how to fix it?

thanks in advantage

ḼĮЙЦḈԊДĐ₦ḜẔŽДЯ
Modding for: Knights and Barbarians


EMPIRES RISE AND FALL BUT HEROES LIVE FOREVER

[This message has been edited by LinuchadnezzaR (edited 05-09-2008 @ 07:04 AM).]

Replies:
posted 06-21-07 02:27 PM EDT (US)     1 / 18  
That happens when you did something wrong when modding.

Example:<Tech name ='HCAdvancedArsenal' type ='Normal'>
<DBID>1957</DBID>
<DisplayNameID>34690</DisplayNameID>
<Cost resourcetype ='Ships'>1.0000</Cost>
<ResearchPoints>40.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>ui\techs\hc_advanced_arsenal\hc_advanced_arsenal</Icon>
<RolloverTextID>34689</RolloverTextID>
<Flag>HomeCity</Flag>
<Effects>
<Effect type ='TechStatus' status ='obtainable'>ProfessionalGunners</Effect>
<Effect type ='TechStatus' status ='obtainable'>Trunion</Effect>
<Effect type ='TechStatus' status ='obtainable'>Pillage</Effect>
<Effect type ='TechStatus' status ='obtainable'>MilitaryDrummers</Effect>
<Effect type ='TechStatus' status ='obtainable'>Flintlock</Effect>
<Effect type ='TechStatus' status ='obtainable'>PaperCartridge</Effect>
<Effect type ='Data' amount ='-1.00' subtype ='AllowedAge' relativity ='Absolute'>
<Target type ='ProtoUnit'>Arsenal</Target></Effect>
<Effect type ='TextOutput'>37236</Effect>
</Effects>
</Tech>
The game will crash - and show that message - if you...

  • 40.0000</ResearchPoints>
    ...forget to close a tag.

  • <Effect type ='TechStatus' status ='obtainable'>PaperCartridge
    ...forget to write this little symbol I don't know the name

  • </Effects></Effects>

    ...Write two times the "effects" tag - common when copying and pasting.

    Lord Tahattus - Register yourselves at the WotTA forum!
    WOTTA WEBSITE!
    War of the Triple Alliance Beta!
    Flags for new Civilizations, The Asian Dynasties, Knights and Barbarians and Napoleonic Era
    TWC Tutorials: Basics of Modding - The List of Modding No-nos - Adding a Nation - Music and Sounds - Initilization Failed

    WotTA back to active!
  • posted 06-22-07 00:41 AM EDT (US)     2 / 18  
    thanks! I'm going to re-check the Protox, stringtable and techtree.

    PS will i have to check it by hand, or does someone know how to let it check by the computer?

    ḼĮЙЦḈԊДĐ₦ḜẔŽДЯ
    Modding for: Knights and Barbarians


    EMPIRES RISE AND FALL BUT HEROES LIVE FOREVER
    posted 06-22-07 06:06 AM EDT (US)     3 / 18  
    Considering only what you edited...

    "cut" (ctrl+x) one third of what you changed, and test. If worked, the bug was in the part you removed. If not, paste it back and remove another third.

    Lord Tahattus - Register yourselves at the WotTA forum!
    WOTTA WEBSITE!
    War of the Triple Alliance Beta!
    Flags for new Civilizations, The Asian Dynasties, Knights and Barbarians and Napoleonic Era
    TWC Tutorials: Basics of Modding - The List of Modding No-nos - Adding a Nation - Music and Sounds - Initilization Failed

    WotTA back to active!
    posted 06-22-07 07:41 AM EDT (US)     4 / 18  
    You know Tahattus, we actually work on exactly the same manner.

    || argalius.elpea.net
    || Cherub at AoE3H
    || In honor of FlipBizcut
    || Mod: The Age of Crusades
    posted 06-22-07 08:03 AM EDT (US)     5 / 18  
    brilliant! only one more question?
    if there's the following:

    [protoaction]
    [name]DefendRangedAttack[/name]
    [damage]17.000000[/damage]
    [damagetype]Ranged[/damagetype]
    [minrange]2.000000[/minrange]
    [maxrange]20.000000[/maxrange]
    [rof]3.000000[/rof]
    [damagebonus type="AbstractHeavyInfantry"]2.500000[/damagebonus]
    [damagebonus type="AbstractLightCavalry"]1.200000[/damagebonus]
    [damagebonus type="xpEagleKnight"]1.100000[/damagebonus]
    [/protoaction]
    oh i replaced the arrow operators for ['s in this post 'cause their not visible (BBcode)

    is it possible to cut-and-save-to-test the whole protoaction?

    ḼĮЙЦḈԊДĐ₦ḜẔŽДЯ
    Modding for: Knights and Barbarians


    EMPIRES RISE AND FALL BUT HEROES LIVE FOREVER

    [This message has been edited by Linuchadnezzar (edited 06-22-2007 @ 09:47 AM).]

    posted 06-22-07 10:44 AM EDT (US)     6 / 18  
    Hum, copy-and-paste won't work there. You need to test something different:

    Let's say the problem is somewhere in this text, it's an example:<ProtoAction>
    <Name>DefendRangedAttack</Name>
    <DamageBonus type ='AbstractVillager'>0.500000</DamageBonus>
    <Damage>22.000000</Damage>
    <DamageType>Ranged</DamageType>
    <MaxRange>12.000000</MaxRange>
    <ROF>3.000000</ROF>
    <DamageBonus type ='AbstractHeavyCavalry'>3.000000</DamageBonus>
    <DamageBonus type ='AbstractArtillery>2.000000</DamageBonus>
    <DamageBonus type ='xpCoyoteMan'>2.750000</DamageBonus>
    </ProtoAction>
    Replace half of the code with a pure, untouched one. The blue code is untouched, it's an original text. The black text is from the unit you modded:

    <ProtoAction>
    <Name>DefendRangedAttack</Name>
    <DamageBonus type ='AbstractVillager'>0.500000</DamageBonus>
    <Damage>22.000000</Damage>
    <DamageType>Ranged</DamageType>
    <MaxRange>12.000000</MaxRange>
    <ROF>3.000000</ROF>
    <DamageBonus type ='AbstractHeavyCavalry'>3.000000</DamageBonus>
    <DamageBonus type ='AbstractArtillery>2.000000</DamageBonus>
    <DamageBonus type ='xpCoyoteMan'>2.750000</DamageBonus>
    </ProtoAction>

    And it DIDN'T work. So, the problem is in the bottom half.

    <ProtoAction>
    <Name>DefendRangedAttack</Name>
    <DamageBonus type ='AbstractVillager'>0.500000</DamageBonus>
    <Damage>22.000000</Damage>
    <DamageType>Ranged</DamageType>
    <MaxRange>12.000000</MaxRange>
    <ROF>3.000000</ROF>
    <DamageBonus type ='AbstractHeavyCavalry'>3.000000</DamageBonus>
    <DamageBonus type ='AbstractArtillery'>2.000000</DamageBonus>
    <DamageBonus type ='xpCoyoteMan'>2.750000</DamageBonus>
    </ProtoAction>

    And it WORKED! So, the problem is in the bottom half. Let's take a look, carefully:

    <ProtoAction>
    <Name>DefendRangedAttack</Name>
    <DamageBonus type ='AbstractVillager'>0.500000</DamageBonus>
    <Damage>22.000000</Damage>
    <DamageType>Ranged</DamageType>
    <MaxRange>12.000000</MaxRange>
    <ROF>3.000000</ROF>
    <DamageBonus type ='AbstractHeavyCavalry'>3.000000</DamageBonus>
    <DamageBonus type ='AbstractArtillery'>2.000000</DamageBonus> <----- GOTCHA!
    <DamageBonus type ='xpCoyoteMan'>2.750000</DamageBonus>
    </ProtoAction>

    See? Not that painful, takes some time, but it's not hard to find the problem.

    Lord Tahattus - Register yourselves at the WotTA forum!
    WOTTA WEBSITE!
    War of the Triple Alliance Beta!
    Flags for new Civilizations, The Asian Dynasties, Knights and Barbarians and Napoleonic Era
    TWC Tutorials: Basics of Modding - The List of Modding No-nos - Adding a Nation - Music and Sounds - Initilization Failed

    WotTA back to active!

    [This message has been edited by Lord Tahattus (edited 06-22-2007 @ 08:48 PM).]

    posted 06-22-07 05:47 PM EDT (US)     7 / 18  
    thnx a lot everyone! it worked and i'm able to play the game again!

    BTW: the results:

    [JPEG, (349.80 KB)]
    [JPEG, (350.34 KB)]

    ḼĮЙЦḈԊДĐ₦ḜẔŽДЯ
    Modding for: Knights and Barbarians


    EMPIRES RISE AND FALL BUT HEROES LIVE FOREVER

    [This message has been edited by LinuchadnezzaR (edited 05-09-2008 @ 07:03 AM).]

    posted 06-22-07 08:49 PM EDT (US)     8 / 18  
    Good! Your new avatars are quite good for a starter, keep working. Is it a new nation?

    Lord Tahattus - Register yourselves at the WotTA forum!
    WOTTA WEBSITE!
    War of the Triple Alliance Beta!
    Flags for new Civilizations, The Asian Dynasties, Knights and Barbarians and Napoleonic Era
    TWC Tutorials: Basics of Modding - The List of Modding No-nos - Adding a Nation - Music and Sounds - Initilization Failed

    WotTA back to active!
    posted 06-23-07 01:58 AM EDT (US)     9 / 18  
    oh well, thanks! it is (as you may have seen) just a small expansion to the dutch. But I'm working on extra/more unique units for all civs.
    and oh some info on the 'geus' and the 'schutter'. the schutter's gonna replace the skirm for the dutch, and he costs way more food and wood, but little gold. he can train pikemen and halbs.
    schutters were civilians who took up arms when there weren't enough soldiers in a dutch city.
    the geus is gonna replace the colonial militia when you revolt. they were rebels, who fought against the spanish in the 16th century. they were named after the french name for beggars: des gueux.

    well, a lot of info, but i have no idea how to add a history for a unit. do you/does anyone know/can tell me how to?

    linus

    ḼĮЙЦḈԊДĐ₦ḜẔŽДЯ
    Modding for: Knights and Barbarians


    EMPIRES RISE AND FALL BUT HEROES LIVE FOREVER
    posted 06-23-07 04:42 AM EDT (US)     10 / 18  
    I fear that won't be simple. You'll have to get deep into the game's ui-files, I suppose. At least, if it's possible at all...


    peugeot407

    (En nog één uit Nederland!)

    |> Robert Faber (aka peugeot407)
    |> Humble Creator of: Knights and Barbarians, Danish Civ Mod, Several Tutorials and the Tutorial Database
    |> November 2007 Modding Contest: 2nd place (me: 360 pts, Captain_Soanso: 365 pts!)
    |> January 2008 Modding Contest: first place!

    When in doubt, flat out! (Colin McRae)
    posted 06-23-07 06:57 AM EDT (US)     11 / 18  
    (Inderdaad, nog één uit Nederland, en ook de jongste uit Nederland, misschien wel van het hele forum)

    and to edit/add a info/history, i found out the unithelpstrings.xml and the unithelpstringsx.xml are only some of the files one should use, 'cause i edited them, and nothing changed.
    But I'm almost sure there has to be some .xml.xmb file anywhere in the data.bar/ data2.bar that concerns the unit info/history.

    ḼĮЙЦḈԊДĐ₦ḜẔŽДЯ
    Modding for: Knights and Barbarians


    EMPIRES RISE AND FALL BUT HEROES LIVE FOREVER
    posted 06-23-07 09:48 AM EDT (US)     12 / 18  
    And also in art\ui. I'm just sure about that.


    peugeot407

    PS: Ik ben 16. Ben je dan nog steeds de jongste?

    |> Robert Faber (aka peugeot407)
    |> Humble Creator of: Knights and Barbarians, Danish Civ Mod, Several Tutorials and the Tutorial Database
    |> November 2007 Modding Contest: 2nd place (me: 360 pts, Captain_Soanso: 365 pts!)
    |> January 2008 Modding Contest: first place!

    When in doubt, flat out! (Colin McRae)
    posted 06-23-07 10:00 AM EDT (US)     13 / 18  
    hmmm, could be, though i couldn't find anything there but yeah sometimes i can't even find the art folder in programfiles\msgames\aoe3

    [NL]Ps: zeker, ik ben namelijk 13 muahahahaha[/NL]

    ḼĮЙЦḈԊДĐ₦ḜẔŽДЯ
    Modding for: Knights and Barbarians


    EMPIRES RISE AND FALL BUT HEROES LIVE FOREVER

    [This message has been edited by Linuchadnezzar (edited 07-07-2007 @ 03:29 AM).]

    posted 07-06-07 11:48 AM EDT (US)     14 / 18  
    Tahattus you put this thread in your sig like it's your tutorial. Why?

    ḼĮЙЦḈԊДĐ₦ḜẔŽДЯ
    Modding for: Knights and Barbarians


    EMPIRES RISE AND FALL BUT HEROES LIVE FOREVER
    posted 07-06-07 12:13 PM EDT (US)     15 / 18  
    I think it's because I tought him how to fix this issue. Duh?

    Lord Tahattus - Register yourselves at the WotTA forum!
    WOTTA WEBSITE!
    War of the Triple Alliance Beta!
    Flags for new Civilizations, The Asian Dynasties, Knights and Barbarians and Napoleonic Era
    TWC Tutorials: Basics of Modding - The List of Modding No-nos - Adding a Nation - Music and Sounds - Initilization Failed

    WotTA back to active!
    posted 07-06-07 12:47 PM EDT (US)     16 / 18  
    peugeot407 and Linuchadnezzar, quit doing that; you know you shouldn't be talking any language but English

    ESO - Walker

    >> Napoleonic Era --> Visit their Homepage!
    "Holy *****" > Thunder (Ensemble Studios)

    Retired from AoE3. But I do play AoK HD in Steam now and then.
    posted 07-06-07 02:32 PM EDT (US)     17 / 18  
    Walker... please check the dates above the posts...
    almost two weeks ago...I've stopped already.

    ḼĮЙЦḈԊДĐ₦ḜẔŽДЯ
    Modding for: Knights and Barbarians


    EMPIRES RISE AND FALL BUT HEROES LIVE FOREVER
    posted 07-06-07 05:13 PM EDT (US)     18 / 18  
    Just a Plowned?

    Lord Tahattus - Register yourselves at the WotTA forum!
    WOTTA WEBSITE!
    War of the Triple Alliance Beta!
    Flags for new Civilizations, The Asian Dynasties, Knights and Barbarians and Napoleonic Era
    TWC Tutorials: Basics of Modding - The List of Modding No-nos - Adding a Nation - Music and Sounds - Initilization Failed

    WotTA back to active!
    Age of Empires III Heaven » Forums » Modding Discussions » Intilization Failed message... ???
    Top
    You must be logged in to post messages.
    Please login or register
    Hop to:    
    Age of Empires III Heaven | HeavenGames