EHM 2007 Pre-Game Database Editor

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
toddpaul
Prospect
Posts: 73
Joined: Sun Feb 01, 2009 6:26 pm

Post by toddpaul »

Hey guys,

First off to pre-face this, I've searched the site to find my problem, with no success.

When I try to use the pre-game editor (both 1.6 and 1.7) to open up Lidas' 2.3 update, it won't work.

While loading the database, it gets to 'loading staff' then gives me an alert saying "Access violation at address 00495698 in module 'EHM_Edit_2007.exe'. Read of address 2435A134"

This only happens for the 2.3 update, as the others work fine.

Thanks a ton for the help, and I apologize if this question had already been asked and answered.
User avatar
bruins72
TBL Admin Team
Posts: 14513
Joined: Fri Jan 20, 2006 3:13 pm
Custom Rank: Challenge Guy
Favourite Team: Boston Bruins
Location: Taunton, MA

Post by bruins72 »

I'm guessing it's got to do with protection on the folder you've got the database in. Maybe it's marked as read only? I can open 2.3 just fine with the pre-game editor.
Darkfire423
Junior League
Posts: 37
Joined: Mon Aug 18, 2008 3:56 pm

Post by Darkfire423 »

Okay i am having a issue with making a team active, clearly a non-playable league semi-pro league. It set up on par with major League hockey in Canada.

I got 2 teams active but the other 4 wont no matter what i do.

just SOL? or am i missing something
User avatar
Manimal
TBL Admin Team
Posts: 6344
Joined: Thu Apr 24, 2008 4:01 am
Custom Rank: EHM Rosters Man
Favourite Team: Djurgårdens IF
Location: Karlstad, Sweden

Post by Manimal »

Darkfire423 wrote:Okay i am having a issue with making a team active, clearly a non-playable league semi-pro league. It set up on par with major League hockey in Canada.

I got 2 teams active but the other 4 wont no matter what i do.

just SOL? or am i missing something
Have you set all fields? Nation, division and other division
Darkfire423
Junior League
Posts: 37
Joined: Mon Aug 18, 2008 3:56 pm

Post by Darkfire423 »

this one doesnt work
Image

this one works
Image

frankly it am stumped
User avatar
Manimal
TBL Admin Team
Posts: 6344
Joined: Thu Apr 24, 2008 4:01 am
Custom Rank: EHM Rosters Man
Favourite Team: Djurgårdens IF
Location: Karlstad, Sweden

Post by Manimal »

I've never come upon this problem before. Have thay all arenas to play in? Perhaps that could affect things, I don't know
User avatar
Jypfan92
Stanley Cup Winner
Posts: 1305
Joined: Tue Jun 16, 2009 5:44 pm
Location: Kuopio/Jyväskylä, Finland

Post by Jypfan92 »

I've tried to edit Raimo Helminen's international stats, but allways i put 331 games, 52 goals and 155 assists, they are in game: 75 games, 52 goals, 155 assists. Why i can't put 331 international games?

I've used original db and i've clicked confirm-button and then saved.

:help:
GaaGaa
Junior League
Posts: 6
Joined: Thu Jul 29, 2010 7:53 pm

Post by GaaGaa »

Is there any way to play with Dinamo Riga or Dinamo Minsk?
User avatar
A9L3E
All-Star
Posts: 1230
Joined: Tue Sep 09, 2008 6:22 am
Custom Rank: Shiny gilded nameplate
Favourite Team: Helsingin Jokerit
Location: Vantaa, Finland

Post by A9L3E »

GaaGaa wrote:Is there any way to play with Dinamo Riga or Dinamo Minsk?
Just replace some RSL team(s) with either one or both of them.
User avatar
bossman
Prospect
Posts: 85
Joined: Tue Jul 22, 2008 3:13 pm
Location: Guelph, Ontario, Canada

Post by bossman »

OK I have tried to download and run the Pre-Game Editor V1.7 and nothing seems to work. I don't get an .exe file, I get an unknown file format. So I tried the V1.6 editor and same thing. I had been having troubles with the editor not working (the edits I did were never in the game and yes I always clicked Confirm after every edit).

Does anyone know how to get the editor for download?
GaaGaa
Junior League
Posts: 6
Joined: Thu Jul 29, 2010 7:53 pm

Post by GaaGaa »

I couldn't stand it and I put all 24 KHL teams @ RSL. Looks like that was a big mistake. Now, i have a error and after that don't send error.

Image

There is no chances to play with all KHL temas, right? If there is, then please help.
User avatar
bossman
Prospect
Posts: 85
Joined: Tue Jul 22, 2008 3:13 pm
Location: Guelph, Ontario, Canada

Post by bossman »

The amount of teams in each playable league are hard-coded. You can change the teams but not the number of teams.
User avatar
robotco
Junior League
Posts: 43
Joined: Sat Aug 21, 2010 4:16 am
Location: Busan

Post by robotco »

anyone want to repost a link for the editor? the links on the first page are dead.
User avatar
A9L3E
All-Star
Posts: 1230
Joined: Tue Sep 09, 2008 6:22 am
Custom Rank: Shiny gilded nameplate
Favourite Team: Helsingin Jokerit
Location: Vantaa, Finland

Post by A9L3E »

User avatar
robotco
Junior League
Posts: 43
Joined: Sat Aug 21, 2010 4:16 am
Location: Busan

Post by robotco »

thanks! so now i'm fiddling with the editor. i just wanted to switch some teams in the nhl around. for instance, make phoenix winnipeg again, so i renamed a few teams, but now when a new game loads it says "index error: unable to find the (team i edited) index" then after the game loads it crashes. what can i do?
User avatar
robotco
Junior League
Posts: 43
Joined: Sat Aug 21, 2010 4:16 am
Location: Busan

