Thread: Bugs Reports & Technical Help

  1. #3241
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,504

    Default Re: Bugs Reports & Technical Help

    the save works ok

  2. #3242

    Default Re: Bugs Reports & Technical Help

    Quote Originally Posted by Jurand of Cracow View Post
    the save works ok
    Yes the issue must have been in character traits because once I patched it no more ctd during the ai turn. thanks for the advice guys!

  3. #3243

    Default Re: Bugs Reports & Technical Help

    Potential role-playing bug:
    I believe there is currently not a way for a regency to become legitimized (ie: a regents biological son becomes a legitimate King, not another regent) without usurpation. If this has happened to anyone else, let me know.

    In the export_descr_character_traits file...
    Relevant trait: Factionleader (note this trait is not the same as the "actual" factionleader in the base game, but simply a trait that captures legitimacy).

    There are a few triggers that bestow legitimacy to sons of a legitimate factionleader, but there doesn't appear to be a transition from regency to factionleader status.
    For example, the trigger "valid_hear_1" doesnt apply to regencies.

    To fix this, I applied the following trigger in my HRE campaign:

    ;------------------------------------------
    ; AJS: son of regent as heir becomes legitimized
    Trigger nonvalidheirisheir2regent ; biological son of regent is heir
    WhenToTest CharacterTurnEnd
    Condition IsFactionHeir
    and FatherTrait FactionRegent = 2
    and Trait FactionRegent = 1
    and Trait Factionleader = 0
    and Trait WeakClaimant = 0
    and Trait Usurper = 0
    and Trait BiologicalSon = 1
    and not CharFactionType slave
    and not CharFactionType papal_states

    Affects Factionleader 2 Chance 100
    Affects FactionRegent -1 Chance 100
    ;------------------------------------------

    There is probably a more elegant way to do this (say, upon ascendancy of the heir to the throne), but this has worked in my campaign. I don't think there would be any issues if the father of the now legitimized son becomes a usurper instead of a regent, but that is a potential avenue for bugs. Probably a single "clearinghouse" trigger would fix that and make the legitimized heir not legitimate.

    Use at your own risk!

  4. #3244
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,302

    Default Re: Bugs Reports & Technical Help

    Thank you for these comments and advice.
    Jurand of Cracow may have planned a similar fix for the next version ...

  5. #3245

    Default Re: Bugs Reports & Technical Help

    About 100 turns into a campaign, and I just started noticing some nameless princesses around the map, from different factions and religions/cultures. This may be the same problem that was discussed.

    I have modified triggers in the edct file and made all ancillaries transferable, but those are the only mods I made.

    But the good news is that there haven't been any crashes in my campaign yet (aside from a random battlemap crash)!

    I believe I've attached the most recent save (will post again if not).
    Attached Files Attached Files

  6. #3246

    Default Re: Bugs Reports & Technical Help

    does any1 have an uncorrupted export_descr_buildings file for me pls? managed to screw mine somehow with an old version

  7. #3247
    Lifthrasir's Avatar "Capre" Dunkerquois
    Patrician took an arrow to the knee

    Join Date
    Jan 2010
    Location
    City of Jan Baert
    Posts
    13,951
    Blog Entries
    4

    Default Re: Bugs Reports & Technical Help

    Under the patronage of Flinn, proud patron of Jadli, from the Heresy Vault of the Imperial House of Hader

  8. #3248

    Default Re: Bugs Reports & Technical Help

    Quote Originally Posted by Lifthrasir View Post
    Thx 4 the quick response

    Just a side note: You guys are doing great work. For myself, im playing this almost since the start, but only recently decided to create a forum user and actually say something. And i bet im not the only one lurking around and enjoying this mod in silence. Keep up the great work, its highly appreciated

  9. #3249
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,504

    Default Re: Bugs Reports & Technical Help

    Quote Originally Posted by Alex_TotalWar View Post
    About 100 turns into a campaign, and I just started noticing some nameless princesses around the map, from different factions and religions/cultures. This may be the same problem that was discussed.
    in the next version the script for princesses have been revamped and you won't get them:

    Princess Spawn Script fixed:
    - Previously (096): there’s a script giving each AI faction a Princess with 0 charm every 14 years, starting after 1162 (each faction gets it in a different turn, so the Cumans get one in 1176 at the earliest) in either of two place for each faction. They were without any trait, with Charm 0, and frequently nameless. No info appears, you need find them.
    - After fixing (097): Noble Ladies start appearing after 1152. Once a lady is spawned there’s a cooldown time of ca. 15 years to the next spawn. There are 6 types of ladies for each faction, ie each has a different name, different traits and resulting different level of Charm (1-6). Each of them gets an epitaph “the Noble Lady” (it distinguish them from the born-in-family princesses; it has no impact on the game for the AI princesses, while for the player it means they're not in the family tree). There's an information window popping-out about the ladies spawned with the highest charm (5 or 6).
    - Future work: if a moder would volunteer, he could make interactive event for the player to get a noble lady against a payment.


    Code:
            if I_EventCounter spainlady > 28;			and I_IsFactionAIControlled spain
    
    
    			if I_SettlementOwner Leon = spain
    				and RandomPercent < 5
    				
    				spawn_character spain Blanca, princess, age 19, x 37, y 152           ; Charm 4
    				console_command give_trait "Blanca" IAmPrincess 2
    				console_command give_trait "Blanca" Princess_Royal_Blood_Spanish 1
    				console_command give_trait "Blanca" PrettyWoman 1
    				console_command give_trait "Blanca" HumbleWoman 1
    				console_command give_trait "Blanca" SpiritedWoman 1
    
    
    				set_event_counter spainlady 0
    				
    			end_if				
    			
    			if I_EventCounter spainlady > 28
    				and I_SettlementOwner Santiago = spain
    				and RandomPercent < 5
    				
    				spawn_character spain Isabel, princess, age 19, x 14, y 155           ; Charm 3
    				console_command give_trait "Isabel" IAmPrincess 2
    				console_command give_trait "Isabel" Princess_Royal_Blood_Spanish 1
    				console_command give_trait "Isabel" PrettyWoman 1
    				console_command give_trait "Isabel" GoodPrincess 1
    
    
    				set_event_counter spainlady 0
    				
    			end_if
    
    
    			if I_EventCounter spainlady > 28
    				and I_SettlementOwner Leon = spain
    				and RandomPercent < 5
    				
    				spawn_character spain Sancha, princess, age 19, x 37, y 152           ; Charm 1
    				console_command give_trait "Sancha" IAmPrincess 2
    				console_command give_trait "Sancha" Princess_Royal_Blood_Spanish 1
    				console_command give_trait "Sancha" PrettyWoman 1
    				console_command give_trait "Sancha" PretentiousWoman 1
    
    
    				set_event_counter spainlady 0
    				
    			end_if
    			
    
    
    			if I_EventCounter spainlady > 28
    				and I_SettlementOwner Santiago = spain
    				and RandomPercent < 5
    				
    				spawn_character spain Jimena, princess, age 19, x 14, y 155            ; Charm 2
    				console_command give_trait "Jimena" IAmPrincess 2
    				console_command give_trait "Jimena" Princess_Royal_Blood_Spanish 1
    				console_command give_trait "Jimena" BigotWoman 1
    				console_command give_trait "Jimena" HumbleWoman 1
    				console_command give_trait "Jimena" FaithfulWoman 1
    
    
    				set_event_counter spainlady 0
    				
    			end_if
    
    
    			if I_EventCounter spainlady > 28
    				and I_SettlementOwner Leon = spain
    				and RandomPercent < 5
    				
    				spawn_character spain Ana, princess, age 19, x 37, y 152            ; Charm 5
    				console_command give_trait "Ana" IAmPrincess 2
    				console_command give_trait "Ana" Princess_Royal_Blood_Spanish 1
    				console_command give_trait "Ana" PrettyWoman 1
    				console_command give_trait "Ana" HumbleWoman 1
    				console_command give_trait "Ana" SpiritedWoman 1
    				console_command give_trait "Ana" UnchasteWoman 1
    				
    				historic_event noble_lady_spawn_spain
    				set_event_counter spainlady 0
    				
    			end_if
    			
    
    
    			if I_EventCounter spainlady > 28
    				and I_SettlementOwner Santiago = spain
    				and RandomPercent < 5
    				
    				spawn_character spain Inmaculada, princess, age 19, x 14, y 155           ; Charm 6
    				console_command give_trait "Inmaculada" IAmPrincess 2
    				console_command give_trait "Inmaculada" Princess_Royal_Blood_Spanish 1
    				console_command give_trait "Inmaculada" PrettyWoman 1
    				console_command give_trait "Inmaculada" TolerantWoman 1
    				console_command give_trait "Inmaculada" SpiritedWoman 1
    				console_command give_trait "Inmaculada" FaithfulWoman 1
    				console_command give_trait "Inmaculada" FairWoman 1
    				
    				historic_event noble_lady_spawn_spain
    				set_event_counter spainlady 0
    				
    			end_if
    
    
    		end_if

  10. #3250
    Lifthrasir's Avatar "Capre" Dunkerquois
    Patrician took an arrow to the knee

    Join Date
    Jan 2010
    Location
    City of Jan Baert
    Posts
    13,951
    Blog Entries
    4

    Default Re: Bugs Reports & Technical Help

    Quote Originally Posted by Jurand of Cracow View Post
    - Future work: if a moder would volunteer, he could make interactive event for the player to get a noble lady against a payment.
    Don't be in hurry, we need to clarify this first. Thanks
    Under the patronage of Flinn, proud patron of Jadli, from the Heresy Vault of the Imperial House of Hader

  11. #3251

    Default Re: Bugs Reports & Technical Help

    My game keeps crashing in turn 51 no matter what i do. I tried using the trait fix patch posted on the mod's main page but it didnt fix it. Then I re-download and re-install the whole mods starting from SS6.3>6.4>SSHIP. Neither did fix it.


    Now I have 2 saves both crashes in different places during the other faction's turn in turn 51.
    I call them save one and save two.

    The first save(turn 49) crashes at Rebels' turn in turn 51. I keep a track of unit movements and the last movement was a heretic. I killed him and tried again, then it crashed at another random rebel unit's movement.

    The second save(turn 50) crashes during Pisa's turn. I have found out Pisan character names dissappeared somehow in this save. So the crash might be tied to this.

    I can't think what else to do at this point. Lead me into the light please.

    PS:my game is loaded in default steam directiory

  12. #3252
    Lifthrasir's Avatar "Capre" Dunkerquois
    Patrician took an arrow to the knee

    Join Date
    Jan 2010
    Location
    City of Jan Baert
    Posts
    13,951
    Blog Entries
    4

    Default Re: Bugs Reports & Technical Help

    @ Leopold III, thanks for your kind words

    @ sandwich trooper, can you post the 1st of your saves please (the one at turn 49 before you killed the heretic)? Then we can have a look by ourselves to fix your issue. The location of your game shouldn't be a problem actually. My Steam version is also installed by default in that directory and I have no problem at running it.
    Last edited by Lifthrasir; May 15, 2020 at 09:42 AM.
    Under the patronage of Flinn, proud patron of Jadli, from the Heresy Vault of the Imperial House of Hader

  13. #3253

    Default Re: Bugs Reports & Technical Help

    Thanks

    Unfortunately the heretic save is gone, as it was an autosave which is one turn after the original save. I uploaded the original save (turn 49), this crashes at rebels' turn again but for Trapezous units.

    https://mega.nz/file/H25lEI5a#HB855-...urupnKzS5mQHsA
    (the autosave1 is just turn 50)

  14. #3254

    Default Re: Bugs Reports & Technical Help

    Hi sorry to be a bother

    I keep having CTD () during the AI turn on turn 72 playing as england

    I was having this problem at first and went back 10 turns to see if that would fix it but each time I reach turn 72 it crashes

    I tried to use the code thing to get a log of it, but every time I try to test it, it doesnt add any file to logs, but i did do the no fog of war and can see in both saves it crashes when the AI turn starts and it is looking at Alamut

    both saves were two different attempts where i did slightly different things but it still crashed at the same point
    https://mega.nz/file/3xoUVSAL
    https://mega.nz/file/b5hCwaqa

    thank you for any help

  15. #3255

    Default Re: Bugs Reports & Technical Help


  16. #3256

    Default Re: Bugs Reports & Technical Help

    Hi guys,

    Just a question: are there plans to add some missing battlemap unit selection voices (I mean voices like "spearmen!" "gunners!" etc.)?

    In the English version of the game, about half of the voices are missing (with newly added units that aren't replacing vanilla ones, as no/little new entries are added in the .txt file)

    Thanks!

  17. #3257
    Lifthrasir's Avatar "Capre" Dunkerquois
    Patrician took an arrow to the knee

    Join Date
    Jan 2010
    Location
    City of Jan Baert
    Posts
    13,951
    Blog Entries
    4

    Default Re: Bugs Reports & Technical Help

    Can you give some examples of the units you're talking about? So, I can have a look at the problem
    Under the patronage of Flinn, proud patron of Jadli, from the Heresy Vault of the Imperial House of Hader

  18. #3258
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,302

    Default Re: Bugs Reports & Technical Help

    I also noticed sometimes some voiceless units in the French version.
    For example, the "hunters" unit does not respond to orders when giving orders to archers.

  19. #3259
    Lifthrasir's Avatar "Capre" Dunkerquois
    Patrician took an arrow to the knee

    Join Date
    Jan 2010
    Location
    City of Jan Baert
    Posts
    13,951
    Blog Entries
    4

    Default Re: Bugs Reports & Technical Help

    This could be related to the assigned voice in the EDU
    I definitively to get a few units (4 or 5) with that issue to check it. Thanks in advance for that little list
    Under the patronage of Flinn, proud patron of Jadli, from the Heresy Vault of the Imperial House of Hader

  20. #3260

    Default Re: Bugs Reports & Technical Help

    @Lifthrasir

    I'll try - I apologize beforehand if the list is not 100% correct as: 1) I don't have access to the mod for a while :/ and 2) It's based on some digging I did back in January

    Units with missing selection voices (responses to being clicked on the battlemap); name of the unit ingame + its cost (costs are quite unique, so it helps finding them in EDU):

    Castille (.txt spain) / mediterranean accent

    Cabballeros Villanos 609
    Cabballeros Hidalgos 1299
    Halberd MAA 720
    Halberdiers 915
    Mounted Arquebusiers 686
    Sword Mailed Foot Knights 594
    Axe Mailed Foot Knights 601 (btw, why are axes more expensive than swords?)
    Demi Lancers 2079
    Sword Militia 473
    Axe Militia 270
    Urban Spear Militia 403
    Prussian Archers 328 (regular archers)


    Poland / eastern european accent

    Hussars 784(?)
    Pavise Crossbowmen 420
    Heavy Sword Seargeants 662
    Hand Gunners 974
    Foot Men at Arms 660
    Men at Arms 1559
    Pikemen 778
    Late Pikemen 1361
    Musketeers 501
    Late Musketeers 501 (why do both musketeers cost the same? + they have swapped unit descriptions)
    Halberdiers 915
    Mounted Arquebusiers 686



    So here is an example list, it's not a complete of course, and might not be completely accurate - please take it with a grain of salt. Observations based on custom battles, I omitted units that are obviously not recruitable in campain.
    I did it a while ago, because it bugged me, broke the immersion and made the mod unplayable (in fact, it's a sin most Medieval II mods have). But that's just me.

    Either way, I hope it helps somehow
    Last edited by Just let me post; May 17, 2020 at 01:42 PM. Reason: imho

Tags for this Thread

Posting Permissions

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