Results 1 to 12 of 12

Thread: CTD on "End Turn" (descr_strat.txt)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default CTD on "End Turn" (descr_strat.txt)

    I have version 1.5 (from the Total War: Eras package). Using plain vanilla files, RTW runs fine.

    I've added names to descr_names and text/names and units to EDU and EDB as appropriate; again, everything runs fine. When I test these mods with the plain-vanilla descr_strat file, no CTDs, no problems. When I change descr_strat to reflect the new names (from descr_names) and new units (in EDU), the game starts fine, but CTD's when hitting "end turn". I have been putting the edits into the Armenia faction (which is unlocked, even in "plain vanilla").

    Every time I change names (changed both in character or character_record as appropriate with changes in the relative section) the game loads normally and allows the first turn. When I hit "end turn," I get an immediate CTD. If I bring back the plain-vanilla descr_strat.txt, everything works fine - including the "end turn." None of the CTDs cause error messages even when using the -show_err switch.

    In attempting to debug this myself, I've found that any modifications to Armenia gives the CTD on end turn - changing initial units created, adding a Captain with units, or switching the unit for the general's guard. No matter what change I make, the plain-vanilla file ALWAYS works, and does not crash on end turn. Only the modified file fails.

    It's not solely the name change that appears to cause the CTD - if I change the "east generals cavalry early" to "roman generals guard cavalry early" and make the appropriate modification to EDU to allow armenia to also use that roman unit, just that change appears to cause CTD on end-turn. Likewise, adding a captain-controlled stack (using character - general) with no other modification appears to cause CTD on end-turn. However, using the Plain-vanilla file, and "Create_unit" from the shell causes no problems.

    Has anyone else run into this, and if so, what's the fix?

  2. #2

    Default Re: CTD on "End Turn" (descr_strat.txt)

    How about smaller changes, like giving one of the starting units an extra point of exp?

    Do you get any errors if you look at the family tree before hitting end turn? Have you added any adult male family members declared as dead?

    Have you tried moving one of the existing family member's armies to the coordinates where you're trying to add a new army?

    Adding character, character_record, and relative entries can be a bit tricky because in some places you must use spaces and in others tabs.

    ps: It's much easier to diagnose problems if there is some code to look at.
    RTR VII Developer

  3. #3

    Default Re: CTD on "End Turn" (descr_strat.txt)

    Quote Originally Posted by HouseOfHam View Post
    How about smaller changes, like giving one of the starting units an extra point of exp?

    Do you get any errors if you look at the family tree before hitting end turn? Have you added any adult male family members declared as dead?

    Have you tried moving one of the existing family member's armies to the coordinates where you're trying to add a new army?

    Adding character, character_record, and relative entries can be a bit tricky because in some places you must use spaces and in others tabs.

    ps: It's much easier to diagnose problems if there is some code to look at.
    Haven't tried moving ancillaries, traits, or experience. I will shortly, however.

    The family tree looks OK when I open it. No CTD solely on that.

    As for the last two...

    Code:
    character	Artaxias, named character, leader, age 60, , x 227, y 87 
    traits GoodCommander 2 , PublicFaith 2 , Intelligent 1 , Bloodthirsty 1 
    ancillaries chief_eunuch
    army
    unit		east generals cavalry early				exp 1 armour 0 weapon_lvl 0
    unit		east heavy cataphract				exp 0 armour 0 weapon_lvl 0
    unit		east horse archer				exp 0 armour 0 weapon_lvl 0
    unit		east horse archer				exp 0 armour 0 weapon_lvl 0
    unit		east peltast				exp 0 armour 0 weapon_lvl 0
    unit		east peltast				exp 0 armour 0 weapon_lvl 0
    
    character	Rusa, named character, heir, age 35, , x 216, y 91 
    traits GoodCommander 1 , PublicFaith 1 , Intelligent 2 
    ancillaries galloper
    army
    unit		east generals cavalry early				exp 1 armour 0 weapon_lvl 0
    unit		east peltast				exp 0 armour 0 weapon_lvl 0
    unit		east peltast				exp 0 armour 0 weapon_lvl 0
    unit		east archer				exp 0 armour 0 weapon_lvl 0
    unit		east horse archer				exp 0 armour 0 weapon_lvl 0
    
    character	Aramu, named character, age 30, , x 220, y 87 
    traits Intelligent 2 , MathematicsSkill 1 , Drink 1 
    ancillaries freeman_clerk, drinking_companion
    army
    unit		east generals cavalry early				exp 1 armour 0 weapon_lvl 0
    unit		east horse archer				exp 0 armour 0 weapon_lvl 0
    unit		east horse archer				exp 0 armour 0 weapon_lvl 0
    unit		east horse archer				exp 0 armour 0 weapon_lvl 0
    
    
    character	Prusias, spy, age 20, , x 221, y 74 
    traits GoodSpy 4 
    ancillaries courtesan
    
    character	Menua, diplomat, age 20, , x 216, y 89 
    traits GoodDiplomat 3 
    
    character	Dov, general, age 20, , x 216, y 86
    army
    unit		east heavy cataphract				exp 0 armour 0 weapon_lvl 0
    unit		east heavy cataphract				exp 0 armour 0 weapon_lvl 0
    unit		judaean zealot infantry				exp 0 armour 0 weapon_lvl 0
    
    
    
    character_record		Zipoetes, 	male, command 0, influence 0, management 0, subterfuge 0, age 14, alive, never_a_leader
    character_record		Aram, 	male, command 0, influence 0, management 0, subterfuge 0, age 10, alive, never_a_leader
    character_record		Eminos, 	male, command 0, influence 0, management 0, subterfuge 0, age 7, alive, never_a_leader
    character_record		Sarduri, 	male, command 0, influence 0, management 0, subterfuge 0, age 2, alive, never_a_leader
    character_record		Erato, 	female, command 0, influence 0, management 0, subterfuge 0, age 51, alive, never_a_leader
    character_record		Karo, 	female, command 0, influence 0, management 0, subterfuge 0, age 34, alive, never_a_leader
    character_record		Pao, 	female, command 0, influence 0, management 0, subterfuge 0, age 26, alive, never_a_leader
    character_record		Arao, 	female, command 0, influence 0, management 0, subterfuge 0, age 11, alive, never_a_leader
    character_record		Hurriya, 	female, command 0, influence 0, management 0, subterfuge 0, age 6, alive, never_a_leader
    
    relative 	Artaxias, 	Erato,		Rusa,	Aramu,	Zipoetes,	end
    relative 	Rusa, 	Karo,		Arao,	Aram,	Sarduri,	end
    relative 	Aramu, 	Pao,		Eminos,	Hurriya,	end

    Everything quoted here is "stock" except Captain Dov's army. The judaean zealot infantry are copies of the rebel judaean zealots. Other than unlocking Armenia, everything else should be stock.

    (I have tested the units as separate entities not listed in descr_strat; the mods to EDU and EDB to make them buildable work. The CTD problem appears to be only when dealing with descr_strat.)


    Here's a thought: I just re-checked text/names.txt, to make sure I was spelling the names right. However, since some of the names I wanted added were already there, I simply added the rest of them at that point in the file. Later in the file are other headers that I didn't think do much of anything other than designer notes. Was that a safe assumption, or should I move the names around in the text/names file? The last three headers are:
    Code:
    ¬****************************************************************************************
    ¬****************************************************************************************
    ¬*
    ¬*			THIS FILE GONE FOR LOCALISATION!!!
    ¬*		ALL CHANGES & ADDITIONS MADE POST THE DATE SPECIFIED 
    ¬*			BELOW MUST GO UNDERNEATH THIS DIVIDER!!!
    ¬*
    ¬*
    ¬***** Changes made after 01/09/2004 09:00:00
    ¬*
    ¬****************************************************************************************
    ¬****************************************************************************************
    
    ¬****************************************************************************************
    ¬****************************************************************************************
    ¬*
    ¬*			THIS FILE GONE FOR LOCALISATION!!!
    ¬*		ALL CHANGES & ADDITIONS MADE POST THE DATE SPECIFIED 
    ¬*			BELOW MUST GO UNDERNEATH THIS DIVIDER!!!
    ¬*
    ¬*
    ¬***** Changes made after 03/09/2004 09:00:00
    ¬*
    ¬****************************************************************************************
    ¬****************************************************************************************
    
    ¬+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ¬*******************************************************************************************************
    ¬*******************************************************************************************************
    ¬*
    ¬*			EXPANSION PACK TEXT BEGINS HERE!!!
    ¬*		ALL TEXT BELOW THIS LINE SHOULD BE EXPANSION ADDITIONS/CHANGES ONLY!!!
    ¬*
    ¬*¬***** Changes made after 05/01/2005 15:18:00
    ¬*
    ¬*******************************************************************************************************
    ¬*******************************************************************************************************
    ¬+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  4. #4

    Default Re: CTD on "End Turn" (descr_strat.txt)

    (Hmm, can't seem to edit my own posts..ah well.)

    Quote Originally Posted by HouseOfHam View Post
    Adding character, character_record, and relative entries can be a bit tricky because in some places you must use spaces and in others tabs.
    This might explain much - but I hadn't yet run across anything that laid out where to put a space, a tab, multiple tabs, etc. What I'd been doing was simply highlighting text I wanted changed, and making that limited change, or cutting and pasting from something that already existed, then making the change.

  5. #5
    Bassist, God and Modder Member Thor the Bassist's Avatar
    Join Date
    Jan 2008
    Location
    Yorkshire, England
    Posts
    213

    Default Re: CTD on "End Turn" (descr_strat.txt)

    Quote Originally Posted by Sir_Lysander View Post
    (Hmm, can't seem to edit my own posts..ah well.)
    For some reason you have to make at least 20 or so posts before you can edit current posts.

    Building for the Future of METW

  6. #6

    Default Re: CTD on "End Turn" (descr_strat.txt)

    Quote Originally Posted by Thor the Bassist View Post
    For some reason you have to make at least 20 or so posts before you can edit current posts.
    At least that is understandable; what is driving me up the wall is why changing "Artaxias" to "Abraham" causes the CTD!

  7. #7

    Default Re: CTD on "End Turn" (descr_strat.txt)

    Was Artaxias -> Abraham the last line of the file? Because you need to leave the last line blank, otherwise the game doesn't parse it and it's like it doesn't exist.
    Last edited by Aradan; 11-15-2008 at 17:26.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO