The multi-servers update

This update makes it easier to run multiple server instances on a same device, by making config and log files specific to every game thus avoiding the problems of conflicts when running multiple servers on a same PC.
Thanks to this i’ll be able to run multiple official games to accommodate more players.

Besides that, this update focuses on various re-balancing to fix gameplay flaws and exploits.
As with previous updates, this is still monopolizing most of my time and sadly it keeps delaying new features and more interesting updates.

The multi-servers update
v0.0.22.x
– modified logs and config files to allow running multiple server instances on the same machine: each game server now has its own sub-config file and logs folder, to avoid them colliding with each other.
– resistance is no longer fully cancelled when dismantling a territory, but its not generated either: it remains unaffected.
– storage policies are now resetted when a region changes ownership.
– colonies now count as a friendly city for AP recovery.
– state ownership is reset to 0 if in gift economy.
– fixed bug causing pillage loot to be doubled.
– fixed retro-compatibility patches applied by mistake on new games.
– claiming and unclaiming territories is now performed by formations as an Action and it costs Action Points.
– unclaiming a territory now costs 2 of Honor.
– it is now possible to reclaim territories claimed by enemies when at war.
– going back to gift economy now costs a penalty of loyalty.
– territories of inactive nation members can’t be dismantled anymore if the territory joined the nation recently.
– honor is no longer capped at 100 and -100.
– players with negative legitimacy now suffer desertion of their troops (effect similar to over-draft but faster the more illegitimate you are).
– max tax and state power transfer in nations lowered to 25%.
– “leader superiority” legitimacy from the leader’s wealth is no longer linear -> it’s now tends to a max of 160 around 300 of wealth.
– increasing taxes (when above 25%) now causes an immediate loyalty penalty when passing the reform (-2 per %).
– increased high taxes loyalty penalty. now starts gradually at 25% taxation instead of 50.
– reduced peat tiles productivity & work by 2.
– increased range of mudcamps and clay exploitations.
– reduced cost of taxation policy from 10 to 5 state power.
– removed the “seize materials” policy.
– underwater tiles are no longer exploitable by production buildings.
– fixed bug where encamping and moving actions where missing in enemy territory.

The Partisans update

This update adds Partisans, a different type of rebellion now specific to “resistance” from invaded cities. Partisans uprisings can happen regardless of the loyalty level of the city, as long as there is resistance.
Each uprising however lowers the level of resistance.

This update also adds limited ammo for ranged units in battle, and increases the cover provided by defensive walls and battlements.
This should fix the problem of range units being the best offensive unit as they could wipe out entire defenses not matter the fortifications, provided they had the highest range. Now, range units will deal much less damage, and once their ammo is depleted they will retreat and leave the battle.

Lastly, Nations now provide automatic right of passage, trading agreement, and defensive pact: if a member is attacked, all other members will automatically declare war as well, with the breaking closes being on the side of the initial aggressor.
This will help national armies to become relevant as they’ll be immediately usable in case of attack, unlike before where each nation member would have to declare war manually once online, so that his national armies could be used.

The Partisans update
v0.0.21.x
– reduced home distance malus of AP recovery from 5 to 3% per tile.
– changing home of a formation now depletes all its AP and auto-encamps it.
– it is no longer possible to renounce control of a region that has an active resistance mouvement
– removed honor penalty when renouncing control of a region
– removed honor penalty when losing a region to rebels
– added a different event for rebellions caused by resistance: partisans uprisings. They can happen independtly of the region’s loyalty and tend to be better equiped than rebels.
– partisan uprising events lower the level of resistance in the city proportionnally to the strength of the uprising.
– losing a city to partisans has an honor penalty proportionnal to the amount of resistance in the city
– removed auto-encampment when ordering a movement or actions with insufficient AP for it
– removed AP cost of disbanding troops
– doubled AP cost of transfering troops
– fixed an error causing battles to be invisible in the region view (and potentially other battle related bugs).
– increased coal output of coal terrain tiles
– rebel regions rejoining their legitimate owner now get a free restauration bonus
– added ‘ammo’ to units in battle -> attacking range units with depleted ammo will retreat from the battle, defensive units will idle.
– defending armies in cities get a x5 ammo boost.
– increased cover from palissades and defensive battlements.
– cover (when >0) is now displayed next to troop banner flags, when deploying them and during battles.
– fixed palissades not providing cover for the tile on the other side of the wall.
– It’s no longer possible to abandon buildings in resistant cities.
– It’s no longer possible to respawn on a character/city you were the last player to control.
– fixed issue with missing events of “crushed” battle resolutions
– nation members now get automatic right of passage and trade agreement
– nation members now get automatic defensive pact (if one member is attacked, all others auto-declare war legally)

The Action Points update

