In game crash after first season (xECK29x Pivot Rosters)

Having difficulty installing or running EHM? Having trouble purchasing the game through Steam? Unable to get an addon or patch to work correctly? This is the place to ask for help! Please note that this is purely unofficial support offered by the TBL community.
Forum rules
Data Editing Forum: Editing the game, databases or saved games. Home of the EHM Editor and the EHM Assistant.

Game Add-ons Forum: Database projects, graphics and sounds. Any discussion which does not relate to editing databases or saved games.

Game Knowledge Discussion: Attributes, coaching, drafting, scouting, tactics and training/practice.

Rosters Forum: Discussion relating to all database and roster projects for Eastside Hockey Manager.

Technical Support: Difficulties, crashes and errors when installing or running the game (and nothing else). Any issues relating to the TBL Rosters must be posted in the TBL Rosters forum. Questions about how to install add-ons must be posted in the Game Add-ons Forum.

General EHM Chat: Anything relating to Eastside Hockey Manager 2004 / 2005 / 2007 / 1 which does not fall within any of the other forums.

Please carry out a forum search before you start a new thread.
Post Reply
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1013
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

In game crash after first season (xECK29x Pivot Rosters)

Post by xECK29x »

Since v2.3 of my DB I've had a few people report crashes a few days/weeks into FA in 2018. I have acquired a copy of a saved game and I'd like to understand how to debug it to try to determine what is triggering this crash. I tried a few validation steps in the editor but it didn't seem to help (the below file is unaltered). Is there a way to view queued transactions that I may be able to pin-point what is occurring? The file below will crash at the next progression.

https://www.dropbox.com/s/e7nkkf8fzhxox ... 2.sav?dl=0
LemonHayes13
Junior League
Posts: 6
Joined: Mon Mar 05, 2018 8:07 pm
Favourite Team: Rangers

Re: Troubleshooting Assistance (random crashes after year on

Post by LemonHayes13 »

User avatar
archibalduk
TBL Admin Team
Posts: 20384
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: In game crash after first season (xECK29x Pivot Rosters)

Post by archibalduk »

Unfortunately there is no way of us debugging a saved game or viewing any diagnostic information. The structure of save games is unknown (SI does not share this information). The EHM Editor will actually show you less information from a saved game than a database. This is because certain of the database tables are not used in saved games. Instead, it seems those tables are replaced with more complex tables. Realistically, the only real way of debugging a saved game is to debug the game itself with the saved game running - and to do this you need the game's source code (which only Riz and SI Games have access to).

Running the validation functions from the EHM Editor in saved games will do more bad than good. This is why all of the validation settings are disabled by default for saved games. The Editor is not designed for editing saved games in any way. I have been trying to make this clear with the dialogue window that appears when first running the Editor and on the opening screen but it seems a lot of people are still missing what it says.

The most common cause of crashes is the league rules and structures (not just the Rules & Structures screen in the Editor, but also things like the nature of the teams in the league). My suggestion is to try to replicate the crash and narrow down to which league it relates. The saved games from other users will be a good starting point because you can see what playable leagues they have running. Try starting a new game with one league at a time and then sim to the summer. Hopefully this will indicate which league is the culprit. Note that you can speed up the simming in-game by changing the Detail Level by clicking on the cog/settings icon in the top right corner of the screen -> Detail Level -> Change both of the Preset Configuration settings to "Minimum".

Once you have narrowed down the league, I suggest then taking a look at the last version of your database. If the issue is not present in the last version then it'll likely be something you changed for your most recent release. If the crash is happening regardless of league selection, I would hazard a guess that it relates to the NHL or to an international tournament.

Note that all of the above is really just a starting point and should help narrow down finding the source. Unfortunately there are many different ways in which people have been able to cause crashes in the game. But the league rules and structures is a good starting point as it is a common culprit.
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1013
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

Re: In game crash after first season (xECK29x Pivot Rosters)

Post by xECK29x »

Thanks Archi,

So far this is happening only with the NHL selected for users at a minimum and around mid July. I'll start poking around but I have never touched the NHL rules or structure since the TBL beta was released. Will start poking around though to see what is going on.
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1013
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

Re: In game crash after first season (xECK29x Pivot Rosters)

Post by xECK29x »

Really at a loss here, if someone can spend some time to look over these two DBs and determine what may be causing this I would greatly appreciate it. I don't see myself spending anymore time working on DBs unless this can be fixed. The only option I have is to go back to version 2.2 (from January) and re-do months worth of work which is just demoralizing.

Version 2.2 works just fine, I have a feeling this crash was introduced while working on adding the USPHL, which consists of 20 Club Competitions and ~60 teams. I ran into this bug while creating teams which permanently altered/removed some National U20 teams: viewtopic.php?f=110&t=14290&start=1075#p234134. I have not altered any leagues under 'Rules & Structures' and they appear to be consistent with TBL 10.1.

Those altered National teams are the only thing that jumps out to me, I see some values are not consistent as I am unable to make negative values.

The working 2.2 DB can be found here: https://www.dropbox.com/s/ij0kh82etd0ba ... 2.zip?dl=0

The 2.3 released (where it seems this bug was introduced) can be found here: https://www.dropbox.com/s/t5tjycvo0zrlq ... 3.zip?dl=0

Version 2.2 (working): Image

Version 2.3 (not working): Image
User avatar
archibalduk
TBL Admin Team
Posts: 20384
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: In game crash after first season (xECK29x Pivot Rosters)

Post by archibalduk »

It sounds from your other thread that you've found the cause. But let me know if you still have issues and I can try to lend a hand this weekend.
Post Reply