Medals To Risk Players – October, 2014 Upgrade (Milestone 3)

More Medals To Risk Players

Nukes Medals To Risk Players

Risk players get more medals for a win. The medals can be won by playing the classic Risk game against a single or multiplayer computer opponents. This October’s update will resolve the long issue of the medals not being attributed to all Risk players. This fix was described in our previous Blog post: We are getting medals back, where you can find descriptions of all gameplay medals and how to earn them. The October’s upgrade will also resolve a number of other issues. Some of these issues are listed below:

 

Website Upgrades and Improvements

MAJ-63 Upgrade WordPress
MAJ-92 Create medals for the “The Forgotten Kingdom” map
MAJ-93 Add the missing map medals (Conflict: Africa, Australia, Middle East, Philippines, Duck and Cover, Sea of Japan and Balkan Peninsula)
MAJ-97 Upgrade the wiki
MAJ-98 Scoreboard changes
MAJ-101 Track the highest score for each user

Server and Performance improvements

MAJ-00 Install Nginx resource load balancer Executed
MAJ-00 Install Munin system monitoring tools Executed

Bug Fixes and Infrastructure improvements

MAJ-60 The medals are not being attributed
MAJ-87 Integrate performance monitoring tools

As you can see, we now have over 100 issues that have been resolved (or soon to be resolved) and we are adding new ones every day. Some of these improvements will not be noticed by the user, but will help create a solid foundation for a better site in the future. There’s a lot more to come!

Risk players Sheriff badge

Sheriff

We Are Getting Medals Back!

Getting Medals Back

Major Command Risk Getting Medals Back

Marcos, the programmer who does the coding to our Risk games has identified the reason why Medals have not been awarded to winners. A major fix will be implemented during our next update! The best part of this news is that the medals will be awarded retroactively! So no need to go back and replay all those Duck and Cover games. Remember that, Risk players get more medals for a win. The medals can be won by playing the classic Risk games against a single or multiplayer computer opponents. The upcoming update will resolve the long issue of the medals not being attributed to all Risk players.

There are currently 3166 medals ready to be awarded to players, and that number should grow by the time we implement the fix.

2999 of those are Map Explorer Medals
and the remaining 167 are 50 Consecutive Turns Taken Medals

We will also be adding Medals for the new Forgotten Kingdom map. So start playing and get ready to check your Profile page for the new medals!

Remember, though, this fix will take place during our next update. So as usual, there will be a warning posted, as well as a countdown clock, followed by the site going off-line, a lot of complaints about missed turns, and some words of encouragement. Then when we’re back up, we will have Medals! (fingers crossed)

As an added bonus, I asked if we could have the specific name of the Achievement Medal mentioned in the RECON tab when a medal gets awarded. It has always bothered me that a generic message “You have been awarded the  achievement medal” shows up, but you do not know which medal it was. Well, Marcos discovered that this was not the original intention either. That double space before the word “achievement” was meant to be filled by a medal name. Again, for some reason, this was not working. It turns out the table describing the medal and it’s name was blank. So we are filling in the missing fields with the correct information and soon the RECON tab will tell you exactly which medal was just awarded to you.

And for those who are technically minded, the reason for the Medals not working was because -> “The cron job is crashing while trying to allocate more than 256MB of RAM, which is set as the limit on the server.”

For those who aren’t technically minded -> “It was broken, now it’s fixed” 🙂

Play Risk online Sheriff badge

Sheriff.

Game Performance Boost Update

Game Performance Boost

This game performance boost, it will be for a major speed up to Major Command Risk! Our Database is way too large. It takes far too long for the game engine to search for all the relevant information each time a player takes their turn. This slowness in data retrieval is what causes such problems like the “zero-troop” bug, missing troops, maps not loading, and a lot of the other issues that has plagued MC for the last year.

Risk Game Performance Boost

Our plan is to archive all the data that is not needed for immediate access by the game engine. The old game data is still available for the game engine to access whenever needed, but it won’t be part of the main database, thereby reducing the time for the game engine to find the really important information, like information relating to current active games. This archival could reduce the database size by over 50%, and hopefully eliminate the conditions that cause all these errors to occur. So lots of work is approaching to complete the upcoming game performance boost.

Will the Game Performance Boost fix the “zero troop bug”?

Let me be clear. The “zero troop bug” is not actually a bug. It is not a simple line of code that needs to be fixed. It is a result of other issues like the database size. Reducing the database size won’t “fix” the “zero-troop bug”, but it will create a condition where that particular bug is far less likely to occur. Hopefully never again. It will also minimize or eliminate other poor performance issues as well.

This is not the end. It is a major fix moving forward, but it is still only a patch up job. The goal is to create a structure where these issues will simply not exist. We are currently working on two projects. First is to repair the current game site, and second is to create a new, better, updated, and more functional one.

As with every update, there is a chance of fixing one thing, and breaking another. Hopefully, the fallout will be minimal this time. This database contains EVERYTHING ever done by anyone on MC. And we don’t want to mess it up. So be patient, and WISH US LUCK !! 🙂

Sheriff

Website Update – August, 2014

First Monthly Website Update

Major Command Risk Website Update

The first monthly website update for major Command Risk. We would like to give you a bit of insight as to what has been done so far behind the scenes, and what is being planned for the next month. Most of you can see the front-end things like Tournaments and stuff, but this is an update on what you don’t see. Our first month, July, was filled with a lot of administrative tasks pertaining to the website, as well as a long overdue housekeeping of it’s files.

Marcos our developer has a full-time job and has only been able to work for us on weekends. However, starting in mid-September, Marcos will be done with his contractual obligations giving him the ability to focus on Major Command full time. We look forward to that day!

This is by no means a complete list, but rather a general update of behind-the-scenes activity.

July website update

– administrative tasks relating to the transfer of site and domain ownership
– administrative tasks regarding site and server security
– backing up of database and server files
– creating a wiki file of site functionality
– identifying and documenting the mostly undocumented source code
– setting up a virtual environment to implement fixes and features.
– commissioning a new map
– increased vigilance with multi-accounts and fake users

Now that most the boring, yet necessary tasks are done, in August we hope to start seeing some changes, albeit slowly since Marcos still has other commitments until September. Nonetheless, this is a brief outlook at next month’s plan. Subject to change of course! 😉

August – another website update

– additional database maintenance and archival
– resolve 0-troop bug
– resolve ‘processing’ error
– resolve medals not being awarded issue
– continued vigilance with multi-accounts and fake users
– release a new map
– and….?

More to follow as things develop! Now go and start playing your favorite Risk games.
Major Command Risk Sheriff Sheriff.

Bug Fixes: Stuck Game and 0-Troop

Major Command Risk Bug Fixes

Major Command Risk Bug Fixes

It looks like we have the two most detrimental bugs under our proverbial thumb.  Marcos, our resident developer has identified the issues and we will be implementing few bug fixes within the next 24 hours.

The first of the few planned bug fixes will be for the “stuck game” bug, where a player will eliminate all others, but the game won’t end.  Instead, displaying “jump to next” rather than “game over”.  These games remain permanently stuck.

The second of the few upcoming bug fixes will be for the 0-troop bug, where a region will have no troops on it, preventing the game from finishing.

We are making these bug fixes directly to the production server as there is still work to be done on the dev server.  This is important. If you encounter these two bugs going forward, please post the issue and game in this forum thread of the bugs forum.

We hope there are no unintended consequences, but you never know, be on the lookout.

Thank you all for your patience.  We will also work to unstick currently stuck games.