Results 1 to 3 of 3

Thread: Urgent help required!

Hybrid View

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

    Default Urgent help required!

    Hello all, I have hit a brick wall in my high elves campaign due to a recurring CTD at the end of turn 67. The log points towards a campaign script error. I was wondering if there is anything I can do to get around this error or if all hope is lost for my campaign.
    I am playing 3.1 with Barons sub mob installed.
    Here is the message from the log file:

    Spoiler Alert, click show to read: 
    [15:03:36.872 [game.script] [error] Condition parsing error in mods/Third_Age_3/data/world/maps/campaign/imperial_campaign/campaign_script.txt, at line 4149, column 37
    I_UnitExists needs a valid unit type.

    15:03:36.872 [game.script] [error] Condition parsing error in mods/Third_Age_3/data/world/maps/campaign/imperial_campaign/campaign_script.txt, at line 4263, column 36
    I_UnitExists needs a valid unit type.

    15:06:31.561 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.


    These are the two scripts it is on about (lines in question are highlighted):

    Spoiler Alert, click show to read: 
    Script 1
    Spoiler Alert, click show to read: 
    ;#########################Minas Tirith
    declare_counter sicily_destroy
    monitor_event SettlementTurnStart SettlementName Anorien
    and I_CompareCounter go_emergent = 1
    and not I_SettlementOwner Anorien = sicily
    and I_IsFactionAIControlled sicily
    and not I_WorldwideAncillaryExists steward_gondor
    and I_NumberOfSettlements sicily = 0
    and SettlementLoyaltyLevel < loyalty_content
    ; and RandomPercent > 25
    and not I_UnitExists sicily Axemen of Lossarnach
    and not I_UnitExists sicily Dismounted Kofm
    and not I_UnitExists sicily Marines
    and not I_UnitExists sicily Gondor Infantry
    and not I_UnitExists sicily Dismounted Swan Knights
    and not I_UnitExists sicily Gondor Spearmen
    and not I_UnitExists sicily Kingsguard
    and not I_UnitExists sicily Fountain Guard
    and not I_UnitExists sicily Osgiliath Pikemen
    and not I_UnitExists sicily Militia Archers
    and not I_UnitExists sicily Blackroot Archers
    and not I_UnitExists sicily Gondor Archers
    and not I_UnitExists sicily Ithilien Rangers
    and not I_UnitExists sicily Dol Amroth Knights
    and not I_UnitExists sicily Gondor Cavalry
    and not I_UnitExists sicily Swan Knights
    and not I_UnitExists sicily Gondor Bodyguard
    and not I_UnitExists sicily Ithilien Rangers_BG
    and not I_UnitExists sicily Kingsguard_BG
    and not I_UnitExists sicily Gondor Ballista
    and not I_UnitExists sicily Gondor Catapult
    and not I_UnitExists sicily Gondor Trebuchet
    and not I_UnitExists sicily Oathbreakers2
    and not I_UnitExists sicily Hunters
    and not I_UnitExists sicily Viking Mercenaries
    and not I_UnitExists sicily Armored Sergeants2
    and not I_UnitExists sicily Fyrd Spearmen
    and not I_UnitExists sicily Fyrd Axemen
    and not I_UnitExists sicily Thane Spearmen
    and not I_UnitExists sicily Thane Swordsmen
    and not I_UnitExists sicily Huntsmen
    and not I_UnitExists sicily Variag Archer Militia
    and not I_UnitExists sicily Persian Spearmen
    and not I_UnitExists sicily english huscarls
    and not I_UnitExists sicily english kings huscarls
    and not I_UnitExists sicily Norse Archers
    and not I_UnitExists sicily Gondor Placeholder
    and not I_UnitExists sicily Axemen of Lossarnach Mercs
    and not I_UnitExists sicily Marines Mercs
    and not I_UnitExists sicily Gondor Infantry Mercs
    and not I_UnitExists sicily Gondor Spearmen Mercs
    and not I_UnitExists sicily Gondor Archers Mercs
    and not I_UnitExists sicily Blackroot Archers Mercs
    and not I_UnitExists sicily Ithilien Rangers Mercs
    and not I_UnitExists sicily Dismounted Kofm Mercs
    and not I_UnitExists sicily Dol Amroth Knights Mercs
    and not I_UnitExists sicily Swan Knights Mercs
    and not I_UnitExists sicily Gondor Catapult Mercs
    and not I_UnitExists sicily eorlingas Mercs
    and not I_UnitExists sicily Cave Trolls2
    and not I_UnitExists sicily aum Gondor Cavalry
    and not I_UnitExists sicily aum Arnor Heavy MAA
    and not I_UnitExists sicily aum Arnor Heavy Archers
    and not I_UnitExists sicily aum Arnor MAA Spear
    and not I_UnitExists sicily aum Arnor Dismounted Knights
    and not I_UnitExists sicily Honor Guard
    and not I_UnitExists sicily Breeland Militia
    and not I_UnitExists sicily Hobbit Infantry
    and not I_UnitExists sicily Bandits
    and not I_UnitExists sicily Lumbermen
    and not I_UnitExists sicily Greenway Sentries
    and not I_UnitExists sicily Merchant Militia
    and not I_UnitExists sicily BR Dunedain
    and not I_UnitExists sicily Bree Archer Militia
    and not I_UnitExists sicily Hobbit Archers
    and not I_UnitExists sicily Bandobras Archers
    and not I_UnitExists sicily Woodland Hunters
    and not I_UnitExists sicily Dunedain Rangers
    and not I_UnitExists sicily Greenway Guards
    and not I_UnitExists sicily Merchants
    and not I_UnitExists sicily Mounted Dunedain
    and not I_UnitExists sicily Mounted Dunedain BG
    and not I_UnitExists sicily Grey Company
    spawn_army

    Script 2
    Spoiler Alert, click show to read: 
    ;#########################Bree
    declare_counter turks_destroy
    declare_counter byzantium_destroy
    monitor_event SettlementTurnStart SettlementName Bree
    and I_CompareCounter go_emergent = 1
    and not I_SettlementOwner Bree = turks
    and I_IsFactionAIControlled turks
    and not I_WorldwideAncillaryExists king_eriador
    and I_NumberOfSettlements turks = 0
    and SettlementLoyaltyLevel < loyalty_content
    ; and RandomPercent > 25
    and not I_UnitExists turks Breeland Militia
    and not I_UnitExists turks Hobbit Infantry
    and not I_UnitExists turks Bandits
    and not I_UnitExists turks Lumbermen
    and not I_UnitExists turks Greenway Sentries
    and not I_UnitExists turks Merchant Militia
    and not I_UnitExists turks BR Dunedain
    and not I_UnitExists turks Bree Archer Militia
    and not I_UnitExists turks Hobbit Archers
    and not I_UnitExists turks Bandobras Archers
    and not I_UnitExists turks Woodland Hunters
    and not I_UnitExists turks Dunedain Rangers
    and not I_UnitExists turks Greenway Guards
    and not I_UnitExists turks Merchants
    and not I_UnitExists turks Mounted Dunedain
    and not I_UnitExists turks Mounted Dunedain BG
    and not I_UnitExists turks Grey Company
    and not I_UnitExists turks Eriador Ballista
    and not I_UnitExists turks Eriador Catapult
    and not I_UnitExists turks Arnor Militia
    and not I_UnitExists turks Arnorian Archers
    and not I_UnitExists turks Arnorian Heavy Archers
    and not I_UnitExists turks Dismounted Arnor MAA
    and not I_UnitExists turks Arnor Pikemen
    and not I_UnitExists turks Dismounted Dunedain Knights
    and not I_UnitExists turks Arnor Sergeants
    and not I_UnitExists turks Arnor Ballista
    and not I_UnitExists turks Arnor Catapult
    and not I_UnitExists turks Arnor Arnor Trebuchet
    and not I_UnitExists turks Breeland Militia Spawn
    and not I_UnitExists turks Bree Archer Militia Spawn
    and not I_UnitExists turks Hobbit Infantry Mercs
    and not I_UnitExists turks Bandits Mercs
    and not I_UnitExists turks Hobbit Infantry autonomy
    and not I_UnitExists turks Hobbit Archers autonomy
    and not I_UnitExists turks Bandobras Archers autonomy
    and not I_UnitExists turks aum Arnor Heavy MAA
    and not I_UnitExists turks aum Arnor Heavy Archers
    and not I_UnitExists turks aum Arnor MAA Spear
    and not I_UnitExists turks aum Arnor Dismounted Knights
    and not I_UnitExists turks Hobbit Bodyguards
    and not I_UnitExists turks Axemen of Lossarnach
    and not I_UnitExists turks Dismounted Kofm
    and not I_UnitExists turks Marines
    and not I_UnitExists turks Gondor Infantry
    and not I_UnitExists turks Dismounted Swan Knights
    and not I_UnitExists turks Gondor Spearmen
    and not I_UnitExists turks Kingsguard
    and not I_UnitExists turks Fountain Guard
    and not I_UnitExists turks Osgiliath Pikemen
    and not I_UnitExists turks Militia Archers
    and not I_UnitExists turks Blackroot Archers
    and not I_UnitExists turks Gondor Archers
    and not I_UnitExists turks Ithilien Rangers
    and not I_UnitExists turks Dol Amroth Knights
    and not I_UnitExists turks Gondor Cavalry
    and not I_UnitExists turks Swan Knights
    and not I_UnitExists turks Gondor Bodyguard
    and not I_UnitExists turks Ithilien Rangers_BG
    and not I_UnitExists turks Kingsguard_BG
    spawn_army



    Any help on the matter will be greatly appreciated.

  2. #2
    Stylix's Avatar MOS Team Member
    Join Date
    Apr 2008
    Location
    Alabama, U.S.A.
    Posts
    2,263

    Default Re: Urgent help required!

    I have been playing a campaign in v3.1 as the HE and have not had any problems. If you are playing with a sub-mod then this should be first reported in that forum.
    MOS v1.6.2+ Bug fixer 30 Dec 2013

  3. #3

    Default Re: Urgent help required!

    Sorry, didn't think to put it in there. I'll copy and paste it into barons thread

    Solved the issue now. Thread can be closed
    Last edited by BigHairyMelon; December 27, 2011 at 12:33 PM.

Posting Permissions

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