Editing international tournaments

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
SEPH
Junior League
Posts: 19
Joined: Sun Oct 29, 2017 10:30 pm
Favourite Team: Avs

Editing international tournaments

Post by SEPH »

Hello all once again,

So in my international database I am creating I have just one final task to edit before I can actually play, but I am facing some problems. Just to provide some backstory, I am making my own custom database and I have edited 40 to 43 nations to go along with the original 8 (USA, Canada, Sweden, etc.). I want to make an actual World Cup of Hockey with 48 teams in group stages similar to football. Each group has 4 teams for 12 groups and the first round will be 32 teams make it in single game elimination. So far I've accomplished a lot of editing in the World Cup, but I am running into some issues that I really need help with. I've been testing the World Cup out after every major edit to see what's going on and here are some of the problems...


- Anyway how to make a random draw for teams? They're going into the group stages as I put them in the division and conference alignment section.

- How do you get NHL players to play in the tournament? So far all I am getting is random Europeans.

- The next stage is NEVER showing up, it always stops after the group stage games.

- Some teams are qualifying in some groups and other groups have zero qualifying teams, what's going on here?

- When I don't put a host, it says unknown city, but when I put a host country it still says unknown city, why?

- Is any segment of the World Cup in the beta version of the roster hardcoded that I cannot change?



Those are the major problems I am running into. Any help would be greatly appreciated even if you tell me where to look is suffice.
SEPH
Junior League
Posts: 19
Joined: Sun Oct 29, 2017 10:30 pm
Favourite Team: Avs

Re: World Cup Editing Help

Post by SEPH »

I should probably upload some images for help. I've been using Champion's Hockey League as a guideline.
Image
Image
Image
Image
Image
Image
Image
Image
SEPH
Junior League
Posts: 19
Joined: Sun Oct 29, 2017 10:30 pm
Favourite Team: Avs

Re: World Cup Editing Help

Post by SEPH »

Any help or suggestions?
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: World Cup Editing Help

Post by nino33 »

SEPH wrote:Any help or suggestions?
I don't have a clue, and didn't enjoy my past attempts at such structural editing HaHa and that's why I haven't said anything :-D I wish I could be helpful somehow...

I would have never gotten an 18 team NHL working in the 1974 DB if it wasn't for Named (maybe he'll see this and have some advice)
Hockeyiow86
Junior League
Posts: 41
Joined: Fri Nov 03, 2017 6:54 pm
Favourite Team: Wightlink Raiders

Spengler Cup

Post by Hockeyiow86 »

Is the Spengler Cup something that will be added? Or is it possible to add yourself in the editor. Not sure how the international teams in the comp would work?
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:

Re: Spengler Cup

Post by archibalduk »

Hockeyiow86 wrote:Is the Spengler Cup something that will be added? Or is it possible to add yourself in the editor. Not sure how the international teams in the comp would work?
New international tournaments cannot be added via the database yet (this is a restriction with the game itself).
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:

Re: Editing international tournaments

Post by archibalduk »

I'm doing this from memory, but here goes:

- Anyway how to make a random draw for teams? They're going into the group stages as I put them in the division and conference alignment section.
IIRC there are some random draw flags but I think they might be for latter stages rather than the initial stage. Try the Stages -> Rules tab in Stage 1.


- How do you get NHL players to play in the tournament? So far all I am getting is random Europeans.
I'm not sure. Much of the international tournaments are hard-coded at present. The hard-coded aspect of international tournaments could be why you are running into issues when modifying the World Cup.


- The next stage is NEVER showing up, it always stops after the group stage games.
Check the following as these determine how many stages will run initially and which stages follow which:

Basic Data tab: Concurrent initial states setting
Stages: Linked stages settings (i.e. next Upper Stage to Trigger)

Also try the Max League Games setting on the Comp Rules tab. I find if this number is higher than the number of games played in any initial stage then it won't trigger the next stage.


- Some teams are qualifying in some groups and other groups have zero qualifying teams, what's going on here?

Check the Fate Rules for each initial stage. Also that each initial stage has the Process Fate Action setting enabled.


- When I don't put a host, it says unknown city, but when I put a host country it still says unknown city, why?

Check the Arena Rules on the Stages -> Schedule Dates screen.
- Is any segment of the World Cup in the beta version of the roster hardcoded that I cannot change?
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Spengler Cup

Post by Alessandro »

archibalduk wrote:
Hockeyiow86 wrote:Is the Spengler Cup something that will be added? Or is it possible to add yourself in the editor. Not sure how the international teams in the comp would work?
New international tournaments cannot be added via the database yet (this is a restriction with the game itself).
If you can live without team canada, spengler cup is doable, though.
SEPH
Junior League
Posts: 19
Joined: Sun Oct 29, 2017 10:30 pm
Favourite Team: Avs

Re: Editing international tournaments

Post by SEPH »

archibalduk wrote:I'm doing this from memory, but here goes:

