Page 47 of 82

Re: EHM 1 Database & Saved Game Editor

Posted: Sat Mar 31, 2018 2:10 am
by BKarchitect
One bug (I think) and one request:

- When editing players, the Junior Preference, Player Role and Shoots/Catches are not working for me.
- Also I know you had a request but I found the auto-strength calc and the set position buttons to be much easier to access when they were right there on the player screen instead of buried with the re-calc runtime data tools in the corner. Just my $0.02

Image

Re: EHM 1 Database & Saved Game Editor

Posted: Sat Mar 31, 2018 10:08 am
by archibalduk
Thanks BK. I'll take a look at that issue today. I can guess what the cause is and it'll be a quick fix. I won't bore you with the details, but there is a change I've been meaning to make to all of the data tables to avoid this risk of this happening. I'll do that today too seeing as it should only be an hour's work.

Let me have a think about the Tools menu. The menu allows for consistency across the Editor, is easier to maintain from a coding perspective and takes up less screen space (fitting everything in is proving a challenge for smaller screens like my 15" laptop). But I do see your point. I will see what I can do. :thup:

Re: EHM 1 Database & Saved Game Editor

Posted: Sat Mar 31, 2018 6:24 pm
by archibalduk
I managed to get to the bottom of the issue, but it was not the obvious thing I expected. I actually cannot explain what the cause was. There is nothing special about those player drop-down menus compared with any other drop-down menus and nor is there anything special about the underlying data. Of all the bugs we've had with the Editor, this is the first one which I cannot explain. Anyhow, it's fixed now and I'll aim to release either today or tomorrow. :thup:

Re: EHM 1 Database & Saved Game Editor

Posted: Sat Mar 31, 2018 9:00 pm
by xECK29x
Thanks Archi!!!

Question, should the all-star teams have nationality set? I see they are erroring out for me but have always been set to no nation if I remember.

Also agree with BK, I just got into a habit of always clicking the button to calculate strength, it was a bit easier that way. Also I am having the same drop-down bug.

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Apr 01, 2018 10:45 am
by archibalduk
That's a good question regarding the all-stars teams. I looked at the default/faked rosters and it seems there is a bit of a mixture. Seeing as it does not seem to cause any crash in EHM, I have disabled the club errors where the team has "all-star" in their name.

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Apr 01, 2018 1:28 pm
by archibalduk
Here is version 0.2.8: viewtopic.php?f=148&t=16014

This just fixes the various issues reported by BK and xECK29x yesterday and today. Thanks guys! :thup:

CHANGELIST: VERSION 0.2.8 (01-Apr-2018)

Fixes and Improvements:
  • All-star teams are no longer listed as having club errors;
  • Fixed issue with drop-down menus not working on the Players Details tab of the Players & Staff editing screen;
  • Fixed stage descriptions in the Stage navigation drop-down menu;
  • Reduced label widths slightly in order to prevent certain combo boxes being cropped/partially hidden; and
  • Restored tool buttons to the Players Details tab of the Players & Staff editing screen.

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Apr 01, 2018 1:38 pm
by archibalduk
Doh! I just spotted that the colour previews are no longer working. You can still edit a club's/competition's/etc colours but the preview section doesn't work properly. I'll fix it for the next release.

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Apr 02, 2018 1:26 pm
by xECK29x
archibalduk wrote:Doh! I just spotted that the colour previews are no longer working. You can still edit a club's/competition's/etc colours but the preview section doesn't work properly. I'll fix it for the next release.
I actually like this, makes it easier to remember the color scheme I was using to make different tiers of the same team :-p. If I could request for a 'copy color scheme' button that would be great!

Also getting the same national club oddity in the menu when saving, though it does not seem to be altering the U20 teams, so that is good!

Image

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Apr 02, 2018 3:02 pm
by archibalduk
xECK29x wrote:Also getting the same national club oddity in the menu when saving, though it does not seem to be altering the U20 teams, so that is good!
In what way are you getting it? Are you still able to overwrite the national team with a seemingly duplicate copy of your newly created team?

I expect it will navigate to a national team on saving, but that in itself is not an issue.

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Apr 02, 2018 5:33 pm
by xECK29x
Another bug, I notice the last value I change for a staff/player is not being saved when I click 'Save'. This can be any value, but it's whatever the last one entered/updated is.

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Apr 02, 2018 5:34 pm
by xECK29x
archibalduk wrote:
xECK29x wrote:Also getting the same national club oddity in the menu when saving, though it does not seem to be altering the U20 teams, so that is good!
In what way are you getting it? Are you still able to overwrite the national team with a seemingly duplicate copy of your newly created team?

I expect it will navigate to a national team on saving, but that in itself is not an issue.
It appears to just be a visual oddity in the list, probably the table sorting causing it? The national teams are intact and I can create clubs without issue now!

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Apr 02, 2018 6:18 pm
by archibalduk
xECK29x wrote:Another bug, I notice the last value I change for a staff/player is not being saved when I click 'Save'. This can be any value, but it's whatever the last one entered/updated is.
Thanks. :thup: I suspect it is because the edit is not being submitted until you move focus away from that input to another input on the screen. Pressing the Tab key on your keyboard after your final edit should act as a workaround whilst I look at a fix.
xECK29x wrote:
archibalduk wrote:
xECK29x wrote:Also getting the same national club oddity in the menu when saving, though it does not seem to be altering the U20 teams, so that is good!
In what way are you getting it? Are you still able to overwrite the national team with a seemingly duplicate copy of your newly created team?

I expect it will navigate to a national team on saving, but that in itself is not an issue.
It appears to just be a visual oddity in the list, probably the table sorting causing it? The national teams are intact and I can create clubs without issue now!
I'm not too sure what the visual oddity is, but I'll see if I can reproduce what you mean.

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Apr 02, 2018 7:07 pm
by xECK29x
archibalduk wrote:I'm not too sure what the visual oddity is, but I'll see if I can reproduce what you mean.
The fact the teams I created get renamed in the selection list to one of the National U20 teams after saving, see the screenshot above. Those should be Victory Honda Bantam AAA and Victory Honda U16.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Apr 03, 2018 11:10 am
by archibalduk
Ok I can see what you mean from your explanation/screenshot. This isn't a bug per se but is a current limitation with the filtering. When saving the database (or importing via a spreadsheet), the clubs table is reordered with the national clubs moved to the end of the table. Your newly created clubs (which are initially added to the end of table) are then moved before the national clubs. The filter, however, still points to the clubs at the end of the table (hence Zaire U20, etc appear). You just need to refresh your filter (e.g. just delete the last letter from the Search box and re-add it).

Maybe I can look at refreshing the filters when saving/importing. I'm just a bit concerned on the performance hit in doing so.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Apr 03, 2018 2:20 pm
by xECK29x
No worries, just wanted to make sure it wasn't an issue. I figured it was just visual but wanted to bring it up...thanks again for all the hard work you are putting into this!

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Apr 03, 2018 10:21 pm
by Ankarstroem
Just downloaded the editor. Nice work Archi.

I've seen in the past posts that there were some problems on the contract editing with saved games.
Maybe it's the reason I can't figure how to make any changes on that part.
For example, signing Kovalchuk to a 42 years contract for 15$ a year. Well doesn't work :/

Do I have to go through the data base editor and restart a game or did I miss something ?

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Apr 04, 2018 12:36 am
by xECK29x
Got another one for you Archi (please don't ban me :)).

I am working on creating a few new leagues and just finished the first one I was working on, totals 13 teams. However when I start a game and examine the league only 9 show up, originally it was only 5 but I tried saving a few times, restarting the editor and saving again and now I have 9. These teams are clearly in the DB, not sure what could be going on here.

Image

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Apr 04, 2018 1:23 pm
by archibalduk
This won't be an issue with the Editor, but something to do with the way in which you have set up your extra teams. E.g. if a team's Reputation is too low then they won't appear in the game. Try comparing the settings of the teams that do appear with those that do not appear.

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Apr 04, 2018 2:22 pm
by xECK29x
Ahhh ok good to know, thanks!

Re: EHM 1 Database & Saved Game Editor

Posted: Sat Apr 07, 2018 11:47 am
by archibalduk
I think I'm getting fairly close to completing all I originally had planned for spreadsheet importing. I have set out a list of what I have implemented since the last release along with what is remaining on my to-do list (in respect of spreadsheet importing). Is there anything else anybody can think of?

ADDED FOR VERSION 0.2.9:
- Staff award history
- Staff preferences
- Officials

TO-DO:
- Retired numbers
- Injuries
- Club/player records
- Staff awards
- First names
- Second names

Re: EHM 1 Database & Saved Game Editor

Posted: Sat Apr 07, 2018 6:42 pm
by BKarchitect
xECK29x wrote:Ahhh ok good to know, thanks!
To be safe, you should click the option to show all teams in database when you start a game. You might recommend that users of your database do it as well. That way you know your DB is being portrayed fully and correctly.

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Apr 08, 2018 10:37 pm
by archibalduk
xECK29x wrote:I actually like this, makes it easier to remember the color scheme I was using to make different tiers of the same team :-p. If I could request for a 'copy color scheme' button that would be great!
I have added copy and paste buttons to each colour editing screen. You can copy and paste a single colour scheme or the entire home, road and alternate schemes together. I have also added an Invert button which will cycle through three different combinations for a chosen scheme (e.g. you could copy and paste from the home scheme to the road scheme and then use the Invert button to quickly generate an inverted colour scheme).
xECK29x wrote:
archibalduk wrote:I'm not too sure what the visual oddity is, but I'll see if I can reproduce what you mean.
The fact the teams I created get renamed in the selection list to one of the National U20 teams after saving, see the screenshot above. Those should be Victory Honda Bantam AAA and Victory Honda U16.
I have fixed this. There is a bit of performance hit, but it's only a second or two.
Ankarstroem wrote:Just downloaded the editor. Nice work Archi.

I've seen in the past posts that there were some problems on the contract editing with saved games.
Maybe it's the reason I can't figure how to make any changes on that part.
For example, signing Kovalchuk to a 42 years contract for 15$ a year. Well doesn't work :/

Do I have to go through the data base editor and restart a game or did I miss something ?
Editing saved games isn't really possible.

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Apr 11, 2018 5:47 am
by jdlparsons
Is this where we report bugs?

I've run in to a weird one trying to import and play a database. I exported a research sheet from an existing database to change a few things, finished and imported it back in to the editor, then saved it as a new database. Now when I try to load a game with the new database the scaling on the attributes is all wrong. Instead of an attribute having a value out of 20 its reading to be out of 100. It seems to be for every attribute except for the personality ones.

McDavid, for example, shows a 19/20 in Creativity in both the spreadsheet I used and in the EHM Editor. When I load him up in game he still has a 19 in Creativity, but its a 19/100 instead of out of 20. Seems like all of the players and none players are like this, but I've only checked around 50 or so, so I can't say for certain.

Most editing was done in excel, with little tweaks in the editor. I was trying to redistribute the CA/PA of the database so that there would be a much wider gap in ability between the best players and everyone else, ended up messing with paste special operations till I finally figured out how to curve everything how I liked it.

It's probably something really stupid I missed somewhere so I probably wasted a lot of time on this, but I made up as thorough a bug report/folder as possible.

Imgur album comparing Editor, Assistant and in game attribute values, McDavid and Babcock.
https://imgur.com/a/p6Bd6

Zip folder hosted on Google Drive containing: the database file, my saved game file, player and non-player spreadsheets exported from EHM Assistant in CSV and HTML, and the edited spreadsheets that were imported back to the editor. Also included the error sheet the editor gave me when I imported. Copies of the imgur pictures are also included.
https://drive.google.com/open?id=1U1mh5 ... 1VNGHTkAxr

Rar folder hosted on Google Drive with same contents as above if preferred or needed.
https://drive.google.com/open?id=13jczv ... toDhoynWmb

Uncompressed folder hosted on Google Drive with same contents as above if preferred or needed.
https://drive.google.com/drive/folders/ ... sp=sharing

I think that should cover everything. Let me know if anything else is needed or if this is in the wrong place. I did made sure to search first but couldn't find anything helpful.

Help with reverting a few editor changes?

Posted: Wed Apr 11, 2018 9:54 am
by AngeLxLost
I spent the better part of two days editing the 10.1 db (https://www.reddit.com/r/EHM/comments/8 ... y_goalies/) but I made the mistake of editing the awards and ruined everything.

I sim 20 seasons but I went back and tinkered with a few staff and drastically changed some awards so now it crashes right at the awards ceremony (trying to sim past it) on year 1.

Here's the specific changes I made:
- Added GM of the Year Award and it's previous winners
- Filled in missing award history for Conn Smythe, Hart, Calder, Vezina, Norris, Art Ross, Richard, and Lindsay from 2013-2017
- Changed Lester B. Pearson Award to Ted Lindsay Award
- Vezina changed to be given to whoever has the highest Sv%
- Minimum GP for goalie awards set to 40 (to accommodate for new Vezina parameters)
- Norris changed to be given to the "best offensive defenseman" rather than "best defenseman"
- Removed +/- and Roger Crozier awards (by erasing the names and removing them from the league)

I've tried to fix it by manually reverting all the changes I made and when that didn't work I tried to import an awards spreadsheet from a working db (not sure if I did it properly though).

Ik many ehm forum goers tell you to keep multiple backs (which I did, but they've all had the awards changed lol) so ultimately it's my own fault but I thought I'd try to ask just in case there could be a possible solution.

Thanks for any help in advance.

Re: Help with reverting a few editor changes?

Posted: Wed Apr 11, 2018 8:57 pm
by archibalduk
jdlparsons wrote:Is this where we report bugs?

I've run in to a weird one trying to import and play a database. I exported a research sheet from an existing database to change a few things, finished and imported it back in to the editor, then saved it as a new database. Now when I try to load a game with the new database the scaling on the attributes is all wrong. Instead of an attribute having a value out of 20 its reading to be out of 100. It seems to be for every attribute except for the personality ones.

McDavid, for example, shows a 19/20 in Creativity in both the spreadsheet I used and in the EHM Editor. When I load him up in game he still has a 19 in Creativity, but its a 19/100 instead of out of 20. Seems like all of the players and none players are like this, but I've only checked around 50 or so, so I can't say for certain.
Load the database in the Editor and click on Data -> Database Header. Untick the "Attributes 1-100" setting. It seems you ticked this and I expect it is the cause of your issue. I don't have time to test that it fixes it, but it should do.
AngeLxLost wrote:I've tried to fix it by manually reverting all the changes I made and when that didn't work I tried to import an awards spreadsheet from a working db (not sure if I did it properly though).
It is not possible to import awards into the database using the Editor. Hopefully you received an error saying it is an unknown file. If not, you probably imported something else by mistake.

It is hard to say what caused the issue. Adding histories shouldn't be an issue but I cannot speak for the award settings (it is not something I have experimented with). You could however export the staff/players research sheet and import into a fresh copy of the database. This will at least let you transfer your ratings over.