Page 22 of 82

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 30, 2017 11:34 am
by Alessandro
Archi, can you add an option to load another DB without having to close editor?

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 30, 2017 1:08 pm
by Alessandro
Also, we can't set "start" stage in trade window screen, with "start" not set (it is set for "default" leagues) will call when transfer window opens "trade deadline".

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 30, 2017 2:58 pm
by Fredlig
I used the new function which allows to edit the draft and rights. And after adding a player which was missing from the draft, and adding his draft history and rights, i get the following error message trying to create a new game; select_leagues_screen.ccp 114.

The only thing i did was adding a player, his NHL draft position and rights. Anyone?

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 30, 2017 8:30 pm
by archibalduk
Alessandro wrote:Archi, can you add an option to load another DB without having to close editor?
Perhaps in the future. It's not a straightforward feature to add. I have tried to set up the Editor in a way that would allow this in the future, but I'm not sure it'll work without some significant further work.
Alessandro wrote:Also, we can't set "start" stage in trade window screen, with "start" not set (it is set for "default" leagues) will call when transfer window opens "trade deadline".
Do you mean that the Start Date checkbox when adding a new Transfer Window is not ticked? If so, I have added this to my to-do list to fix.
Fredlig wrote:I used the new function which allows to edit the draft and rights. And after adding a player which was missing from the draft, and adding his draft history and rights, i get the following error message trying to create a new game; select_leagues_screen.ccp 114.

The only thing i did was adding a player, his NHL draft position and rights. Anyone?
I'll try the same thing and will let you know what I find.

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 30, 2017 9:46 pm
by Alessandro
archibalduk wrote: Do you mean that the Start Date checkbox when adding a new Transfer Window is not ticked? If so, I have added this to my to-do list to fix.
Yes, exact :thup:

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 12:07 pm
by Alessandro
There is a problem when exporting/importing teams with multi-conferences (or divisions?).
I can't import Named's czech junior league as it fails to get the divisions, instead of the correct divisions it sets as league's divisions something like olympic qualifications, deutschland cup, and similar stuff.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 1:21 pm
by Alessandro

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 2:37 pm
by Named
I suppose problem might be cause I used 1 Conference and 3 Divisional model inside this conference. It was the same model of league how we had on QMJHL which Riz fixed.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 3:49 pm
by CruzerDC
Hi!
There seems to be an issue when editing staff histories, all i did was edit one players career history (i added his 15/16 season stats), and when i went in to the game and started a new game it loaded normally for a few seconds and then this error message came up
Image

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 9:19 pm
by archibalduk
CruzerDC wrote:Hi!
There seems to be an issue when editing staff histories, all i did was edit one players career history (i added his 15/16 season stats), and when i went in to the game and started a new game it loaded normally for a few seconds and then this error message came up
I'm getting the same issue. It seems adding a player career history entry is now corrupting the database. This might be related to the issue Fredlig reported above. I'll see if I can figure out the issue.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 9:29 pm
by archibalduk
Alessandro wrote:There is a problem when exporting/importing teams with multi-conferences (or divisions?).
I can't import Named's czech junior league as it fails to get the divisions, instead of the correct divisions it sets as league's divisions something like olympic qualifications, deutschland cup, and similar stuff.
Where are the divisions being show as Olympic Qualifying, etc?

When I load Named's structure into the DB, I see that the various divisions are listed as [Out of Range] (see screenshot below). This is because Named has created those new Club Competitions in his DB and they are not present in the unmodified/original version of the TBL Rosters. So you will need to manually add these Club Competitions and then update the linked division for each division entry accordingly. Eventually the Editor will try to do this for you, but right now it doesn't.

