Page 1 of 2 12 LastLast
Results 1 to 20 of 32

Thread: Modding help: character_record errors

  1. #1
    Linyoa's Avatar Civis
    Join Date
    Apr 2008
    Location
    Switzerland
    Posts
    103

    Icon9 Modding help: character_record errors

    So ive been working on my own map, and i've gotten it working, but now that Im adding more characters Im getting a strange error that I cant for the life of me understand:

    Spoiler Alert, click show to read: 
    15:39:52.331 [system.rpt] [always] CPU: SSE2
    15:39:52.340 [system.rpt] [always] ==== system log start, build date: Aug 3 2007 version bld-medieval2-kingdoms-104 (45562) ===
    15:39:52.344 [system.io] [always] mounted pack packs/data_0.pack
    15:39:52.345 [system.io] [always] mounted pack packs/data_1.pack
    15:39:52.347 [system.io] [always] mounted pack packs/data_2.pack
    15:39:52.348 [system.io] [always] mounted pack packs/data_3.pack
    15:39:52.349 [system.io] [always] mounted pack packs/data_4.pack
    15:39:52.349 [system.io] [always] mounted pack packs/localized.pack
    15:41:24.215 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2326, column 14
    couldn't find Boris's character_record
    15:41:24.215 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2327, column 14
    couldn't find Zsigmond's character_record
    15:41:24.215 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2328, column 14
    couldn't find Peter's character_record
    15:41:24.216 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2329, column 14
    couldn't find Jakab's character_record
    15:41:24.216 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2331, column 1
    The character record Erzsébet András is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    15:41:24.216 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2331, column 1
    The character record Kató András is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    15:41:24.216 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2331, column 1
    The character record Magdolna András is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    15:41:24.216 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2331, column 1
    The child character record Vlad András has no father and will be ommited from the game. THey need to be defined as a relative
    15:41:24.216 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2331, column 1
    The character record Luca András is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    15:41:24.394 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 3674, column 14
    couldn't find Sparklelord's character_record
    15:41:24.395 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 3681, column 1
    The character record Borte Shah is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    15:41:24.411 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 3968, column 1
    The character record Costy is neither married, nor has a father. This could mess up the family tree. She needs to be defined as a relative
    15:41:52.667 [system.rpt] [error] Uh oh. This isn't good. No idea why, but exiting now. Sorry pal.


    If those of you who are far more talented then me could help me out, it would be much appreciated.
    thanks

    oh, and I attached my descr_strat

    Friendship is like peeing yourself. Everyone can see it, but only you get that warm feeling it gives.

  2. #2
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Modding help: character_record errors

    2 simple rules.

    1) Every character either needs to be on the strat map or to have a character_record line.
    2) Every named character (not general) needs to be in a family tree so they need to be a relative line

    Do the above for all people mentioned above and you'll remove all errors.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  3. #3
    Linyoa's Avatar Civis
    Join Date
    Apr 2008
    Location
    Switzerland
    Posts
    103

    Default Re: Modding help: character_record errors

    Firstly, thanks a bunch for the help.
    Unfortunately, as far as I can tell, all the non generals have a character_record, as well as generals who are now dead.

    and you actually can have a general who is not part of the family tree. the game wont crash.

    any other ideas?

    EDIT: oh wait, misread part 2
    thats it. somehow part of (most of) my family tree got deleted. thanks for the help
    Last edited by Linyoa; June 30, 2011 at 05:20 PM.

    Friendship is like peeing yourself. Everyone can see it, but only you get that warm feeling it gives.

  4. #4

    Default Re: Modding help: character_record errors

    Quote Originally Posted by linyoa View Post
    and you actually can have a general who is not part of the family tree. the game wont crash.
    yes, true, just replace "named character" with "general", and dont add him to the character record or relative sections, handy if you have a princess you want to be married early!!

  5. #5
    Linyoa's Avatar Civis
    Join Date
    Apr 2008
    Location
    Switzerland
    Posts
    103

    Default Re: Modding help: character_record errors

    Well, I tried everything, but Im still getting the same error

    I also uploaded a slightly updated descr_strat

    Friendship is like peeing yourself. Everyone can see it, but only you get that warm feeling it gives.

  6. #6
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Modding help: character_record errors

    Could you post the log, also?

  7. #7
    Linyoa's Avatar Civis
    Join Date
    Apr 2008
    Location
    Switzerland
    Posts
    103

    Default Re: Modding help: character_record errors

    here you go:

    Spoiler Alert, click show to read: 
    18:53:22.489 [system.rpt] [always] CPU: SSE2
    18:53:22.497 [system.rpt] [always] ==== system log start, build date: Aug 3 2007 version bld-medieval2-kingdoms-104 (45562) ===
    18:53:22.501 [system.io] [always] mounted pack packs/data_0.pack
    18:53:22.502 [system.io] [always] mounted pack packs/data_1.pack
    18:53:22.503 [system.io] [always] mounted pack packs/data_2.pack
    18:53:22.504 [system.io] [always] mounted pack packs/data_3.pack
    18:53:22.505 [system.io] [always] mounted pack packs/data_4.pack
    18:53:22.505 [system.io] [always] mounted pack packs/localized.pack
    18:54:56.538 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2320, column 14
    couldn't find Zsigmond's character_record
    18:54:56.538 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2321, column 14
    couldn't find Boris's character_record
    18:54:56.538 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2322, column 14
    couldn't find Peter's character_record
    18:54:56.538 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2323, column 14
    couldn't find Jakab's character_record
    18:54:56.539 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2325, column 1
    The character record Luca András is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    18:54:56.539 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2325, column 1
    The character record Kató András is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    18:54:56.539 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2325, column 1
    The character record Magdolna András is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    18:54:56.539 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2325, column 1
    The character record Erzsébet András is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    18:54:56.539 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2325, column 1
    The child character record Vlad András has no father and will be ommited from the game. THey need to be defined as a relative
    18:54:56.582 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 3668, column 14
    couldn't find Sparklelord's character_record
    18:54:56.583 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 3675, column 1
    The character record Borte Shah is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    18:54:56.590 [script.err] [error] Script Error in mods/Samarkand/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 3962, column 1
    The character record Costy is neither married, nor has a father. This could mess up the family tree. She needs to be defined as a relative
    18:55:11.362 [system.rpt] [error] Uh oh. This isn't good. No idea why, but exiting now. Sorry pal.


    unfortunately, its the same as the other one.

    Friendship is like peeing yourself. Everyone can see it, but only you get that warm feeling it gives.

  8. #8

    Default Re: Modding help: character_record errors

    try this mate, all relatives of the fl need his last name!!

    Spoiler Alert, click show to read: 
    character Andras Andras, named character, male, leader, age 57, x 364, y 182
    traits Factionleader 1 , LoyaltyStarter 1 , ReligionStarter 1 , GoodArtilleryCommander 1 , GoodCommander 1 , MathematicsSkill 1 , PublicFaith 1 , BadTrader 3 , Prim 1 , Drink 2 , Upright 2
    army
    unit NE Bodyguard exp 0 armour 0 weapon_lvl 0
    unit Merchant Cavalry Militia exp 0 armour 0 weapon_lvl 0
    unit EE Spear Militia exp 0 armour 0 weapon_lvl 0
    unit EE Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit S Peasant Archers exp 0 armour 0 weapon_lvl 0
    unit S Peasant Archers exp 0 armour 0 weapon_lvl 0
    unit EE Ballista exp 0 armour 0 weapon_lvl 0
    unit EE Ballista exp 0 armour 0 weapon_lvl 0
    unit EE Town Militia exp 0 armour 0 weapon_lvl 0
    unit EE Town Militia exp 0 armour 0 weapon_lvl 0
    unit EE Town Militia exp 0 armour 0 weapon_lvl 0
    character Peter Andras, named character, male, heir, age 34, x 364, y 181
    traits LoyaltyStarter 1 , ReligionStarter 1 , GoodRiskyDefender 1 , Pragmatic 1 , Generous 1 , BadTrader 3 , StrategyChivalry 1 , Drink 2 , RansomDread 1 , Paranoia 1 , HighPersonalSecurity 1
    army
    unit NE Bodyguard exp 0 armour 0 weapon_lvl 0
    unit EE Town Militia exp 0 armour 0 weapon_lvl 0
    unit EE Town Militia exp 0 armour 0 weapon_lvl 0
    unit EE Town Militia exp 0 armour 0 weapon_lvl 0
    unit S Peasant Archers exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Spearmen exp 0 armour 0 weapon_lvl 0
    unit EE Town Militia exp 0 armour 0 weapon_lvl 0
    unit EE Spear Militia exp 0 armour 0 weapon_lvl 0
    unit EE Spear Militia exp 0 armour 0 weapon_lvl 0
    unit EE Spear Militia exp 0 armour 0 weapon_lvl 0
    character Jakab Andras, named character, male, age 33, x 375, y 229
    traits ReligionStarter 1 , LoyaltyStarter 1 , RhetoricSkill 1 , GoodCommander 1 , Hypochondriac 1 , TacticalSkill 2 , BadTrader 2 , PublicFaith 2 , GoodAdministrator 1 , ContentGeneral 1 , Cheapskate 1 , StrategyChivalry 1 , Upright 1
    army
    unit NE Bodyguard exp 0 armour 0 weapon_lvl 0
    unit EE Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Pavise Crossbow Militia exp 0 armour 0 weapon_lvl 0
    unit EE Peasants exp 0 armour 0 weapon_lvl 0
    character_record Zsuzsanna, female, age 57, alive, never_a_leader
    character_record Zsigmond Andras, male, age 36, dead 1, never_a_leader
    character_record Boris Andras, male, age 35, dead 4, never_a_leader
    character_record Luca Andras, female, age 25, alive, never_a_leader
    character_record Vlad Andras, male, age 4, alive, never_a_leader
    character_record Erzsebet Andras, female, age 42, alive, never_a_leader
    character_record Magdolna Andras, female, age 26, alive, never_a_leader
    character_record Kato Andras, female, age 37, alive, never_a_leader
    relative Andras Andras, Zsuzsanna, Zsigmond Andras, Boris Andras, Peter Andras, Jakab Andras, end
    relative Zsigmond Andras, Luca Andras, Vlad Andras, end
    relative Boris Andras, Erzsebet Andras, end
    relative Peter Andras, Magdolna Andras, end
    relative Jakab Andras, Kato Andras, end

  9. #9
    Linyoa's Avatar Civis
    Join Date
    Apr 2008
    Location
    Switzerland
    Posts
    103

    Default Re: Modding help: character_record errors

    Damn it really was that easy! thanks a ton mate! and the both of you who also helped me out!

    Friendship is like peeing yourself. Everyone can see it, but only you get that warm feeling it gives.

  10. #10

    Default Re: Modding help: character_record errors

    a few more things


    Spoiler Alert, click show to read: 
    sparklelord, should have the surname "shah" also! he also has no generals bodyguard which i suspect he needs!!

    im not sure how to enter a witch so sorry cnat help you there :<

    ;character sub_faction england, Costy, witch, female, age 41, x 184, y 38
    ;traits NaturalWitchSkill 5 , Wrath 3


    character Ghunan, named character, male, age 20, x 21, y 205
    army
    unit ME Halberd Militia exp 0 armour 0 weapon_lvl 0
    unit ME Halberd Militia exp 0 armour 0 weapon_lvl 0
    unit ME Spear Militia exp 0 armour 0 weapon_lvl 0
    unit ME Town Militia exp 0 armour 0 weapon_lvl 0
    unit ME Peasant Archers exp 0 armour 0 weapon_lvl 0
    unit ME Peasant Archers exp 0 armour 0 weapon_lvl 0
    unit ME Peasant Archers exp 0 armour 0 weapon_lvl 0
    character Usun, named character, male, age 20, x 33, y 120
    army
    unit ME Halberd Militia exp 0 armour 0 weapon_lvl 0
    unit ME Halberd Militia exp 0 armour 0 weapon_lvl 0
    unit Naffatun exp 0 armour 0 weapon_lvl 0
    unit ME Peasant Archers exp 0 armour 0 weapon_lvl 0
    unit ME Peasant Archers exp 0 armour 0 weapon_lvl 0
    these two should be generals, but u=it doesn't appear to matter

  11. #11
    Linyoa's Avatar Civis
    Join Date
    Apr 2008
    Location
    Switzerland
    Posts
    103

    Default Re: Modding help: character_record errors

    Ya, I figured I needed to fix sparklelord as well.
    For now Ill just delete the witch and see if it works.

    oh, and incase you were wondering:
    Spoiler Alert, click show to read: 
    Sparklelord:

    Friendship is like peeing yourself. Everyone can see it, but only you get that warm feeling it gives.

  12. #12

    Default Re: Modding help: character_record errors

    Quote Originally Posted by dannyxx30 View Post
    yes, true, just replace "named character" with "general", and dont add him to the character record or relative sections, handy if you have a princess you want to be married early!!
    hmm, yes i was wondering about sparklelord!!

    i cocked up here by the way!! named character would be right, but just dont add them to the relative list, or give them a surname already used, but give them a bodyguard unit and that should be ok.

  13. #13
    Linyoa's Avatar Civis
    Join Date
    Apr 2008
    Location
    Switzerland
    Posts
    103

    Default Re: Modding help: character_record errors

    Well, a few errors later and now I'm getting this:
    Spoiler Alert, click show to read: 
    20:53:37.549 [system.rpt] [always] CPU: SSE2
    20:53:37.558 [system.rpt] [always] ==== system log start, build date: Aug 3 2007 version bld-medieval2-kingdoms-104 (45562) ===
    20:53:37.563 [system.io] [always] mounted pack packs/data_0.pack
    20:53:37.565 [system.io] [always] mounted pack packs/data_1.pack
    20:53:37.567 [system.io] [always] mounted pack packs/data_2.pack
    20:53:37.568 [system.io] [always] mounted pack packs/data_3.pack
    20:53:37.569 [system.io] [always] mounted pack packs/data_4.pack
    20:53:37.569 [system.io] [always] mounted pack packs/localized.pack
    20:56:06.435 [system.rpt] [error] Uh oh. This isn't good. No idea why, but exiting now. Sorry pal.


    well **** me
    Its got to be something in the minor factions section or later, because I (we) cleared up the areas up untill then end of the Timurids.
    I'm going to try and fiddle with things.

    oh, and by the way, surprisingly enough you can put anything you want as a "generals bodyguard" so long as they have something. I did, however, try changing it just in case (with no luck )

    Friendship is like peeing yourself. Everyone can see it, but only you get that warm feeling it gives.

  14. #14

    Default Re: Modding help: character_record errors

    did you delete the map.rwm in the base folder?

    have a couple of goes at loading it up before you change anything, sometimes helps!

    setting the error log to trace could help also

  15. #15

    Default Re: Modding help: character_record errors

    this should be at the bottom of the descr_strat, underneth the bottom of the start of regions section!!

    it should be the last thing written!

    script
    campaign_script.txt

  16. #16
    Linyoa's Avatar Civis
    Join Date
    Apr 2008
    Location
    Switzerland
    Posts
    103

    Default Re: Modding help: character_record errors

    Well that got me a new error. Im currently sorting through all the script errors (cant tell the game to freeze the Aztecs if they don't exist) But are you sure that last line in necessary? I'm 99.9 percent certain I ran another map without it.

    Friendship is like peeing yourself. Everyone can see it, but only you get that warm feeling it gives.

  17. #17

    Default Re: Modding help: character_record errors

    if you have a campaign script, then yes, otherwise i assume it would just look for the vanilla one, but i could be wrong.

    i doubt the freezing aztecs thing is the cause of the crash, it should just ignore it.

  18. #18
    Linyoa's Avatar Civis
    Join Date
    Apr 2008
    Location
    Switzerland
    Posts
    103

    Default Re: Modding help: character_record errors

    I do not have a campaign script. with the vanilla one I got an error saying that at line 21 the specified faction does not exist (or something like that; I no longer have the error) line 21 being the freeze aztecs script.
    But I have now hit the infamous no error wall.

    heres the trace file if you can decipher something I cant. I won't post it in spoilers cause its just the long.

    speaking of which, thanks a lot for all your help with this. I really appreciate it.

    Friendship is like peeing yourself. Everyone can see it, but only you get that warm feeling it gives.

  19. #19
    Linyoa's Avatar Civis
    Join Date
    Apr 2008
    Location
    Switzerland
    Posts
    103

    Default Re: Modding help: character_record errors

    Oh, and I forgot to mention that it says I am missing a bunch of files Im not :/

    Friendship is like peeing yourself. Everyone can see it, but only you get that warm feeling it gives.

  20. #20

    Default Re: Modding help: character_record errors

    when did it last load up ok?
    what was the last thing you done?

    what is the portrait sparklehead? in his named character line?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •