Update 4.09.3: Bug fixes

Warzone has just been updated to version 4.09.3! This update fixes several bugs and makes some tweaks to tournaments. This blog post describes what’s changed.

This a server-only update (meaning the Unity client + apps won’t receive this version).

Change Log

– All: Fixed a bug with the army cap that made your displayed income in the lower right corner show incorrectly after committing your turn.
– All: Coin tournaments now show in the settings how many extra coins the creator provided towards the tournament prize.
– All: When providing 500 or more extra coins to a tournament, the creator can now set any entry fee they want. Thanks to B for the suggestion.
– All: Reduced maximum start time of multi-day public tournaments to 1 day to ensure they start quicker.
– UJS: Fixed a bug when a mod crashed that would cause the error message to not be visible in some cases.
– UJS: Fixed the way partial cards render in Edge and Internet Explorer: since they can’t display masked cards it will simply fade them out instead.
– Unity/UJS: Fixed a bug when a mod passed a non-function when a function was expected that caused it to get a generic error dialog instead of a Mod Crashed dialog. Thanks to Meop for reporting this.
– Unity/UJS: Fixed a bug that allowed the quickmatch leaderboard category dialog be opened multiple times. Thanks to TBest for reporting this.
– Unity: Fixed a bug that could make white territories overlap a map. Thanks to ViralGoat for being the most recent to report this.
– Unity: Fixed a bug when a mod called GetTurn() with a floating point number. Thanks to kevin#1 for reporting this.
– Unity: Fixed a bug that could, in rare cases, cause some new maps to fail to be converted into Unity format. Thanks to Goldtank for reporting this.
– Website: Changed the way app redirects work again so that it’s a better experience for devices without the app installed.
– Website: Fixed color of the wiki link when viewing the settings of a tournament that has highlighted settings. Thanks to number for reporting this.

Update 4.09: Tournaments and more!

Warzone has just been updated to version 4.09.0! This update overhauls and adds a lot to tournaments, as well as brings a bunch of new features. This blog post describes what’s changed.

This update is particularly noteworthy, as it’s the first time since the Warzone launch that I’ve been able to focus on adding features to the game again. Expect more features in the future!

This update is live now on the website at https://www.warzone.com. The Android app will receive this version in the next day or two, and the iOS app will receive this version in the next week or so.

Tournaments added to iOS and Android app

The iOS and Android app now support tournaments! Tournaments were previously a website-only feature. The app can do everything the website can, such as joining/declining tournaments, viewing the bracket, chatting, viewing players, etc.

Also noteworthy are that team tournaments in the app are much easier to view, as the teammates are listed directly on the bracket instead of requiring a click to see. Further, in large tournament brackets it’s much easier to find yourself or players with the new “find” button that highlights all of their games and allows cycling through them.

Adding tournaments to the app will increase tournament use a lot, as the majority of Warzone players play through the app and never had access to tournaments before.

Tournament Byes

Tournaments now support byes! This drastically increases the flexibility of tournaments, as it means it’s no longer required for the number of players to exactly match the tournament size. Previously, starting a 128 player tournament required that exactly 128 players join. Now, the tournament can start with any number, as long as at least one game can be created.

Multi-day tournaments will start in one of three ways: When it fills up (as normal), when the tournament creator clicks the new “Start Tournament” button listed on the tournament page, or when it reaches a specified time limit as defined by the tournament creator.

Real-time tournaments will always start when they reach their start time as defined by the tournament creator. The 30-minute delay that existed before was removed. Real-time tournaments will always start exactly on time.

Byes are awarded randomly to participants. If a team tournament attempts to start with unfilled teams, those teams will be merged automatically.

Other Tournament Improvements

The most recently created open tournament is now advertised on the multi-player dashboard again, as well as in the Unity app under your games. This helps increase the visibility of open tournaments.

The UI for creating tournaments has been re-written from scratch! It’s now much easier to use and more intuitive.

The tournament prize system has been simplified and had its flexibility increased. When creating a public tournament, creators can now specify any entry fee from 0 to 2000. Creators can also add extra coins to the prize.

Mods

Members can now create one multi-player free mod game per week that allows non-members to join! Previously, this was only allowed one time, and then cost 3 coins per player. Now, this can be done every week. This resets every Sunday.

As always, single-player modded games are always free for members in unlimited quantity, as are multi-player games with other members.

History Date/Time

When viewing history, the date/time of the turn is now displayed below the turn number in the upper left corner. This makes it easier to see when a turn happened, which was previously only available on hover.

Local Deployment Status

In Local Deployment, when a bonus is fully deployed to, it will disappear from the tooltip in the top left. This makes it much easier to see what’s left to deploy when you’re playing on large maps.

Other Changes

– All: Fixed a bug with the army cap that made your displayed income in the lower right corner show incorrectly. Thanks to Master Farah for reporting this.
– Unity: Updated Unity to 2017.4.12f1.
– Unity/UJS: Fixed a bug that made the AI pick very slow on some very large maps. Thanks to TerribleHerbst for reporting this.
– Unity/UJS: The Autopilot button is now present in the menu for non-members, and explains what it is when clicked.
– Unity/UJS: Non-members will sometimes get a free autopilot trial when playing single-player.
– Unity/UJS: Non-members that click the “Change Mods” button now get more info about what mods are.
– Unity/UJS: Fixed a bug that made your level and member icon not show up next to your name in single-player.
– Unity/UJS: Fixed the double-tap-to-attack feature of the attack/transfer dialog so that if your finger happens to be over the Cancel button as the second tap is clicked, it will now be considered a double-tap instead of a cancel-tap.
– Unity/UJS: Increased size of army box in the attack/transfer dialog slightly.
– Unity/UJS: The deployment slider will now pop to the left of the cursor when opened near the right side of the screen.
– UJS: Fixed bugs with the “C” hotkey toggling commander checkbox. Thanks to Muli for reporting this.
– UJS: The red “close” button is more intelligent about sending you back to the page you came from. Thanks to GentlePurpleRain for reporting this.
– Website: Changed the way redirects to the app work so that, if the app isn’t installed, you get a better error message than “cannot open”.
– Website: The /Points page has been re-formatted to use bootstrap.
– Website: The /Mobile page has been re-formatted to use bootstrap. It also now shows your platform on the top if visited from Android/iOS.
– Website: Fixed the “Play” button on the home page when browsing from iOS / Android so it correctly directs you to install the mobile app.
– Website: Fixed a bug when using unicode characters and double quotes that could cause output to be incorrect. Thanks to TBest for reporting this.

Update 4.08.4: Bug fixes

Warzone has just been updated to version 4.08.4! This update fixes a bunch of small issues. Here’s a full list of the changes:

– UJS: Fixed audio issue for some players.
– UJS: Fixed a bug that made the deployment slider and inspect window close when trying to drag them.
– UJS: Increased buffer around the edges of the map.
– UJS: Fixed deploy hotkey on OSX.
– UJS: Decreased font size of input boxes slightly.
– UJS: Fixed the “next game” button. Thanks to Pooncrew for reporting this.
– UJS: Fixed going back from playing community levels. Thanks to Muli for reporting this.
– UJS: Fixed images in the “pick your team” and “pick your color” dialogs. Thanks to Muli for reporting this.
– UJS: Fixed custom scenario editor focusing on text box. Thanks to Muli for reporting this.
– UJS: Fixed custom scenario editor hotkey for changing to Neutral. Thanks to Muli for reporting this.
– UJS: Fixed broken image of boss 2. Thanks to Muli for reporting this.
– UJS: Fixed a bug when two dialogs were open that overlapped that could allow dragging the underneath one when clicking on the above one.
– UJS: Fixed a bug that made # characters get inserted to the end of the current url.
– UJS: The highlight animation is now skipped when selecting very large bonuses to save on excessive CPU costs. Thanks to Master Farah for reporting this.
– Unity/UJS: Fixed a bug that made NLC games not show teammate’s orders after clicking “Begin”. Thanks to Muli for reporting this.
– All: Fixed a bug that sometimes caused AI colors to not be assigned correctly in community levels. Thanks to Muli for reporting this.
– Website: Updated instructions to unblock Flash in Chrome 69.

Update 4.08.2: UJS officially launched, app update

Warzone has just been updated to version 4.08.2! This update marks the official launch of the UJS client!

The UJS client is the best way to play Warzone from computers (from iOS or Android you should continue to use the app.) It loads much more quickly than the Flash or Unity clients, and also don’t require a plugin like the Flash client does.

