Results 1 to 25 of 25

Thread: Possible CTD Source

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Bearer of Vilya, Editing Slave Member LordElrond's Avatar
    Join Date
    Jan 2006
    Location
    Under a load of college work.
    Posts
    147

    Default Re: Possible CTD Source

    Well at least its good that the olympics aren't bugged. Strange, I'll have to look at it more myself.
    Quote Originally Posted by khelvan
    Oh. My. God.

  2. #2
    EB Traiter Member Malrubius's Avatar
    Join Date
    Jan 2005
    Location
    On a tree-covered mountain in Anniston, Alabama, USA
    Posts
    2,633

    Default Re: Possible CTD Source

    Quote Originally Posted by LordElrond
    Well at least its good that the olympics aren't bugged. Strange, I'll have to look at it more myself.
    I didn't say that. I'll have to do some calculations to figure out the probabilities.

    Ah! the Generals! they are numerous, but not good for much (especially if they're Languorous)!
    -- Aristophanes, if he played EB

  3. #3
    Bearer of Vilya, Editing Slave Member LordElrond's Avatar
    Join Date
    Jan 2006
    Location
    Under a load of college work.
    Posts
    147

    Default Re: Possible CTD Source

    My mistake.
    Quote Originally Posted by khelvan
    Oh. My. God.

  4. #4
    EB Traiter Member Malrubius's Avatar
    Join Date
    Jan 2005
    Location
    On a tree-covered mountain in Anniston, Alabama, USA
    Posts
    2,633

    Default Re: Possible CTD Source

    Ok, here are the probabilities:

    Spoiler Alert, click show to read: 

    Natural Energy 5 = 15%
    Natural Energy 6 = 30%

    with the HaleAndHearty trait (In the Pink, etc).
    Natural Energy 5 = 30%
    Natural Energy 6 = 60%



    Ptolemaios has a 15% chance, unless he gets a lot healthier.



    They probably need increasing.

    Ah! the Generals! they are numerous, but not good for much (especially if they're Languorous)!
    -- Aristophanes, if he played EB

  5. #5
    EB Traiter Member Malrubius's Avatar
    Join Date
    Jan 2005
    Location
    On a tree-covered mountain in Anniston, Alabama, USA
    Posts
    2,633

    Default Re: Possible CTD Source

    Thank you Thank you Thank you for putting me onto this bug!

    Eureka!

    This in Data\text\export_VnVs.txt:
    Code:
    {Seleukid_Olympionikes_effects_desc}
    causes CTDs when you win the Olympics.

    This:
    Code:
    {Seleukid_Olympionikes_effects_desc}
    +1 Influence
    Does not.

    I had tested it all a long time ago, but since then we'd done special messages for each faction, and somehow I left out the effects for every single trait (well, with the way I generated them, if one was messed up, they all were). This is not something I wrote for my validation program to catch (I didn't even know it would CTD), so now I need to add something else to that.

    Anyway, if you add that second line everywhere you have Olympionikes_effects_desc} in that file (just do a search for the bold text there), you shouldn't have any more CTDs from winning the Olympics.

    Ah! the Generals! they are numerous, but not good for much (especially if they're Languorous)!
    -- Aristophanes, if he played EB

  6. #6
    Bearer of Vilya, Editing Slave Member LordElrond's Avatar
    Join Date
    Jan 2006
    Location
    Under a load of college work.
    Posts
    147

    Default Re: Possible CTD Source

    Well thats good news. One less CTD to worry about. Too bad its too late for my general. I had to continue my campaign with him embarrassing himself and now having to live with it for the rest of his life. Anyway, thanks for providing the fixed code. I assume this will be in the patch for those who don't fix it themselves?

    BTW: What coding language is this written in? I just started college going to major into computer science so this is all very interesting to me as I look through all the code you guys have written.
    Last edited by LordElrond; 01-21-2006 at 19:39.
    Quote Originally Posted by khelvan
    Oh. My. God.

  7. #7

    Default Re: Possible CTD Source

    Would it happen anytime any hellenic character won - even if he was AI?

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