Page 8 of 33

Re: Editing league rules and structures in EHM 1

Posted: Mon Dec 19, 2016 9:17 pm
by Named
Archi could You check in these settings in spoiler why second stage wont draw? It might be this import schedule problem or settings?

Re: Editing league rules and structures in EHM 1

Posted: Mon Dec 19, 2016 10:17 pm
by archibalduk
Named wrote:Archi could You check in these settings in spoiler why second stage wont draw? It might be this import schedule problem or settings?
I will try and take a look. But I don't know much more than you as this is all new to me too.

The reason for the second stage not drawing will be because of your settings. It won't be the import issue - the only result of the import issue is that the Arena Rules will not import correctly (they will all default to Home Arena).

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 12:13 am
by andda715
I now have a "semi-working", can run until season preview/17 sept, version of a four conference Swedish First Division ("HockeyEttan").
When the season preview is generated team 42 to 48 become the Tucson Roadrunners :dunno: (index 0) and there is an error popup that will show continously saying: NEWS_ITEM::getData() : The index is invalid

The main change to get it running that far was to increase number of dates to be able to manually generate a schedule (using a brute force python script). Thanks for the description of the format! See other settings below. I have also begun tinkering on having AllEttan North/South available and that looks promising (except the news-item thing that is kind of blocking this).

Code: Select all

Competition Basic Rules & Structure
Item: Swedish HockeyEttan
ID: 59

========================================

Ruling body: Sweden
Transfer rules: Sweden
Upper comp: Swedish HockeyAllsvenskan
Lower comp: Swedish Second Division
Comp type: League
Comp scope: National

----------------------------------------

Host arena: [None]
Host club: [None]

----------------------------------------

Initial start year offset: 0
Number of teams: 48
Number of initial stages: 4
Number of stages (total): 6
Stage for history record: -1
Stage stats scope: League
Stage reputation: 10
Maximum dressed: 22
Squad numbers: false
Prize money (total): 0

----------------------------------------

Custom flags: 16392
Match rules: 4198
Extra match rules: 0

========================================

Linked competitions
Item count: 4

----------------------------------------


========================================

League Structure

----------------------------------------

League Rules
Has league rules: true
League rule settings
Priority: 2
Maximum league games: 22
Draw date: 01 jul 2016
Middle day: -1
Minimum seating capacity: 100
Maximum seating capacity: 0
Prize money type: 1
Prize money (total): 105000
TV money: 0

----------------------------------------

Points
Win: 3
Draw: 1
OT win: 2
OT loss: 1
SH win: 2
SH loss: 1
Win pct type: 1

----------------------------------------

Sort rules
1: Goal Difference
2: Goals For
3: Games Won
4: No Rule

========================================

Conferences
Item count: 4

----------------------------------------

Conference: 1 of 4
Detailed competition: Swedish HockeyEttan North
Conference name: [None]
Division count: 1

Division: 1 of 1
Detailed competition: Swedish HockeyEttan North
Division name: [None]
Club count: 12

1: Östersunds IK : Swe-3 : HockeyEttan North
2: Piteå HC : Swe-3 : HockeyEttan North
3: IF Sundsvall Hockey : Swe-3 : HockeyEttan North
4: Asplöven HC : Swe-3 : HockeyEttan North
5: Kalix HC : Swe-3 : HockeyEttan North
6: Örnsköldsviks HF : Swe-3 : HockeyEttan North
7: Kiruna IF : Swe-3 : HockeyEttan North
8: Vännäs HC : Swe-3 : HockeyEttan North
9: Brunflo IK : Swe-3 : HockeyEttan North
10: Tegs SK : Swe-3 : HockeyEttan North
11: Sollefteå HK : Swe-3 : HockeyEttan North
12: SK Lejon : Swe-3 : HockeyEttan North


----------------------------------------

Conference: 2 of 4
Detailed competition: Swedish HockeyEttan East
Conference name: [None]
Division count: 1

Division: 1 of 1
Detailed competition: Swedish HockeyEttan East
Division name: [None]
Club count: 12

1: Huddinge IK : Swe-3 : HockeyEttan East
2: Visby Roma HK : Swe-3 : HockeyEttan East
3: Hudiksvalls HC : Swe-3 : HockeyEttan East
4: Väsby IK : Swe-3 : HockeyEttan East
5: Haninge Anchors HC : Swe-3 : HockeyEttan East
6: Hammarby IF : Swe-3 : HockeyEttan East
7: Sollentuna HC : Swe-3 : HockeyEttan East
8: Wings HC Arlanda : Swe-3 : HockeyEttan East
9: IF Vallentuna BK : Swe-3 : HockeyEttan East
10: Valbo HC : Swe-3 : HockeyEttan East
11: Nacka HK : Swe-3 : HockeyEttan East
12: IFK Tumba : Swe-3 : HockeyEttan East


