Points bug

Discuss specific areas of EHM knowledge; such as players, trading, drafting, tactics, training, practice etc. Teach us what you've discovered or ask others for their thoughts.
Forum rules
Data Editing Forum: Editing the game, databases or saved games. Home of the EHM Editor and the EHM Assistant.

Game Add-ons Forum: Database projects, graphics and sounds. Any discussion which does not relate to editing databases or saved games.

Game Knowledge Discussion: Attributes, coaching, drafting, scouting, tactics and training/practice.

Rosters Forum: Discussion relating to all database and roster projects for Eastside Hockey Manager.

Technical Support: Difficulties, crashes and errors when installing or running the game (and nothing else). Any issues relating to the TBL Rosters must be posted in the TBL Rosters forum. Questions about how to install add-ons must be posted in the Game Add-ons Forum.

General EHM Chat: Anything relating to Eastside Hockey Manager 2004 / 2005 / 2007 / 1 which does not fall within any of the other forums.

Please carry out a forum search before you start a new thread.
Post Reply
removed
Learning to skate
Posts: 2
Joined: Fri Jul 23, 2010 7:36 pm

Points bug

Post by removed »

Hello there, In my game I have one problems with points reset..

Jason Spezza stats before game with Dallas:
Games 73 Goals 37 Assists 254 Points 291

In game with Dallas Jason score one goal and adds 3 assists, but if I look into his stats
Games 74 Goals 38 Assists 0 Points 38

This is his first season with so many points, last year he ends with 47 + 139 and no problem. I'm using 3.04 patch, so I don't understand it.. Any solutions or suggestion?
User avatar
timmy_t
Stanley Cup Winner
Posts: 1470
Joined: Mon Nov 07, 2005 5:06 am
Custom Rank: TIMMAH TEEEEE!!!!
Favourite Team: Colorado Avalanche
Location: Spring, Texas

Re: Points bug

Post by timmy_t »

removed wrote:Hello there, In my game I have one problems with points reset..

Jason Spezza stats before game with Dallas:
Games 73 Goals 37 Assists 254 Points 291

In game with Dallas Jason score one goal and adds 3 assists, but if I look into his stats
Games 74 Goals 38 Assists 0 Points 38

This is his first season with so many points, last year he ends with 47 + 139 and no problem. I'm using 3.04 patch, so I don't understand it.. Any solutions or suggestion?
Can you post a screen shot so we can see what we're working with?
User avatar
harmonica
Top Prospect
Posts: 100
Joined: Thu Aug 02, 2007 7:51 am
Location: Toronto

Post by harmonica »

250+ assists? who are his wings and how many points do they have?

id make a joke about the game being in disbelief that spezza could do so well, but that would be poor form
User avatar
Vanaja
Junior League
Posts: 34
Joined: Tue Mar 15, 2005 6:09 pm
Favourite Team: Blue Jackets & Maple Leafs
Location: Finland

Post by Vanaja »

I think its because assist variable probably is unsigned 8bit integer, so max value is 0-255. if it goes over 255 then it rolls back to begining (255 -> 0).

16 bit unsigned integer would be 0 to 65535 ,but it uses double amount memory. Maybe Riz think that no one never ever do +255 goals or assists so its good place save memory here ????
removed
Learning to skate
Posts: 2
Joined: Fri Jul 23, 2010 7:36 pm

hm

Post by removed »

Sorry I was hollidays..
Can you post a screen shot so we can see what we're working with?
Sorry but that's not possible, I don't save my game every time..
250+ assists? who are his wings and how many points do they have?
Yes 255+ assists, his wings are Marian Gaborik (99 goals + 72 assist) and Jordan Stall (89 goals + 46 assists) and sometimes Gaborik and Patrick Kane (59 Goals + 48 assists).

But he also play SH with Hammil (67 goals) and PP with Gaborik and Hammil
I think its because assist variable probably is unsigned 8bit integer, so max value is 0-255. if it goes over 255 then it rolls back to begining (255 -> 0).
Yes I think this is the problem, you are right.. but how to solve it? It's very shame 291 points drop to 38..
alanschu
Junior League
Posts: 12
Joined: Tue Jan 18, 2011 5:03 pm

Post by alanschu »

It's likely hardcoded in the game and there is nothing you can do about it.

It's a classic programming issue and without changing the data type in the code directly it will always happen.
Post Reply