This update adds Action Points for armies: from now on, moving and performing actions such as attacks costs Action Points.
Action Points recovery is slow, but a new action has been added: “encamp”, that increases the recovery speed greatly but locks the Army until it has at least 50 AP.
Being in a friendly city, or even better in its home, also provides a significant bonus while being far away reduces it.

The terrain is also now much more strategic, as tiles cost different amounts of “Movement Points” ( boot icon ): mountains, hills, or rivers, are now really costly to move across.
Territorial claims now play a more important role as enemy terrain doubles movements while friendly territories reduce it (any territory with right of passage). 
Also, cities have a fixed movement cost regardless of the terrain, allowing to create strategic mountain passes.

Each army has its own AP movement cost, depending on its content. Armies made fully of mounted units get a significant bonus while army size increases the cost proportionally: a small “scouting” formation of 10 horsepigs will be among the fastest moving formations while a large army of infantry will be very slow.
If your formation has a movement cost of 10AP and you move across a terrain costing 3 Movement Points, then it will cost 30AP to complete the movement.

The reasons for this new system are multiple :
– It increases the feeling of distance and world size, making it much harder to go far away.
– It makes war more tactical with movements and terrain playing a more important role.
– It prevents exploits and unfair-play behaviors such as an attacker waiting 4am to move his huge army across the world, spam Raid all of a player’s cities 8 times in a row to raze them, and move back to the safety of his castles all in an hour and before the defender even realizes it.
– As attacks will deplete the AP of armies, they will be effectively “locked” encamping in the neighboring territories after the battle, giving a chance to the defender to organize a counter-attack.
– This system allows to limit and slow down movements of large armies during wars without penalizing too much day-to-day movements between your own cities close to each other, such as transferring resources with carriers.

A new movement UI also allows you to see the available actions and preview the AP costs of movements.

This update also includes a re-balancing of Resistance and Loyalty mechanics to counter multiple new exploits recently used by hostile griefers (yes, they’re already here!).
Resistance is now much higher and proportional to the city’s population, while authority given by armies is now based on both numbers and “military power”. 
The “military power” of civilian units is also greatly reduced, so that civilian armies can no longer be used to provide easy loyalty bonuses.
Resistance is no longer a unique value, but multiple, saving resistance vs each player so that exploiters can no longer game the system to “clear” it artificially by transferring the invaded cities among them.

 

 

A new movement UI now allows you to select available Actions directly, and also previews AP movement costs.
Action Points are now required to move formations and perform actions like attacking.
Depending on the army’s constitution, each Movement Point costs a variable amount of Action Points.

 

The Action Points update
v0.0.20.x
– added Action Points for formations, required to perform actions such as movements or attacks.
– added Encamp action, locking the unit until 50% of AP are restaured but increasing the AP recovery speed.
– new movement UI, with movement cost previews and a new ‘buttons wheel’ listing available actions shortcuts.
– formations will auto encamp when they can’t complete a movement or action.
– enemy territories cost double mouvement.
– friendly or owned territories cost reduced movement. Cities cost 0.5 movement no matter the terrain.
– moving close to a formation’s home cost reduced movement.
– Armies and National armies now cost 5 state power each to maintain.
– Added a few new exploration events
– fixed exploits allowing to cancel resistance level in a newly invaded city.
– changed resistance calculation when a region is changing ownership: now takes in consideration both loyalty to previous owner but also cultural influence of the new one + now proportionnal to the city’s population. resistance in large cities is now likely to be much higher.
– changed calculation of loyalty bonus/malus from armies and militias: now takes both military power & numbers in consideration. weight of it is globally decreased.
– fixed bug with merchants having an invalid supply.
– fixed bug with range covers not working.
– fixed national armies not providing authority to other players of the same nation.
– reduced “power” stat of civilian units.
– fixed exploit used to avoid exploration events: its no longer possible to disband/recruit in formations that are immobilized (by events).
– fixed bug where defensive troops’s autodelpoy would deploy them directly on top of incoming enemies.
– fixed multiple display issues with lower resolutions.
– fixed issue with formation’s status not updating correctly on the worldmap
– fixed comments displayed out of screen for UI elements at the bottom of the screen.
– increased distance factor cargo cost in trade routes
– a formation whose path is blocked by an hostile unit will auto-cancel its mission and movement (unless that world tile is its target).
– defeated units in battle no longer attempt to retreat to their home.

The anti-exploits update

Time for a new update, finally!

 

This update focuses on many gameplay changes to fix balancing issues and exploits.

