Page 1 of 2 12 LastLast
Results 1 to 30 of 46

Thread: Reinforcement CTD Fix - The Real Deal!

  1. #1
    EBII Council Senior Member Kull's Avatar
    Join Date
    Jan 2003
    Location
    El Paso, TX
    Posts
    13,502

    Default Reinforcement CTD Fix - The Real Deal!

    This has not been tested extensively enough for us to say 100% that the bug is dead, but right now it looks VERY promising. All of you with v.74 games saved just prior to the Reinforcement CTD bug, please download the fix and test it. Do it RIGHT NOW!!!! And tell us if it worked. And when it does, you can thank Bovi for his genius and therother and BozosLiveHere for never giving up!

    Edit: The fix is a single text file that should be unzipped into the /Data subdirectory of your v.74 build. It will overwrite a file already present there.

    Edit2: Changed the link (file is now downloaded directly from europabarbarorum.org)
    Last edited by Kull; 10-29-2006 at 02:51.
    "Numidia Delenda Est!"

  2. #2
    Senior Member Senior Member Reenk Roink's Avatar
    Join Date
    Oct 2005
    Posts
    4,353

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Yay!

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

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Hmmm... Rapidshare won't let me download it. Anyone else having this problem?

  4. #4
    VOXIFEX MAXIMVS Member Shigawire's Avatar
    Join Date
    Oct 2003
    Location
    Norway, Br?nn?ysund
    Posts
    2,059

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Did you write the letters/numbers you see?
    It tests if you're a person or a pc. WEird world we live in


    "To know a thing well, know its limits. Only when pushed beyond its tolerances will its true nature be seen." -The Amtal Rule, DUNE

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

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Indeed I did/am. Still no luck.

  6. #6
    Poll Smoker Senior Member CountArach's Avatar
    Join Date
    Aug 2006
    Location
    Sydney, Australia
    Posts
    9,029

    Default Re: Reinforcement CTD Fix - The Real Deal!

    It downloaded fine for me... I'll go test it now!

    Out of interest, what was likely to be the problem?
    Rest in Peace TosaInu, the Org will be your legacy
    Quote Originally Posted by Leon Blum - For All Mankind
    Nothing established by violence and maintained by force, nothing that degrades humanity and is based on contempt for human personality, can endure.

  7. #7
    EB Traitor Member BozosLiveHere's Avatar
    Join Date
    Jan 2006
    Location
    Uqbar, Tlön
    Posts
    3,662

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Apparently, the engine got confused and crashed when it had to count the number of enemies in battle during a reinforcement battle. For some reason it went fine when you autocalculated.

    BTW, the workaround I used involves in part replacing the NumEnemiesInBattle conditional with NumFriendsInBattle, but I don't know if it also has the problem. It was the only way to keep the functionality we wanted, and I figured that using a counter for the number of friendlies would be a better choice, given that most of the time the player can decide if in a particular battle he'll have reinforcement armies or not. So, if you get a CTD with multiple allied armies, try replaying it after merging them or moving one away and see if it works.

    I've also uploaded the file to our FTP, it can be found here. Kull, you might want to update the first post.
    Last edited by BozosLiveHere; 10-29-2006 at 00:29.

  8. #8

    Default Re: Reinforcement CTD Fix - The Real Deal!

    so are the general's after battle traits still nerfed with this fixed?

  9. #9
    EB Traitor Member BozosLiveHere's Avatar
    Join Date
    Jan 2006
    Location
    Uqbar, Tlön
    Posts
    3,662

    Default Re: Reinforcement CTD Fix - The Real Deal!

    No.

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

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Ah, excellent then.

  11. #11
    EBII Mapper and Animator Member -Praetor-'s Avatar
    Join Date
    Apr 2006
    Location
    Marburg, Germany
    Posts
    3,760

    Default Re: Reinforcement CTD Fix - The Real Deal!

    But if you replace the NumEnemiesInBattle with the NumFriendsInBattle conditional, the engine must also count the number of soldiers in the battle, so it will also be confused and cause a CTD...

    An the problem would not only be present when the player has reinforcements in the battle, but it would also arise when the enemy brings in reinforcements, because the trait that involves that conditional (NumFriendsInBattle) would also operate if one of the enemy`s armies has a general in it... since the traits operate also for the AI controlled FMs as well as for the player controlled FMs..

    Perhaps a more safe solution would be replacing any conditional that involves counting soldiers in the field of battle altogether, with another like total kills, etc...

    PS: Just a thought....

  12. #12
    EB Traitor Member BozosLiveHere's Avatar
    Join Date
    Jan 2006
    Location
    Uqbar, Tlön
    Posts
    3,662

    Default Re: Reinforcement CTD Fix - The Real Deal!

    If NumFriendsInBattle turns out to be as buggy as NumEnemiesInBattle I'll try something else. So far it has worked. I don't really have good substitutes for them (NumFriendsInBattle wasn't a perfect substitute already).

  13. #13
    Poll Smoker Senior Member CountArach's Avatar
    Join Date
    Aug 2006
    Location
    Sydney, Australia
    Posts
    9,029

    Default Re: Reinforcement CTD Fix - The Real Deal!

    w00t!!! Go EB!

    Okay I just played a reinforcement battle as Koinon Hellenon, just to see if it worked. Here are the results:

    Me = 1671 Deployed, 2512 Kills, 1481 Remaining
    They had 3 Captain lead armies:
    1 = 1221 Deployed, 88 Kills, 192 Remaining
    2 = 341 Deployed, 61 Kills, 116 Remaining
    3 = 1521 Deployed, 70 Kills, 263 Remaing

    Overal Result = Heroic Victory
    The second army was the garrison of Korinthos. There was no CTD! It came up a historic battle on the Strat map.

    Great job guys! Especially the scripters!
    Rest in Peace TosaInu, the Org will be your legacy
    Quote Originally Posted by Leon Blum - For All Mankind
    Nothing established by violence and maintained by force, nothing that degrades humanity and is based on contempt for human personality, can endure.

  14. #14
    Narcissist Member Zalmoxis's Avatar
    Join Date
    Jan 2005
    Location
    On a cloud
    Posts
    1,584

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Doesn't work for me.. but in my game it's saved at battlescreen. Does that make a difference?
    "Under capitalism, man exploits man. Under communism, it's just the opposite." - John Kenneth Galbraith

  15. #15
    Poll Smoker Senior Member CountArach's Avatar
    Join Date
    Aug 2006
    Location
    Sydney, Australia
    Posts
    9,029

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Well I started a new game, but yes, good question.

    Save game compatible?
    Rest in Peace TosaInu, the Org will be your legacy
    Quote Originally Posted by Leon Blum - For All Mankind
    Nothing established by violence and maintained by force, nothing that degrades humanity and is based on contempt for human personality, can endure.

  16. #16
    EBII Council Senior Member Kull's Avatar
    Join Date
    Jan 2003
    Location
    El Paso, TX
    Posts
    13,502

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Quote Originally Posted by CountArach
    Save game compatible?
    Yes. My game was from last March and it worked fine.l
    "Numidia Delenda Est!"

  17. #17
    EBII Council Senior Member Kull's Avatar
    Join Date
    Jan 2003
    Location
    El Paso, TX
    Posts
    13,502

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Quote Originally Posted by k_raso
    But if you replace the NumEnemiesInBattle with the NumFriendsInBattle conditional, the engine must also count the number of soldiers in the battle, so it will also be confused and cause a CTD...

    An the problem would not only be present when the player has reinforcements in the battle, but it would also arise when the enemy brings in reinforcements, because the trait that involves that conditional (NumFriendsInBattle) would also operate if one of the enemy`s armies has a general in it... since the traits operate also for the AI controlled FMs as well as for the player controlled FMs..

    Perhaps a more safe solution would be replacing any conditional that involves counting soldiers in the field of battle altogether, with another like total kills, etc...

    PS: Just a thought....
    If the issue was simply counting, then you are right, it wouldn't make a difference. But the fact is that we DO see dramatically different results, so it must be something else. Bovi has theorized that the problem is a bug in the CA NumEnemiesInBattle code. And if so, then we should absolutely see no more CTDs. That's why we want to see a lot more testing. I'm not kidding - you guys can REALLY help us out here by running as many of your old CTD games as possible so we can say with 100% certainty that yes, the bug is dead.
    Last edited by Kull; 10-29-2006 at 03:22.
    "Numidia Delenda Est!"

  18. #18
    Narcissist Member Zalmoxis's Avatar
    Join Date
    Jan 2005
    Location
    On a cloud
    Posts
    1,584

    Default Re: Reinforcement CTD Fix - The Real Deal!

    It didn't work for me, so I abandoned the game and I'm going to start from scratch. I'll give you more info on how it's working when I have a chance.
    "Under capitalism, man exploits man. Under communism, it's just the opposite." - John Kenneth Galbraith

  19. #19
    EBII Council Senior Member Kull's Avatar
    Join Date
    Jan 2003
    Location
    El Paso, TX
    Posts
    13,502

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Quote Originally Posted by Zalmoxis
    Doesn't work for me.. but in my game it's saved at battlescreen. Does that make a difference?
    Well you're at the battlemap here, so god only knows what has been loaded into memory. And given that you still got the CTD, the odds are the old file is already in there. I wouldn't consider this a valid proof for or against the theory.
    "Numidia Delenda Est!"

  20. #20
    EBII Council Senior Member Kull's Avatar
    Join Date
    Jan 2003
    Location
    El Paso, TX
    Posts
    13,502

    Default Re: Reinforcement CTD Fix - The Real Deal!

    For those who really want to help, here's a link to a directory containing a bunch of reinforcement CTD save games submitted by other EB players. A few files are "non-CTD" and a couple others have nothing to do with the bug, but the titles will tell which ones should be tested.

    Here's the plan:

    1) Select and download one of the files.
    2) Post the file name you are testing in this thread (so others don't try the same one)
    3) After your test, tell us what happened. Be sure to indicate the result of the battle if it wasn't a CTD. Average victories and losses often don't produce CTDs, while Heroic victories are almost a guarantee.
    "Numidia Delenda Est!"

  21. #21

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Damn! I've been made redundant after five minutes!

    Downloading and checking tonight.
    Last edited by Slartibardfast; 10-29-2006 at 04:02.

  22. #22
    EB Traitor Member BozosLiveHere's Avatar
    Join Date
    Jan 2006
    Location
    Uqbar, Tlön
    Posts
    3,662

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Uh, Kull, that directory has a lot of savegames from the more recent builds that won't work with .74.

  23. #23
    EBII Mapper and Animator Member -Praetor-'s Avatar
    Join Date
    Apr 2006
    Location
    Marburg, Germany
    Posts
    3,760

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Quote Originally Posted by Zalmoxis
    Doesn't work for me.. but in my game it's saved at battlescreen. Does that make a difference?
    Since when can you save your game from the battle screen?

    Quote Originally Posted by Kull
    If the issue was simply counting, then you are right, it wouldn't make a difference. But the fact is that we DO see dramatically different results, so it must be something else. Bovi has theorized that the problem is a bug in the CA NumEnemiesInBattle code. And if so, then we should absolutely see no more CTDs. That's why we want to see a lot more testing. I'm not kidding - you guys can REALLY help us out here by running as many of your old CTD games as possible so we can say with 100% certainty that yes, the bug is dead.
    You are absolutly right. Hope that it`s just the NumEnemiesInBattle conditional!

    Cheers for the trait team and to Bovi!!!

  24. #24
    Poll Smoker Senior Member CountArach's Avatar
    Join Date
    Aug 2006
    Location
    Sydney, Australia
    Posts
    9,029

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Since when can you save your game from the battle screen?
    I think he means where you chose whether to fight/autocalc/run. You know the screen BEFORE the battle map. From here you cannot activate the script, so it can be a problem.
    Rest in Peace TosaInu, the Org will be your legacy
    Quote Originally Posted by Leon Blum - For All Mankind
    Nothing established by violence and maintained by force, nothing that degrades humanity and is based on contempt for human personality, can endure.

  25. #25
    EBII Council Senior Member Kull's Avatar
    Join Date
    Jan 2003
    Location
    El Paso, TX
    Posts
    13,502

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Quote Originally Posted by BozosLiveHere
    Uh, Kull, that directory has a lot of savegames from the more recent builds that won't work with .74.
    True, there are some of each. But it's no harm in trying to load up a v.79 game...if it doesn't work, they can post that and move on to the next one.
    "Numidia Delenda Est!"

  26. #26
    Now sporting a classic avatar! Member fallen851's Avatar
    Join Date
    Oct 2005
    Posts
    799

    Default Re: Reinforcement CTD Fix - The Real Deal!

    I take it that this bug is still present in 1.5?
    "It's true that when it's looked at isolated, Rome II is a good game... but every time I sit down to play it, every battle, through every turn, I see how Rome I was better. Not unanimously, but ultimately." - Dr. Sane

    http://www.youtube.com/watch?v=L6eaBtzqqFA#t=1h15m33s

  27. #27
    EBII Mapper and Animator Member -Praetor-'s Avatar
    Join Date
    Apr 2006
    Location
    Marburg, Germany
    Posts
    3,760

    Default Re: Reinforcement CTD Fix - The Real Deal!

    With this fix, probably not anymore.

  28. #28
    Texan Member BigTex's Avatar
    Join Date
    Jan 2006
    Location
    Arlington, Texas, United States of America.
    Posts
    1,187

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Yay, amazing works! No more need to try and avoid killing the enemy general. Time to go make some more sweat love with the reinforcements.
    Last edited by BigTex; 10-29-2006 at 11:28.
    Wine is a bit different, as I am sure even kids will like it.
    BigTex
    "Hilary Clinton is the devil"
    ~Texas proverb

  29. #29
    Member Member Oleo's Avatar
    Join Date
    Apr 2006
    Location
    Gelderland, NL
    Posts
    392

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Quote Originally Posted by Kull
    For those who really want to help, here's a link to a directory containing a bunch of reinforcement CTD save games submitted by other EB players. A few files are "non-CTD" and a couple others have nothing to do with the bug, but the titles will tell which ones should be tested.
    Cool, I lost all my saves cause I started playing some other games and I uninstalled. Now I can download and test a couple of my saves again :)

    EDIT: Ok, so I tested both Belgae_2stack_ctd.sav and 1sweboz vs 2romans_ctd.sav

    In both cases I get a ctd with the old file and no ctd with the new file. Works like a charm!! Nice work. Hopefully it works the same for others.
    Last edited by Oleo; 10-29-2006 at 10:49.
    EB member


  30. #30

    Default Re: Reinforcement CTD Fix - The Real Deal!

    Quote Originally Posted by k_raso
    Since when can you save your game from the battle screen?
    Since RTW came out, you can save your RTW game from the battle screen.
    Simply a matter of pressing Esc when the screen has appeared on your monitor... the next time you'll load the game, it will continue at the battlescreen.

    Remeber that by then the engine already calculated the number of enemies, friends, and it predicted the odds as well. This data is simply saved together with the rest of your campaign game. That may prove to be the explanation why Zalmoxis continued to encounter the CTD: the 'likely' faulty code already had done it's buggy work.
    - Tellos Athenaios
    CUF tool - XIDX - PACK tool - SD tool - EVT tool - EB Install Guide - How to track down loading CTD's - EB 1.1 Maps thread


    ὁ δ᾽ ἠλίθιος ὣσπερ πρόβατον βῆ βῆ λέγων βαδίζει” – Kratinos in Dionysalexandros.

Page 1 of 2 12 LastLast

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