Try the new UJS client!

Do you play Warzone from your computer? Good news! The new UJS client is now available to everyone!

The UJS client is being developed as an alternative to playing the Unity or Flash clients in your browser. The Unity client takes a while to load, and the Flash client is missing many features. UJS is the best of both worlds — it loads quickly and does everything!

How quickly, you may ask? Well, I just tested loading a game and here’s how long it took for Chrome to load the same game in each mode on my PC:

Unity: 39 seconds
Flash: 3.5 seconds
UJS: 2 seconds

Yep, it’s even faster than the Flash client!

Note that the UJS client is still being developed. Some parts of the app don’t work yet in UJS, such as the ability to create games, or be notified of points you earn and achievements you unlock. These things are coming soon.

How to try it

It’s easy to try, and also easy to switch back if you don’t like it. Select your name in the upper right and select Account Settings:

Then select Web Mode:

You’ll see the option to easily switch your account between Unity, Flash, or UJS.

Let me know what you think!

Feel free to drop me a line! If you find bugs, please report them and I’ll do my best to fix them.

Update 4.07.1: Mail in app

Warzone has just been updated to version 4.07.1! This update brings improvements and fixes to the game.

This blog post describes what’s new. In addition to the features below, this update will bring features from the previous updates to the mobile app, such as the new analyze tool for no-luck games.

This update is available right now for the website and standalone versions of the game. The Android app will be available soon, likely tonight or tomorrow. The iOS version should be available within a week.

The app can now read mail threads

Prior to this update, Warzone mails could only be read on the website at warzone.com. This created an issue where players who only play within the iOS or Android app would never even know if someone had sent them mail, and therefore never read it.

With this update, anytime you have unread mail the button in the top right corner will flash a small envelope icon. Tapping this and then tapping Mail will allow you to read and reply to mail threads directly in the app.

Fixes

– Unity: Pressing the enter key after clicking on the attack/transfer mode button no longer closes the attack/transfer dialog. Thanks to DanWL for reporting this.
– Unity: Fixed the positioning of the profile popup window on the lobby. Thanks to Muli for reporting this.
– Unity: Fixed a bug that made attack arrows appear from the destination territory when double-clicking to attack a territory. They should only appear on triple-clicks.
– Unity: Increased default map buffer to 3, to allow more space on the edges when zoomed in.
– Unity: Updated Unity to 2017.4
– Quickmatch: Fixed a bug that could cause templates to randomly check themselves.
– UJS: Fixed disabled buttons. Thanks to Master of the Dead for reporting this.

Update 4.07: Analyze graphs

Warzone has just been updated to version 4.07.0! This update brings a bunch of improvements and fixes to the game.

This update is available on the website and standalone versions of the game now. The iOS and Android app won’t receive this update, because there was a lot of internal code churn I want to let it get tested for a bit before updating the apps. Both iOS and Android will get version 4.07.1 which will have this update’s features and should be released soon.

Analyze Graphs for no-luck games

You can now select Analyze Attack from the game menu in no-luck games (0% luck modifier, straight round) to get these graphs:

This allows you to easily see how many armies are killed by different numbers of attackers. This info was previously available in the attack/transfer dialog by typing in numbers into the armies box, however this new dialog makes it much easier to visualize.

This new dialog also has the new “defenders” tab, which allows seeing how many armies are killed on defense. This data wasn’t available previously without doing the math yourself, so it’s a very useful tool!

Other Changes

– All: History no longer needs to be downloaded from the server a game you’ve had open from the start, as is common in real-time games.
– All: Fixed a bug that could cause an error when changing perspectives in history. Thanks to Min34 for reporting this.
– Unity: Fixed a bug that caused an error if you pressed escape just as the turn was advancing.
– Unity: Player names now use a fixed font size instead of auto-sizing.
– Unity: Fixed a bug that made loading replays of community levels from the website sometimes cause an error. Thanks to Muli for reporting this.
– Quickmatch: All multi-day games now honor vacations.
– Quickmatch: When waiting for a real-time game, the templates now show your rating, setting icons, and thumbnail.
– Quickmatch: Leaderboard buttons are now colored, blue = template, green = built-in category, red = country.
– Quickmatch: Templates with 0 votes are now automatically deleted. This happens once every 24 hours.
– Quickmatch: All 1v1 templates no longer allow “booted players turn into AIs”. This fixes players from saying “surrendered” when they get booted, such as commonly happened on Imp Rom LD template.
– Quickmatch: If a template falls off the top 40 and then re-makes the top 40 and you unlock it for a second time, it will now pop up an alert letting you know that it unlocked instead of silently unlocking. Thanks to Nemo for reporting this.
– Website: Fixed a bug on profile pages of invited but not-yet-signed-up players. Thanks to DanWL for reporting this.

UJS

UJS (originally announced here) is a tool for converting Unity apps to Javascript that I’m working on.

