Results 1 to 11 of 11

Thread: Omission from Roman governor system (Lilibeo)

  1. #1

    Default Omission from Roman governor system (Lilibeo)

    I was wondering why my bad-ass general sat in Lilibeo for 8 turns without becoming Rector Provinciae of Sicily. He's a patrician, senator, triumphator, and literally has 16 Influence (I counted). Meanwhile, I send some scrub kid to Segesta and he becomes rector of Cisalpine Gaul within just a turn or two.

    So I looked at the trait file and I saw this:

    Trigger Governor_in_Sicily_gets_bonuses_Syrakousai
    WhenToTest CharacterTurnEnd

    Condition EndedInSettlement
    and FactionType seleucid
    and SettlementName Syrakousai
    and Attribute Electability = 11
    and Trait Roman_Provincial_Governor_Effect < 1

    Affects Roman_Provincial_Governor_Effect 1 Chance 100
    ...and something identical for Messana, but I did not see one for Lilibeo.

    Then there is this:

    Trigger Governor_not_in_Sicily_loses_bonuses
    WhenToTest CharacterTurnEnd

    Condition EndedInSettlement
    and not SettlementName Syrakousai
    and not SettlementName Messana
    and not SettlementName Lilibeo
    and Attribute Electability = 11
    and Trait Roman_Provincial_Governor_Effect = 1

    Affects Roman_Provincial_Governor_Effect -1 Chance 100
    ...where Lilibeo is included. Why would leaving Lilibeo make you lose your governor bonuses when you can't get them from entering?

    This makes me think that the code for Lilibeo was omitted from export_descr_character_traits. I'm going to put it in and see what happens. Hopefully I still have a motherboard afterwards.

  2. #2
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,535

    Default Re: Omission from Roman governor system (Lilibeo)

    Thanks, fixed. There's another bug in there though, the -1 points awarded means the effect will stay (and duplicate itself once he's back in his province), but fixing it is not savegame compatible. It will be fixed in the next release though.
    Last edited by bovi; 04-28-2009 at 06:45.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  3. #3

    Default Re: Omission from Roman governor system (Lilibeo)

    Quote Originally Posted by bovi View Post
    Thanks, fixed. There's another bug in there though, the -1 points awarded means the effect will stay (and duplicate itself once he's back in his province), but fixing it is not savegame compatible. It will be fixed in the next release though.
    How would I fix this?

    It seems the Lilibeo trigger is also missing from the ancillaries file. In fact so are many other cities (Mediolanum, Atiqa, Numantia, etc.) Is this intentional? Is there some kind of limit?

  4. #4

    Default Re: Omission from Roman governor system (Lilibeo)

    Oops, another one, the ancillary triggers for governor of Macedonia all say "Apollonia" instead of "Ambrakia"

  5. #5
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Omission from Roman governor system (Lilibeo)

    no it is not a bug these lines means there are 4 ways/triggers to get Governor of Macedonia :
    (Note : {Apollonia} Ambrakia ) this is the last version it may wrong with previous version of EB, but The current file has no mistake)

    ;------------------------------------------
    Trigger acquire_Governor_of_Macedonia_Pella
    WhenToTest CharacterTurnEnd
    Condition FactionType seleucid
    and EndedInSettlement
    and RemainingMPPercentage = 100
    and IsGeneral
    and SettlementName Pella
    and I_SettlementOwner Demetrias = seleucid
    and I_SettlementOwner Apollonia = seleucid
    and I_SettlementOwner Thermon = seleucid
    and SettlementBuildingExists > gov4
    and SettlementBuildingExists < govparthian
    and Attribute Electability < 11
    and not FactionwideAncillaryExists Governor_of_Macedonia
    and Trait FamilyMember > 0

    AcquireAncillary Governor_of_Macedonia Chance 100
    Affects NumAncillariesAcquired 1 Chance 100

    ;------------------------------------------
    Trigger acquire_Governor_of_Macedonia_Demetrias
    WhenToTest CharacterTurnEnd
    Condition FactionType seleucid
    and EndedInSettlement
    and RemainingMPPercentage = 100
    and IsGeneral
    and SettlementName Demetrias
    and I_SettlementOwner Pella = seleucid
    and I_SettlementOwner Apollonia = seleucid
    and I_SettlementOwner Thermon = seleucid
    and SettlementBuildingExists > gov4
    and SettlementBuildingExists < govparthian
    and Attribute Electability < 11
    and not FactionwideAncillaryExists Governor_of_Macedonia
    and Trait FamilyMember > 0

    AcquireAncillary Governor_of_Macedonia Chance 100
    Affects NumAncillariesAcquired 1 Chance 100

    ;------------------------------------------
    Trigger acquire_Governor_of_Macedonia_Ambrakia
    WhenToTest CharacterTurnEnd
    Condition FactionType seleucid
    and EndedInSettlement
    and RemainingMPPercentage = 100
    and IsGeneral
    and SettlementName Ambrakia
    and I_SettlementOwner Pella = seleucid
    and I_SettlementOwner Demetrias = seleucid
    and I_SettlementOwner Thermon = seleucid
    and SettlementBuildingExists > gov4
    and SettlementBuildingExists < govparthian
    and Attribute Electability < 11
    and not FactionwideAncillaryExists Governor_of_Macedonia
    and Trait FamilyMember > 0

    AcquireAncillary Governor_of_Macedonia Chance 100
    Affects NumAncillariesAcquired 1 Chance 100

    ;------------------------------------------
    Trigger acquire_Governor_of_Macedonia_Thermon
    WhenToTest CharacterTurnEnd
    Condition FactionType seleucid
    and EndedInSettlement
    and RemainingMPPercentage = 100
    and IsGeneral
    and SettlementName Thermon
    and I_SettlementOwner Pella = seleucid
    and I_SettlementOwner Apollonia = seleucid
    and I_SettlementOwner Demetrias = seleucid
    and SettlementBuildingExists > gov4
    and SettlementBuildingExists < govparthian
    and Attribute Electability < 11
    and not FactionwideAncillaryExists Governor_of_Macedonia
    and Trait FamilyMember > 0

    AcquireAncillary Governor_of_Macedonia Chance 100
    Affects NumAncillariesAcquired 1 Chance 100
    all these triggers can enable it until you get one. after you got the governor of macedonia
    "and not FactionwideAncillaryExists Governor_of_Macedonia" line protects that you will not get a second governor for macedonia.

    You may may more than 1 trigger for just one ancillary.
    but you have to use a different name for that trigger.
    same, you cannot use 2 ancillaries that has same name.
    if you violate it you will get a certain CTD.
    I fixed them in my mod, though it looks SG compatable; changing EDA may result some funny bugs like that Bakrian faction leader in fact a spy of Pontos who was awarded with the title of Strap of Thrace :

    So I can assure you that EDA modification is SG compatable yes, but it will not CTD but will have bugs.

    here is the trigger of that ancillary:
    ;------------------------------------------
    Trigger acquire_pontic_satrapy_thraikia
    WhenToTest CharacterTurnEnd
    Condition FactionType carthage
    and EndedInSettlement
    and RemainingMPPercentage = 100
    and IsGeneral
    and not IsFactionHeir
    and not IsFactionLeader
    and SettlementName Byzantion
    and SettlementBuildingExists >= governors_palace
    and Attribute SenateStanding < 11
    and not FactionwideAncillaryExists pontic_satrapy_of_thraikia
    and RandomPercent > 90

    AcquireAncillary pontic_satrapy_of_thraikia Chance 100
    Affects NumAncillariesAcquired 1 Chance 100
    here is the faction list :
    seleucid - Romani
    greek_cities - Koinon Hellenon
    thrace - Epeiros
    macedon - Makedonia
    numidia - Ptolemaioi
    romans_julii - Arche Seleukeia
    romans_brutii - Baktria
    romans_scipii - Hayasdan
    carthage - Pontos
    pontus - Saka Rauka
    armenia - Sauromatae
    parthia - Pahlava
    dacia - Getai
    germans - Sweboz
    scythia - Arverni
    gauls - Aedui
    britons - Casse
    spain - Lusotannan
    egypt - Qarthadastim
    saba - Saba
    as you see carthage means pontos . The code has no error but this bug is caused because of not starting a new campaign.
    I had to restart the pahlava campaign for that reason.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Bug.jpg 
