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

Save crashes and freeze after end of turn

Discussion in 'Bugs and Crashes' started by fil7er, Jan 12, 2018.

  1. fil7er

    fil7er Chieftain

    Joined:
    Feb 2, 2016
    Messages:
    10
    Latest SVN, i use world builder to add some units and change difficult. Is there any advice to fix this? Thanks .
     

    Attached Files:

  2. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    26,318
    Gender:
    Male
    Location:
    Las Vegas
  3. fil7er

    fil7er Chieftain

    Joined:
    Feb 2, 2016
    Messages:
    10
    I can try reset the crash sequence using the World Builder and saving in scenario mode, but i afraid if this will getting worse.
     
  4. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    26,318
    Gender:
    Male
    Location:
    Las Vegas
    I'm stuck on another debug project and have not been able to address this yet. What you posted, provided it does crash immediately when I hit the red button, will be useful enough once I'm cleared up on the debug project I'm on.
     
  5. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    26,318
    Gender:
    Male
    Location:
    Las Vegas
    It occurs to me that I may not be understanding you. Will this save crash when I hit the end of turn or does it crash when you add some units? I haven't looked yet but I'm soon to do so. Please instruct me on exactly how to replicate the crash.
     
  6. fil7er

    fil7er Chieftain

    Joined:
    Feb 2, 2016
    Messages:
    10
    I manage to extend my game not using world builder save(scenario mode) to change difficult, but in BUG options, i uploaded here, i think this crash is the same reason of another save. Some strange things happened then in this map:
    1- Most stone resources spawning in coast(I manage to add terrain in one to regain access)
    2- Volcano events happens 3x even if don't have volcano in the island
    3- The AI Egyptian tribe, trying to build a city in marsh, because this he unable to build other cities(Manage again to remove this unit)
    4- The Green Man discover the World is round, You are the worst enemy of The Green Man (This happens after use World builder save in scenario mode)

    Yes, just hit the red button,and no the only unit i spawned is some great people. Thanks again for quick response
     

    Attached Files:

  7. raxo2222

    raxo2222 Time Traveller

    Joined:
    Jun 10, 2011
    Messages:
    6,313
    Location:
    Poland
    2. Volcano event is global for all players - everyone knows about them, when event happens anywhere in the world.
    4. Someone failed to properly initialize players - it should look like this in map configuration:
    Also WorldBuilder fails to save it properly every time.
    Spoiler :

    BeginTeam
    TeamID=0
    ContactWithTeam=0
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=1
    ContactWithTeam=1
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=2
    ContactWithTeam=2
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=3
    ContactWithTeam=3
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=4
    ContactWithTeam=4
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=5
    ContactWithTeam=5
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=6
    ContactWithTeam=6
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=7
    ContactWithTeam=7
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=8
    ContactWithTeam=8
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=9
    ContactWithTeam=9
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=10
    ContactWithTeam=10
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=11
    ContactWithTeam=11
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=12
    ContactWithTeam=12
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=13
    ContactWithTeam=13
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=14
    ContactWithTeam=14
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=15
    ContactWithTeam=15
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=16
    ContactWithTeam=16
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=17
    ContactWithTeam=17
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=18
    ContactWithTeam=18
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=19
    ContactWithTeam=19
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=20
    ContactWithTeam=20
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=21
    ContactWithTeam=21
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=22
    ContactWithTeam=22
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=23
    ContactWithTeam=23
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=24
    ContactWithTeam=24
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=25
    ContactWithTeam=25
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=26
    ContactWithTeam=26
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=27
    ContactWithTeam=27
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=28
    ContactWithTeam=28
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=29
    ContactWithTeam=29
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=30
    ContactWithTeam=30
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=31
    ContactWithTeam=31
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=32
    ContactWithTeam=32
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=33
    ContactWithTeam=33
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=34
    ContactWithTeam=34
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=35
    ContactWithTeam=35
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=36
    ContactWithTeam=36
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=37
    ContactWithTeam=37
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=38
    ContactWithTeam=38
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=39
    ContactWithTeam=39
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=40
    ContactWithTeam=40
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=41
    ContactWithTeam=41
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=42
    ContactWithTeam=42
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=43
    ContactWithTeam=43
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=44
    ContactWithTeam=44
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=45
    ContactWithTeam=45
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=46
    ContactWithTeam=46
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=47
    ContactWithTeam=47
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=48
    ContactWithTeam=48
    RevealMap=0
    EndTeam
    BeginTeam
    TeamID=49
    ContactWithTeam=49
    RevealMap=0
    EndTeam
    BeginPlayer
    Team=0
    LeaderType=LEADER_WASHINGTON
    CivType=CIVILIZATION_UNITED_STATES
    Color=PLAYERCOLOR_BLUE
    ArtStyle=ARTSTYLE_ANGLO_AMERICA
    PlayableCiv=1
    MinorNationStatus=0
    StartingGold=0
    StartingX=28, StartingY=20
    RandomStartLocation=false
    EndPlayer
    BeginPlayer
    Team=1
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=2
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=3
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=4
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=5
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=6
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=7
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=8
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=9
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=10
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=11
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=12
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=13
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=14
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=15
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=16
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=17
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=18
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=19
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=20
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=21
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=22
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=23
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=24
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=25
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=26
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=27
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=28
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=29
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=30
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=31
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=32
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=33
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=34
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=35
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=36
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=37
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=38
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=39
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=40
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=41
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=42
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=43
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=44
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=45
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=46
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=47
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=48
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer
    BeginPlayer
    Team=49
    LeaderType=NONE
    CivType=NONE
    Color=NONE
    ArtStyle=NONE
    Handicap=HANDICAP_NOBLE
    EndPlayer

    This example has defined one player of concrete nation spawning in concrete place.
     
    Last edited: Jan 14, 2018
  8. Toffer90

    Toffer90 C2C Modder

    Joined:
    Oct 16, 2011
    Messages:
    6,161
    Location:
    Norway
    Events has severe shortcomings as a system.
    I would like to change all the events in the game more or less, but there is little point in working on an event overhaul project without first changing the fundamental inner workings of the event system that is located in the dll.
     
    raxo2222 likes this.
  9. Dancing Hoskuld

    Dancing Hoskuld Deity

    Joined:
    Jul 5, 2004
    Messages:
    23,329
    Gender:
    Male
    Location:
    Canberra, Australia
    We need to get a lot more creative with events. We only added a few of the Stone Age mod's events when we expanded back in history. For example there were a few "barbarian invasion" events as well as some free building events.
     
  10. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    26,318
    Gender:
    Male
    Location:
    Las Vegas
    True. But I also agree with Toffer that the event system itself has some inherent flaws that have long frustrated us. Unfortunately, in terms of priority (partly due to the massive complexity) a major rework of the system is nowhere on the horizon.
     
  11. fil7er

    fil7er Chieftain

    Joined:
    Feb 2, 2016
    Messages:
    10
    I updated latest version and works again, thanks
     
  12. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    26,318
    Gender:
    Male
    Location:
    Las Vegas
    Really? I don't think this was actually directly addressed so it must've been you had a problem someone else had! Cool.
     

Share This Page