Page 12 of 82

Re: EHM 1 Database Editor (2016)

Posted: Thu Nov 17, 2016 5:08 pm
by Alessandro
wildcat62 wrote: I've been hoping to set up a North American structure with all four leagues (NHL/AHL/ECHL/SPHL) having four divisions of 8 teams each so every NHL team will have 3 unique affiliates each. Would I be able to accomplish this in the next release?
No

Re: EHM 1 Database Editor (2016)

Posted: Thu Nov 17, 2016 10:03 pm
by archibalduk
wildcat62 wrote:What about changing the names/parameters of staff awards?
This will be possible with the upcoming release of the Editor.

Re: EHM 1 Database Editor (2016)

Posted: Sat Nov 19, 2016 8:06 pm
by bäckström19
is there a way to edit my saving game...the other "in game save editor" guy , there always bring the update is not more here i think...

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Nov 22, 2016 7:49 pm
by archibalduk
A new version of the Editor can be downloaded here: http://www.ehmtheblueline.com/forums/vi ... 93#p206841

This version uses a newer version of the C++ Redistributable (the 2015 version) compared with previous versions of the Editor. Please make sure you download this before trying to run the Editor: https://www.microsoft.com/en-gb/downloa ... x?id=48145

Note that this version is fairly untested and so, as always, use with caution (and plenty of backups!!). I have set out below the main changes (it has been 9 months in the making and I'm sure I have missed some things out).

CHANGELIST: VERSION 0.1.0 (22-Nov-2016)

New Features:
  • Finance information editing screen;
  • Player info/statistics editing screen (via the Staff editing screen);
  • Ruling bodies editing screen;
  • Saved game header editing screen;
  • Schedule template editing screen;
  • Schedule template importing from spreadsheets;
  • Stage names editing screen;
  • Transfer rules screen;
  • EHM 2004-2007 index screen;
  • Added initial limited support for EHM 2005 and 2007 databases (not fully working yet);
  • Added the possibility for EHM 2004 database editing in the future;
  • Saved game loading, saving, unpacking and editing support;
  • Added setting: File dialog window style (predominantly for testing purposes);
  • Added setting: Show import warning at start-up;
  • Added setting: Main menu toolbar size (larger size available for those who find the standard size is too small for their screen resolution);
  • Added setting: Default window state (the Editor will remember whether you last used the Editor in maximised window mode);
  • Added setting: Automatic removal of invalid affiliations;
  • Added setting: Sort staff data.
Fixes and Improvements:
  • The database is now fully decoded and all missing fields added to the respective editing screens;
  • The majority of the core Editor has been re-written and improved;
  • Items can be added to and deleted from certain tables/editing screens (including staff);
  • All drop-down menus can be customised via the Common folder in the Editor installation folder (the folder is created upon first loading the Editor);
  • Tidied up the Settings screen and added a new help pane (further tidying required);
  • Staff classification validation when changing a staff's Classification and/or Job;
  • Improved table editing screens with menu bar and right-click menu;
  • Mono colour icons replaced with colourful icons.
Known Limitations and Bugs:
If you encounter an issue which is not listed below then please do report it here: http://www.ehmtheblueline.com/forums/vi ... 10&t=14290
  • EHM 2004-2007 support not fully operational;
  • Not all data can be added or deleted yet (an error message will be displayed where this is not possible);
  • Clicking on the Cancel button when viewing the Open Database/Saved Game dialog will disable the Open buttons, requiring a restart of the Editor;
  • The Club Competition Basic Rules data is not yet editable owing to its complexity (this is the table which enables editing of league structures, etc). I hope to add this to the next version;
  • The mouse cursor does not change when hovering over certain editing fields which makes certain tasks, such as editing Club Contracted/Playing For, not immediately obvious (the field should be clicked on in order to display the selection dialog window);
  • The improved table display has not yet been rolled out to all tables/screens;
  • Table column widths have not yet been set (and will frequently appear too narrow/small);
  • Certain icons could be improved/replaced;
  • Stage Generic Type setting on the Stage Types editing screen is not yet user-friendly;
  • Drop-down menus are all sorted alphabetically which is not always appropriate;
  • Set a non-player's Nation Contract is completely untested and may cause a crash;
  • Altered club competition names do not carry across the various editing screens;
  • Only csv/txt file formats are supported at the moment;
  • The default file format and editor text settings do not currently work.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Nov 22, 2016 11:29 pm
by wildcat62
If you hadn't already mentioned a significant other, this is when I'd propose to you.

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Nov 23, 2016 12:36 am
by zbguy
Beautiful. Can't wait to give it a whirl.

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Nov 23, 2016 11:43 am
by riazorblues86
I try edit my saved game, i only edited retired number because my most important n loyal player retired, but after that, all the name in team transaction window change to weird name..for example Eric Gelinas was change to david gelinas. and all name in transaction window is change by random name.

I check NHL transaction window, same problem occur..so far as i know, i didn't change it at all..why?

how to revert it back? since i'm not make backup..

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Nov 23, 2016 3:01 pm
by archibalduk
riazorblues86 wrote:all the name in team transaction window change to weird name..for example Eric Gelinas was change to david gelinas. and all name in transaction window is change by random name.

I check NHL transaction window, same problem occur..so far as i know, i didn't change it at all..why?
I'm not sure I fully understand. Could you post some screenshots of the game showing the issue please? As I understand it, you added a new Retired Number entry in your saved game and some names elsewhere have become mixed up.
riazorblues86 wrote:how to revert it back? since i'm not make backup..
It's hard to say whether there is anything you can do to change it back. I have tried to make it really clear on the download page that this is largely untested software and you must make regular backups.

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Nov 23, 2016 4:24 pm
by iaintevenmad1
The same happened for me as riazorblues86. Made some changes in the save game and upon loading the game again, all the first names were changed to random names.
Funnily enough, can't replicate it now a second time. :dunno:

Edit:
happened again.. not all the names are changed as I said previously, though.
Image
Image
Image

Edit 2:
a screen with actually changed names - none of these are clickable :
Image

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Nov 23, 2016 5:45 pm
by archibalduk
iaintevenmad1 wrote:The same happened for me as riazorblues86. Made some changes in the save game and upon loading the game again, all the first names were changed to random names.
Funnily enough, can't replicate it now a second time. :dunno:
Thanks! That's very helpful. It looks as though the the first name IDs are being adjusted by one. I'll check it out. If it's a quick fix then I'll release a fixed version asap.

What changes did you make to your saved game? This will help me try to replicate the issue.

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Nov 23, 2016 7:35 pm
by iaintevenmad1
Competitions > Finance Info > Min wage budget

Also moved a player from Free Agency to a team from People > Players & Staff > Club Contract.

Edit: just happened without making any changes at all.. the shortlist is trashed (as in emptied) as well, don't know if that's related

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Nov 23, 2016 9:41 pm
by zbguy
Thanks again for the updated editor. I guess I'm submitting a bug report here because when I created a team in the database, the game crashed upon loading said database. I can add a league just fine, but adding a team, no matter how I adjust the parameters for it, makes the DB unusable.

Re: EHM 1 Database & Saved Game Editor

Posted: Thu Nov 24, 2016 1:42 am
by riazorblues86
archibalduk wrote:
riazorblues86 wrote:all the name in team transaction window change to weird name..for example Eric Gelinas was change to david gelinas. and all name in transaction window is change by random name.

I check NHL transaction window, same problem occur..so far as i know, i didn't change it at all..why?
I'm not sure I fully understand. Could you post some screenshots of the game showing the issue please? As I understand it, you added a new Retired Number entry in your saved game and some names elsewhere have become mixed up.
riazorblues86 wrote:how to revert it back? since i'm not make backup..
It's hard to say whether there is anything you can do to change it back. I have tried to make it really clear on the download page that this is largely untested software and you must make regular backups.
Sorry Archi, I forget to post the print screen. but thanks to iaintevenmad1, its the same problem happened to him & me. But i only add new retired jersey for my team, no more than that. Suddenly, all first name change.

I found another problem, you can't ask your scouts to scout any player because its say you don't have anyone in that position. All my scouts cannot do their jobs.

Plus, when you click scouting menu, supposedly you can click & choose your scout before ask them to scout whereas you like, but now, the button is gone..Sorry no pic because I at my office. Tonight will post the pic again.

Re: EHM 1 Database & Saved Game Editor

Posted: Thu Nov 24, 2016 12:58 pm
by archibalduk
I have figured out the issue with the shortlists and head scouts disappearing. The solution is to ensure that all of the Maintenance options for saved games are disabled (see screenshot below). These settings should be set to disabled before you open the saved game (otherwise the Maintenance functions will be applied upon loading and the damage will have been done). I'm struggling to replicate the scrambled names issue. Maybe the abovementioned fix also fixes this issue. I did notice something in the Editor code which *might* cause an issue which I have now changed just in case - so perhaps that's why I'm unable to replicate the issue.

Anyhow, let me know if the settings fix resolves your issues (obviously it will not fix already bugged saved games).

I will check the club creation issue zbguy mentions next (thanks for reporting it). :thup:

Image

Re: EHM 1 Database & Saved Game Editor

Posted: Thu Nov 24, 2016 3:50 pm
by iaintevenmad1
That seems to have done it.
Thanks and good job. :grin:

Re: EHM 1 Database & Saved Game Editor

Posted: Thu Nov 24, 2016 4:45 pm
by archibalduk
zbguy wrote:Thanks again for the updated editor. I guess I'm submitting a bug report here because when I created a team in the database, the game crashed upon loading said database. I can add a league just fine, but adding a team, no matter how I adjust the parameters for it, makes the DB unusable.
I'm struggling to find the cause of this issue. The clubs are added to the database fine but EHM does not like it. I wonder if the table has to be re-ordered so that the club teams appear before the national teams in the database - but this would be inconsistent with how the Club Competitions table works. I'll check with Riz on this one...

Re: EHM 1 Database & Saved Game Editor

Posted: Thu Nov 24, 2016 5:46 pm
by zbguy
Thanks for the update.

Re: EHM 1 Database & Saved Game Editor

Posted: Thu Nov 24, 2016 9:56 pm
by nino33
Am I correct in thinking we can't yet remove teams from a League? (i.e. can't yet make the 74/92/98 databases accurate in terms of number of teams by reducing the size of playable Leagues)

