Generals!It looks like many of you are enjoying To the Bitter End. We’ve been reading your feedback and doing more play/testing ourselves. Most releases will have some small things that could do with addressing and tweaking, and to that end here is the first patch, 1.20.1.PATCH NOTES (Checksum 724a) Balance Reduced 'Defender of the Balkans' extra non-core manpower from 25% to 7.5% Reduced the Compliance Gain on 'Protector of the Orthodox' from +0.25% to +0.15% Reduced the Compliance gain from the Romanian Pioneering Sociologist advisor Dimitrie Gusti from +0.05% to +0.02%Gameplay When going down the ‘Relax the Royal Dictatorship’ branch, some of the Focuses will change their effect based on whether you have King Carol as country leader or King Michael. Slightly lowered the requirements to unlock the Romanian Focus 'The Turn of the Tide' (aka King Michael's Coup). The royal regency will now impact Michael's traits when he ascends to the throne. The Focus 'The Bucharest Security Convention' no longer requires faction leadership. Carol forcing advisors into office now refunds some Political Power if it dismisses others. Gave Gheorghe Avramescu the Infantry Leader trait since he is the Infantry Advisor. Improved branch hiding for the Romanian focus tree.Art The National Spirits 'Imported Romanian Harvest' and 'Defender of the Balkans' now have their own unique icons.Bugfix Romanian subjects will no longer refuse Balkan Union integration. Romanian non-AAT materiel designer Resita no longer has its discounted version always-visible. Removed a duplicate country leader check from Iuliu Maniu. Balkan Union cosmetic tag now correctly applies to late-game communist Romania. Removed historical filter from a few alt-history Romanian focuses (neither industrial branch is entirely historical). Improve the Romanian availability/bypass conditions for the monarchist diplomacy options. Civil wars should no longer cause a permanent political power drain in Romania's mechanic. Hungarian Axis application cancels if they've been puppeted. Fixed two Camarilla advisors having the same trait name. Fixed 'A Show of Force' focus checking the wrong flag and never unlocking. 'A Show of Force' decision no longer shows before the focus has been completed. Defeating the Axis before the 'Royal Gambit' decision timed out no longer blocks the rest of the focus tree. Total Balkan Domination achievement now correctly requires Attica. Public works events for Romania no longer mention Carol/the monarchy if they've been removed. Fixed Romanian regency council portrait having the 'Steel Crown of Romania' mistakenly colored gold. The Romanian starting National Spirit 'Romanian Armed Forces' now correctly affects the HP stat of your units, additionally the Focus 'Improve Army Medical Care' now correctly modifies that spirit.STUDIO GOLD UPDATEAnd now, on to a word from our Studio Manager.Hello Generals!We’d like to offer a different kind of dev diary today. I want to talk about our last update, and one part in particular:“Continued to improve the Multiplayer Experience.”That brief sentence hints at quite a lot of the work that has been done over the past 8–10 weeks.A few months ago, some of the larger multiplayer communities reached out to us, and since then we've been in contact with them to help us understand how cheating and griefing affect their multiplayer games. We also put together a small strike team within the studio to focus on the problem.Historically, this kind of work has been difficult, because it's hard to see all the different ways cheaters can attack the game. However, with recent advancements in AI, this has become a lot easier.We've been exploring AI tools for a while now at Paradox, and what is possible to achieve with them has evolved rapidly within the last year or so. That said, AI is just another tool in our toolbox. Games are still made by us.In this diary, I'll show you at a high level how we used generative AI (Claude / LLM’s) successfully in an area where this simply wasn't possible before.Our approachEarlier this year, AI had already helped us start tackling some of the online griefing: in the spring, we patched some of the 'lobby spam' that was happening. Here we used AI as a support tool to help us analyze the problem and implement the solution. We knew there was more work to do, but at the time our focus was on the anniversary update and the release of TAOG.After the summer, the multiplayer communities shared more information with us on how the cheats worked. By then, our understanding of AI had also come a lot further, and we were able to use these tools much more effectively.We started by analyzing the cheats we knew about, discussing within the strike team other ways the game could be attacked, and experimenting with various ways of defending against them. The team drove this process, deciding which approaches to pursue and using AI tools to help us explore and implement solutions much faster than we could have otherwise. One interesting discovery was how ineffective some traditional defensive techniques had become. We experimented with obfuscation (scrambling the game's code to make it harder for cheat makers to understand), but quickly discovered that AI is remarkably good at working around these protections. (We even get bug reports from players who have taken the game apart to read its code!)So we decided to focus on fixing the underlying vulnerabilities rather than trying to hide them.Changes to the Clausewitz engineEvery action you take in a multiplayer game, such as moving troops or building a factory, is sent to the other players as a “command”. With the help of Claude, we were able to rework our networking layer as well as the way these commands work.This effectively meant modernizing some of our old networking code. Along the way, we were also able to delete close to 20,000 lines of old code that were causing more confusion than they were helping. We were also able to analyze and update all of the 400+ commands in the game.The game now checks whether the player sending a command is actually allowed to send it. And even if they are, it also verifies that the values and results of the command are valid.For example, a player controlling France shouldn't be able to send a command that destroys a factory in Germany. Similarly, if an action has a cost, we shouldn't simply trust the cost provided by the player sending the command.If either of these checks fails, the player is removed from the game, and the rest of the lobby is notified about it.While simple in hindsight, this was an enormous amount of work that we simply wouldn't have been able to deliver in this time frame without AI. It has allowed us to tackle problems that previously would have been far too time-consuming to address.What does this mean for multiplayer? Cheaters can no longer exploit the vulnerabilities we addressed to modify other countries. Players attempting to manipulate protected commands will be detected and removed from the game. Lobbies are better protected against unauthorized connections, impersonation, and disruptive behavior Hosts should experience fewer games ruined by malicious players.Thank youA big thank you to the people from the multiplayer communities who reached out and have been in contact with us on Discord. Their help in understanding how the cheats worked was crucial.And of course, I can't overstate the importance of our QA & IT teams here. They helped set up an environment in which we could test various cheats against both the live build and the new build.I'm happy to report that the known cheats and griefing methods we tested no longer work against the updated game. That said, we understand that cheat developers will continue to find new ways of exploiting the game, and we won't stop working on this either.Last but not least, AI tools helped us deliver some of the other quality-of-life features released in the War Effort update, for example queuing intelligence agency upgrades and automatic diplomatic responses amongst others. It's been a great boon for the team. We're able to tackle work that previously wouldn't have been feasible, and spend more of our time on what matters: making the game better.We see AI as a tool that helps us as developers, and I think the anti-cheat work is a great example of what it allows us to achieve./PDX_Gorion