Release Date: 20150314
The new minor release focuses on a complete overhaul of the security model, as well as bringing all the user role data into line with the new model. Another extremely important change in this version is the separation of players into 4 main types - Beginner, Regular, Premium and VIP. This couples with the three new games types - Beginner, Regular and Premium. Beginner players can create beginner games, and join 3 beginner and 1 regular game (max 3 games total). Regular players can create regular games, and join 4 regular and 1 beginner game (4 games total). Premium and VIP players can join and create unlimited regular and premium games. There are also some changes to regular player rights, notably that regular players can create 12 player games max, though they can still join 40+ player games that premium and VIP players create. On top of all this, there has been a small amount of tidying up in the user profile, notably the avatar shows, and your game types show as well. Enjoy!
- Removed a reference to an old CSS file from the forum headers.
Fixed up a couple of bad DBC contract checks in Empire and Numerals Project code.
User Profile now correctly displays the user's avatar.
Fixed a bug in the role rights model.
Updated the Recruiting Game model to allow players to change teams in a game they have already joined, but can no longer join due to game type restrictions.
Removed some hacky code from the user model that determined the username colour, as this is now determined via the phpBB boundary class.
Altered the home page login box to use HTML5 autofocus for the username field.
Moved all Google Analytics scripting into the head element, in an attempt to fix the false positive bounce rate issue that started in v1.0.
Fixed a bug in the phpBB utf_normalizer code that was causing showstoppers when called from AoW.
- Rewrote the faction slider code in the create game page to take into account the maximum player game a user can create.
Large rewrite of the join game code to accommodate various valid edge cases when that occur when beginner players become regular or premium.
Scoring code altered so that Beginner games don't get scored.
Removed some defunct unlocking code from the GameUI.
Restructured the Master Page code for better separation as well as integration with third party software, such as the forums.
Removed the defunct Avatar class, which has been replaced with the phpBB user avatar boundary class.
Separated the system user methods out into their own class.
Updated the DBC in the GetGameSettings function.
Hooked the log entry model into the new system user class, to remove the use of a magic variable.
Updated the PHP syntax in the log model.
Hooked the shop model into the user role model for account creation.
Restructured the user model for better code management and role / group inclusion.
Removed the background image inclusion in master pages, as it had the potential to mess up rendering of screen size on mobile and tablet devices.
Removed some now defunct double- and triple-checking code in the account creation code, that would have been slowing down all site communication by a small amount.
Removed the now defunct MainMenu XML file, which was used pre-v1.0.
Streamlined the AoW coupling HTML in the phpBB forum HTML.
- Changed the "unlock" icon to be green.
Updated Premium purchasing to include unlocking the Regular Player Achievement, and sending a private message of thanks.
Altered the create game page to display how many of each game type a player has available.
Users now unlock the Regular Player Achievement when they finish their first game.
Added a mail icon to the User menu to show you when you have new private messages.
Implemented an extensible solution for unlockable achievement code.
Implemented better initialisation checking on the User object, so that bootstrapping the account is more streamlined.
User account initialisation now includes creation of bot or beginner accounts, according to the user type.
Added a class to improve database querying for available games to join.
Added a database function that can parse CSV, so in statements can be paramaterised safely.
Altered the game browser model code so that only available game types are displayed to the user.
Altered the premium account creation code so that it automatically joins the player to the Premium Member group in phpBB.
Factions area in the create game page now shows the maximum game size you can create.
Added game type to the game browser search results.
Augmented the menu link and item code to allow for custom icons to be rendered alongside the item description.
Updated the user profile page to display the game types that a user can join, and how many of that game type they have already joined.
Added game type to the game general information tab.
Added three new game types - Beginner, Regular and Premium. All games now fall into one of these types, and the type determines who can join, which should reduce deadbeats in games created by Regular Players and Premium Players.
Major overhaul of the entire security model, so that user and account management is much better separated, and granting rights and roles to users is done in a more delinieated and precise manner.
- Added boundary classes for the following phpBB functions - constants, group user, private message, and user avatar.
Added several new rights, allowing players to create up to 8 player games, 12 player games, and unlimited player games.
Added contract to check if player can join certain game types.
Added contract to check if player has game type available.
Added a new class to determine user game limits and involvement.
Added a new class to determine user game player limits.
Added a role checking method to the User object.
Added a new model to cover role constants.
Added a new model to cover security clearance constants.
Added a new model to cover unlockable achievement constants.
Added a new model to cover phpBB group constants.
Added game type to the game data object.
Added is scoring flag to the game data object.
Added several required URLs and stored proc names to the constants file.