All players switched into UJS mode

Shortly after this update goes live, I’ll switch all players who play on the website to use the new UJS client instead of the old Flash/Unity clients.

Of course, you can always switch back if you have an issue with it. But if you do, please let me know why!

App Update

Version 4.08.2 of the Android and iOS apps will be delivered to the app stores soon. This version fixes a bunch of bugs (basically all of the non-critical bugs that have been reported to me while I was busy working on UJS). For the full list of fixes, see the Changelog below.

What’s next

This update marks a major turning point in the history of Warzone. With the UJS client fixing the slow-Unity-WebGL-performance problem, it means that we have finally accomplished the goal of the 2-year Unity project: One user interface that works well on all platforms (iOS/Android/Web).

What does this mean for the future? It means we can finally get back to adding new features! For the first time in two years, my primary focus is adding to the game again. I’m excited to get back to it, as it’s what I love doing.

As if that wasn’t enough, I’m going to start streaming my development of Warzone again, as I did last year. I’m not announcing yet what the first feature I’ll be working on is. You’ll have to tune into the stream to find out!

Most of the streams will take place from around 1pm to around 5pm PST. They’ll be broadcast at twitch.tv/FizzerWL so give a follow if you want to be notified when they go live. I plan to begin as soon as I can finish the aforementioned iOS/Android update.

Exciting times are ahead!

Full Changelog

4.08.2:
– Website: Moved “Custom Game” link from the bottom of the play page to the single-player drop-down menu.
– Unity: Updated Unity to 2017.4.10f1.
– Unity: Fixed a bug that could cause chat to overlap the game when rotating your device.
– Unity: Fixed a bug that could cause the app to temporarily freeze while websockets were connecting.
– Unity: Tweaked number of tick marks on the graphs to better accommodate small phones.
– Unity: Fixed a bug that caused Small Earth Board Map to have some flickering on Moto G phones. Thanks to Karl for reporting this.
– Unity: If maps can’t be downloaded due to your device’s date/time being set incorrectly, the app now notifies you of this instead of giving an generic error.
– Unity WebGL: Fixed a bug that allowed pasting more text into a text box than was allowed, resulting in errors.
– Unity/UJS: Chat no longer scrolls to the bottom if it’s not already near the bottom. This allows you to scroll up and read earlier chat without it jumping back to the bottom when someone says something.
– Unity/UJS: Fixed a bug that could cause an error in commerce NLC games.
– Unity/UJS: Fixed a bug that caused an error when inserting invalid numbers into card weight box. Thanks to ReddRush1 for reporting this.
– UJS: Fixed minification bug for improved performance. Thanks to Muli for reporting this.

Prior to this update, there were three small big-fix updates that weren’t big enough to deserve a blog post on their own. Here’s the change logs from them:

4.08.1.1:
– UJS: Open Games list now returns commerce and modded games.
– UJS: Fixed a bug that made the Commerce Game checkbox not appear in Army Settings.
– Flash: Fixed “Open in UJS” link.

4.08.1.2:
– UJS: Enabled blockade dialog, as well as many other dialogs, to be draggable by their header. This makes them easier to move around. Thanks to elbee for reporting this.
– UJS: Fixed double question mark in single-player game URLs. Thanks to DanWL for reporting this.
– UJS: Fixed enter key inserting newlines into chat box. Thanks to 89thlap for reporting this.
– Website: On the Switch Mode page, removed the word “default” from next to Unity and put it next to UJS.

4.08.1.3:
– UJS: Adjusted the way the chat button responds to clicks+drags to make it more reliable to click. Thanks to krunx for reporting this.
– UJS: Fixed loading community level saves. Thanks to DanWL for reporting this.
– UJS: Fixed sorting friends on Create Game page. Thanks to DanWL for reporting this.
– UJS: Fixed searching for friends on the Create Game page. Thanks to DanWL for reporting this.
– Website: Fixed tournament names. Thanks to celticfridge for reporting this.

Update 4.08.1: UJS is now the default mode for new players

Warzone has just been updated to version 4.08.1! This update brings more features to UJS, and a few fixes and improvements to the website. Here’s what’s changed:

– UJS: UJS is now the default web mode for new players.
– UJS: Added toasts (boxes in the top right that tell you when you earn points or unlock achievements)
– UJS: Added level-up dialog.
– UJS: Added rules dialog for new players.
– UJS: Added quickmatch-template-unlock notification dialog.
– UJS: Added announcement support.
– UJS: Quickmatch real-time games now load in-process instead of redirecting. This improves performance and also makes the close button take you back to quickmatch instead of the multi-player dashboard.
– UJS: Fixed editing community level AI names and colors. Removed obsolete “edit details” link.
– UJS: Fixed editing custom scenarios with special units.
– Website: Removed “Promoted games” section of multi-player dashboard. These games are now included in the “Open Games” section.
– Website: Added a link to quickmatch on the multi-player dashboard.
– Website: Updated multi-player dashboard to use bootstrap for its layout.
– Website: The home page’s Play Now button now takes you straight to the tutorial for first-time visitors. It still takes you to the single player main menu once you’ve played at least one single-player game.
– Website: Fixed a bug that made Share On Facebook not work for players who didn’t sign into Warzone through Facebook.
– QM: Fixed a rare bug that could cause quickmatch to give an error. Thanks to DESTRUCTION for reporting this.
– Flash: When accessing commerce games or games with mods, it will now prompt you to open them in UJS intead of Unity.

Update 4.08: UJS nearing completion!

Warzone has just been updated to 4.08.0! This update adds a bunch of features to the new UJS client.

UJS Create Game

When your account is in UJS mode, selecting Create Game under the multi-player menu, or Custom Game under Single Player, will now launch the new Create Game UI. This UI is much easier to use than the old Flash one, and also supports all the new Unity features such as commerce games and mods.

It’s similar to what you would see if you were in Unity mode, except that it loads in a fraction of a second instead of in over 30 seconds!

More importantly, this reduces our dependency on Flash even further. Now, the only thing that Warzone still depends on Flash for is for map creation.

Other UJS Improvements

– UJS: Implemented the add/remove players button in lobby.
– UJS: The app now sets the page URL so that game links can always be accessed from the address bar, just like Flash does.
– UJS: Made some optimizations for faster performance on all UJS pages.
– UJS: External links now open in a new window.
– UJS: Fixed team brackets in the lobby.

What’s next

The next step for UJS is to implement toasts, the level up screen, and the quickmatch template unlock screen. Toasts are the small popups in the top right that notify you when you receive points or unlock an achievement. This is the last thing to add to UJS before it can be declared feature-complete.

Update 4.07.7: Small update

Warzone has just been updated to 4.07.7! This update contains some bug fixes and minor improvements.

This is a server update only. This means the server updates, as well as the Flash and UJS clients, but not the Unity client or iOS/Android app.

Here’s everything that changed:

– All: When creating fixed team open games, the game now gives a prompt confirming you really want to do this.
– All: Fixed a rare bug when publishing a community level that uses the army cap. Thanks to Panzerelite for reporting this.
– All: Fixed an issue when using the API with the Non Members Can Use Mods flag. Thanks to Krzystof for reporting this.
– All: Fixed a bug with boss4 that caused an error on community level 1157992.
– All: Fixed a rare bug that could cause invite notifications to be delayed and go out after a game had ended.
– Website: Fixed Share On Facebook. Thanks to DanWL for reporting this.
– Website: Fixed a bug that caused signing into an account in UJS or Flash mode to show the Play button immediately after signing in.
– Unity/UJS: When chat has plenty of room, it will give more space to the player’s name. Thanks to TBest for suggesting this.
– UJS: Fixed tooltips getting stuck in Firefox. Thanks to TStorm for reporting this.
– UJS: Fixed bonus links with negative sizes, such as was seen on the United States Big map. Thanks to TStorm for reporting this.
– UJS: Fixed recon card territory highlight. Thanks to Krzystof for reporting this.
– UJS: Fixed the Add/Remove Players button so it at least tells you that it’s not implemented yet instead of not working. Thanks to TBest for reporting this.
– UJS: Fixed issue with opening/closing chat rapidly that would offset the screen. Thanks to TBest for reporting this.
– UJS: Removed the far right vertical line in the Statistics table since it was overlapping the scrollbar. Thanks to TBest for reporting this.

With these fixes, the UJS client is now looking much more solid than before! The next step is to get the Create Game UI working in UJS, so that it won’t have to fall back to Flash like it does today.

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!