GithubHelp home page GithubHelp logo

archibalduk / eastside-hockey-manager-editor Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 24 KB

A database and saved game editor for Eastside Hockey Manager. Visit https://www.ehmtheblueline.com/editor for more details.

License: GNU Lesser General Public License v3.0

database editor saved-game ehm eastside-hockey-manager

eastside-hockey-manager-editor's Introduction

  • 👋 Hi, I’m @archibalduk
  • 👀 I’m interested in Eastside Hockey Manager by Sports Interactive
  • 📫 How to reach me: https://ehmtheblueline.com

eastside-hockey-manager-editor's People

Contributors

archibalduk avatar

Stargazers

 avatar  avatar

Watchers

 avatar

eastside-hockey-manager-editor's Issues

Functionality Request: Mass-Cleanup of overage junior players

Similar to the player rights cleanup, mass-edit functionality for clearing overage players for junior leagues would save a lot of manual effort.

To clean up the junior leagues I have to filter all players by YOB and manually remove the player rights and set the player to UFA, I have to do this across at least 10 leagues.

Invalid Job For Club flag for backwards compatibility

Column DC in your spreadsheet is the Preferred Job column and you'll find the equivalent setting on the Non-Players sub-screen of the Players & Staff editing screen. It is set as [Invalid] for each of your staff in your spreadsheet. The v1.1.6 Editor replaces the [Invalid] and [Unrecognised Value -1] settings with "[Invalid job for club]" and "[Invalid job for nation]", so these settings should be used for jobs in your spreadsheet. The same goes for the Job For Club and Job For Nation columns in your spreadsheet.

You can do one of three things:

(1) Clear the Preferred Job column in your spreadsheet. This will stop it bringing up this error (but note that going forwards you'll need to use "[Invalid job for nation]" and "[Invalid job for club]");
(2) Do a global replacement of the text in the Preferred Job column in your spreadsheet with "[Invalid job for club]"; or
(3) If you want to maintain backwards compatibility with pre-1.1.6 sheets, add the following lines as new lines at the end of your job.txt in the 'common' sub-folder of your Editor installation folder:

https://www.ehmtheblueline.com/forums/viewtopic.php?p=244764#p244764

Add BOM support to .csv exports for special character support

We often run into issues with imports/exports from the editor to csv due to a lack of support of a BOM. This is causing issues and manual cleanup when dealing with Polish, Czech, Hungarian and German cities/towns.

Example: Großburgwedel:GER is rendered as gro?burgwedel:ger in an export requiring manual find-replace work.

Functionality Request: Auto-set schedule dates

One thing that would save a lot of time is for testing to auto-adjust the day of week in the schedules to the accurate day of week for that season's start year.

For instance, I have 2022-23 schedules with 2022 calendar start dates, it would be nice to have some sort of auto-adjust where it could go through all the League Structures and auto-shift the day of the week to match that number day, this would speed up testing without having to worry about dates shifting.

Probably worth a discussion over Discord to clarify if this doesn't make sense.

Synonyms: Add hot-swapping

MF: I'd love for the ability to "hot swap" synonym files that I use between different databases.

CC: Do you mean being able to edit the synonym files whilst the DB is open or do you mean being able to select a custom location from which to load the synonym files? I can definitely do both for Editor v2. If it's straightforward then I can add one/both to Editor v1 too.

MF: More so the later, I'd like a button to load a non-default synonym file and point to a different file of any type (Cities, Club, Comp) which would be used ONLY FOR THAT SESSION.

https://www.ehmtheblueline.com/forums/viewtopic.php?p=244867#p244867

Filtering bug: Filters go out of sync based on record id after importing data

Bug found (guessing linked to club IDs and filters:

  1. Create a filter to sort players/staff on a specific team
  2. Add a new team via copy
  3. Filters under players/staff screen are no longer correct, no longer able to create an accurate filter session per team unless you close and re-open the editor (example filtering on Arizona Coyotes show Philadelphia Flyers contracts).

https://www.ehmtheblueline.com/forums/viewtopic.php?p=244896#p244896

Color-coded status items

I'd love to start color coding those errors:

a) positional errors: player role to position mismatch or no clear/multiple positions set
b) staff errors (too many per position)
c) overage juniors
d) others I am not thinking of

Editor v1: Minor League Annual Salary Bug

If you enter in a 'Minor league annual salary' that number persists in the field under club contract for every player you look at, it appears to just be a visual bug, also entering a value there and clicking "Transfer to Contract Details" is not automatically generating the two-way percentage if that field is set.

Clean up players with no primary position

For the "Sync player role from position" mass edit can we also have it clean up players in an error state that have zero primary position set but have a Role set?

Example:

0 in every position but has a role of Centre -> set position to Center (as if I were to push the 'Set primary position' button)

For Wingers or Defenseman the logic I would use to set primary position would be based on if Shoots/Catches is set (Left or Right). Left = LW/LD Right = RW/RD.