Elephants
Elephants and Mammoths have been a consistent source of exploiting,  used by some players to become pretty much unbeatable and making this unit too central to military gameplay.
A number of new changes have been made to counter these flaws associated with them: 
– To counter players storing all their livestock -including hundreds of hoarded elephants and mammoths- in their army’s inventories (to avoiding having to maintain labor intensive paddocks), animals may now escape and be lost from the inventory via an event, especially if kept in large numbers relative to the units guarding them. The only way to keep them safely being with proper paddock buildings.
– To counter players keeping hundreds of elephants as resource and only insta-recruiting them for war (avoiding the high upkeep of these units), elephants can now only be stored in a special Elephant pen building (they cannot go into regular cheap paddocks anymore) that costs high maintenance and can only store 1 elephant.
These 2 measure should help avoid that a few players monopolize hundreds of elephants, and to counter exploits allowing to escape the high cost of maintaining a few elephant units, as it should remain an elite and expensive unit.

The new “Elephant pen” building.

Inacessible areas
To counter players deploying troops or placing buildings such as defensive towers in inaccessible areas on purpose ( building a staircase to access a hilltop/wall > building there > deleting the staircase afterwards ), any building in an inacessible area will now be auto-abandonned. Troops deployed into inacessible areas will also auto-redeploy to default positions.

Spawn griefing
To counter players using a second account (or their own) to repeatedly spawn as colonies of a target enemey in order to sabotage them from inside, or to spawn in a nearby inactive player as its successor before using all its resources to suicide against that enemy, the spawning rules have been modified.
– The basic cooloff period is now exponential and increases at every new character made in that same game.
– Colonies and successions are now “Precious starts” with their own cooloff period of 15x the default one ( that’s 15 days in persistent ) regardless of the player’s main cooloff and affecting all the Precious start types as soon as one is used. Therefore a player starting as a colony will not be able to restart in another one for 15 days even if its his first character with a 1 day cooloff.
– To prevent players using the “spawn close to” feature to spawn near their enemies in order to sabotage them by suicide and griefing, all characters now have a unique “invite code” which must be communicated to the new player willing to spawn close, ensuring that this feature can only be used between consenting players.

State power
Many exploits involving the milking of inactive/dead characters to provide high amounts of extra State power to Nations in order to allow them to grow bigger have been countered.
That includes auto-removal of dead characters from nations, limitation of the transferable State power via treaties, and freezing of state power and tax transfers from inactive characters.

Representative money
Representative money proved itself too problematic for the game balance as it trivialized all the other mechanics and difficulties of the economy by being too powerful and easy, making some players infinitely rich.
Until it can be better modeled by the addition of some gameplay mechanics, its effects have been mostly disabled. 
As a placeholder solution and to keep Gold and Silver relevant in the meantime, these 2 metals are now a attributable resource that fills the need for Luxury of the population.

 

 

The anti-exploits update
v0.0.19.x
– fixed decimals not working for trade route amounts
– fixed 3rd party operators in your trade network not being available in the trade route menu.
– added various extra warnings and ‘first time’ tutorial messages.
– added ‘Invite codes’, which are codes specific to every character and now required when trying to spawn near a specific one. This ensures a player may now only use the ‘spawn close to’ feature with the other player’s agreement, as he must have his invite code.
– respawn cooloff is now variable and increases at each respawn
– added a ‘precious start’ attribute to colony and succession start types. they have a x15 cooloff (so 15 days in persistent) once used, regardless of the player’s spawn cooloff.
– fixed animal resource icons
– elephants/mammoths now have their own ‘paddock’ building that can only store 1 elephant and costs high upkeep. They can’t be kept in regular paddocks anymore.
– animals kept in formation’s inventories can now escape, especially if kept in large numbers relative to their keepers.
– fixed recycled materials not being state owned
– fixed bug when demolishing fields of recovering wheat instead of the field’s food
– fixed the number limit of some annexes (ex: windwheels per mills) not working
– fixed barbarians targetting territorial claims
– fixed building tab displayed in territorial claims
– decreased score cost of victory points.
– subordinates now contribute to the score. players receive a fraction of their subordinate’s scores.
– territories now requires <10 of resistance to be made a colony: it is no longer possible to immediately make colonies out of invaded resistant territories
– slowed culture decay of foreign cultures in regions
– some armors now cost additional leather to be crafted
– gold and silver can now be distributed to the population and fill the need for “luxury”
– greatly reduced wealth gained by gold and silver stocks (with the representative money policy)
– increased ‘cover’ of all battlements
– added more tutorial messages
– fixed a bug where recycling planned constructiosn of platforms gave back materials
– buildings in inacessible areas are now auto-abandonned
– fixed exploits with deploying troops in inacessible areas
– max transfered state power by treaties is now 25%.
– active characters with no territories are now ‘powerless’.
– inactive characters with no cities are now auto-abandonned from their owning player, and therefore becoming directly “dead”.
– dead characters with no subordinates are auto-expelled from nations
– dead/powerless characters have 0 production of state power.
– dead/powerless do not transfer taxes or state power in nations.
– treaties with dead characters are auto-ended
– transfer of coins or state power in treaties is frozen for non-active characters
– fixed an issue with resistance when liberating your own cities
– added support for decimal material costs
– recycling infrastructures like roads, fences or walls now recovers 50% of its materials
– small fences now cost only 0.5 of wood or stone.
– fixed purchased resources on markets not being state owned.
– WARNING: fixed calculation errors of income from state-owned resources. the error generated extremely high income in some cases, allowing for exploit.
– fixed incomes from state resource sales not being subjected to waste
– added server the option of enabling a daily autorestart at a specific time
– fixed state purchases not counting in supply/demand price factor
– light helmets cost less metal
– increased upkeep of heavy shields, cuirass and heavy helmet
– increased attack skill and damage of battleaxes
– increased armor of armored elephants
– fixed issue with mass bonus in melee charges
– bows cost less materials
– silver is slower to produce
– slightly reduced the city-size malus affecting breeding willingness of porcos
– slightly reduced additionnal health bonus from mutiple foods above 4
– fixed state ownership loss when transfering resources from different warehouses
– fixed recycled resources from demolishing building not being state owned
– you now recover 50% of the previous building’s materials when upgrading it