----------------------------------------

Conference: 3 of 4
Detailed competition: Swedish HockeyEttan West
Conference name: [None]
Division count: 1

Division: 1 of 1
Detailed competition: Swedish HockeyEttan West
Division name: [None]
Club count: 12

1: Borlänge HF : Swe-3 : HockeyEttan West
2: Mariestad BoIS HC : Swe-3 : HockeyEttan West
3: Lindlövens IF : Swe-3 : HockeyEttan West
4: Skövde IK : Swe-3 : HockeyEttan West
5: Kumla HC : Swe-3 : HockeyEttan West
6: Grästorps IK : Swe-3 : HockeyEttan West
7: Enköpings SK HK : Swe-3 : HockeyEttan West
8: IFK Arboga : Swe-3 : HockeyEttan West
9: Köping HC : Swe-3 : HockeyEttan West
10: Forshaga IF : Swe-3 : HockeyEttan West
11: Åker/Strängnäs HC : Swe-3 : HockeyEttan West
12: Surahammars IF : Swe-3 : HockeyEttan West


----------------------------------------

Conference: 4 of 4
Detailed competition: Swedish HockeyEttan South
Conference name: [None]
Division count: 1

Division: 1 of 1
Detailed competition: Swedish HockeyEttan South
Division name: [None]
Club count: 12

1: IF Troja-Ljungby : Swe-3 : HockeyEttan South
2: Kristianstads IK : Swe-3 : HockeyEttan South
3: Vimmerby HC : Swe-3 : HockeyEttan South
4: Kallinge/Ronneby IF : Swe-3 : HockeyEttan South
5: Tranås AIF Hockey : Swe-3 : HockeyEttan South
6: Nybro Vikings IF : Swe-3 : HockeyEttan South
7: Helsingborgs HC : Swe-3 : HockeyEttan South
8: Tyringe SoSS : Swe-3 : HockeyEttan South
9: HC Dalen : Swe-3 : HockeyEttan South
10: Hanhals IF : Swe-3 : HockeyEttan South
11: Halmstad HF : Swe-3 : HockeyEttan South
12: Varberg Vipers : Swe-3 : HockeyEttan South


----------------------------------------


========================================

Stage Structures
Item count: 6

----------------------------------------

Structure: 1 of 6
Competition: Swedish HockeyEttan North
Stage name: [None]
Generic stage name: Regular Season
Generic group name: No Group Name
Generic stage stats: No Stage Name
Stage type: League

Maximum league games: 0
Number of teams: 12
Number of rounds: 2
Number of dates: 27
Schedule dates size: 27
Alt. schedule dates size: 0
Has alternative dates: false

Team picking rules: 1048580
Fate rules: 66

Stage to draw teams from: -7
Fate to draw teams from: -7
Additional stage to draw teams from: -7
Next upper stage to trigger: -7
Next lower stage to trigger: -7
Overall standings stage: false
Process fate action: true
Send group draw news: false
Bring over results from previous stage: false

Promoted EP: 4
Playoff(top) EP: 0
Playoff(bottom) EP: 0
Relegated EP: 2

----------------------------------------

Structure: 2 of 6
Competition: Swedish HockeyEttan East
Stage name: [None]
Generic stage name: Regular Season
Generic group name: No Group Name
Generic stage stats: No Stage Name
Stage type: League

Maximum league games: 0
Number of teams: 12
Number of rounds: 2
Number of dates: 27
Schedule dates size: 27
Alt. schedule dates size: 0
Has alternative dates: false

Team picking rules: 1048580
Fate rules: 66

Stage to draw teams from: -7
Fate to draw teams from: -7
Additional stage to draw teams from: -7
Next upper stage to trigger: -7
Next lower stage to trigger: -7
Overall standings stage: false
Process fate action: true
Send group draw news: false
Bring over results from previous stage: false

Promoted EP: 4
Playoff(top) EP: 0
Playoff(bottom) EP: 0
Relegated EP: 2

----------------------------------------

Structure: 3 of 6
Competition: Swedish HockeyEttan West
Stage name: [None]
Generic stage name: Regular Season
Generic group name: No Group Name
Generic stage stats: No Stage Name
Stage type: League

Maximum league games: 0
Number of teams: 12
Number of rounds: 2
Number of dates: 27
Schedule dates size: 27
Alt. schedule dates size: 0
Has alternative dates: false

Team picking rules: 1048580
Fate rules: 66

Stage to draw teams from: -7
Fate to draw teams from: -7
Additional stage to draw teams from: -7
Next upper stage to trigger: -7
Next lower stage to trigger: -7
Overall standings stage: false
Process fate action: true
Send group draw news: false
Bring over results from previous stage: false

