- Added more play by play comments in preparation for the Live Game Feed.
- Began adding live mode code.
- if in Live Mode, details are saved to Live Game Details tables until cron job runs.
- Added Team Medical attributes to the simulator.
- imported attributes from teams table.
- players suspended are not affected by medical attributes.
- Adding All-Star game functionality into the simulator.
- Will allow COM to sim an unlimited number of all-star games.
- All-Star games are always tacked onto the end of the regular season schedule (if one exists).
- All-Star games are always Regular season, regardless of what the season type is
- There will never be injuries for all-star games.
- Added code to Play-By-Play to show name of player serving goalie penalty.
- Fixed bug where penalties given due to injuries were not being shown in penalty summary.
- Fixed division by zero warnings.
- Fixed bug in Schedule update that didn't look at the game type.
- Converted testgame.php over into new sim engine
- Removed AutoPlay functionality.
- Fixed a bug that marked all playoff games for a team as Not Needed when a series was completed.
- Added a +10% to a shot if the player is on a penalty shot.
- Fixed a bug where a player's penalty time would be decreased if there was already another player in the penalty box. This bug would only happen if the two players
needed to be switched due to penalty times.
- Fixed a bug where the home goalie's game stats were not being saved correctly for MajorPenTaken, SSG, DKG. Instead it was saving it in this order: SSG, DKG, Major.
- Commented out the delete game lines code when a player is either injured or suspended.
- Modified injury, streak, and play by play report strings for easier display in UHS game detail calls.
- Fixed bug that stored the incorrect face off percentage for visiting teams that played in their first game.
- Added GameDetails for Penalty, Reports, Scoring.
- Added GameDetails saves for Financials, GoalieStats, PlayerStats, Team, and ThreeStars. Need to add saves for Penalty, Reports, Scoring.
- Fixed a bug where Major Penalties were not being recorded for home team players for season stats.
- Fixed a bug where Major&Game penalties were being assigned to the substituted player.
- Added condition to Activity Report so that injuries or suspensions only get recorded for Pro or Farm players.
- Fixed bug in Activity Report that didn't show the injury victim when a suspension was handed out.
- Fixed a bug where the injured player names were not being displayed correctly.
- Added ActivityReport inserts for retirements.
- Added ActivityReport inserts for sustaining injury and receiving suspension.
- Added ActivityReport inserts for players returning from injury or suspension.
- Fixed gap where goalie would suffer fatigue injury of 1-8 games instead of 1 to X games (X = difference of GP over FA).
- Completed adding random play-by-play lines up to goalie saves. Majority of play-by-play lines now have at least 5 random blurbs.
- Began adding random play-by-play lines for each entry. Completed up to line 9483.
- Added descriptions to player injuries.
- Changed the GAA calculation if a goalie played in less than 1 minute on line 29558.
- error shown: Warning: Division by zero in /home/hockeys/public_html/uhs/testgame.php on line 29558
- Added code to update the PlayOffData table if the game is set in the playoffs.
- Fixed bug that didn't change a player if he was injured because the line change timer was still less than thirty seconds.
- Fixed bug that showed a substituted player name in the play-by-play when the goalie got into a fight.
- Fixed bug that allowed a player to assist on his own goal on a breakaway pass.
- Fixed bug that didn't swap a player's position if two players were in the penalty box.
- Removed fix for bug for custom line changes occurring after a face-off. This caused the first line to be put out for every face off.
- Added code to allow injury games to be tracked
- Fixed bug for custom line changes occuring after a face-off. Old code was used.
- Fixed a looping face-off bug where it couldn't find a player to take the face-off and would time out.
- Added code to force a line change if the LastAdv changed from the current ManAdv
- Fixed bug for home minor penalties where the report would show a blank name.
- Fixed revenue typo... used 0.65 when I should have used 1.65.
- Fixed bug that saw a 3-Line custom lineup change from EV5x to EV3x.
- Fixed bug that saw the home team goalie not get reported for a minor penalty even though he does get charged appropriately.
- Fixed bug that ddn't add the additional 65% of revenue from concession stands to a home team's revenue.
- Fixed bug where farm player stats weren't getting updated correctly. Game stats were good but Total Season stats were not getting updated.
- Fixed bug that saw a team repeatedly shift off even though they hadn't been on for 30 seconds. Added code to force a team to remain on the ice for
a minimum of 30 seconds.
- Added a </B> and <BR> to the end of a goalie making a save on a penalty shot
- Fixed bug that saw custom lines think there was a 2-man advantage when there was only one player off. Had to do with the homeplayer and visplayer
counts in custom lines for when a line changed.
- Fixed bug that saw custom lines continually think there was a 2-man advantage. Changed the player checker from on-ice check to check how many players
were in the box.
- Fixed bug about a pro team's revenue. Farm revenue of $90,000 was being used instead of the team ticket price multiplied by the game attendance.
- Added code to force a five-on-five if there is a fight involving two players. Updated the penalty management section so that when the penalties expire,
the two players will not shift on until the next line change.
- Added code to give $90,000 in revenue to the pro team for every home game the farm team plays.
- Fixed bug where a powerplay would go on forever.
- Fixed a bug with Tipped Shots and Phantom Goals.
- Added tracking of checks given, checks avoided, major penalties taken, slapshot goals scored, slapshot goals allowed, deke goals scored, deke goals allowed,
number of games injured on a seasonal basis. This new code is added to enhance the rerate revamp due for season 8.
- Updated the attendance generation code to only look at arenas if it is a pro league game being played.