Page 14 of 18

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sun Oct 02, 2011 6:44 pm
by nino33
Viking wrote:How many players have been drafted since 2006? A thousand?
Used the hockey db site...

211 players drafted in 2007
211 players drafted in 2008
211 players drafted in 2009
210 players drafted in 2010
211 players drafted in 2011

1054 players drafted since 2006

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Tue Oct 04, 2011 10:52 pm
by painkiller89
how does it work for you with the database and when do you make it clear? :-)

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 08, 2011 1:43 pm
by Hobbit13
Hey guys so I'm back! I actually returned 2 weeks ago from Peru but just last week I started uni in Bristol and haven't really had larger amounts of free time until now. I have however been following your progress and it's great to see you've been able to solve so many of the issues!

I'll try to do some more work on finding out about league structures but I don't think I'll have much time for at least the next week...

So how did you solve the WC bug? Did you find some 2003 or 2004 date?

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 08, 2011 9:41 pm
by Alessandro
When will u be online at msn

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sun Oct 09, 2011 1:07 pm
by Lazion
archibalduk wrote:[*]No draft eligible players for the end of season 1 CHL draft (link
If anyone else hasn't noticed.. Most of the new-gens are born between 1986-92 no matter of what the starting year is.
There must be some sort of value in there which determines new-gens birth years.. :cry:

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sun Oct 09, 2011 3:12 pm
by YZG
Are you sure? When I tested the game, the regens had adequate birth dates; I tested the thing with a start date of 2050 and had no problem with this. However, it is normal that for the first few seasons, you have a lack of draftable players if you haven't tweaked your db beforehand, because all those in the db that should have been draftable have become too old with the patching, and because the regens take some time to appear and when they do, they're too young to be picked right away. The first two NHL drafts were empty with 0 player picked, and the third one saw a couple hundred young players from obscure hockey nations being picked because they spawn older than the others and are thus draft-eligible faster.

- YZG

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sun Oct 09, 2011 6:13 pm
by Lazion
My bad.
I did not ment regens, but team filler gens, which appears right when you start a new game.


There is also appearing an error after few days if starting date is beyond 1950.
Even tho this is not a big deal. :-#

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Mon Oct 10, 2011 9:10 pm
by archibalduk
I've been working on creating a mass contract tool that will increase/decrease all of the contract expiries in the database to whatever you want. It seems as though I've now got it to work correctly! :joy: I don't have much time to give it a proper test out and so I've uploaded a modified database here in case anybody wants to give it a go (it's the file named Lidas 3.2 CSD v2).

The tool doesn't alter any contract expiries that are set to 1900 (i.e. random) - it just alters those that are set as 1901 or higher. Also, if you try to decrease the expiry to less than 1901 then it'll set that contract as 1900. If, for example, you use my tool to decrease the expiries by something like 150 years then it will set all of the expiries to 1900 (i.e. random) - this might be useful for those working on fantasy databases.

If anybody gives my modified database a test then let me know if you think it's working okay (i.e. have the players got the correct contract lengths with a 2011 start date). :-)

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Tue Oct 11, 2011 8:42 am
by Alessandro
I'm gonna test it.

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Tue Oct 11, 2011 9:00 am
by Alessandro
Contracts work

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Tue Oct 11, 2011 8:08 pm
by archibalduk
Alessandro wrote:Contracts work
Thanks as always. :thup: :)

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Fri Oct 14, 2011 4:02 pm
by archibalduk
archibalduk wrote:No draft eligible players for the end of season 1 CHL draft (link)
I've resolved this issue. It's now just a matter of narrowing down exactly which offset resolves it (I test a spread of offsets at a time in order to speed up testing).

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Fri Oct 14, 2011 5:09 pm
by Alessandro
Excellent!

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Fri Oct 14, 2011 5:22 pm
by Alessandro
Btw, you said in another forum that goalies histories don't work. Well, they do. Just tested!

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Fri Oct 14, 2011 5:38 pm
by archibalduk
Alessandro wrote:Btw, you said in another forum that goalies histories don't work. Well, they do. Just tested!
Ha you're so on the ball when it comes to testing! =D>

I wonder what is going on with Manimal's rosters... Hopefully he'll be able to provide me with a copy of the DB so that I can get to the root of the problem.

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Fri Oct 14, 2011 7:15 pm
by archibalduk
archibalduk wrote:
archibalduk wrote:No draft eligible players for the end of season 1 CHL draft (link)
I've resolved this issue. It's now just a matter of narrowing down exactly which offset resolves it (I test a spread of offsets at a time in order to speed up testing).
Fixed! Offset 0054 96A6 is the relevant offset (it is located within the database.cpp section of the exe). This is set to <start year>.

Here's an updated task list:
  • Patch is incompatible with Windows XP [This has now been resolved and I have released a temporary XP patch whilst XP users are awaiting v1.2 (link)]
  • No host for the WCJ Div 1 in season 1 recorded in the competition history (I also need to check the two continental competitions)
  • No draft eligible players for the end of season 1 CHL draft (link) [This has now been resolved and will be incorporated into v1.2]
  • Competition player/team records lost? (link) [This was not a CSD-related issue. This has always been an issue with EHM - many records in EHM are blank and some do not appear]

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 15, 2011 10:22 am
by archibalduk
Alessandro wrote:Btw, you said in another forum that goalies histories don't work. Well, they do. Just tested!
I took a look at the database and the issue was that the number of Games Played for the goalies had not been set. If the GP is set to zero then the history entry doesn't appear in game. Thus, as far as I can tell, the histories are working as they should using the CSD Patch.

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 15, 2011 11:21 am
by Alessandro
GREAT NEWS
Me and Marek managed to expand the Austrian league to 10 teams. 100% working, multiple seasons tested.

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 15, 2011 11:25 am
by Nikki Nine
Wow, that's impressive. Good work!

Have you tried decreasing the number of teams? Will you?

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 15, 2011 11:28 am
by Viking
Alessandro wrote:GREAT NEWS
Me and Marek managed to expand the Austrian league to 10 teams. 100% working, multiple seasons tested.
That is great new. Good job!

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 15, 2011 12:05 pm
by archibalduk
Alessandro wrote:GREAT NEWS
Me and Marek managed to expand the Austrian league to 10 teams. 100% working, multiple seasons tested.
Oh boy! This is great news. Well done!!! =D> It feels like we'll all be able to experience a much improved EHM thanks to your work. :thup:

If you send me the list of offsets and values then I'll add it to the next beta version of the league patch (which I'll do my best to have ready for you by the end of tomorrow).

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 15, 2011 12:57 pm
by Alessandro
Nikki Nine wrote:Wow, that's impressive. Good work!