Promoted EP: 4
Playoff(top) EP: 0
Playoff(bottom) EP: 0
Relegated EP: 2

----------------------------------------

Structure: 4 of 6
Competition: Swedish HockeyEttan South
Stage name: [None]
Generic stage name: Regular Season
Generic group name: No Group Name
Generic stage stats: No Stage Name
Stage type: League

Maximum league games: 0
Number of teams: 12
Number of rounds: 0
Number of dates: 27
Schedule dates size: 27
Alt. schedule dates size: 0
Has alternative dates: false

Team picking rules: 1048580
Fate rules: 66

Stage to draw teams from: -7
Fate to draw teams from: -7
Additional stage to draw teams from: -7
Next upper stage to trigger: -7
Next lower stage to trigger: -7
Overall standings stage: false
Process fate action: true
Send group draw news: false
Bring over results from previous stage: false

Promoted EP: 4
Playoff(top) EP: 0
Playoff(bottom) EP: 0
Relegated EP: 2

----------------------------------------

Structure: 5 of 6
Competition: Swedish HockeyEttan AllEttan North
Stage name: [None]
Generic stage name: Upper League
Generic group name: No Group Name
Generic stage stats: No Stage Name
Stage type: League

Maximum league games: 0
Number of teams: 8
Number of rounds: 2
Number of dates: 14
Schedule dates size: 14
Alt. schedule dates size: 0
Has alternative dates: false

Team picking rules: 16
Fate rules: 0

Stage to draw teams from: -1
Fate to draw teams from: -7
Additional stage to draw teams from: 0
Next upper stage to trigger: 1
Next lower stage to trigger: -7
Overall standings stage: false
Process fate action: true
Send group draw news: false
Bring over results from previous stage: false

Promoted EP: 1
Playoff(top) EP: 4
Playoff(bottom) EP: 0
Relegated EP: 0

----------------------------------------

Structure: 6 of 6
Competition: Swedish HockeyEttan AllEttan South
Stage name: [None]
Generic stage name: Upper League
Generic group name: No Group Name
Generic stage stats: No Stage Name
Stage type: League

Maximum league games: 0
Number of teams: 8
Number of rounds: 2
Number of dates: 14
Schedule dates size: 14
Alt. schedule dates size: 0
Has alternative dates: false

Team picking rules: 16
Fate rules: 0

Stage to draw teams from: 1
Fate to draw teams from: -7
Additional stage to draw teams from: 2
Next upper stage to trigger: 1
Next lower stage to trigger: -7
Overall standings stage: false
Process fate action: true
Send group draw news: false
Bring over results from previous stage: false

Promoted EP: 1
Playoff(top) EP: 4
Playoff(bottom) EP: 0
Relegated EP: 0

----------------------------------------


========================================

EDIT: Just verified that the Tucson Roadrunners are indeed index zero in the database. Note that there is a crash a few days later after the season preview. Not sure if related to index zero thing but who knows...

EDIT2: Schedule template and dates just for information

Code: Select all

