Page 18 of 82

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 27, 2016 11:31 pm
by Mackecool93
Hi, first thing, archi you're doing some truly amazing work :notworthy:

Second thing, i've noticed a small bug, that's just a small glitch. Every time i change something on a player under "basic data", for example club, birth city etc. the "player details" side gets grayed out and instead the "non-player" side gets available, even though the "classification" still reads player. It will only revert back if you press the player again, and nothing is lost, as far as i can see. So its just a graphic glitch i suppose.

EDIT: Found one more, under "player details" you can't select height or weight to edit it if the value is zero, now you need to press the up-arrow to make it a one before its possible.

EDIT2: Turns out the weight and height fields are harder to select but not impossible to select even when the value is zero. You must press the right half of it to select it, not all of the field i clickable.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 27, 2016 11:39 pm
by Alessandro
Another bug: can't reset day of week in end date in trade windows. I created a new rule for a new league, it got assigned "monday" and I can't reset it back to none.

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Dec 28, 2016 12:13 am
by Mackecool93
Got a question about players. Afaik its not possible to create new players in this editor, correct? My workaround this far has been to remake either old players without history or retired players. Can i find somewhere all the players in the db that are set as either retired or invalid? Could there be something that goes wrong with re-enabling this players?

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Dec 28, 2016 1:39 pm
by BulldogsFan
the schedule list for the league is only for season 1 correct after that it will be automatically generated? just cause i want to add 2 american teams to OHL and make a US division like WHL

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Dec 28, 2016 2:57 pm
by Alessandro
BulldogsFan wrote:the schedule list for the league is only for season 1 correct after that it will be automatically generated? just cause i want to add 2 american teams to OHL and make a US division like WHL
(for this kind of leagues) You need to adjust the template anyway, either you want to add or replace teams.

Re: EHM 1 Database & Saved Game Editor

