UHS Build 11138 - Building a Foundation (Six) - Stone
Question regarding Standings - Stone
Age Rerates Suggestion - ChargersGM
UHS Build 10635 - Finally Time for Bed - Stone
UHS Build 10515 - Age Rerates, Farm Coaches and more - Stone
Basics of UHS? - Stone
UHS Build 10235 - Bit of a Maintenance Build - Stone
Rerate Change - Stone
UHS Build 10180 Released - Goalies join the 99-Club! - Stone
Cash Valuation for Players - Stone
Relegation Changeover Creates Blank Spots in Structure - Stone
Missing Goalie 2 in Roster Doesn't Trigger Roster Error - Stone
Public Site Overhaul
The public websites for all leagues have been given a much needed overhaul. The sites were made with Foundation 6 with the intention that they could be used on pretty much any device. Most of the site is completely new with new or updated functionality. Near the end, we cut a few corners and simply did a Foundation 6 theme update / application so the pages would work. Team pages and the Live Game functionality are part of this and are slated for an update in the future.
One of the more important changes that happened is on the back-end. Previously league websites pulled from their own specific directoryâ€¦ when it came time to deploy an update for public sites, we had to deploy it to 80+ league sites every time. All leagues will now be running from a single directory: PubSite.
Your public website location will be found in UHS when you log in. The Public Site link has been updated to use the new site locationâ€¦ you should copy and send this link to your GMs, especially to GMs that are a member of more than one UHS league. Your LeagueID is passed through URL (don’t worry, we check things to make sure we don’t get an injection attack) so that you can look at the league you want.
By default the PubSite league will show TJHL (our original and official testing league).
The long-term goal here is to move the UHS site towards a responsive platform, using Foundation 6 and the Public Site as the basis for the change.
More info on Public Sites can be found atÂ http://wiki.hockeysim.ca/index.php?title=Public_Sites
New Coach Stats
We added some random coach statsâ€¦ more to fill out the coach’s stats profile. The stats are randomly generated and have no impact on the game or rerates. What do they all mean? We’re leaving that up to you. Some will be obvious, others won’t.
Bug Fixes & Miscellaneous Changes
– Access Logs for leagues will now only keep entries that are 180 days or newer. Anything older will be permanently deleted.
– Deployed a logic fix for AutoGMs attempting to sell off players to get under the Salary Cap. The AutoGM will no longer make sell off trade offers if they have made 10 or more attempts to a single team. Additionally, the value of the player will be decreased (desperation) after the 4th attempt by 15% to a maximum of 75% of the regular value of the player.Â This will reset once the season has changed over. Deployed February 8 2017.
– Deployed a fix to Leagues’ season change-overs where the offer tables for free agency were not being purged.Â Deployed February 8 2017.
– Fixed an issue where team account balances would be recalculated without considering Marketing Revenue. Deployed February 8 2017.
– Beefed up AutoGM trade logic to protect younger prospects from getting traded for low return players. Deployed February 19 2017.
UHS Build 10635 – January 5 2017
This is a hybrid maintenance / enhancement build. Initially I had begun creating the new Team Home and the Marketing / Bonus Revenue additions when I had noticed a relatively new league with an abysmally slow sim run time. One thing led to another and I suddenly found myself smack in the middle of some DB optimizations.
I had also uncovered the issue with page load times being centered around AutoGM teams appearing in the UHS instant messenger. Once that was fixed I kind of felt like I was on a roll and decided to go all in on the optimization issues I had been seeing.
This was certainly a lengthy release. As I write this I’ve been up for 24 hours straight. The build release itself has been going for nearly 12 hours, a lot longer than I thought it would go. Hopefully we won’t have to go through nights like this again. Time for bed.
Marketing / Bonus Revenue
We’ve added an option for pro teams to earn extra revenue. Initially this was supposed to be something where the team invested in something like Lawyers/Medical, however, it became apparent that eventually all teams would just wind up at the maximum level anyway. I decided to go in a different direction.
For each game your pro team plays there is a 5% chance (by default) that you will earn extra revenue. By default the extra revenue will be 10% – 100% of the normal revenue that would have been earned for that game. All settings are manageable by the COM. Setting the chance to 0% will disable the functionality.
All finance pages have been updated to show the extra Marketing revenue.
The Team Home page has been slightly redesigned. The layout was intended for PC browsers as you’ll very likely see some overlapping on mobile browsers. The page will now feature the last 5 game results (instead of just the last game), next 5 upcoming games and the roster/line checker for the Pro and Farm team in their own sections.
Sim Engine & DB Optimizations
I spent most of the day looking at the SIM Engine performance and added a few indices to our tables to speed things up. Overall for very large leagues or ones that simmed quite a bit, the engine ran very slow, sometimes taking as long as 50 seconds to sim just a single game. That will change back to the more normal speed / average of between 1-3 seconds per game (sometimes a little more depending on server usage).
Additionally I added other indices to help prevent duplicate stat inserts. I’m not sure exactly why the duplicates are happening yet, however, adding a unique index for specific fields in each table will basically prevent the duplicates from getting inserted. When this build is released I plan on wiping all league’s aggregate Player and Goalie stats and rebuild them before UHS is brought back online to remove the duplicated stats.
Bug Fixes & Miscellaneous Changes
– Fixed an issue where errors were being logged in the database if a team did not have a coach assigned to a team. User would never see these errors.
– Fixed an issue where teams no longer owned coaches after the build deployment. Hotfix: Jan.1.2017.
– Fixed an issue where users were not able to reset their password. Hotfix: Jan.2.2017.
– AutoGMs will no longer appear in the UHS IM. This GREATLY improves the loadtimes for pages. Hotfix: Jan.3.2017.
– Released code to better handle Live vs. QA leagues. Hotfix: Jan.3.2017.
UHS Build 10515 – January 2017
Happy New Year! This build was intended to be only for adding Age Rerates into the system, however, I got ambitious and decided to add Farm Coaches as well. The addition of Farm Coaches added a LOT more functionality and customization to the system than I thought was going to be needed. I was really hoping to get this in before the turn of the year but such is life.
We are introducing a new rerate system that is based on Age. The goal is to add a rerate system that is very much based on the real world instead of the rerate system UHS has traditionally used. With the new system, younger players will typically rerate up, peak at around age 26 and start to decline around age 29 and on.
Coaches for the TEAM the player is on will grant bonuses or penalties based on the Coach’s Development (young players) and Experience (older players) skills. Additionally, bonuses will be granted to younger to mid-aged players if they are on the farm or junior team for development.
Player Training is still an option for GMs that want to focus on a particular player as it will no longer be possible to micro-manage a player’s rerate via games played.
All players are still required to have played in ten regular season games otherwise they will suffer a rerate penalty. It will still be possible for them to rerate up, they’ll just have less of a chance to do so.
By default, all NEW leagues will use the Age Rerate method. All existing leagues will continue to use the traditional Stats Rerate method.
More detailed information on the rerate percentages and modifiers can be found on the UHS Wiki.
Farm Coaches are here!
The Manage Coach page has been updated to show you both your Pro and Farm coach. For leagues where Skills are Hidden, we will now show you the coach’s game modifier (+2, -1, etc) for each of their skills instead of the description (Excellent, Poor, etc). The action buttons for each coach will now take you to a new page with further information on the desired action before you actually commit to it.
GMs coach options are:
– Fire: Fire the coach. There will be an option to promote the Farm coach to the Pro team if you desire.
– Renew: Renew the coach’s contract.
– Promote: Promote your farm coach to the pro team.
– Perm: Respond to the coach’s permission request to speak to other teams.
Coach Profiles have been updated to add Permission texts as well as whether the coach is holding out and/or Disgruntled with the team. The scouting / skills section has been moved to appear directly underneath the Coach’s vitals instead of way over on the right side of the page.
GMs have the option to request permission to speak with another team’s FARM coach. If permission is granted, any team may make an offer to that Farm Coach as long as it is to take a PRO TEAM coaching position. Permission must be granted within 72 hours (by default) or else the coach will automatically be given permission. Should the team decide to not grant permission, they run the risk the coach will no longer sign with them and possibly become disgruntled, negatively affecting players during farm games.
Offers made to Farm Coaches cannot be retracted at all. Once made, the offer will be acted upon in time (as set by the COM). Additionally, offers made must exceed the Farm Coach’s current offer. Any offer made automatically comes with a 25% penalty, so offers will need to be financially adjusted to compensate.
Coach “Free Agency” pages are now gone for GMs. Instead, all options to manage a coach will be found in the Personnel page under Manage Coaches. COMs will still have a modified version of the Coach Free Agency page, however, information on number of offers and expiration dates have been added to help the COM troubleshoot any potential issues.
Passing / Skating Determinations
Previously the Passing/Skating starting chance was at 50% (before modifications) for the home team, however, this has now been bumped up to 55%. The extra 5% was actually supposed to be there but never got changed. It’s intended to simulate ‘home ice advantage’.
We have added an option to toggle the Draft for Standard UHS leagues (Relegation leagues already have this option disabled). If Drafts are disabled, all players will be added to free agency, including Junior players.
Bug Fixes & Miscellaneous Changes
– On Public Sites, the team’s Coach will now appear at the top of the Personnel page.
– Fixed an issue where a Coach’s Pct would not consider Ties if they had no wins.
– Fixed an issue where home coaches losing a game would always be credited with a shootoutwin when simmed in live game mode.
– Fixed an issue where some AutoGM teams would not send players down to their farm team. Hotfix: Sep.15 2016.
– Fixed an issue where debug information was being printed out on the GM Latest Trades screen. Hotfix: Sep.15 2016.
– Applied a change to Live Game update jobs so that they can overlap without duplicating statistics. Hotfix: Sep.23 2016.
– Added code to prevent AutoGMs from buying out players that are on waivers. Hotfix: Oct.1 2016.
– Fixed an issue where newly created leagues were not able to use the Media Article system properly. Hotfix: Nov.10 2016.
– Fixed an issue where only the first five picks were available for trading during a league’s inaugural season. Hotfix: Nov.10 2016.
– Fixed an issue where duplicate teams were allowed to be selected for the entry draft order. Added extra messaging in the list to highlight draft order positions that are not set. Hotfix:Nov.13 2016.
– Added code to adjust AutoGM decision making for waiver claims. Hoping this will stop some of the Claim / Place on Waivers cycles that have been happening. Hotfix: Nov.22.2016.