schedule_list,,,,
Road Team ID,Home Team ID,Day of Month,Month,Year Offset
1,0,26,9,0
101,100,26,9,0
201,200,26,9,0
301,300,26,9,0
3,2,26,9,0
103,102,26,9,0
203,202,26,9,0
303,302,26,9,0
5,4,26,9,0
105,104,26,9,0
205,204,26,9,0
305,304,26,9,0
7,6,26,9,0
107,106,26,9,0
207,206,26,9,0
307,306,26,9,0
9,8,26,9,0
109,108,26,9,0
209,208,26,9,0
309,308,26,9,0
11,10,26,9,0
111,110,26,9,0
211,210,26,9,0
311,310,26,9,0
0,11,1,10,0
100,111,1,10,0
200,211,1,10,0
300,311,1,10,0
2,1,1,10,0
102,101,1,10,0
202,201,1,10,0
302,301,1,10,0
4,3,1,10,0
104,103,1,10,0
204,203,1,10,0
304,303,1,10,0
6,5,1,10,0
106,105,1,10,0
206,205,1,10,0
306,305,1,10,0
8,7,1,10,0
108,107,1,10,0
208,207,1,10,0
308,307,1,10,0
10,9,1,10,0
110,109,1,10,0
210,209,1,10,0
310,309,1,10,0
11,9,4,10,0
111,109,4,10,0
211,209,4,10,0
311,309,4,10,0
0,10,4,10,0
100,110,4,10,0
200,210,4,10,0
300,310,4,10,0
3,1,4,10,0
103,101,4,10,0
203,201,4,10,0
303,301,4,10,0
4,2,4,10,0
104,102,4,10,0
204,202,4,10,0
304,302,4,10,0
10,4,8,10,0
110,104,8,10,0
210,204,8,10,0
310,304,8,10,0
0,5,8,10,0
100,105,8,10,0
200,205,8,10,0
300,305,8,10,0
1,6,8,10,0
101,106,8,10,0
201,206,8,10,0
301,306,8,10,0
2,7,8,10,0
102,107,8,10,0
202,207,8,10,0
302,307,8,10,0
3,8,8,10,0
103,108,8,10,0
203,208,8,10,0
303,308,8,10,0
2,11,10,10,0
102,111,10,10,0
202,211,10,10,0
302,311,10,10,0
3,0,10,10,0
103,100,10,10,0
203,200,10,10,0
303,300,10,10,0
4,1,10,10,0
104,101,10,10,0
204,201,10,10,0
304,301,10,10,0
7,5,10,10,0
107,105,10,10,0
207,205,10,10,0
307,305,10,10,0
8,6,10,10,0
108,106,10,10,0
208,206,10,10,0
308,306,10,10,0
9,6,13,10,0
109,106,13,10,0
209,206,13,10,0
309,306,13,10,0
0,7,13,10,0
100,107,13,10,0
200,207,13,10,0
300,307,13,10,0
1,8,13,10,0
101,108,13,10,0
201,208,13,10,0
301,308,13,10,0
2,10,13,10,0
102,110,13,10,0
202,210,13,10,0
302,310,13,10,0
3,11,13,10,0
103,111,13,10,0
203,211,13,10,0
303,311,13,10,0
1,2,15,10,0
101,102,15,10,0
201,202,15,10,0
301,302,15,10,0
0,3,15,10,0
100,103,15,10,0
200,203,15,10,0
300,303,15,10,0
6,4,15,10,0
106,104,15,10,0
206,204,15,10,0
306,304,15,10,0
8,5,15,10,0
108,105,15,10,0
208,205,15,10,0
308,305,15,10,0
9,7,15,10,0
109,107,15,10,0
209,207,15,10,0
309,307,15,10,0
8,10,17,10,0
108,110,17,10,0
208,210,17,10,0
308,310,17,10,0
1,11,17,10,0
101,111,17,10,0
201,211,17,10,0
301,311,17,10,0
2,0,17,10,0
102,100,17,10,0
202,200,17,10,0
302,300,17,10,0
5,3,17,10,0
105,103,17,10,0
205,203,17,10,0
305,303,17,10,0
7,4,17,10,0
107,104,17,10,0
207,204,17,10,0
307,304,17,10,0
8,4,22,10,0
108,104,22,10,0
208,204,22,10,0
308,304,22,10,0
1,5,22,10,0
101,105,22,10,0
201,205,22,10,0
301,305,22,10,0
0,6,22,10,0
100,106,22,10,0
200,206,22,10,0
300,306,22,10,0
3,7,22,10,0
103,107,22,10,0
203,207,22,10,0
303,307,22,10,0
2,9,22,10,0
102,109,22,10,0
202,209,22,10,0
302,309,22,10,0
10,11,22,10,0
110,111,22,10,0
210,211,22,10,0
310,311,22,10,0
4,0,24,10,0
104,100,24,10,0
204,200,24,10,0
304,300,24,10,0
5,1,24,10,0
105,101,24,10,0
205,201,24,10,0
305,301,24,10,0
6,2,24,10,0
106,102,24,10,0
206,202,24,10,0
306,302,24,10,0
7,3,24,10,0
107,103,24,10,0
207,203,24,10,0
307,303,24,10,0
10,8,24,10,0
110,108,24,10,0
210,208,24,10,0
310,308,24,10,0
11,8,27,10,0
111,108,27,10,0
211,208,27,10,0
311,308,27,10,0
0,9,27,10,0
100,109,27,10,0
200,209,27,10,0
300,309,27,10,0
1,10,27,10,0
101,110,27,10,0
201,210,27,10,0
301,310,27,10,0
5,2,27,10,0
105,102,27,10,0
205,202,27,10,0
305,302,27,10,0
6,3,27,10,0
106,103,27,10,0
206,203,27,10,0
306,303,27,10,0
8,3,29,10,0
108,103,29,10,0
208,203,29,10,0
308,303,29,10,0
0,4,29,10,0
100,104,29,10,0
200,204,29,10,0
300,304,29,10,0
2,5,29,10,0
102,105,29,10,0
202,205,29,10,0
302,305,29,10,0
10,6,29,10,0
110,106,29,10,0
210,206,29,10,0
310,306,29,10,0
1,7,29,10,0
101,107,29,10,0
201,207,29,10,0
301,307,29,10,0
5,11,31,10,0
105,111,31,10,0
205,211,31,10,0
305,311,31,10,0
6,0,31,10,0
106,100,31,10,0
206,200,31,10,0
306,300,31,10,0
7,1,31,10,0
107,101,31,10,0
207,201,31,10,0
307,301,31,10,0
8,2,31,10,0
108,102,31,10,0
208,202,31,10,0
308,302,31,10,0
9,3,31,10,0
109,103,31,10,0
209,203,31,10,0
309,303,31,10,0
5,8,3,11,0
105,108,3,11,0
205,208,3,11,0
305,308,3,11,0
1,9,3,11,0
101,109,3,11,0
201,209,3,11,0
301,309,3,11,0
3,10,3,11,0
103,110,3,11,0
203,210,3,11,0
303,310,3,11,0
4,11,3,11,0
104,111,3,11,0
204,211,3,11,0
304,311,3,11,0
7,0,3,11,0
107,100,3,11,0
207,200,3,11,0
307,300,3,11,0
4,5,7,11,0
104,105,7,11,0
204,205,7,11,0
304,305,7,11,0
2,6,7,11,0
102,106,7,11,0
202,206,7,11,0
302,306,7,11,0
10,7,7,11,0
110,107,7,11,0
210,207,7,11,0
310,307,7,11,0
0,8,7,11,0
100,108,7,11,0
200,208,7,11,0
300,308,7,11,0
3,9,7,11,0
103,109,7,11,0
203,209,7,11,0
303,309,7,11,0
0,2,17,11,0
100,102,17,11,0
200,202,17,11,0
300,302,17,11,0
1,3,17,11,0
101,103,17,11,0
201,203,17,11,0
301,303,17,11,0
9,4,17,11,0
109,104,17,11,0
209,204,17,11,0
309,304,17,11,0
10,5,17,11,0
110,105,17,11,0
210,205,17,11,0
310,305,17,11,0
11,6,17,11,0
111,106,17,11,0
211,206,17,11,0
311,306,17,11,0
7,8,17,11,0
107,108,17,11,0
207,208,17,11,0
307,308,17,11,0
4,9,21,11,0
104,109,21,11,0
204,209,21,11,0
304,309,21,11,0
5,10,21,11,0
105,110,21,11,0
205,210,21,11,0
305,310,21,11,0
6,11,21,11,0
106,111,21,11,0
206,211,21,11,0
306,311,21,11,0
8,0,21,11,0
108,100,21,11,0
208,200,21,11,0
308,300,21,11,0
7,2,21,11,0
107,102,21,11,0
207,202,21,11,0
307,302,21,11,0
7,9,24,11,0
107,109,24,11,0
207,209,24,11,0
307,309,24,11,0
4,10,24,11,0
104,110,24,11,0
204,210,24,11,0
304,310,24,11,0
8,11,24,11,0
108,111,24,11,0
208,211,24,11,0
308,311,24,11,0
5,0,24,11,0
105,100,24,11,0
205,200,24,11,0
305,300,24,11,0
6,1,24,11,0
106,101,24,11,0
206,201,24,11,0
306,301,24,11,0
2,3,24,11,0
102,103,24,11,0
202,203,24,11,0
302,303,24,11,0
10,3,28,11,0
110,103,28,11,0
210,203,28,11,0
310,303,28,11,0
1,4,28,11,0
101,104,28,11,0
201,204,28,11,0
301,304,28,11,0
9,5,28,11,0
109,105,28,11,0
209,205,28,11,0
309,305,28,11,0
6,7,28,11,0
106,107,28,11,0
206,207,28,11,0
306,307,28,11,0
2,8,28,11,0
102,108,28,11,0
202,208,28,11,0
302,308,28,11,0
11,0,28,11,0
111,100,28,11,0
211,200,28,11,0
311,300,28,11,0
0,1,5,12,0
100,101,5,12,0
200,201,5,12,0
300,301,5,12,0
9,2,5,12,0
109,102,5,12,0
209,202,5,12,0
309,302,5,12,0
11,3,5,12,0
111,103,5,12,0
211,203,5,12,0
311,303,5,12,0
4,6,5,12,0
104,106,5,12,0
204,206,5,12,0
304,306,5,12,0
5,7,5,12,0
105,107,5,12,0
205,207,5,12,0
305,307,5,12,0
5,6,10,12,0
105,106,10,12,0
205,206,10,12,0
305,306,10,12,0
4,7,10,12,0
104,107,10,12,0
204,207,10,12,0
304,307,10,12,0
8,9,10,12,0
108,109,10,12,0
208,209,10,12,0
308,309,10,12,0
10,0,10,12,0
110,100,10,12,0
210,200,10,12,0
310,300,10,12,0
11,1,10,12,0
111,101,10,12,0
211,201,10,12,0
311,301,10,12,0
3,4,13,12,0
103,104,13,12,0
203,204,13,12,0
303,304,13,12,0
11,5,13,12,0
111,105,13,12,0
211,205,13,12,0
311,305,13,12,0
6,8,13,12,0
106,108,13,12,0
206,208,13,12,0
306,308,13,12,0
7,10,13,12,0
107,110,13,12,0
207,210,13,12,0
307,310,13,12,0
9,0,13,12,0
109,100,13,12,0
209,200,13,12,0
309,300,13,12,0
3,6,15,12,0
103,106,15,12,0
203,206,15,12,0
303,306,15,12,0
11,7,15,12,0
111,107,15,12,0
211,207,15,12,0
311,307,15,12,0
4,8,15,12,0
104,108,15,12,0
204,208,15,12,0
304,308,15,12,0
5,9,15,12,0
105,109,15,12,0
205,209,15,12,0
305,309,15,12,0
10,1,15,12,0
110,101,15,12,0
210,201,15,12,0
310,301,15,12,0
11,2,19,12,0
111,102,19,12,0
211,202,19,12,0
311,302,19,12,0
3,5,19,12,0
103,105,19,12,0
203,205,19,12,0
303,305,19,12,0
6,9,19,12,0
106,109,19,12,0
206,209,19,12,0
306,309,19,12,0
8,1,19,12,0
108,101,19,12,0
208,201,19,12,0
308,301,19,12,0
2,4,22,12,0
102,104,22,12,0
202,204,22,12,0
302,304,22,12,0
6,10,22,12,0
106,110,22,12,0
206,210,22,12,0
306,310,22,12,0
7,11,22,12,0
107,111,22,12,0
207,211,22,12,0
307,311,22,12,0
9,1,22,12,0
109,101,22,12,0
209,201,22,12,0
309,301,22,12,0
9,10,26,12,0
109,110,26,12,0
209,210,26,12,0
309,310,26,12,0
11,4,26,12,0
111,104,26,12,0
211,204,26,12,0
311,304,26,12,0
9,11,28,12,0
109,111,28,12,0
209,211,28,12,0
309,311,28,12,0
10,2,28,12,0
110,102,28,12,0
210,202,28,12,0
310,302,28,12,0