- Anyway how to make a random draw for teams? They're going into the group stages as I put them in the division and conference alignment section.
IIRC there are some random draw flags but I think they might be for latter stages rather than the initial stage. Try the Stages -> Rules tab in Stage 1.


- How do you get NHL players to play in the tournament? So far all I am getting is random Europeans.
I'm not sure. Much of the international tournaments are hard-coded at present. The hard-coded aspect of international tournaments could be why you are running into issues when modifying the World Cup.


- The next stage is NEVER showing up, it always stops after the group stage games.
Check the following as these determine how many stages will run initially and which stages follow which:

Basic Data tab: Concurrent initial states setting
Stages: Linked stages settings (i.e. next Upper Stage to Trigger)

Also try the Max League Games setting on the Comp Rules tab. I find if this number is higher than the number of games played in any initial stage then it won't trigger the next stage.


- Some teams are qualifying in some groups and other groups have zero qualifying teams, what's going on here?

Check the Fate Rules for each initial stage. Also that each initial stage has the Process Fate Action setting enabled.


- When I don't put a host, it says unknown city, but when I put a host country it still says unknown city, why?

Check the Arena Rules on the Stages -> Schedule Dates screen.
- Is any segment of the World Cup in the beta version of the roster hardcoded that I cannot change?
I appreciate, but none of these really worked or helped. I've been testing out it more trying new things, but seems I am stuck.
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: Editing international tournaments

Post by BKarchitect »

SEPH, I don't know if this helps you or not but read through my post here:

viewtopic.php?f=150&t=18764&p=232541#p232541
SEPH
Junior League
Posts: 19
Joined: Sun Oct 29, 2017 10:30 pm
Favourite Team: Avs

Re: Editing international tournaments

Post by SEPH »

@Foppa: Thanks a lot for trying to help, but I don't think it does. ](*,)

Update: I messed around with some more stuff and actually got the playoff stage up. Of course no teams are in it and it says every day the draw will be the next day which never comes. I think a part of it has to do with an error.

For the record I have 12 groups of 4 teams for a total of 48 teams, while only 32 make it through to the playoff stage.

Under Group 11 it says...

Error
CUSTOM_LEAGUE::setup_next_stage() - rules not defined for adding additional teams after initial teams for stage 11 (World Cup)


It's strange because I looked and reviewed and each group has the same rules as each other group (except for the playoff stage), so no idea why it specifically targets group 11. Any idea what this means?
SEPH
Junior League
Posts: 19
Joined: Sun Oct 29, 2017 10:30 pm
Favourite Team: Avs

Re: Editing international tournaments

Post by SEPH »

Anyone know anything about this error?
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:

Re: Editing international tournaments

Post by archibalduk »

I suggest checking how each stage draws teams. For any playoff/knock-out rounds, check the Schedule Dates and specifically the "Extra Teams" column. The first round of playoffs/knock-out should have the number of teams to compete under the "Extra Teams" column (the Extra Teams are drawn from the preceding stage(s)). By way of example, take a look at the Extra Teams column of Stage 3 of the World Champs.
SEPH
Junior League
Posts: 19
Joined: Sun Oct 29, 2017 10:30 pm
Favourite Team: Avs

Re: Editing international tournaments

Post by SEPH »

I actually decided to start off Archibald from a previous editing point, curious which rules and structure should I trust the most to use as a template? I used Champions Hockey League as the main for me since they had the same number of teams (just difference in groups), but then half way I started using the Olympics.
SEPH
Junior League
Posts: 19
Joined: Sun Oct 29, 2017 10:30 pm
Favourite Team: Avs

Re: Editing international tournaments

Post by SEPH »

Update: Good news gents, I finally got everything to work! I decided to cut the teams from 48 to 32 and use the same rules as the World Cup. Now everything works good, I just wish there was a way to get NHLers to join, but I won't argue.

I am running into a tad problem though, I experimented with the scheduling in the editor and for some reason when I start playing the game, it gives me three different dates to when the tournament starts. August 15, 2017 (the correct one which I am testing), August 15, 2021, and August 15, 2029. August 15th doesn't concern me because that's when I hold the draw for the tournament just for testing purposes, but I have to load the file and then quit the game two to three times to get to year 2017. Any reason why it is randomly jumping in dates?
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:

Re: Editing international tournaments

Post by archibalduk »

Have you got the "Skip Random Years" flag enabled? That might cause the issue. It's on the Flag tab of the Rules & Structures screen. It's roughly the ninth one down on the list.
SEPH
Junior League
Posts: 19
Joined: Sun Oct 29, 2017 10:30 pm
Favourite Team: Avs

Re: Editing international tournaments

Post by SEPH »

Thanks Archibald!!!! I have run into a minor problem, in the testing, when I try to send my scouts and hit "league" the game crashes with an error saying "Data Full". Any word what this problem is?
Post Reply