This would help clean up a lot of placeholder players and ensure the game doesn't do anything wacky with them.

https://www.ehmtheblueline.com/forums/viewtopic.php?p=244819#p244819

Functionality Request: Error condition/Mass Cleanup of overage player rights

Would it be possible to do a check between max age in a league competition and flag overage/ineligible player rights and enable a mass-cleanup option? I have to do this manually by player DOB and a mass select/delete within player rights tab. Would be nice to flag any I miss or just have a mass-cleanup option.

Thanks!

Qt6 migration

The follow needs to be verified:

  • Date::set(QVariant)
  • BOM on import and export
  • std::vector erase correct number of elements

Player Rights screen improvements

  • Add filter by year of birth (to assist in removing overage rights)
  • Add some form of multi-select or mass-edit option to update player rights.

Add an error condition for EHM DB loan transfer errors

BKArchitect:

Hey guys - I know a year ago this popped up with the Pivot rosters and looking through the thread it seems the problem was isolated and fixed. I did something in NHLX to now have this occur (strangely - not until 2025 and beyond...and it happens whether the extra_config is used or not),

You may get a warning message about an invalid loan transfer (TRANSFER_MANAGER::setup_free_transfer() : staff has loan contract) on August 1st (if you start after this date you will not have this problem). This can be safely passed by clicking OK, we are trying to find the entry (or entries) that are causing this.

Did you guys figure out exactly what in the DB causes this?

Thanks!

xECK29x:

Double check all non-players (including player/non-players) have the same club contracted and club playing set, they if club playing is different from club contracted it will be a loan in-game and cause an issue. I'm not 100% sure but I think we put an error condition on for this in the Editor so they should show up yellow.

Randomise PA by age

As for features, would I be able to add a possible Potential Ability - mass updating option (i personally like to randomize everything, within reason). Would I be able to give you set of rules to set PA ratings based on CA, age, and abilities?

ex. (i can come up with a comprehensive list, but wanted to knowif this is possible first). These are just examples; not final request.
Older players:
CA 180, age >= 34, technical / physical rating average >12 set PA to -10
CA 180, age >= 34, technical / physical rating average =<12 set PA to -20
Younger players:
CA 110, age 18-24, technical / physical rating average >10, ambition (or specific attribute), and role not enforcer, 17-20 set PA to -9
CA 110, age 18-24, technical / physical rating average >10, ambition (or specific attribute) 14-16 set PA to -19
CA 110, age 18-24, technical / physical rating average >10, ambition (or specific attribute) 9-13 set PA to -15

Via spreadsheet, I basically export everything and then do my own "randomization" this way. No player or non-player has a static PA anymore in my DB.

https://www.ehmtheblueline.com/forums/viewtopic.php?p=244780#p244780

"Export to Patch" functionality

I'm not sure how this would be possible but to assist in creating patches for alternative DBs it would be helpful to have the ability to make have an export option to export clubs/leagues/schedules (with all attached affiliations/details) to a patch.

Example: For my 2000ish DB project the main DB will be 30 NHL teams as it was in the 2000-01 season, but I am also going to have a 32 club version with the modern NHL structure. Its a lot of manual work for me to create the patch for this and I'm struggling to manually create the appropriate patch similar to what we did when we first created this functionality to add on Seattle. These changes are much more involved, not sure if its possible to do something via the editor.

Feature Request(s): New cleanup tools for duplicate career history entries

  1. I'd love to be able to do is mass-replace team names if I happened to link the wrong item or made a change. I love how "Find and replace competitions" works and I'd like to expand this functionality to clubs.

  2. I'd also like the simplicity of being able to add 'd' to a career history template to remove items. This allows me to pull down massive amounts of career history entries and easily mass-delete them as I would staff/players.

Mass Edit: Remove invalid affiliations

Being invalid or incorrect affiliations can lead to crash conditions in the game it might be a good idea to implement an option to mass-remove any affiliation with an error state and thus invalid.

Saved game database version mismatch when saving

Not sure If you aware when You open current save with 1.5.0b version and You made edit inside save it saves in 1.4.x. Maybe might be better to allow Editor default save with version of saved game?

EDIT:

ok now I see is bigger problem. Even I save with 1.5.0b in right corner it displays 1.4.x and causes saves corrupt. Also even I didn't make any change in save after saving and loading in game it displays error. That's bad cause in previous version we were able to edit live competitions during sim. Could You have a look on it? In previous versions it worked fine and You don't have to make whole sim from beginning.

EDIT2:

Now it's funny. When You use Save options not Save As it somehow opens in EHM. :)

EDIT3:
I opened succesfully just once so any options with live not working :/

EDIT4:
Finally even I saved succesfully and loaded in EHM it crashes after loading screen so seems kind of Editor bug as this procedure worked severals versions before 1.5 :) Would be nice if You can debug this and fix.

https://www.ehmtheblueline.com/forums/viewtopic.php?p=245486#p245486

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.