Code: Select all

schedule_dates,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Date,Day,Year Offset,Time,Arena Rules,Prize Money (App),Prize Money (Win),Prize Money (Lose),Round Rules,Match Rules,Replay Rules,No. of Teams,No. of Games,Extra Teams,Extra Team Start Index,Draw Date,Round Name Index,Round Code,Priority,No. of Replays,No. of Legs,Leg Offset (Days),Draw Year,Draw Day,Round Ranking,TV Date 1 Arena Rules,TV Date 1 Day,TV Date 1 Time,TV Date 1 Type,TV Date 2 Arena Rules,TV Date 2 Day,TV Date 2 Time,TV Date 2 Type,TV Date 3 Arena Rules,TV Date 3 Day,TV Date 3 Time,TV Date 3 Type,TV Date 4 Arena Rules,TV Date 4 Day,TV Date 4 Time,TV Date 4 Type,TV Date 5 Arena Rules,TV Date 5 Day,TV Date 5 Time,TV Date 5 Type,TV Date 6 Arena Rules,TV Date 6 Day,TV Date 6 Time,TV Date 6 Type
26 sep,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
1 okt,tor,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
4 okt,sön,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
8 okt,tor,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
10 okt,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
13 okt,tis,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
15 okt,tor,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
17 okt,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
22 okt,tor,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
24 okt,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
27 okt,tis,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
29 okt,tor,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
31 okt,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
3 nov,tis,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
7 nov,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
17 nov,tis,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
21 nov,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
24 nov,tis,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
28 nov,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
5 dec,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
10 dec,tor,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
13 dec,sön,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
15 dec,tis,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
19 dec,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
22 dec,tis,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
26 dec,lör,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 
28 dec,mån,0,2,0,0,0,0,0,0,0,0,0,0,0,1 jan,0,0,0,-1,-1,-1,-1,-1,0,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - ,-1,-1,-1, - None - 

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 1:54 am
by zbguy
Hi Archi, on a separate issue, I've been experimenting with making Continental leagues (like the Euro Champions Cup). I think I'm closer to figuring out how they work vis-a-vis EHM. I was able to create a few North American continental leagues, but trying to make continental leagues in South America and Africa does not allow for those leagues to be accessed by the drop-down menu, nor do they function like other fully detailed leagues. I'm thinking Continental leagues only work fully for NA and European leagues. (I haven't tried Asia yet.) I don't know how useful this knowledge is but I can post the DB if you want to take a look at it.

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 9:00 am
by Alessandro
BKarchitect wrote:
Like I said, I think I'm close. The insanity of the schedule template was the hard part hopefully.
Archi, gift us a schedule maker :notworthy:

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 9:31 am
by riz_si
andda715 wrote:I now have a "semi-working", can run until season preview/17 sept, version of a four conference Swedish First Division ("HockeyEttan").
When the season preview is generated team 42 to 48 become the Tucson Roadrunners :dunno: (index 0) and there is an error popup that will show continously saying: NEWS_ITEM::getData() : The index is invalid
If you can, could you upload your saved game to our SI ftp and send me the name once it is there and I can have a look. The error sounds like the news item simply running out of data slots as there are so many teams in your league. I can have it at least not crash if I cannot get it to support so many teams.

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 1:13 pm
by ZaZooM
I add Metallurg Nk as KHL 29 team and add real shedule. Work fine. Next step - alternate shedule.
Alessandro, what about your VHL ?

