Quote:
Originally posted by StanGunner
Bump so I keep you interested in fixing the Awards problem.
|
No worries there. I WILL fix it. :-)
Unknown1 is the player's id within the file
first player in the file is 1
last player is (player count)
I haven't modified the code yet to see if this changes the
award bug but it's possible.
As it is now. The players are sorted by position per team.
ie:
Atlanta's Roster:
QB
QB
QB
QB
RB
RB
RB
etc...
the players are put in the file with a simple loop like:
for (i = 0; i < team_count; i++)
{
// add team's players
for (x = 0; x < team[i].players.size(); x++)
insert players[x]
}
etc...
so when the players are put in the file, the ids don't match up.
The first player in the file is likely to have id 1432.
Changing a players position and/or team really fouls up the ids.
It's easy to remedy. Just set the id when the player is added to
the file.
I've also got a better look at what the other unknowns are.
one of them is 852 for every player. No clue what this is.
one is 300 for ALL non-QBs, valid for all QBs.
however, all QB stats are accounted for. Some hidden stat I'm
not sure what is.
one is 320 for ALL non-RB/FBs valid for RB/FBs
again all stats accounted for. hidden attribute?
one has values from 0-100 while another has values 0-300
one has values from 0-2500+
etc...
I'm gonna give the format a few more days and see if I can
atleast find endurance (hopeful)
If not, then no later than early next week, I'll update the code
and see if setting the id fixes the awards problem.
I started this because I enjoy 2002 and didn't want to be stuck
with the same ole players (TIRED of Jeff Blake being a SuperStar)
Tired of Cinncinnati dominating for 10yrs, etc...
I assure you, one way or another, I WILL get this baby functional!
I'm also revamping the playerfile.txt
now known as FOF2002_players_fdt.txt
It'll be a 'complete' breakdown on the format as I know it.
I'm doing this, again, in hopes that someone else may be able
to pinpoint parts of the format I've been unable to.
I'll post that file when I get it all formatted.