Re: EHM 1 Database & Saved Game Editor

Posted: Thu Nov 24, 2016 10:08 pm
by Alessandro
nino33 wrote:Am I correct in thinking we can't yet remove teams from a League? (i.e. can't yet make the 74/92/98 databases accurate in terms of number of teams by reducing the size of playable Leagues)
Unfortunately I think you are correct.

Re: EHM 1 Database & Saved Game Editor

Posted: Fri Nov 25, 2016 3:50 pm
by archibalduk
nino33 wrote:Am I correct in thinking we can't yet remove teams from a League? (i.e. can't yet make the 74/92/98 databases accurate in terms of number of teams by reducing the size of playable Leagues)
That's correct - the current Editor cannot do this. The section of the database named Competition Basic Rules controls everything you will need in order to reduce the size of playable leagues, change structures, etc (I'm calling this table "Rules & Structures" in the Editor). I have started work on this but it is a large and complex table. Unlike the rest of the tables in the database (which are largely a basic tables of rows and columns), this particular table is more like a multi-layered table which requires me to design a lot of different editing screens that need to link together.

Here is a very early (and incomplete) screenshot:

Image

Re: EHM 1 Database & Saved Game Editor

Posted: Fri Nov 25, 2016 4:36 pm
by Djungelurban
Has anyone successfully been able to replace a team in the NHL? Just for testing purposes I'm trying to replace Arizona Coyotes with Las Vegas Thunder, but every time I start a new game with that db file Arizona is still there, albeit unselectable. And Las Vegas is nowhere to be seen...

