Results 1 to 12 of 12

Thread: Pulling My Hair Out Here...

  1. #1

    Default Pulling My Hair Out Here...

    I've been making alot of changes and I thought this was going to come back to haunt me, but when going in to test changes, when I get out of the game, I've been getting an error message: Script error in data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 845, column 14. couldn't find Prasutagus the Ordovices's character_record.

    Here in the part of the strat file it's talking about:

    character Cynan the Scotti, named character, leader, age 54, , x 36, y 142
    traits GoodCommander 2 , PoliticsSkill 2 , GoodAdministrator 2 , Austere 1 , GoodInfantryGeneral 1
    ancillaries aged_retainer
    army
    unit scotti chariots exp 6 armour 2 weapon_lvl 2
    unit celtic spearman exp 0 armour 0 weapon_lvl 0
    unit celtic spearman exp 0 armour 0 weapon_lvl 0
    unit maiobhanaghta exp 6 armour 0 weapon_lvl 0

    character Prasutagus the Ordovices, named character, heir, age 36, , x 29, y 146
    traits GoodCommander 1 , NaturalMilitarySkill 3 , PoliticsSkill 1 , GoodRiskyAttacker 1
    ancillaries drillmaster
    army
    unit scotti chariots exp 6 armour 2 weapon_lvl 2
    unit celtic spearman exp 0 armour 0 weapon_lvl 0
    unit celtic spearman exp 0 armour 0 weapon_lvl 0
    unit maiobhanaghta exp 6 armour 0 weapon_lvl 0

    character Meriadoc the Parisi, named character, age 35, , x 29, y 140
    traits NaturalMilitarySkill 1 , PoliticsSkill 1 , Intelligent 1 , Generous 1
    army
    unit scotti chariots exp 6 armour 2 weapon_lvl 2
    unit celtic spearman exp 0 armour 0 weapon_lvl 0
    unit celtic spearman exp 0 armour 0 weapon_lvl 0
    unit maiobhanaghta exp 6 armour 0 weapon_lvl 0

    character Lucco of Osca, diplomat, age 26, , x 64, y 113
    traits GoodDiplomat 2

    character Mabon of Segovia, spy, age 20, , x 51, y 128
    traits GoodSpy 3

    character Berdic of Deva, admiral, age 22, , x 40, y 142

    army
    unit naval boats exp 1 armour 0 weapon_lvl 0
    unit naval boats exp 0 armour 0 weapon_lvl 0

    character Conan the Iceni, named character, age 29, , x 39, y 149
    traits NaturalMilitarySkill 3 , PoliticsSkill 1 , Intelligent 1 , Generous 1 , AuthoritarianRomanVirtue 2
    army
    unit scotti chariots exp 6 armour 2 weapon_lvl 2
    unit celtic spearman exp 0 armour 0 weapon_lvl 0
    unit maiobhanaghta exp 6 armour 0 weapon_lvl 0

    character_record Cynfawr the Damnonii, male, command 0, influence 0, management 0, subterfuge 0, age 14, alive, never_a_leader
    character_record Casticos of Venta, male, command 0, influence 0, management 0, subterfuge 0, age 11, alive, never_a_leader
    character_record Dumnorix of Dyf, male, command 0, influence 0, management 0, subterfuge 0, age 8, alive, never_a_leader
    character_record Ambiorix of Alabum, male, command 0, influence 0, management 0, subterfuge 0, age 2, alive, never_a_leader
    character_record Barita, female, command 0, influence 0, management 0, subterfuge 0, age 52, alive, never_a_leader
    character_record Boudicca, female, command 0, influence 0, management 0, subterfuge 0, age 30, alive, never_a_leader
    character_record Verica, female, command 0, influence 0, management 0, subterfuge 0, age 30, alive, never_a_leader
    character_record Iseult, female, command 0, influence 0, management 0, subterfuge 0, age 6, alive, never_a_leader

    relative Cynan the Scotti, Barita, Prasutagus the Ordovices, Meriadoc the Parisi, Conan the Iceni, Cynfawr the Damnonii, end
    relative Prasutagus the Ordovices, Boudicca, Cador the Silures, Manawyddan the Demetae, end
    relative Meriadoc the Parisi, Verica, Iseult, Vortigern the Belgae, end

    It's been an annoyance, but it hasn't caused any major problems, and I was going to get to it at some point. However, with the last several changes I've made (trying to change faction symbols, I've got a CTD problem and this is the only error message I'm getting.

    I really do not know what the problem with Prasutagus is, other factions with named characters don't have character_records, so what's up with him?

    I hope someone can help me with this, so that I can get the error message that I really need - why is it CTDing!

    I sure would appreciate it, because I'm totally stuck!
    Cormaeg

    Stumbler amongst files

  2. #2
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Pulling My Hair Out Here...

    He shouldn't have a character record, that's show_err's strange way of saying something else is wrong.

    Are 'the Scotti' and 'the Ordovices' etc set as surnames? If so I thought that the entire male family (named characters) had to share the same surname when it was set in descr_strat......
    Not used mods before? Looking for something small and fun?!
    Download the:

  3. #3

    Default Re: Pulling My Hair Out Here...

    Hey-great thinking! I think you're probably right! Going off to check it right now. Thanks!
    Cormaeg

    Stumbler amongst files

  4. #4

    Default Re: Pulling My Hair Out Here...

    Oh well, that did take care of that error message. Now it's saying etc... etc..etc...line 845, column 43 could not find next child. Children list must be terminated with an end.

    Referring to this line:

    relative Prasutagus, Boudicca, Cador, Manawyddan, end

    Far as I can see, there IS an end. Why isn't the program seeing it?
    Cormaeg

    Stumbler amongst files

  5. #5
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Pulling My Hair Out Here...

    Oh right, hadn't read that far down your strat, basically you,ve got compete mismatch between what's in relative section and armies / character records.

    Every male in the relative section has to appear either on map complete with army as named character, OR in character record section if he's under 16.

    Your Cador and Manawyddan don't seem to appear in either of those categories, and you also have people in character record that don't appear in relative section (e.g. Casticos) which they must!

    You must also have relative section working so that dad is at least 16 years older than oldest son, and each son/daughter is listed in descending order of age (as defined by age of named character or in character record) I can't check that's right as your character records etc don't tie up with names in relative section.

    Easiest way to get a working family tree is copy an existing one out of vanilla / working descr_strat, then make sure you replace each instance of an original name with the same name from your factions new name list, then adjust location co-ordinates and traits as necessary.
    Last edited by Makanyane; 01-07-2007 at 23:16.
    Not used mods before? Looking for something small and fun?!
    Download the:

  6. #6

    Default Re: Pulling My Hair Out Here...

    That's what I thought I did, just copied the information from the Scipii faction and changed the names and locations. But if you are telling me it's all muffed up, I'm gonna take your word for it and completely re-do it. So, here goes...*crosses fingers*
    Cormaeg

    Stumbler amongst files

  7. #7

    Default Re: Pulling My Hair Out Here...

    You're a genius! I'm not sure what you saw there, but when I redid everything I finally got the real reason for the CTD.

    Now, all I have to do is try to figure out why it wants what it wants, because it shouldn't...modding is such fun. Probably be even more fun if I had the slightest idea what I was doing, heh heh.
    Cormaeg

    Stumbler amongst files

  8. #8
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Pulling My Hair Out Here...

    Now, all I have to do is try to figure out why it wants what it wants, because it shouldn't...modding is such fun. Probably be even more fun if I had the slightest idea what I was doing, heh heh.
    Don't worry about it becoming less fun, even once you think you know what you're doing, the game normally manages to find some new bit of weird behaviour to persuade you otherwise!

    If you're still getting stuck, post the new -show_err message and describe what you changed before game started to CTD.
    Not used mods before? Looking for something small and fun?!
    Download the:

  9. #9

    Default Re: Pulling My Hair Out Here...

    Thanks once again, Makanyane. Actually, I've gotten it up and running. Except while testing I had a weird CTD while trying to complete a turn just now. I'm going to retry again later and see if the same thing happens.
    Cormaeg

    Stumbler amongst files

  10. #10

    Default Re: Pulling My Hair Out Here...

    Well, I am at a total loss. As I said, I was going along fine, really looking for opportunities to test new troops on the battle-map. I was maybe 8-10 moves into the game when it had the CTD. I tried to re-load and end the turn again but once again a CTD.

    I decided to try to start a new game and see if and when it would happen again, so that maybe I could try and discern a pattern to have some idea of where the problem might lie.

    But now I immediately get a CTD whenever I either try to re-train or even recruit new troops with either of the new factions. (correction - I just tried again and it is with any faction at all, not just the new ones) And as I said I had already made about 8-10 moves in the previous game and had no trouble recruiting.

    Does anyone have any idea what may be going on?
    Cormaeg

    Stumbler amongst files

  11. #11

    Default Re: Pulling My Hair Out Here...

    Are you using -show_err? If so, what error is it saying?

  12. #12

    Default Re: Pulling My Hair Out Here...

    I would suggest checking everything you did to add new units. Go through the guide of adding new units, and check everything. It would take a long time, but if you find the problem, you will be so thankful you did so. Even a simple spelling error can mess it up. It does seems to be linked to units somewhat.

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