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

Stability Improvement

Discussion in 'Community Patch Project' started by ilteroi, Dec 4, 2020.

  1. ilteroi

    ilteroi Prince

    Joined:
    Mar 11, 2006
    Messages:
    369
    Hey all,

    important information for everybody experiencing sporadic late-game crashes. Those are mostly due to lua hooks being called from the game core. On the other hand if you are not using any additional modmods, those lua hooks are actually not needed.

    So there is an option to turn them off. Take a look into "(1) Community Patch\Core Files\Core Tables\CustomModOptions.xml" and set CORE_DISABLE_LUA_HOOKS to 1.

    That is all, and you even get a little performance boost on top. Please document your experience, if everybody ends up playing without we could even make it the default.
     
    Dejagore, Erikose, glider1 and 9 others like this.
  2. Elhoim

    Elhoim Iron Tower Studio Dev

    Joined:
    Nov 3, 2004
    Messages:
    2,495
    Gender:
    Male
    Location:
    San Isidro, Argentina.
    Which kind of mods? Modmods you mentioned? In any case, these would need them?

    Gedemon's YnAEMP
    InfoAddict
    Quick Turns
    Really Advanced Setup
    UI - Improved City View (Vox Populi EUI)
    UI - Trade Opportunities for VP

    I'll be sure to try it out, once the game doesn't crash anymore with the ranged units :p
     
  3. Omen of Peace

    Omen of Peace Prince

    Joined:
    Mar 22, 2018
    Messages:
    392
    Gender:
    Male
    Yes, it would be interesting to know if it affects UI-only mods.
     
  4. pineappledan

    pineappledan Deity

    Joined:
    Aug 9, 2017
    Messages:
    5,715
    Gender:
    Male
    Location:
    Alberta, Canada
  5. DizzKneeLand33

    DizzKneeLand33 Fall from Heaven 2 still rocks

    Joined:
    Oct 14, 2004
    Messages:
    506
    Location:
    Kansas City
    So if we are just downloading the Vox package (1 - 7b) and use no other mods, is this when it is good to set the disable hooks to 1? I don't know exactly if the other things in the download are considered "modmods."
     
  6. pineappledan

    pineappledan Deity

    Joined:
    Aug 9, 2017
    Messages:
    5,715
    Gender:
    Male
    Location:
    Alberta, Canada
    They are not modmods if they are packaged with Vox populi. If they are packaged with the base cpp then they have the luxury of full dll integration, but most custom civs, added wonders, and additional features do not enjoy full integration.
     
    DizzKneeLand33 likes this.
  7. arievillo

    arievillo Chieftain

    Joined:
    Jan 28, 2020
    Messages:
    79
    So... late game crashes is basically caused by modmods?
     
  8. NikMuazHakim

    NikMuazHakim Warlord

    Joined:
    Feb 25, 2017
    Messages:
    282
    Location:
    Malaysia
    Nahh, it happens in vanilla VP too. Disabling the hook seems promising. Would test it out in mp
     
  9. vyyt

    vyyt Deity

    Joined:
    Jan 28, 2005
    Messages:
    2,268
    Location:
    Czech Republic
    To some people. I am not getting crashes, neither on my current laptop, nor on my old one (I was getting screen freezes if playing with Ethnic Units though). And I play exclusively on Huge with a ton of extra mods. It seems somehow HW related, but it's really a hit or miss. I know some people with powerful machines experience the CTDs too.
     
    Drakul, NikMuazHakim and bigcat88 like this.
  10. Recursive

    Recursive Covets Lands That You Currently Own Moderator

    Joined:
    Dec 19, 2017
    Messages:
    2,183
    Gender:
    Male
    I'm curious as to whether people using Windows 7 are experiencing more of these sporadic crashes than those using Windows 10.
     
    vyyt likes this.
  11. andersw

    andersw Emperor

    Joined:
    Feb 11, 2008
    Messages:
    1,082
    Location:
    sweden
    Im on win 7, but rarely play extreme late game.
    Got one game going with most recent version, game is stable (300ish turns so far) but its crashing when I leave civ -> desktop, which is not usual.
     
    vyyt likes this.
  12. azum4roll

    azum4roll Emperor

    Joined:
    Jul 17, 2018
    Messages:
    1,304
    Gender:
    Male
    If playing single player, my game only crashes after turn 500, when memory goes haywire.

    One time it generated an autosave (turn 507) of 12.99GB though, which was the cause why I couldn't start a new game at all.
     
    vyyt likes this.
  13. Elhoim

    Elhoim Iron Tower Studio Dev

    Joined:
    Nov 3, 2004
    Messages:
    2,495
    Gender:
    Male
    Location:
    San Isidro, Argentina.
    In general, for me it's crashing the turns after a city razing ends in the late game. Sometimes I change some moves and doesn't crash.
     
  14. 2506

    2506 Warlord

    Joined:
    Feb 23, 2020
    Messages:
    140
    I've played two games with the lua hooks turned off and encountered no problems. Mods used:
    • Faster aircraft turns
    • Info Addict
    • Quick Turns
    • Really Advanced Setup
     
    Elhoim likes this.
  15. tommytoxen

    tommytoxen Warlord

    Joined:
    May 7, 2012
    Messages:
    227
    Gender:
    Male
    Location:
    worksop
    I used to crash regularly, but not once yet on this new version. *touch wood*

    If it helps, all my crashes usually happened when using bombers. Occasionally I'd go to bomb a city I'd crash. Not happened yet on this one.

    I also think events & decisions was causing a crash too, I'd crash after the event where you get two free artists. but I got that one yesterday and didn't crash so.

    I have high hopes for this version.
     
    John.B.C and vyyt like this.

Share This Page