Page 7 of 7 FirstFirst 1 2 3 4 5 6 7
Results 121 to 131 of 131

Thread: Crashes and how to fix them

  1. #121
    Gigantus's Avatar I came, I saw, I tutored
    Artifex

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    44,439
    Blog Entries
    13

    Default Re: Crashes and how to fix them

    If you have made a simple entry in the descr_strat file and that what didn't work then I would suggest to go back to your back up and start again. You do have a back up, I hope?

    Another thing that helps is to set your log to trace - you will get more details what is happening and it increases the chance to find an error. Simply add this into the CFG file of your mod (or edit it in if the section already exists):

    [log]
    to = logs/M2TW.system.log.txt
    level = * trace

    This will now create a (huge) log file in the logs subfolder. Always compress that log before attaching it, please!!


  2. #122
    Hellvard's Avatar Senator
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    1,110

    Default Re: Crashes and how to fix them

    I have some problems with adding MrCrow's warwagons to my mod. I think it fits to this category:

    Unit crash
    Q: Game crashes when you try to get the information about a unit or when you go to battle with a particular unit.

    A: The data\export_descr_unit.txt info for that unit contains an error. Make sure the tabs and spaces are in the right place, information is not missing or duplicated, and that the 'soldier' line refers to a an actual unit (try not to change this).

    Game crashes after i move the cursor over this unit in custom battle unit selection screen. And i can't find the source of problem. Entry in edu:
    Spoiler Alert, click show to read: 
    type carrohus_crew1dictionary carrohus_crew1 ; carrohus_crew1
    category cavalry
    class spearmen
    voice_type light
    banner faction main_cavalry
    banner holy crusade_cavalry
    soldier carrohus_crew1, 12, 2, 1
    mount carro
    mount_effect horse +4, camel +2
    attributes sea_faring, very_hardy, gunpowder_unit, stakes, frighten_foot, frighten_mounted
    move_speed_mod 0.00000001
    formation 7, 11, 13,16, 2, square
    stat_health 10, 10
    stat_pri 16, 3, arquebus_bullet, 120, 35, missile, missile_gunpowder, piercing, none, musket_shot_set, 0, 1
    stat_pri_attr ap
    stat_sec 0, 0, no, 0, 0, melee, melee_simple, piercing, none, 25, 0.35
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 2, 5, 10, leather
    stat_sec_armour 25, 0, metal
    stat_heat 1
    stat_ground 0, 0, 0, 0
    stat_mental 12, normal, trained
    stat_charge_dist 0
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 1100, 200, 250, 250, 1100, 4, 200
    armour_ug_levels 1
    armour_ug_models carrohus_crew1
    ownership hungary, poland, hre
    era 2 hungary, poland, hre
    ;unit_info 0, 16, 10
    recruit_priority_offset 8

  3. #123
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,024

    Default Re: Crashes and how to fix them

    Do you also have the info in the EU?

  4. #124
    Hellvard's Avatar Senator
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    1,110

    Default Re: Crashes and how to fix them

    Of course i have And yes, i deleted eu_txt_strings.

  5. #125
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,024

    Default Re: Crashes and how to fix them

    Anything in the log?

  6. #126
    Hellvard's Avatar Senator
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    1,110

    Default Re: Crashes and how to fix them

    Nein, only very usefull "Uh oh. This isn't good. No idea why, but exiting now. Sorry pal."

  7. #127
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,024

    Default Re: Crashes and how to fix them

    How many units do you have in the EDU?

  8. #128
    Hellvard's Avatar Senator
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    1,110

    Default Re: Crashes and how to fix them

    493

  9. #129
    Hellvard's Avatar Senator
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    1,110

    Default Re: Crashes and how to fix them

    Any other ideas? I reloaded eu several times, checked edu, can;t find source of the problem.

  10. #130

    Default Re: Crashes and how to fix them

    OK,i am electronically challenged i have not the slightest clue what any of this stuff means,have no clue on where you put "trace" and i don't know how to NOT make ROTK crash,or posting a log.i can barley turn on my pc more or less mess with my **g files.its begging to p**s me off.im gonna apologize to gigantus cuz of him having to deal with me.but i need someone to walk me through on how to stop crashing.i need the very detailed dummy way .thank you

  11. #131
    Gigantus's Avatar I came, I saw, I tutored
    Artifex

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    44,439
    Blog Entries
    13

    Default Re: Crashes and how to fix them

    Sorry for being late - there is a 'error reporting' sticky for RotK in bug forum. But the principle remains the same for most mods:

    Quote Originally Posted by Gigantus View Post
    1. General = Due to a drain on resources the error log has been set to 'error' - the lowest setting. To find errors that do not leave a comprehensive message, kindly set your log to 'trace' and then compress and attach the error log after a crash.
    2. Finding the log = it will be in the ...\Medieval II Total War\logs folder
    3. Setting the log to trace = open Configuration.cfg (in the Three Kingdoms main folder) with Notepad. In the [log] section, remove the hash ( # ) in front of the trace line and add a hash in front of the error line, save. The log will become rather big, but compressing will reduce it to approximately 5-10% of it's original size
    4. Submitting the log = compress the log with a utility like 7Zip and then attach it or upload to a service provider and copy the link in your post

    Code:
    [log] 
    to = logs/M2TW.system.log.txt 
    level = * trace
    #level = * error


Page 7 of 7 FirstFirst 1 2 3 4 5 6 7

Posting Permissions

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