The State resources update

After the last update added “profitability” to buildings, adding depth to the economy and making it much less forgiving, this new update adds “State resources”, which will alleviate the issue of having to use heavy subventions on buildings producing resources mostly used by players such as tools and weapons. 
Since profitability was added, these buildings became really difficult to maintain active and players had to use overkill subventions to make sure the workers would have enough income no matter what their production was. This method was really wasteful and impractical.

Now i’ve added proper State-owned resources : you  (the state) can own directly a portion of the stocked resources of a territory.
This amount is now clearly shown in the resource menu.
You don’t pay for resources you already own when using them ( ex for building new stuff ).
You can also set it to auto-buy a specific amount of resources, or more interestingly to buy the whole production continuously, making it a “State resource”. 
This option will be really interesting for strategic resources mentionned above, as you can now make it that the whole production of tools or weapons is automatically bought when produced, ensuring a regular profitable income for the producers without the need of subventions, while not having to pay for these resources later on when using them to build or recruit units as they’ll already be yours.

The new sub-UI to manage State ownership of a resource. It tells you how much resources are currently owned by the state and allows you to control it.
Loading resources into a formations now requires you to take ownership of these, which means paying for them if u don’t own them already.

 

Besides that, Trade routes now have dynamic prices. The price initially set serves as a minimum limit.
If the local price at the destination is high, the price of these goods will increase in the trade route itself as a consequence.
Because the price in these trade routes also influences the local price in the exporting territory, it means prices are now more likely to spread across regions and something worth 50 in a territory is less likely to be worth 1 in the other territory producing and exporting it.

Also, lots of other minor modifications and fixes, including some improvements in the battle code regarding range units and melee units in defensive zones.

 

The State resources update
v0.0.19.x
– added state-owned resources: a portion of the stocks that belong directly to you (the state) and do not require buying when using
– added state auto-purchasing of resources production, allowing you to autobuy strategic resources (like weapons and tools) thus facilitating the management of their industries profitabilities.
– trade routes now have dynamic prices. price can increase above its initial minimum if the goods are highly priced in their destination.
– fixed bug of corrupted invisible subvention policies
– fixed issue with Marshals not getting visibility from national armies
– increased scale armor upkeep from 0.2 to 0.3
– increased battleaxe damage from 3 to 4
– tavern service consumes less alcohol
– melee troops assigned to defensive zones may now exit their zone if enemies outside of it are in the same area and actively engaging allies (ex firing at other toops in the defensive zone)
– improved behavior of ranged units in battles: better range detection and they react to enemy charges by firing at least once before being engaged into melee
– fixed issues with raiding and pillaging buildings not working properly
– resistance when taking over a region is now limited by total number of actives in it so that an almost empty territory cannot generate full resistance levels anymore.
– fixed issue of resistance disapearing when transfering invaded regions to other players and allowing for an exploit.
– fixed mounted archers not requiring composite bows tech
– fixed difficulty not resetting when spawning as successor of an existing character
– plaster consummes less limestone
– plans consummes less paper
– reduced clay material cost of justice and school services.
– fixed issue causing clogging of the auto-placement of buildings on the servers.
– dismantling territories (of inactives in nations) now transfers ownership without any penalty: no resistence and auto converts culture.
– fixed servers being delisted from steam lobbies after a while (new attempt).
– lvl 2 hunter efficiency slightly reduced. lvl 3 increased.