Is there any tool that can change a player's contract?

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
User avatar
Samperino
Junior League
Posts: 36
Joined: Sat May 09, 2015 3:58 pm
Favourite Team: Montreal Canadiens

Is there any tool that can change a player's contract?

Post by Samperino »

Hey guys :-p

I just want to know if there's any tool that I can use to change a player's salary in EHM:EA ? Sometimes, players ask for a ridiculous amount of money. I would use this tool to create more realistic contracts.

Thanks :-p
User avatar
A9L3E
All-Star
Posts: 1230
Joined: Tue Sep 09, 2008 6:22 am
Custom Rank: Shiny gilded nameplate
Favourite Team: Helsingin Jokerit
Location: Vantaa, Finland

Re: Is there any tool that can change a player's contract?

Post by A9L3E »

EHM Assistant should be able to do that, if I am not mistaken.
User avatar
Samperino
Junior League
Posts: 36
Joined: Sat May 09, 2015 3:58 pm
Favourite Team: Montreal Canadiens

Re: Is there any tool that can change a player's contract?

Post by Samperino »

With EHM assistant I can only change the contract length I think.
User avatar
Peter_Doherty
Hall of Fame
Posts: 1850
Joined: Sun Jan 13, 2013 10:39 pm
Favourite Team: New York Rangers
Location: Sweden

Re: Is there any tool that can change a player's contract?

Post by Peter_Doherty »

You have trouble keeping under the cap with a reasonable lineup? If that's the case then that's the first time i've ever heard of that...
User avatar
Samperino
Junior League
Posts: 36
Joined: Sat May 09, 2015 3:58 pm
Favourite Team: Montreal Canadiens

Re: Is there any tool that can change a player's contract?

Post by Samperino »

No the problem is that some players, like Carey Price for example, is asking for 15M$ per year, that's ridiculous. So I would like to give him a more realistic contract...
User avatar
Peter_Doherty
Hall of Fame
Posts: 1850
Joined: Sun Jan 13, 2013 10:39 pm
Favourite Team: New York Rangers
Location: Sweden

Re: Is there any tool that can change a player's contract?

Post by Peter_Doherty »

He won't take 10-12? Because if he does then it's very realistic as that is most likely the deal he will get when he becomes UFA if he keeps his numbers up.
User avatar
Samperino
Junior League
Posts: 36
Joined: Sat May 09, 2015 3:58 pm
Favourite Team: Montreal Canadiens

Re: Is there any tool that can change a player's contract?

Post by Samperino »

No he won't take 10-12M, I even tried to give him the 15M he asked and he still refused.
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: Is there any tool that can change a player's contract?

Post by archibalduk »

Samperino wrote:With EHM assistant I can only change the contract length I think.
Unfortunately the Assistant cannot edit all of the data necessary in order to alter contract data. I'm not totally sure if editing the length in the Assistant will even work because the yearly data is stored in the contracts.dat table which is not accessible via the Assistant right now. It's worth trying, but I don't think it'll work right now.
User avatar
Samperino
Junior League
Posts: 36
Joined: Sat May 09, 2015 3:58 pm
Favourite Team: Montreal Canadiens

Re: Is there any tool that can change a player's contract?

Post by Samperino »

Is it possible to manually change that contracts.dat file ?
garfild
Prospect
Posts: 81
Joined: Tue May 05, 2015 4:58 pm
Custom Rank: EHM Assistant
Favourite Team: None

Re: Is there any tool that can change a player's contract?

Post by garfild »

archibalduk wrote:
Samperino wrote:With EHM assistant I can only change the contract length I think.
Unfortunately the Assistant cannot edit all of the data necessary in order to alter contract data. I'm not totally sure if editing the length in the Assistant will even work because the yearly data is stored in the contracts.dat table which is not accessible via the Assistant right now. It's worth trying, but I don't think it'll work right now.
Yes you can't change player contract right now. Contract lenght not working now.
garfild
Prospect
Posts: 81
Joined: Tue May 05, 2015 4:58 pm
Custom Rank: EHM Assistant
Favourite Team: None

Re: Is there any tool that can change a player's contract?

Post by garfild »

Samperino wrote:Is it possible to manually change that contracts.dat file ?
Not easy way but not impossible.

Image
User avatar
Samperino
Junior League
Posts: 36
Joined: Sat May 09, 2015 3:58 pm
Favourite Team: Montreal Canadiens

Re: Is there any tool that can change a player's contract?

Post by Samperino »

Would you be kind enough to teach me how, please :-o
User avatar
Primis
Freeware Moderator
Posts: 1698
Joined: Tue Aug 03, 2010 7:46 pm
Location: Michigan, USA

