Results 1 to 10 of 10

Thread: Renforcment CTD

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Asia ton Barbaron mapper Member Pharnakes's Avatar
    Join Date
    Feb 2007
    Location
    The Kingdom of Fife
    Posts
    1,768

    Smile Re: Renforcment CTD

    Yes, but what was it? What happened when it occured?
    Asia ton Barbaron The new eastern mod for eb!

    Laziest member of the team My red balloons, as red as the blood of he who mentioned Galatians.
    Roma Victor!

    Yous ee gishes?

  2. #2

    Default Re: Renforcment CTD

    When you had a battle were there was a reinforcment for your enemey or for you than you win the battle the game wouldd crash but that's a issuhe 0.73 and it was a real issuhe when you would fight the grey dead and they have reinforcment and you have a heroic victory many times there was a CTD
    "I should like to see any power of the world destroy this race, this small tribe of unimportant people, whose history is ended, whose wars have been fought and lost, whose structures have crumbled, whose literature is unread, whose prayers are no longer answered.... For when two of them meet anywhere in the world, see if they will not create a new Armenia!

    William Saroyan, 1935.


    High kings of the Mountains: A Hayasdan AAR

  3. #3

    Default Re: Renforcment CTD

    When reinforcements took part in a battle basically. It was a lot more common in the past but they found some trait tricks that makes it much much less likely.

  4. #4
    EB TRIBVNVS PLEBIS Member MarcusAureliusAntoninus's Avatar
    Join Date
    Jul 2006
    Location
    The State of Jefferson, USA
    Posts
    5,722

    Default Re: Renforcment CTD

    It was caused by faulty triggers for traits. I think it was 'enemies in battle' trigger or something. If the trigger for a trait is complex and the trigger includes counting units on the field, it would crash when you loaded out of the battle. Since it was only confused when multiple armies were on the field, it crashed during battles with reenforcements.

    The bug still happens, very rarely. But in 7.x, it would happen about 50% of the time when there was 3 or more armies fighting.
    Last edited by MarcusAureliusAntoninus; 06-30-2007 at 20:44.


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

    Default Re: Renforcment CTD

    To be precise, it is a bugged variable which we used as a conditional. NumEnemiesInBattle works fine most of the time, but in the combination of playing out the battle (IE not autoresolve) and having enemy reinforcements it would crash the game if the chance of the trigger in question struck. Took me months to find that one, and the rest of the team had spent several months before I even started on it, at least narrowing it down to a trait trigger issue. If you search my posts in the TWC forum you can see some of the taking place.

    Anyway, we worked around it by using NumFriendsInBattle and battle odds instead. Possibly NumFriendsInBattle also crashes in some esoteric conditions, but hardly ever.

    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

  6. #6

    Default Re: Renforcment CTD

    Nice short summation - wow. What an incredibly nasty thing that was too. It's amazing you ever found it mate.

  7. #7
    Krusader's Nemesis Member abou's Avatar
    Join Date
    Mar 2006
    Posts
    4,513

    Default Re: Renforcment CTD

    Yeah, Bovi is a beast. I don't know how he does it, but he is certainly good at it. The man is a walking troubleshooting guide.

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

    Default Re: Renforcment CTD

    That particular one came from pure stubbornness in doing trial and error. Most are due to good tools (UltraEdit/-Compare, Oracle database, SysInternal's FileMon etc). And some professional experience hunting bugs in my own code.

    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

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