Error code "COMP_BASIC_RULES::get_stage_structure() - invaild stage index !"

Discuss all aspects of editing the data and databases in EHM here. Have a question about the EHM Editor, EHM Assistant, editing the .cfg files, hex editing the .dat or .db files? Want to tweak the EHM exe file to change league rules/structure, start date etc? This is the place!
Forum rules
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.

Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.

Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.

Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
Post Reply
User avatar
Mackecool93
Prospect
Posts: 85
Joined: Wed Oct 22, 2014 5:05 pm
Favourite Team: Djurgårdens IF

Error code "COMP_BASIC_RULES::get_stage_structure() - invaild stage index !"

Post by Mackecool93 »

Im getting this error message "COMP_BASIC_RULES::get_stage_structure() - invaild stage index !", which leads to a crash, at Apr 8th using a modified version of the "PremierPivot 5.6.2". The modifications i've done are some adjustments to players(changed clubs/pos/ca/pa etc.), created some new players, created a few new leagues by starting a new league or changed the teams in a current one to make "regional" leagues around the globe. In all of these ive used a previously tested schedule template/ruleset which i know has worked before, i manually imported them from an earlier database ive made.

So anyone know exactly what the error means. I started by looking at all leagues in the database, mine and the ones that were there and looked at the drawdates to see if i could find something there. Did some changes to see if that were the culprit, no luck(i can be wrong about it though). Now as im writing this i thought about the ivalid index part and im trying to see if its a UID error. I might try to exclude leagues and run one at a time to try and find the league giving an error(if it is a specific league error) but a minimal database all detail at none and all leagues selected it takes me about 2h i think to get to the date in question so id rather not.

If anyone has any ideas please share. I can upload the database here if its needed.
User avatar
Mackecool93
Prospect
Posts: 85
Joined: Wed Oct 22, 2014 5:05 pm
Favourite Team: Djurgårdens IF

Error code "COMP_BASIC_RULES::get_stage_structure() - invaild stage index !"

Post by Mackecool93 »

After a lot of looking around and a lot of simming different configurations(and finding and fixing about 4-5 other error messages) i think i found the thing triggering the above error message. In multiple competitions i had forgot to mention which stage to pull teams from for a playoff. Hopefully this fixes it.
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Error code "COMP_BASIC_RULES::get_stage_structure() - invaild stage index !"

Post by archibalduk »

Yes that sounds like the issue. That error means that you've put an incorrect stage number in a field somewhere.
Post Reply