Image

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 9:49 pm
by Alessandro
archibalduk wrote:
When I load Named's structure into the DB, I see that the various divisions are listed as [Out of Range] (see screenshot below). This is because Named has created those new Club Competitions in his DB and they are not present in the unmodified/original version of the TBL Rosters. So you will need to manually add these Club Competitions and then update the linked division for each division entry accordingly. Eventually the Editor will try to do this for you, but right now it doesn't.
I think you may have an old DB. With a newer DB you'll see that divisions are in, and I think that the problem is that he is working that league with divisions rather than conferences.
EDIT: Messed-up divisions are I think in schedule template screen

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 10:26 pm
by archibalduk
Named wrote:I suppose problem might be cause I used 1 Conference and 3 Divisional model inside this conference. It was the same model of league how we had on QMJHL which Riz fixed.
Alessandro wrote:I think you may have an old DB. With a newer DB you'll see that divisions are in, and I think that the problem is that he is working that league with divisions rather than conferences.
EDIT: Messed-up divisions are I think in schedule template screen
I'm using the v9.0b database and am getting [Out of Range] on the Schedule Templates screen too.

As mentioned above, the Editor does not add the missing Club Comps nor does it attempt to find them. Instead it simply imports the Club Competition ID numbers from the EHM file without any modification. The Club Comp IDs for the linked divisions in this particular structure are 854, 855 and 856. The Schedule Templates use the UID instead (which is also imported direct from the EHM file without modification). The UIDs for the linked divisions are 1,134,982, 1,134,983 and 1,134,984. These IDs and UIDs are from Named's original DB. The fact that the linked divisions have such high UIDs indicate that they were added after import from an EHM 2007 database (i.e. the leagues/divisions are not present in the TBL Rosters). Otherwise the Club Comps would have UIDs around the 10,000 or 49,000 range (as opposed to 1.1 million).

The structure of the league is irrelevant. It's the IDs and UIDs which are relevant and determine the linked Club Comps.

In the Editor, click on Club Comps -> Export Data Model. Search through the exported spreadsheet and see if you can find Club Comps with the IDs and/or UID.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 10:45 pm
by Named
I imported into live database which include problematic divisions and still getting like Alessandro Olympic Pre-Qualification Divisions. I posted screen and uploaded some fresh db in which tried to import *.ehm file. Could You have a look on it? I have made model of this league (including comps, divs) in editor 0.1.4. Maybe problem is that we want to import this model into database where divs were created in 2007 db version? DHL leagues also didnt exists in current databases cause name is renamed in import_config file?

"CHANGE_COMP_NAME" "Czech NOEN Elite Junior League" "Czech DHL Elite Junior Liga" "Czech Junior Liga" "" "" ""

Image
Image

http://www10.zippyshare.com/v/m3LS6nIt/file.html

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 10:55 pm
by archibalduk
I'm not sure you're following what I'm saying above. I'll take a look tomorrow but am virtually certain it'll be as I say above.

Can you follow my instructions above regarding the Export Data Model in the destination database? Which Club Comps have ID 854, 855 and 856?

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 31, 2017 11:03 pm
by Named
Swedish Four Nations U-20 Tournament 854
Olympic Pre-Qualification 855
Final Olympic Qualification 856

I think You were right but how we can fix it after import? Manually need to delete from structure screen and populate with divisions? DHL Divs have ID 814, 815, 816.

EDIT: Manually fixes works but I suspect there were several problems with Club Competition Classification for Divisions but maybe it was due to wrong comp ID's.

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Feb 01, 2017 7:30 pm
by archibalduk
Named wrote:I think You were right but how we can fix it after import? Manually need to delete from structure screen and populate with divisions? DHL Divs have ID 814, 815, 816.
Just create the missing Club Comps and then edit the Divisions and Schedule Templates accordingly.
Named wrote:EDIT: Manually fixes works but I suspect there were several problems with Club Competition Classification for Divisions but maybe it was due to wrong comp ID's.
No it won't be due to the incorrect Club Comp IDs.

Re: EHM 1 Database & Saved Game Editor