Views:	277 
Size:	99.6 KB 
ID:	151  
    Last edited by Atraphoenix; 05-21-2009 at 10:28.



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

  6. #6
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,535

    Default Re: Omission from Roman governor system (Lilibeo)

    Quote Originally Posted by Sheep View Post
    How would I fix this?
    You would add an antitrait (savegame incompatible) and change the trigger to award 1 point to that instead of -1 point to the main trait.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  7. #7
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Omission from Roman governor system (Lilibeo)

    Bovi, it is an ancillary code, it has no antitrait, or antiancillary.
    Your info is correct for traits not for ancillaries but he mixes that this is a trait file. He expresses ancillary file export_descr_ancillary error.
    Roman Governors are ancillaries not traits like praetor, consul, censor.
    what confusing us the duality of roman offices.
    Local governors are coded as ancillary but magistrates are coded as traits.

    I have mentioned this the the team earlier they said that in EB2 they mostly use traits not ancillaries.
    But we will see it when EB2 released.
    Both system has its advantages and disadvantages. But ı still defend ancillaries for local governors cos they can be transferred to other generals. But you cannot transfer traits.

    Btw I hope it make it clear

    Atra



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

  8. #8

    Default Re: Omission from Roman governor system (Lilibeo)

    Quote Originally Posted by Atraphoenix View Post
    Bovi, it is an ancillary code, it has no antitrait, or antiancillary.
    Your info is correct for traits not for ancillaries but he mixes that this is a trait file. He expresses ancillary file export_descr_ancillary error.
    Roman Governors are ancillaries not traits like praetor, consul, censor.
    what confusing us the duality of roman offices.
    Local governors are coded as ancillary but magistrates are coded as traits.

    I have mentioned this the the team earlier they said that in EB2 they mostly use traits not ancillaries.
    But we will see it when EB2 released.
    Both system has its advantages and disadvantages. But ı still defend ancillaries for local governors cos they can be transferred to other generals. But you cannot transfer traits.

    Btw I hope it make it clear

    Atra
    Thank you, you've helped a lot. But the specific code bovi was referring to is in the traits file (see my first post).

    Roman governors get both an ancillary and a trait. The ancillary represents the specific province while the trait is either rector, propraetor, or proconsul.
    Last edited by Sheep; 05-21-2009 at 19:36.

  9. #9
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Omission from Roman governor system (Lilibeo)

    no problem, as I said before We have roman offices both in ancillaries and in traits that confuses us.
    Last edited by Atraphoenix; 05-22-2009 at 08:29.



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

  10. #10
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,535

    Default Re: Omission from Roman governor system (Lilibeo)

    I don't know what you're talking about, but I'm talking about this:

    Code:
    Trigger Governor_not_in_Sicily_loses_bonuses
    WhenToTest CharacterTurnEnd
    
    Condition EndedInSettlement
    and not SettlementName Syrakousai
    and not SettlementName Messana
    and not SettlementName Lilibeo
    and Attribute Electability = 11
    and Trait Roman_Provincial_Governor_Effect = 1
    
    Affects Roman_Provincial_Governor_Effect -1 Chance 100
    This is most certainly in EDCT.
    Last edited by bovi; 05-22-2009 at 16:02.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  11. #11
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Omission from Roman governor system (Lilibeo)

    Quote Originally Posted by Sheep View Post
    Oops, another one, the ancillary triggers for governor of Macedonia all say "Apollonia" instead of "Ambrakia"
    me this ...




    ;------------------------------------------
    Trigger acquire_Governor_of_Macedonia_Ambrakia
    WhenToTest CharacterTurnEnd
    Condition FactionType seleucid
    and EndedInSettlement
    and RemainingMPPercentage = 100
    and IsGeneral
    and SettlementName Ambrakia
    and I_SettlementOwner Pella = seleucid
    and I_SettlementOwner Demetrias = seleucid
    and I_SettlementOwner Thermon = seleucid
    and SettlementBuildingExists > gov4
    and SettlementBuildingExists < govparthian
    and Attribute Electability < 11
    and not FactionwideAncillaryExists Governor_of_Macedonia
    and Trait FamilyMember > 0

    AcquireAncillary Governor_of_Macedonia Chance 100
    Affects NumAncillariesAcquired 1 Chance 100
    I think he got more confused than us. I could not see any error in the ancillary trigger.
    Last edited by Atraphoenix; 05-22-2009 at 16:10.



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

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