edited: I can do real VHL shedule, if you give me teams id.

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 1:27 pm
by BKarchitect
ZaZooM wrote:I add Metallurg Nk as KHL 29 team and add real shedule. Work fine. Next step - alternate shedule.
Alessandro, what about your VHL ?
So you have Kunlun in as well? Sounds sweet! Nice job!

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 2:29 pm
by Alessandro
ZaZooM wrote:I add Metallurg Nk as KHL 29 team and add real shedule. Work fine. Next step - alternate shedule.
Alessandro, what about your VHL ?
There is a clash in schedule with World Cup (I know it sounds absurd), therefore I am waiting for the fix in new EHM version before getting back to work on it.
I'm also slowly creating a playable MHL and the Junior club world cup.
I'll also release some stuff for better finances, more realism, etc. But all will be only after 1.4.

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 2:31 pm
by Alessandro
I think it's no for both draft and intl comps

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 3:47 pm
by ZaZooM
Alessandro wrote:
ZaZooM wrote:I add Metallurg Nk as KHL 29 team and add real shedule. Work fine. Next step - alternate shedule.
Alessandro, what about your VHL ?
There is a clash in schedule with World Cup (I know it sounds absurd), therefore I am waiting for the fix in new EHM version before getting back to work on it.

What shedule type you use? (templates or dates)
I start to do my VHL, hope it will work.