UJS has been expanded a lot in this update, but it still has a ways to go before it can fully convert the entire Unity app. Nevertheless, it’s now possible to view Map Preview links using the UJS tool. To give it a shot, add “&Mode=UJS” to the end of a map preview url, for example: https://www.warzone.com/SinglePlayer?PreviewMap=13682&Mode=UJS

This is considered an experimental alpha at this point, but if you try it out let me know what you think!

10 year anniversary!

This game is now 10 years old! It’s been a long journey from where WarLight started:

I started this game thinking I’d just play a few games with my friends and move on. I never thought it would turn into what it has today — thanks mostly to the great community! Thanks so much for coming on this journey with me. I look forward to the next 10!

Update 4.06: Quickmatch leaderboards

Warzone has just been updated to version 4.06.0! This update brings leaderboards to the Quickmatch system, as well as other fixes and improvements.

The website and standalone versions are updated now. The Android app will be updated within an hour or so. iOS devices will not receive this update.

Here’s the full change log:
– Quickmatch: Added leaderboards. If your global rating is 200 or higher, you’ll now see a “Leaderboards” button appear in the Quickmatch page.
– Quickmatch: Fixed duplicate “country” ratings. Thanks to Timiniator for reporting this.
– Unity: If you issue an attack, then remove all of the armies from the source territory of that attack, then open the attack/transfer dialog again, the text box now defaults to “0″ so that selecting Okay will now remove the attack without having to manually type a “0″ into the box.
– Unity: Fixed a bug that made changing perspectives in history give an error.
– All: The “Retrieve older messages” button no longer appears on games without any chat.
– All: Updated loading images.
– Website: Improved the tooltips on the Points page. Thanks to EFHIII for reporting this.
– Website: Updated Press page.
– Android/iOS: Fixed a bug that could cause parts of a chat message you’re typing to be lost when using the “enter” key on the software keyboard. Thanks to MGO for reporting this.

Update 4.05.1: Small update

Warzone has just been updated to version 4.05.1! This update fixes some bugs, and makes some improvements throughout the app. Basically, this update contains all the fixes and improvements that were reported to me while I was working on UJS over the last month.

The website and standalone versions are updated now. The Android app will be updated within a day or two, and the iOS app will be updated within a week or two.

Here’s what’s changed:

– All: Clicking “modify orders” while a game is past or very near the boot timer will now present a confirmation message, ensuring you actually want to do this and risk getting booted.
– Quickmatch: When creating a 1v1 between two players with multiple templates checked, some random variance is now applied when deciding the template, instead of just picking the one with the most similar rating. This creates more template variety between players who play often.
– Quickmatch: Fixed a bug with memberships expiring that could make templates un-changable.
– Unity: Reduced memory usage. This should fix the “Your device has run out of memory” error that some people were getting.
– Unity: Updated Unity version from 2017.2 to 2017.3.
– Unity: Updated layout of Quickmatch page.
– Unity: The map browser now has a checkbox “Hide locked maps” that can be used to hide or show maps you haven’t unlocked yet.
– Unity: The store now always shows coin prices, instead of only showing coin prices if you could afford it.
– Unity: Fixed a bug that could make the map unnecessarily zoom in if an animation played near the edge of the screen.
– Unity: Fixed “1 army per turn per turn” text. Thanks to saftschachtel for reporting this.
– Unity: Fixed several bugs that could cause errors when entering numbers greater than 2 billion into number fields.
– Unity: Fixed a bug that allowed the settings panel to allow opening multiple mini profile dialogs. Thanks to EFHIII for reporting this.
– Website: The WebGL app should load faster on repeated loads now. In Firefox, my computer can refresh the WebGL app in less than 5 seconds. Chrome is still much slower, so I still recommend using Firefox.
– Website: Updated a few pages to be more mobile-friendly, most notably the Map page.
– Website: Added receive card dialog setting to account settings page.
– Website: Fixed a bug that caused some players to get an error message when accessing quickmatch through the website.
– Website: Fixed a bug that made the radio buttons unclickable on the Create Custom Coin Game page. Thanks to MaikMcJuggle for reporting this.
– Website: Fixed the tournament links on a mobile device. Thanks to Derfellios for reporting this.
– Website: Fixed a bug that made the blacklist not work in Unity WebGL in some circumstances. Thanks to neal for reporting this.
– Website: Fixed a bug that could cause an error in Microsoft Edge when using the arrow keys to navigate between All/RealTime/MultiDay buttons. Thanks to Otto von Bismarck for reporting this.
– Flash: Fixed a bug with the redirect-to-unity prompt that appears when trying to open a Unity-only game.

Update 4.05: Quickmatch now available through the website!

Warzone has just been updated to version 4.05.0! This update brings the features of Quickmatch, which was previously only usable through the Unity client, to the website! This means that if you play Warzone through the website in Flash mode, you’ll now have access to Quickmatch.