Re: Is there any tool that can change a player's contract?

Post by Primis »

garfild wrote:
Samperino wrote:Is it possible to manually change that contracts.dat file ?
Not easy way but not impossible.
I've heard of front-loading, and back-loading, but that's the weirdest contract I've ever seen. ;-)

"Yeah we think you're only going to be good for 2 years of the term so... we're paying you accordingly. These are the years we think you'll be worth it..."
User avatar
batdad
The Great One
Posts: 12616
Joined: Thu Aug 17, 2006 7:46 pm
Custom Rank: Mr Technology
Favourite Team: Syracuse Bulldogs.
Location: Look behind you, you peon

Re: Is there any tool that can change a player's contract?

Post by batdad »

Yeah that one is a definite play to get around the cap. Bet there are 21 more superstars on his team with $4000 contracts. Big fines ahead for him for not reaching cap. LOL.
garfild
Prospect
Posts: 81
Joined: Tue May 05, 2015 4:58 pm
Custom Rank: EHM Assistant
Favourite Team: None

Re: Is there any tool that can change a player's contract?

Post by garfild »

Do you know how to use the cheat engine?
User avatar
Samperino
Junior League
Posts: 36
Joined: Sat May 09, 2015 3:58 pm
Favourite Team: Montreal Canadiens

Re: Is there any tool that can change a player's contract?

Post by Samperino »

Yes I do.
garfild
Prospect
Posts: 81
Joined: Tue May 05, 2015 4:58 pm
Custom Rank: EHM Assistant
Favourite Team: None

Re: Is there any tool that can change a player's contract?

Post by garfild »

For example Croby contract
Image

Image

2)Search value description (example for Crosby)
search value 4:1342 4:356 w:8 4:167307 4:167307
[table][tr][td]4:1342[/td] [td]4:356[/td] [td]w:8[/td] [td]4:167307[/td] [td]4:167307[/td][/tr]
[tr][td]P ID[/td] [td]C ID[/td] [td]?[/td] [td]1S[/td] [td]1S[/td][/tr][/table]
P ID -> Player ID
C ID -> Club ID (contracted club)
? -> skip unknown 8 bytes
1S -> season 1 salaries (salaries/52) 8700000 / 52 = 167307
1S -> season 1 salaries (salaries/52)

If you find more than 1 Address, you may add season 2 salary
(only season 1 salaries is two times)
4:1342 4:356 w:8 4:167307 4:167307 4:167307 4:167307
[table][tr][td]4:1342[/td] [td]4:356[/td] [td]w:8[/td] [td]4:167307[/td] [td]4:167307[/td][td]4:167307[/td][td]4:160307[/td][/tr]
[tr][td]P ID[/td] [td]C ID[/td] [td]?[/td] [td]1S[/td] [td]1S[/td][td]2S[/td][td]S3[/td][/tr][/table]

2S -> season 2 salaries (salaries/52)
3S -> season 2 salaries (salaries/52)

If you want change salary to 1000000 -> 1000000 / 52 = 19230 (change 167307 to 19230)

You can't add or remove season salary only edit existing one if you want to add new season salary you need find contract end date and change.
User avatar
RomaGoth
Fringe Player
Posts: 399
Joined: Wed Dec 10, 2008 4:42 pm
Favourite Team: Detroit Red Wings
Location: The Internet

Re: Is there any tool that can change a player's contract?

Post by RomaGoth »

Primis wrote:
garfild wrote:
Samperino wrote:Is it possible to manually change that contracts.dat file ?
Not easy way but not impossible.
I've heard of front-loading, and back-loading, but that's the weirdest contract I've ever seen. ;-)

"Yeah we think you're only going to be good for 2 years of the term so... we're paying you accordingly. These are the years we think you'll be worth it..."
This made me laugh.
User avatar
Samperino
Junior League
Posts: 36
Joined: Sat May 09, 2015 3:58 pm
Favourite Team: Montreal Canadiens

Re: Is there any tool that can change a player's contract?

Post by Samperino »

How can I find a player's id and a club's id ? Also, is there a club id for UFA ?

Btw, thank you very much :-p
User avatar
A9L3E
All-Star
Posts: 1230
Joined: Tue Sep 09, 2008 6:22 am
Custom Rank: Shiny gilded nameplate
Favourite Team: Helsingin Jokerit
Location: Vantaa, Finland

Re: Is there any tool that can change a player's contract?

Post by A9L3E »

EHM Assistant displays the IDs.
Post Reply