Question about editing contracts

Discuss all aspects of editing the data and databases in EHM here. Have a question about the EHM Editor, EHM Assistant, editing the .cfg files, hex editing the .dat or .db files? Want to tweak the EHM exe file to change league rules/structure, start date etc? This is the place!
Forum rules
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.

Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.

Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.

Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
Post Reply
krownroyal83
Minor League
Posts: 262
Joined: Thu Apr 02, 2015 10:40 am

Question about editing contracts

Post by krownroyal83 »

So i've been up dating my own database and when a player signs a new contract I update it in the editor accordingly. What I don't know how to do is when a player has a contact for this up coming season but he's signed an extension for the seasons after. For example. Bryan Little has a cap hit of 4.7mil for this upcoming season but after this season with his extension he is signed up until 2024 with a cap hit of 5.29mil. There is no section I can see in this editor to restructure his contact to make those changes.

Edit: Also what about injuries. I'm assuming maybe I need another program for this to change who is injured and who isn't to start a season.
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: Question about editing contracts

Post by BKarchitect »

It goes in the extra-config file:

# Contract Extensions
#
"CONTRACT_EXTENSION" "Cam" "Fowler" "Anaheim Ducks" 6500000 8
"CONTRACT_EXTENSION" "Brett" "Pesce" "Carolina Hurricanes" 4025000 6
"CONTRACT_EXTENSION" "Jaccob" "Slavin" "Carolina Hurricanes" 5300000 7
"CONTRACT_EXTENSION" "Connor" "McDavid" "Edmonton Oilers" 12500000 8
"CONTRACT_EXTENSION" "Carey" "Price" "Montreal Canadiens" 10500000 8
"CONTRACT_EXTENSION" "Martin" "Jones" "San Jose Sharks" 5750000 6
"CONTRACT_EXTENSION" "Marc-Edouard" "Vlasic" "San Jose Sharks" 7000000 8
"CONTRACT_EXTENSION" "Bryan" "Little" "Winnipeg Jets" 5291000 6
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: Question about editing contracts

Post by BKarchitect »

Same with injuries:

# Injuries
#
# NHL/NA
#
"INJURY" "Dave" "Bolland" "Arizona Coyotes" "SURGERY" -12
"INJURY" "Ladislav" "Smíd" "Calgary Flames" "SURGERY" -12
"INJURY" "Marián" "Hossa" "Chicago Blackhawks" "SURGERY" -12
"INJURY" "Johan" "Franzén" "Detroit Red Wings" "SURGERY" -12
"INJURY" "Ryane" "Clowe" "New Jersey Devils" "SURGERY" -12
"INJURY" "Nathan" "Horton" "Toronto Maple Leafs" "SURGERY" -12
"INJURY" "Joffrey" "Lupul" "Toronto Maple Leafs" "SURGERY" -12
"INJURY" "David" "Clarkson" "Vegas Golden Knights" "SURGERY" -12
"INJURY" "Mikhail" "Grabovski" "Vegas Golden Knights" "SURGERY" -12
#
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: Question about editing contracts

Post by BKarchitect »

The top of the extra config tells you everything you can do with it...
krownroyal83
Minor League
Posts: 262
Joined: Thu Apr 02, 2015 10:40 am

Re: Question about editing contracts

Post by krownroyal83 »

Ahhh I see. Thanks :)
krownroyal83
Minor League
Posts: 262
Joined: Thu Apr 02, 2015 10:40 am

Re: Question about editing contracts

Post by krownroyal83 »

*Was going to ask a question but I figured it out lol.
User avatar
Saytham1980
Prospect
Posts: 66
Joined: Thu Apr 09, 2015 1:57 pm
Favourite Team: Detroit Red Wings

Re: Question about editing contracts

Post by Saytham1980 »

So this works with injuries, contracts... maybe even with NTCs?
marksbros6
TBL Rosters Researcher
Posts: 601
Joined: Sun Nov 24, 2013 7:34 pm

Re: Question about editing contracts

Post by marksbros6 »

Saytham1980 wrote:So this works with injuries, contracts... maybe even with NTCs?
Don’t think there’s an option for Editing No-Trade Clauses with the extra_config file I’m afraid.
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Question about editing contracts

Post by archibalduk »

Only basic items such as overall salary and expiry date can be editing in respect of contracts. I think adding more detailed contract data is on Riz's list for a future version (i.e. so that we can edit all/most of what contract data we usually see in-game).
Post Reply