I can't find in editor "only domestic goalies on roster". Is it there?

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 4:22 pm
by andda715
riz_si wrote: If you can, could you upload your saved game to our SI ftp and send me the name once it is there and I can have a look. The error sounds like the news item simply running out of data slots as there are so many teams in your league. I can have it at least not crash if I cannot get it to support so many teams.
Uploaded as /fm/game-crash/andda715_ehm_tucson_index_zero.sav

1) Load save
2) Advance to next date, popup appears with NEWS_ITEM thingy
3) OPTIONAL: continue roughly a week or two and a crash will happen. Note that you need to spam click the OK button on the previous dialog to advance to next date

Thanks,
Anders

Re: Editing league rules and structures in EHM 1

Posted: Wed Dec 21, 2016 5:04 pm
by Alessandro
ZaZooM wrote:
Alessandro wrote:
ZaZooM wrote:I add Metallurg Nk as KHL 29 team and add real shedule. Work fine. Next step - alternate shedule.
Alessandro, what about your VHL ?
There is a clash in schedule with World Cup (I know it sounds absurd), therefore I am waiting for the fix in new EHM version before getting back to work on it.

What shedule type you use? (templates or dates)
I start to do my VHL, hope it will work.

I can't find in editor "only domestic goalies on roster". Is it there?
Give me your skype it will be easier to talk

Re: Editing league rules and structures in EHM 1

Posted: Thu Dec 22, 2016 9:21 pm
by archibalduk
I'm repeating my post from the Editor Thread as it is very relevant to structure editing:

Version 0.1.4 of the Editor is available here: http://www.ehmtheblueline.com/forums/vi ... 35#p206841

IMPORTANT! I have made a change to the Stage Indexes on the Rules & Structures editing screen. Previously -7 = no index, -1 = first stage, 0 = second stage, etc. As this is not user-friendly, the Editor now displays these figures differently: 0 = no index, 1 = first stage, 2 = second stage, etc. I know this will take a bit of getting used to for those of you already experimenting with structure editing, but I think it will make life easier in the long run. Most of the Stage Indexes can be found under the Linked Stages box (see Screenshot 1 below).