If you aren’t familiar with Quickmatch, it makes joining multi-player games significantly easier. Instead of having to scroll through a list of open games, joining a game is as easy as clicking one button. It can be used to join both real-time or multi-day games, while still giving you control over what templates you’re willing to play. See the original announcement for more details.

You can access it under the multi-payer menu:

UJS

Quickmatch was brought to the website through a new tool I’ve been developing called UJS. UJS’s goal is to bring the entire Warzone Unity app to the website, in a way that isn’t as slow a memory intensive as the currently available method.

The main goal of developing UJS is in response to how slowly the Unity app loads on the website. In my opinion, it’s loading speed and memory usage are unacceptable, and I’m working on fixing that.

Therefore, the magic of today’s update really has nothing to do with Quickmatch. This is a demonstration that the Unity app can run on the website and be quick, even on low-end computers. If this project is successful, the other pages from the Unity app will be run through UJS too. More details about this will be released in the future.

Update 4.04.2: Small update

Warzone has just been updated to v4.04.2! This is a small update which make some improvements and fixes some bugs. This update will go to all platforms except iOS. Here’s what’s changed:

– Unity: Re-arranged the players list on the lobby to fit better on small screens.
– Unity: The no-luck cyclic timer now updates 20 times per second instead of every frame. This helps it avoid creating lag on low-powered devices. Thanks to Bas for reporting this.
– Unity: Fixed “SVGObject is null” error.
– Unity: Fixed a bug that made the AI sometimes cause an error in local deployment commerce games when it tried to build a city.
– Unity: Fixed “all players must have a slot” error when creating custom scenario games. Thanks to Mista Sista for reporting this.
– Unity: When attack-by-percentage is disabled, the attack/transfer dialog’s text box now is set in Number mode so that the numpad software keyboard opens instead of the software keyboard with letters. Thanks to Eddy for suggesting this.
– Unity: Multiplied the drag threshold by scale. This fixes a problem where buttons in scrollable regions could appear unresponsive on high DPI devices. Also added this setting to the debug menu so it can be played around with in case this fix wasn’t enough.
– Unity: Purchasing a color from the store now sets it as your default color automatically.
– Unity iPhone X: Dialogs no longer appear outside of the safe space.
– Unity+Website: Icon for mods changed to be red.
– Website: Added a subtle highlight to the background.
– Website: Adjusted table background color to not be quite as black.
– Website: Trying to use a template with mods in a tournament now gives a more appropriate error message.
– Mods: When a mod in a commerce game sets a player’s gold mid-turn, the gold now updates in player’s client immediately so they can spend it right away.
– Mods: Client_GameRefresh is now also fired when a game first loads. Thanks to Krzysztof for suggesting this.
– Mods: Fixed awarding cards to players via GameOrderReceiveCard orders. Thanks to Krzysztof for reporting this.
– Mods: Fixed changing a failed attack to a successful one. If a mod sets DefendersArmiesKilled to be equal to the number of armies on the defending territory, then the attack will now automatically change to a successful one. Thanks to Krzysztof for reporting this.

Update 4.04: New graphics!

Hello all!

Warzone has just been updated to v4.04.0! This update brings a new look to the Unity app:

As discussed in the previous blog posts, I’ve been working on new graphics for the game based on feedback that people didn’t like the old graphics. Let me know what you think of the new style.

Here’s the complete changelog for this update:

– Unity: Overhauled the look of the app based on feedback.
– Unity: Removed the 3d animation effect between pages.
– Unity: Increased zoom cutoff so that the game won’t be as eager to zoom in.
– Unity: Increased map buffer so more space is available around the edges.
– Unity: Made a change to the way single-player games are saved to take less memory.
– Unity: Fixed “allMaps is null” error.
– Unity: Fixed a bug that could cause an error if a game was closed as it was being loaded.
– Unity iOS/Android: The coin wheel only pops up if an ad is available.
– Website: Fixed the Report Bug page to fit better on small screens. Thanks to Derfellios for reporting this.
– Website: Fixed descriptions of the forums that still said WarLight. Thanks to Derfellios for reporting this.

EDIT:

4.04.1 is now live, too, which updates the website graphics! Let me know what you think of these, too!

This update also fixes up a few things in the Unity app, such as the pull-out buttons becoming gray instead of green.

Warzone one-month update

Hello all!

It’s almost been a month since Warzone launched! I’ve been working hard on updates based on everyone’s feedback. There have been 13 updates since launch, so many I haven’t been able to keep up with blog posts!

I appreciate all the feedback everyone has sent. If you still haven’t contacted me about the sequel for some reason, please feel free to!

As I’m sure you saw in the previous blog post, I’m working on updating the game’s graphics. Here’s the latest revision of the highest voted entry for the website:

And here’s a version of the phase selection I’ve been working on:

Let me know what you think of these!