Have you tried decreasing the number of teams? Will you?
What league needs less teams?

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 15, 2011 12:58 pm
by Alessandro
archibalduk wrote:
Alessandro wrote:GREAT NEWS
Me and Marek managed to expand the Austrian league to 10 teams. 100% working, multiple seasons tested.
Oh boy! This is great news. Well done!!! =D> It feels like we'll all be able to experience a much improved EHM thanks to your work. :thup:

If you send me the list of offsets and values then I'll add it to the next beta version of the league patch (which I'll do my best to have ready for you by the end of tomorrow).
Hm, knowing offsets and values is beyond my skills, I worked with hex editing, better if we wait Marek for this.

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 15, 2011 1:09 pm
by archibalduk
Alessandro wrote:Hm, knowing offsets and values is beyond my skills, I worked with hex editing, better if we wait Marek for this.
Ok sure I'll wait for Marek.

Hex editing is the same as offsets and values. When you edit hex, each hex has an address/offset (e.g. 0x7D11C0 or 007D11C0) and the value is either a decimal number (such as 2006) or a hex number (such as 07D6). However I guess what you mean is that you edited the exe rather than the RAM?

Re: Custom Start Date Patch / ArtMoney Development Thread

Posted: Sat Oct 15, 2011 1:19 pm
by Viking
Alessandro wrote:What league needs less teams?
Swedish Allsvenskan (or HockeyAllsvenskan) now has 14 teams, it has 16 in the game.