Site and mobile update 1.15.7

WarLight has just been updated to version 1.15.7! The mobile client creeps ever closer towards completion, and as usual, the website gained a few minor updates too. This blog post contains a summary of what’s changed.

Real-time tournament invite e-mails

You can now control whether or not you receive tournament e-mail invite emails separately for multi-day tournaments and real-time tournaments. Under Settings -> E-mail notifications, you’ll find two check-boxes: one for multi-day tournaments, and another for real-time tournaments.

Multi-day tournament e-mails default on, but real-time tournament e-mails default off. This means that if you want to receive e-mails when you’re invited to a real-time tournament, you must turn it on in the settings.

This reflects how most people use e-mail. Most people don’t get instant notifications when they receive an e-mail, so they typically won’t see the invite to a real-time tournament in time to join it. This leads to lots of disappointment when they check their e-mail only to find invites to tournaments that it’s too late to join.

If you’re going to create a “lobby tournament” for a real-time tournament, please make sure your lobby is set to real-time as well. This prevents people from getting e-mails that don’t want them.

CLOT can override bonus values

The CreateGame API can now be used to specify overridden bonus values. This allows custom ladders/tournaments to control the bonus values for each game independently, which opens up some new options. For example, you can make a ladder or tournament where the bonus values are randomized in each game.

See CreateGame on the wiki for information on how to use this.

Bug fixes

Two bugs were also fixed in this update:

– Fixed a bug in the game creator that made custom scenarios not appear if you closed and re-opened the scenario builder right away.
– Fixed a bug that caused an error if you clicked “map page” on an under-development map

Mobile Client

If you’re playing WarLight on Android, you can install it via the usual method. I highly recommend upgrading to this version since it has a few key bug fixes.

The biggest feature added in this release is the ability to create multi-player games from templates! You can’t customize template settings yet, but if you have a template you want to use as-is you can use it.

This also adds the ability for game creators to add or remove players to a game from the lobby.

Further changes:

– Overhauled the look and feel of the player details screen.
– Fixed a bug that made territory picks unviewable during the first turn.
– Android: Fixed a bug that caused deployment issues on some phones.
– Android: Fixed a bug that made screen title’s become off-center when rotating your device.
– Android: Fixed a bug that caused order re-arranging to not work.
– Android: Fixed a bug that made the map not appear after sleeping and waking your device.

Site and mobile update 1.15.6

WarLight has just been updated to version 1.15.6! This is primarily an update to the mobile client, but a few features snuck into the website as well.

Website Changes

– Added a link on the Forum page to view posts from all forums together.
– Added a tournament filter “Active tournaments I didn’t decline”
– Optimized up the “My Tournaments” page.
– [code] blocks on the forum no longer become double-spaced
– Added DeleteLobbyGame API that allows CLOT to delete games if they don’t start.
– The GameFeed API can now be used by CLOT to retrieve limited player data about games that haven’t finished yet.
– Improved the error dialog with options to report the bug.
– Fixed a bug that was causing some maps to use more data points than they needed to, slowing down the map rendering.
– Fixed a bug in the analyze graphs that could occur when the offensive kill rate was significantly modified from its standard 60%.
– Fixed a bug that could cause an error in some cases when loading a saved game.

Mobile Client Changes

EDIT: For members who are upgrading from the previous Android client, please un-install the existing client before installing this new version. This is necessary since the package name changed to support Facebook authentication, so Android views it as a different app. If you don’t un-install first, you’ll end up with two copies of the WarLight app. If you’re already in this state, just un-install both and then install the correct one again.

– You can now sign in with Facebook, just as you can on the website.
– The look and feel of the lobby has been overhauled.
– When you receive a private message, it now appears as an item on the game’s menu.
– Added space below the map for the deployment slider so that the slider will never overlap a territory you’re trying to deploy to.
– Fixed a bug that made scrolling choppy on large-screen devices or in landscape orientation on small screen devices.
– Fixed a bug that caused an error if you changed your password on the website while you had the mobile version open.
– Fixed a bug that caused skinny horizontal rectangles to appear on the map (this fix may not appear right away since the affected maps need to be re-processed)
– When playing an Airlift card, the back button now works properly.
– The history menu option is no longer visible on games still distributing territories or on the first turn.
– Upgraded the app from OpenGL 1.1 to OpenGL 2.0
– Improved the error handler so it won’t trap you in an infinite loop of errors.
– Fixed memory leaks.
– Fixed a bug that could cause an error if the back button was pressed too rapidly.
– The deployment slider is now centered.