Post by robotco »

frisland wrote:
leafsnation wrote:
I have since started a new game by just renaming both teams and changing their arenas (and some divisional realignments), but now a get messages when loading that the team indexes cannot be located. It still lets me start the game, but I'm afraid this will cause troubles down the road and I don't want to get to far into a game and not be able to continue.
You can simply re-name phom changing them to winnipeg, but phoenix still has to be listed in the db. Just take an inactive team (defunct, not in any league) and rename that team phoenix coyotes. that will solve the team index problem.

and yes you may be able to start, but game will eventually screw up.
i'm having this same issue. so if i rename a defunct team, the problem is solved... why will this cause problems later?
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

Post by Alessandro »

It shouldn't
mne2
Top Prospect
Posts: 105
Joined: Wed Sep 22, 2004 10:27 am
Custom Rank: Eastside UK

Post by mne2 »

User avatar
McQwak
Stanley Cup Winner
Posts: 1439
Joined: Mon Nov 05, 2007 1:59 pm
Custom Rank: Now with capital letters!
Location: Prague, Czech rep.

Post by McQwak »

Great, then we should have it here on TBL downloads section. Has Lidas this one?
User avatar
robotco
Junior League
Posts: 43
Joined: Sat Aug 21, 2010 4:16 am
Location: Busan

Post by robotco »

robotco wrote:
frisland wrote:
leafsnation wrote:
I have since started a new game by just renaming both teams and changing their arenas (and some divisional realignments), but now a get messages when loading that the team indexes cannot be located. It still lets me start the game, but I'm afraid this will cause troubles down the road and I don't want to get to far into a game and not be able to continue.
You can simply re-name phom changing them to winnipeg, but phoenix still has to be listed in the db. Just take an inactive team (defunct, not in any league) and rename that team phoenix coyotes. that will solve the team index problem.

and yes you may be able to start, but game will eventually screw up.
i'm having this same issue. so if i rename a defunct team, the problem is solved... why will this cause problems later?
the only problem i'm getting from this now is that if i rename a team with one of the nhl ones that i abandoned, when i start the game, it says it can't find the OTHER team's index now, but everything still loads and i haven't had a crash. so do you guys know if it's safe? or are there particular teams i can manhandle in the editor without having to see that error message when i load a new game?
User avatar
robotco
Junior League
Posts: 43
Joined: Sat Aug 21, 2010 4:16 am
Location: Busan

Post by robotco »

robotco wrote:
robotco wrote:
frisland wrote: You can simply re-name phom changing them to winnipeg, but phoenix still has to be listed in the db. Just take an inactive team (defunct, not in any league) and rename that team phoenix coyotes. that will solve the team index problem.

and yes you may be able to start, but game will eventually screw up.
i'm having this same issue. so if i rename a defunct team, the problem is solved... why will this cause problems later?
the only problem i'm getting from this now is that if i rename a team with one of the nhl ones that i abandoned, when i start the game, it says it can't find the OTHER team's index now, but everything still loads and i haven't had a crash. so do you guys know if it's safe? or are there particular teams i can manhandle in the editor without having to see that error message when i load a new game?
just for anyone who's having the same issue, you can just click 'add new' and put in the original nhl team that you renamed. this solves the issue of the game not being able to read the index.
User avatar
McQwak
Stanley Cup Winner
Posts: 1439
Joined: Mon Nov 05, 2007 1:59 pm
Custom Rank: Now with capital letters!
Location: Prague, Czech rep.

Post by McQwak »

robotco, manipulationg with teams and leauge structure is extremly harmfull with this editor and this game.
If you're looking for roster with Winnipeg Jets, try Lidas' db that we used for one of the challenges http://www.ehmtheblueline.com/forums/dl ... ile_id=584 It's proven to be bug free and you can play with the Jets!
But Jets roster is somewhat tweak ;), you'll see. Try it :thup:
User avatar
robotco
Junior League
Posts: 43
Joined: Sat Aug 21, 2010 4:16 am
Location: Busan

Post by robotco »

thanks mcqwak, but i'm not fiddling with the league structure, just renaming some teams. don't matter to me if lecavalier is playing for halifax!
User avatar
Primis
Freeware Moderator
Posts: 1698
Joined: Tue Aug 03, 2010 7:46 pm
Location: Michigan, USA

Post by Primis »

robotco wrote:thanks mcqwak, but i'm not fiddling with the league structure, just renaming some teams. don't matter to me if lecavalier is playing for halifax!
You can't rename the NHL teams. You *have* to move them somewhere so they're still in the game, and then bring another team of your choice in. If the game doesn't detect all of the team names with the ™ symbol at the end of the name (as well as many of the ECHL and AHL teams I know for a fact) it will crash.

Just move the team you want to move to another lower league, move the new team in to the NHL, swap the staff, and go at it that way.

Renaming the primary teams in the game will always result in a crash, there is no workaround.
User avatar
Jypfan92
Stanley Cup Winner
Posts: 1305
Joined: Tue Jun 16, 2009 5:44 pm
Location: Kuopio/Jyväskylä, Finland

Post by Jypfan92 »

Jypfan92 wrote:I've tried to edit Raimo Helminen's international stats, but allways i put 331 games, 52 goals and 155 assists, they are in game: 75 games, 52 goals, 155 assists. Why i can't put 331 international games?

I've used original db and i've clicked confirm-button and then saved.

:help:
Can somebody help?
Post Reply