Posted: Thu Feb 02, 2017 9:43 pm
by archibalduk
archibalduk wrote:
CruzerDC wrote:Hi!
There seems to be an issue when editing staff histories, all i did was edit one players career history (i added his 15/16 season stats), and when i went in to the game and started a new game it loaded normally for a few seconds and then this error message came up
I'm getting the same issue. It seems adding a player career history entry is now corrupting the database. This might be related to the issue Fredlig reported above. I'll see if I can figure out the issue.
I believe I have found the cause of this and will look to release a fixed version this weekend. The bug is a blatant error made by me when I first started writing the Editor. It's easy to fix, but I don't know why it has only started to affect things now - it should have caused issues as soon as it was possible to add any data anywhere!!

Re: EHM 1 Database & Saved Game Editor

Posted: Fri Feb 03, 2017 12:32 am
by BKarchitect
archi - any chance recalculate runtime data is in next version? Thanks :-D

Re: EHM 1 Database & Saved Game Editor

Posted: Sat Feb 04, 2017 6:14 pm
by archibalduk
BKarchitect wrote:archi - any chance recalculate runtime data is in next version? Thanks :-D
I've been looking at whether I could add this to the fixed version I hope to release tomorrow. However, it's a bit more complex than how it worked with the EHM Updater in EHM 2007 because leagues can have different IDs and new leagues might be added in the future (whereas it was all tied to specific IDs in the EHM 2007 database). So it'll take some time and thought to get working correctly. I'll have it added for the version I release after tomorrow's release. :thup:

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Feb 05, 2017 1:22 am
by BKarchitect
No problem thanks archi for all your hard work on the editor! :notworthy:

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Feb 05, 2017 4:43 pm
by archibalduk
Here is the new version of the Editor (v0.1.6): http://www.ehmtheblueline.com/forums/vi ... 04#p206841

The main reason for this release is to fix a write error which occurs if any club/competition/staff history is added or deleted. This resulted in a corrupt database when next saving. This patch fixes this problem and allows histories to be added/deleted without causing any corruption.

New Features:
  • Added player info spreadsheet exporting.
Fixes and Improvements:
  • Fixed write error which was resulting corrupt databases when editing certain club/competition/staff histories;
  • Improved club competition export spreadsheet;
  • Improved Xlsx spreadsheet heading format;
  • Minor improvements to the Export to Spreadsheet screen (work in progress); and
  • Updated Club Division Level flags.

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Feb 05, 2017 7:13 pm
by GooseGaming68
How do I edit draft pick rights? I'm updating the rosters for up to date transactions. I also want to edit injuries players have but I don't know where to find the screen. For example Pittsburgh traded a 5th round draft pick in 2017 for mike condon from the ottawa senators. I know how to move condon from ottawa to pittsburgh but how do I move the pick from pittsburgh to ottawa? And for the injuries Jonathan Quick got injured the first game of the season and has been out since. That is arguably the reason that the LA Kings are not doing as well as last year. Also what ID are the Capitals? Or the Penguins? Is there a table for that in the schedule template? For the new 9.1 roster update it seems that the schedule is still the same from last year. Now I may be doing something wrong for the schedule but I have deleted and re installed twice now. And I know I'm selecting the correct roster because everything else about it is correct.

VCRUNTIME

Posted: Mon Feb 06, 2017 2:48 am
by Javs
Hey,

I get a VCRUNTIME error when I try to start EHM1 editor. I tried to install Windows Visual C++ 2013 and 2015 and it still doesn't work.

Any suggestions?

NOTE: I couldnt find information anywhere on the site, so I figured I'd get the best response here.

Re: VCRUNTIME

Posted: Mon Feb 06, 2017 1:32 pm
by archibalduk
Javs wrote:Hey,

I get a VCRUNTIME error when I try to start EHM1 editor. I tried to install Windows Visual C++ 2013 and 2015 and it still doesn't work.

Any suggestions?

NOTE: I couldnt find information anywhere on the site, so I figured I'd get the best response here.
Do you mean the Visual C++ Redistributable? If so, did you install the 32-bit version (x86)? The Editor only works with the 32-bit Redistributable and not the 64-bit version.

If the error message is in English then could you post a screenshot of it please?