To make it easier to quickly copy Match Rules, etc from one league to another, I have added a "Manual Override" row to each relevant editing table. The combination of True and False settings on these screens results in a unique number. You can enter this unique number into the table in order to get the same combination of settings. Take care with using this setting - entering an invalid number might result in a game crash. See Screenshot 2 below.

In order to make it easier to add clubs to a division via the Structure screen, I have added a Populate button. If you click on this button you can add all clubs from the chosen League or Detailed Division. For instance, if you select the "Populate with clubs by Detailed Division" and select the NHL Atlantic Division from the pop-up window, the Editor will add all teams with that Detailed Division to the present table. See Screenshot 3 below.

CHANGELIST: VERSION 0.1.4 (22-Dec-2016)

Fixes and Improvements:
  • Added bitmask override to every bitmask editor so that combinations of values can be quickly entered;
  • Added League Win Pct Type definition on the Comp Rules tab of the Rules & Structures editing screen;
  • Added missing Continental Licence definition which was resulting in the drop-down menu on the Clubs editing screen not functioning as expected;
  • Adding a new conference on the Structure tab of the Rules & Structure screen now automatically adds a new division to that conference;
  • Adding new items now results in the Editor automatically showing the new record;
  • Adding and removing items correctly updates the highlighting in the left-hand navigation menu;
  • All clubs from a league or detailed division can be quickly added via the Populate button on the Structure tab of the Rules & Structures screen;
  • Each editing screen now defaults to the first record in the left-hand navigation menu;
  • Fixed day editing in the Schedule Dates table;
  • Fixed Schedule Dates importing where certain text was not correctly imported (such as Arena Rules);
  • Item navigation buttons added to the lower section of each editing screen;
  • Stage indexes displayed in the Rules & Structure editing screens are now displayed in a more user-friendly format (0 = no stage, 1 = stage 1, etc); and
  • The record navigator now jumps to the latest item when adding a new item via the Add button (e.g. when adding a new conference).
SCREENSHOT 1:

Image


SCREENSHOT 2:

Image


SCREENSHOT 3:


Image

Re: Editing league rules and structures in EHM 1

Posted: Thu Dec 22, 2016 10:04 pm
by Alessandro
archibalduk wrote:I blame Alessandro! :-D
Isn't it all "Archi's fault?" :-D

Re: Editing league rules and structures in EHM 1

Posted: Thu Dec 22, 2016 10:06 pm
by archibalduk
Touché! :-D

Re: Editing league rules and structures in EHM 1

Posted: Thu Dec 22, 2016 10:45 pm
by andda715
Wow, really nice features in the update! Thanks a lot. :joy: :notworthy:

Re: Editing league rules and structures in EHM 1

Posted: Thu Dec 22, 2016 11:15 pm
by Alessandro
Archi - how do we add histories to competitions to be created?

Re: Editing league rules and structures in EHM 1

Posted: Thu Dec 22, 2016 11:17 pm
by Alessandro
Fate to draw teams from: 103
What does it mean?

Re: Editing league rules and structures in EHM 1

Posted: Thu Dec 22, 2016 11:19 pm
by Alessandro
I think we are exaggerating with those schedules. If Riz can do them, we can too. Of course he knows much more, but it's just a matter of inputting some data into excel.

Re: Editing league rules and structures in EHM 1

Posted: Thu Dec 22, 2016 11:25 pm
by sensaa
Hey guys, i tried to add the magnus league using informations from the first post even if it's not updated for tbl roster 9.0 i guess. I had to add 2 teams to make it to 14 teams, used danish rules and taking czech league schedule because they have 14 teams with 4 rounds.

When i launch the game everything seem to work normally, the new league is here, no error when looking at the schedule. I'll need to try to add play-off or maybe some sort of relegation/promotion but that mean i should activate the lower french league and do again everything i think.

Re: Editing league rules and structures in EHM 1

Posted: Fri Dec 23, 2016 7:54 am
by archibalduk
Alessandro wrote:Archi - how do we add histories to competitions to be created?
You can't yet. I need to write that part of the Editor.

Re: Editing league rules and structures in EHM 1

Posted: Fri Dec 23, 2016 9:35 am
by Alessandro
archibalduk wrote:
Alessandro wrote:Archi - how do we add histories to competitions to be created?
You can't yet. I need to write that part of the Editor.
I mean in general :) To send you to be included

Re: Editing league rules and structures in EHM 1

Posted: Fri Dec 23, 2016 10:25 am
by Named
Importing rules from file will be awesome but not sure that would be easy to do. Schedules are example. There is much of options to set when we are activating new leagues :-? How it looks from Your side archi?

Re: Editing league rules and structures in EHM 1

Posted: Fri Dec 23, 2016 12:20 pm
by ZaZooM
Do you have plans to add KHL vith 29 teams in TBL Roster? I can give my edited database for tests.