Posted: Wed Dec 28, 2016 8:01 pm
by archibalduk
Thanks to the both of you for reporting these bugs. :thup:
Mackecool93 wrote:Second thing, i've noticed a small bug, that's just a small glitch. Every time i change something on a player under "basic data", for example club, birth city etc. the "player details" side gets grayed out and instead the "non-player" side gets available, even though the "classification" still reads player. It will only revert back if you press the player again, and nothing is lost, as far as i can see. So its just a graphic glitch i suppose.
The Editor momentarily checks whether the person is a player or non-player and disables the relevant tabs (so, as you say, it's just a UI issue rather than a data one). It looks like something has gone awry with the checking/validation. I'll check it out and will have it fixed for the next release. :thup:
Mackecool93 wrote:EDIT: Found one more, under "player details" you can't select height or weight to edit it if the value is zero, now you need to press the up-arrow to make it a one before its possible.

EDIT2: Turns out the weight and height fields are harder to select but not impossible to select even when the value is zero. You must press the right half of it to select it, not all of the field i clickable.
How strange! I'll take a look a see what is happening here. :-?

Another way of selecting the height where it is not working is to click on Favourite Number (bottom left corner of the screen) and then press the Tab key. I'll get this fixed for the new release. :thup:
Alessandro wrote:Another bug: can't reset day of week in end date in trade windows. I created a new rule for a new league, it got assigned "monday" and I can't reset it back to none.
Looks like there's a glitch with the list of options in the drop-down menu. I'll get this fixed for the new release. :thup:
Mackecool93 wrote:Got a question about players. Afaik its not possible to create new players in this editor, correct? My workaround this far has been to remake either old players without history or retired players. Can i find somewhere all the players in the db that are set as either retired or invalid? Could there be something that goes wrong with re-enabling this players?
Click on the "Add" button at the bottom of the Players & Staff screen. That allows you to add a new player/non-player.

Re: EHM 1 Database & Saved Game Editor

Posted: Fri Dec 30, 2016 6:29 pm
by Dontirri
Hey, I got a question regarding the editor.
Is it possible to enable promotion/relegation between leagues and if so, how? And when moving clubs from one league to another, is it enough to change the current league in the clubs data and then increase league size/decrease league size in the respective leagues or am I missing a step?

I'm basically trying to bring Jokerit back to Finnish liiga and reopen the promotion/relegation between Liiga and Mestis.

Re: EHM 1 Database & Saved Game Editor

Posted: Fri Dec 30, 2016 8:28 pm
by Alessandro
Dontirri wrote:Hey, I got a question regarding the editor.
Is it possible to enable promotion/relegation between leagues and if so, how? And when moving clubs from one league to another, is it enough to change the current league in the clubs data and then increase league size/decrease league size in the respective leagues or am I missing a step?

I'm basically trying to bring Jokerit back to Finnish liiga and reopen the promotion/relegation between Liiga and Mestis.
I suggest you to read through the thread for more information. You always need to work out the schedule.

Re: EHM 1 Database & Saved Game Editor

Posted: Sat Dec 31, 2016 11:30 pm
by archibalduk
I've been working on the Rules & Structures import/export function recently. There's still a lot of work to do, but it can now export the selected Rules & Structure along with any associated Finance Info, Ruling Body, Schedules and Transfer Rules. Hopefully it's reasonably straightforward - you just navigate to the Rules & Structure item you want to export, click on the Export button and enter your Author and Release Notes information (so you can include some explanation/readme if you wish). To import, click on the Import button and select your chosen file. It'll then show some basic information about the data (e.g. the start year from the source database, the database format, etc) before giving your the option to proceed with the import. The Import function will be forward and backward compatible with future/previous versions of the database.

Although it works, I now need to add some checks, etc in order to prevent importing duplicate copies of Finance Info, etc, update club IDs, etc.

Image

Image

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Jan 01, 2017 8:58 am
by Alessandro
archibalduk wrote:I've been working on the Rules & Structures import/export function recently. There's still a lot of work to do, but it can now export the selected Rules & Structure along with any associated Finance Info, Ruling Body, Schedules and Transfer Rules. Hopefully it's reasonably straightforward - you just navigate to the Rules & Structure item you want to export, click on the Export button and enter your Author and Release Notes information (so you can include some explanation/readme if you wish). To import, click on the Import button and select your chosen file. It'll then show some basic information about the data (e.g. the start year from the source database, the database format, etc) before giving your the option to proceed with the import. The Import function will be forward and backward compatible with future/previous versions of the database.

Although it works, I now need to add some checks, etc in order to prevent importing duplicate copies of Finance Info, etc, update club IDs, etc.
Fantastic job, Archi, as usual. When can we expect a new release?

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Jan 01, 2017 9:17 am
by archibalduk
Thanks! :) I think it'll be a little while yet. The validation aspects are going to take some work. It's not all that complex in terms of coding but it does take a bit of thought and planning (it's more of a logical puzzle).

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Jan 01, 2017 11:10 am
by Named
Archi remember sometimes we have to add new conferences, divisions, competitions so it might not work.

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Jan 01, 2017 11:19 am
by archibalduk
Named wrote:Archi remember sometimes we have to add new conferences, divisions, competitions so it might not work.
Yes that will of course be a limitation with the initial version. It will only work if the clubs/comps/conferences/divisions already exist in the game.

I expect in the future I will add the ability to export the linked clubs/comps/conferences/divisions too. It's not too difficult but I think it might be too much for the initial version (the more complex I make it, the more complex it will be for us to test and debug).

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Jan 01, 2017 3:27 pm
by Alessandro
Well, for the time being one could just add a "release note" indicating that creation is needed

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Jan 01, 2017 8:35 pm
by Mackecool93
archibalduk wrote:
Mackecool93 wrote:Got a question about players. Afaik its not possible to create new players in this editor, correct? My workaround this far has been to remake either old players without history or retired players. Can i find somewhere all the players in the db that are set as either retired or invalid? Could there be something that goes wrong with re-enabling this players?
Click on the "Add" button at the bottom of the Players & Staff screen. That allows you to add a new player/non-player.
Didnt work when i tried. A new entry(player) did not appear.

Edit: And now i tried again and it worked :-k

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 02, 2017 8:05 am
by erikhogberg
Is it not possible to move teams to the swedish leagues? I've moved teams from some of the top european leagues plus the Nordiques and Whalers to the SHL and Allsvenskan but i can't start a new game. It crashes when it's loading the leagues.

I've replaced the teams like Dinamo Riga for example with a swedish team, i've put them in the same division/conference D.Riga was in so that shouldn't be a problem, should it? I mean, there are no teams missing in any leagues, divisions or conferences. Could it be the nationalities that's making it crash? The nordiques being canadian for example?

If it is possible to move teams i would greatly appreciate some help with what i need to do to make it work.

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 02, 2017 8:41 am
by Alessandro
You should understand that this kind of topics are almost unuseful. They are the likes of "My phone is broken, what do I do?"
Please explain what you did in greater detail.

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 02, 2017 5:29 pm
by archibalduk
I have finished adding all editing screens now! :joy: E.g. screens such as player career history, club records, player rights, etc. I want to tidy things up a little, but nonetheless it feels like a bit of a milestone. I have also added Excel XLSX spreadsheet support.

It'll still be a little while until the next release though. I need to finish off the first draft of the Rules & Structure import/export, make it possible to add entries for every single screen (most are done) and fix a couple of reported bugs.

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 02, 2017 5:50 pm
by Alessandro
archibalduk wrote:I have finished adding all editing screens now! :joy: E.g. screens such as player career history, club records, player rights, etc. I want to tidy things up a little, but nonetheless it feels like a bit of a milestone. I have also added Excel XLSX spreadsheet support.

It'll still be a little while until the next release though. I need to finish off the first draft of the Rules & Structure import/export, make it possible to add entries for every single screen (most are done) and fix a couple of reported bugs.
Image

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 02, 2017 7:20 pm
by martinmiller1986
I've had a play around with the editor and all good so far.
I've expanded and Edited all of the British league and added additional cup competitions successfully so far...
the only snag I've come across is when creating a new team... on the Continental licence option it automatically put it to -none- which then draws that team into the CHL/Euro Cup... it wont let me change from -none- to -invalid- ... any ideas?? apart from that all okay!

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 02, 2017 7:47 pm
by archibalduk
It was a typo in the Editor on my part. Here is a temporary fix: http://www.ehmtheblueline.com/forums/vi ... 00#p221040

What cups have you added?

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Jan 02, 2017 7:58 pm
by martinmiller1986
thanks... I expanded the EPL cup to 20 teams (2 groups north and south) to include some NIHL teams. Also added a cup for NIHL North and South both divisions 1 & 2

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Jan 03, 2017 1:11 am
by erikhogberg
Alessandro wrote:You should understand that this kind of topics are almost unuseful. They are the likes of "My phone is broken, what do I do?"
Please explain what you did in greater detail.

I switched in teams from KHL, Norway, Denmark, GB, Czech rep. Switzerland, Germany, Austria, and two inactive teams (Whalers and Nordiques) from NA into the SHL and HA.

For example, i changed 'league' 'detailed division' and 'previous league' on Dinamo Minsk to have the same as Mora IK, and then i change Mora to what Minsk had in those.
I also replaced the KHL and Elite league teams in the "rules & structures" tab so that there should be no missing teams in the conferences.

Don't know what more information i can give you, that's pretty much all i did.

World Juniors

Posted: Thu Jan 05, 2017 12:44 am
by Mackecool93
Now with the release of the improved editor, is it possible to change the eligibility for this tournament? To remove the weird thing that all NA based players become unavailable for the playoffs. I've been looking around in the comp rules but i can't see what needs to be done. Anyone with more knowledge that knows or got a theory about what to change to make everyone(with the right age) available for all games including the playoffs.

Re: EHM 1 Database & Saved Game Editor

Posted: Thu Jan 05, 2017 2:52 am
by flyers0909
Sorry if this has been mentioned before, but I just started playing EHM the other day. I'm trying to edit a saved game but when I go to load my game I get the following:
================== Editing session started: Wednesday 04 January 2017 ==================

21:51:49 Read saved game: C:/Users/Nick/Documents/Sports Interactive/EHM/games/Editor.sav
21:51:49 Format: Saved Game
21:51:49 Mode: EHM 1 v1013+
21:51:49 ERR_COMPRESSED_SAVED_GAME: C:/Users/Nick/Documents/Sports Interactive/EHM/games/Editor.sav (SavedGame::openEHM1SavedGame)
21:51:49 Result: Failure
21:51:50 Elapsed: 1.221 secs