Re: EHM 1 Database & Saved Game Editor

Posted: Fri Nov 25, 2016 4:53 pm
by nino33
archibalduk wrote:
nino33 wrote:Am I correct in thinking we can't yet remove teams from a League? (i.e. can't yet make the 74/92/98 databases accurate in terms of number of teams by reducing the size of playable Leagues)
That's correct - the current Editor cannot do this. The section of the database named Competition Basic Rules controls everything you will need in order to reduce the size of playable leagues, change structures, etc (I'm calling this table "Rules & Structures" in the Editor). I have started work on this but it is a large and complex table. Unlike the rest of the tables in the database (which are largely a basic tables of rows and columns), this particular table is more like a multi-layered table which requires me to design a lot of different editing screens that need to link together.
Thanks for the reply! :thup:

Re: EHM 1 Database & Saved Game Editor

Posted: Fri Nov 25, 2016 5:51 pm
by archibalduk
Djungelurban wrote:Has anyone successfully been able to replace a team in the NHL? Just for testing purposes I'm trying to replace Arizona Coyotes with Las Vegas Thunder, but every time I start a new game with that db file Arizona is still there, albeit unselectable. And Las Vegas is nowhere to be seen...
Switching teams in playable leagues involves also updating the league structure of the relevant league (the structure includes a list of teams which play in each league/conference). This is the part of the Editor I'm working on at the moment. Hence it won't be possible to switch teams in playable leagues until I've finished this section of the Editor.

Re: EHM 1 Database & Saved Game Editor

Posted: Fri Nov 25, 2016 5:54 pm
by Alessandro
Djungelurban wrote:Has anyone successfully been able to replace a team in the NHL? Just for testing purposes I'm trying to replace Arizona Coyotes with Las Vegas Thunder, but every time I start a new game with that db file Arizona is still there, albeit unselectable. And Las Vegas is nowhere to be seen...
(I think) You need to set Arizona as inactive (eg delete all the nation/league information), and replace them with Vegas with the same division/conference setup. Then you have to add this line in the import config file
"FORCE_DATABASE_SET_TEAMS" "National Hockey League"
I have no time to test it, but i guess it's right.
EDIT: I didn't read that you want the Thunder in, I thought you wanted the new Vegas team. You have to replace the Thunder with another team in the ECHL (same alignment setup), then add "FORCE_DATABASE_SET_TEAMS" "ECHL" too.
Let us know.

Re: EHM 1 Database & Saved Game Editor

Posted: Fri Nov 25, 2016 6:09 pm
by archibalduk
Just to clarify the above works on an EHM 2007 format DB when importing via the game. It won't allow any further team changes via the Editor.