Results 1 to 25 of 25

Thread: Possible CTD Source

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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

  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

    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

  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

    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.

  4. #4

    Default Re: Possible CTD Source

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

  5. #5
    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

    I believe it would crash for every hellenic character since it was missing in every hellenic nations code as I look through it (just as Mal said). Does the ai compete in the olympics? That could be a huge cause of CTDs if they did... everytime they won - CTD
    Quote Originally Posted by khelvan
    Oh. My. God.

  6. #6
    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 Teleklos Archelaou
    Would it happen anytime any hellenic character won - even if he was AI?
    Yeah, I believe that would be the case. The Olympics look like the only place where I have a blank line following a "}" character. I learn something new about RTW CTDs every day, it seems!

    Quote Originally Posted by LordElrond
    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.
    It's not a programming language, per se, but a special RTW scripting language. Pretty simple, but there's no compiler to check your errors and tell you something is invalid! I believe I've learned more about good programming practices from this than when I was studying it in college!

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

  7. #7
    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

    Eh, no compiler. Well looking through more and more of the 1000s of lines of code wrote for this, I have to say that most people probably don't realize how much time and effort it would actually take just to get all the code into working order... plus research done beforehand.
    Quote Originally Posted by khelvan
    Oh. My. God.

  8. #8
    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

    The traits and ancillaries have really been a team effort, with input, descriptions, and decisions from many of our members. Even the coding itself has been done by several of us (at least half a dozen people)! We're kind of short-handed right now, so anybody interested in coding would be welcome to volunteer his services!

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

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