1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

"Fall of France" crash

Discussion in 'Bug Reports' started by PMBobro, Jul 19, 2013.

  1. PMBobro

    PMBobro Chieftain

    Joined:
    Feb 11, 2012
    Messages:
    7
    Unfortunately, still have "Fall of France" crash... :(
     
  2. benjreev

    benjreev Chieftain

    Joined:
    Jul 19, 2013
    Messages:
    2
  3. benjreev

    benjreev Chieftain

    Joined:
    Jul 19, 2013
    Messages:
    2
    After a bit of investigation I was able to fix my Fall of France crash by commenting line 404 of ScriptEuro1940.lua

    Code:
    -- city::SetNumRealBuilding(COURTHOUSE, 1)
    I also tried

    Code:
    if city::CanConstruct(COURTHOUSE, 0, 1) then
            city::SetNumRealBuilding(COURTHOUSE, 1)
    end
    but that didn't help.

    Maybe the COURTHOUSE constant is not being properly defined? Either way I was able to build the courthouses manually and continue the game.

    Thanks
     
  4. Gedemon

    Gedemon Modder Moderator

    Joined:
    Oct 4, 2004
    Messages:
    9,236
    Location:
    France
    Thanks benjreev, that could help.

    The courthouse is not for Paris, but for all Vichy's cities, I'll have a look at another workaround.
     
  5. PMBobro

    PMBobro Chieftain

    Joined:
    Feb 11, 2012
    Messages:
    7
    So what I can do to fix "Fall of France" in my game?
     
  6. Momann

    Momann Chieftain

    Joined:
    Sep 24, 2010
    Messages:
    4

Share This Page