1. Ymir
  2. News

Ymir News

Server optimisation update

This update brings major memory optimizations for servers, to fix the “out of memory” errors that started poping up on older servers with a lot of content. This update can reduce up to 60% the RAM used by the servers, and also comes with a small performance improvement.

Besides that, this update also brings misc fixes for bugs and issues. Notably, issues related to modifying the terrain or platforms around water. Water will now update in realtime when digging, and digging tools are now unlocked around bronze age along with wooden platforms and towers.

This update also adds a new “My games” tab in the ” Join game” menu: this tab lists all your currently played characters (on the same pc), and allows to conveniently load them directly, whether its a local game or a multiplayer game.
For multiplayer games it also saves the last known address of the server so that you can connect even when the steam lobbies mess up and that the server doesn’t appear in it, which tends to happen.

Server optimisation update

v0.1.5.x
– major server memory optimisation
– minor server performance optimisation
– server auto-deletes aknowledged old events
– server auto-deletes dead characters data after a certain time
– server auto-deletes old finished treaties
– lowered region decay treshold in realtime/solo games
– fixed display problem when selecting neutral territories on the worldmap not showing their colors.
– renouncing occupied territories now gives it back directly to the occupied player instead of rebels.
– fixed bug with platform destruction tool applied to all tiles event when there’s no platforms.
– water modification now updated and visible in realtime when modifying the terrain.
– fixed logic issues with terrain and water modification.
– fixed stone tower having officials instead of guards.
– fixed some issues with CJK fonts.
– fixed succession votings not working.
– added “my games” into the Join Games menu, allowing to directly save servers and characters being played and to join the directly.
– fixed a display issue on the worldmap causing regions to be visually missing.
– fixed sending treaties and texts to server not timing out when failing, and causing a client crash.
– added crushing defeats on settled territories to prevent spamming exploit.
– unlocked terraforming and wooden walls and towers earlier in bronze age;
– increased demand for truffles
– occupied cities no longer lose claims

Bugfixes update

I’m back after a month of vacation 🙂
This update brings a bunch of miscellaneous exploit fixes and small rebalances.

One significant change is that from now on, below -200 of state power, players will directly lose armies and territories as their state collapse, effectively triggering a game over unless the situation is fixed quickly.

Most other fixes are here to counter exploits that have been rampaging through the servers.

Now another issue that most games have is that they reached their “end” but have yet to be won officially.
Therefore they keep going on while players leave, and its creating a rather anti-climatic end.
For this i’ll be reworking the score and endgame until i can get these games to effectively end. This will also allow me to finally restart new fresh games on the official servers.
As a first step in this direction i’ve made a change to the PAR score calculation, which will result in more Victory Points for the leading nation getting them closer to effective victory.

Bugfixes update

v0.1.4.x
– fixed armies not paying AP for their action when retreating
– fixed exploit when converting militias into armies
– added more infos in persistent games lobby
– fixed cultural integration (dismantling) not reset for vassals of a player joining a nation by treaty/vassalization
– fixed UI problem with owning character of occupied territories on the worldmap
– rebalanced “PAR” score calculation: now based on an average that ignores the score component of score gained from subordinates -> will increase VP of dominant nations.
– fixed issue with battles display for long battles causing them to visually restart/reset.
– added “government collapse” events when below -200 state power, causing direct loss of territories and formations.
– empty cities (0 pop) will decay even if they belong to active characters.
– fixed problems with hardware survey failing from unusual characters in windows username.
– fixed ui problem with the tutorial
– adding new character missions
– distance penalty for cities does now maxed at -95%
– horses and camels +1 nb attack
– adding ideas trigger bonus in solo mode to ensure all techs ideas can be unlocked
– school intelligence bonus lowered from 15 to 10.
– fixed problem with networking socket ids
– fixed problem with server auto-close
– rebel cities not elligible for decay for about a week after rebellion , in persistent speed
– fixed spawn bonus too strong in newly created games when it should remain at 0 in the first days;
– reorganized and debugged issues with tutorial
– converting militias depletes all AP
– fixed national armies controllable even if you’re at war with their owner
– fixed gaia cities giving movement bonus
– server offtime no longer counts towards character inactivity timers
– fixed too many animals on worlmaps

The revitalization update

This is a significant update.
It will start by being available only on the Tester branch for a few days until its ready to be applied on the default branch.
Also note that the only official server running on the Tester branch is the Official Test Server 1. You’re welcome to join it to try the new update before its applied to the public branch!


I hope this update will be a good step towards convincing more players that joining older servers can be a viable option rather than seeking primitive tribes exclusively. The lifespan of players is lower than the one of the servers, thus its critical to get a successful system of late-game starts to prevent the servers decay around bronze age.

Improved advanced starts

]This update focuses mainly on improving the late-game starting conditions, with many new features. The goal is to allow for “stale” servers to regenerate by convincing more players to join ongoing games and by cleaning up useless abandoned settlements.

* New players now receive the best available starts matching their selection rather than a fully random one. To achieve this, each start is now assigned an internal value assessing the quality of a region based on its buildings, population, techs, and natural resources. The best available value is also displayed when creating a new character, next to the number of available starts.

* Servers now provide a global start bonus based on the server’s age and lack of active characters. The older and more depopulated, the higher the bonus for new players joining. This bonus is also displayed on the persistent server list. The goal of this bonus is to incentivize the repopulation of abandonned servers. This bonus affects starting resources, money, techs and population.

* Starting techs are improved and inherited from the average of nearby characters

* Starting resources are improved to prevent being immediately blocked and being unable to do anything.

* Government policies are now automatically reset to prevent confusion, and matching the development level of the inherited territory.
Starting players now receive automatic knowledge-storage buildings (libraries) to match their current knowledges so that they dont start in negative capacity unable to research new techs. A new ‘stone age’ storage was also added, employing oldpigs, and providing a basic way to expand knowledge capacity even before writting, to prevent tech deadlocks.

* Starting players also receive automatic warehouses -when possible- to avoid stocks overflowing from the new resources. Excess resources from the inherited territory are also auto-cleared (ex an inactive territory with 2000 of mud and little of everything else ).

* Diplomacy is automatically cleaned up for new players: all treaties and wars with inactives characters are cleared, to reduce confusion.

* Regions and nation decay was added: besides new players starting on the best available starts, the bottom ones now also decay and get auto-abandoned thus clearing the map of all the useless and worthless abandoned settlements. In the same way, abandoned Nations can now decay if its leader remains inactive for too long: if that happens, every other inactive character in the nation will auto-leave, causing the nation to explode. This clears the score board and also ensures that each nation character becomes in turn eligible as a starting point for new players, completing the regeneration of the server.

Networking update

As mentioned in a previous post, this update also contains a significant networking update to improve connection stability and circumvent issues with the engine’s networking that i unfortunately have no control over.
This update should improve problems of infinite loading times and random “ping timeouts”, especially for players encountering those unusually often of for big players unable to keep playing because they couldn’t load their character or cities anymore.
However I can’t guarantee it to fully fix it as the root of the problem is still there and cannot be directly fixed.
Because its a significant reorganization it might also generate new bugs in the short term, but overall it should greatly improve the quality of life for people having constant disconnections in online multiplayer.
This update should also fix or reduce the problem of the game losing connection when minimized or out of focus (unconfirmed).

Hardware survey and Linux

I’ve replaced the infamous hardware survey by a different better method that should be less likely to trigger AV programs, and less likely to be blocked from executing and to therefore cause the “hardware survey failed” error when starting the game.
This also restores the game’s Linux compatibility (through wine), as these scripts were not compatible with it.


The new primitive ‘knowledge storage’ building, to avoid tech deadlocks.


The revitalization update

v0.1.3.x
– added start bonus factor affecting all advanced starts and proportional to the server’s runtime and need for new players.
– auto-setting policies when new character spawns in an advanced start
– added auto spawning of libraries for new characters to match knowledge capacity with current inherited knowledges
– improved procedurally given knowledges at aspawn to better match the inherited city and game stage
– added auto cease-fire and ending treaties with all other inactive characters , when starting as a successor.
– best spawn value matching settings is now displayed in the create character menu, and best type is selected by default
– fixed problem of enemy armies on empty cities being incorrectly considered as the attacker when engaged, causing battle AI issues
– added Nation decay, triggered when the nation leader remains inactive for 1.5x the max inactivity time.
– fixed ruins not being visible in region view
– added auto-abandonning of the least valuable cities of inactives and rebels, based on the average value of all other existing cities.
– fixed rebel cities remaining in “occupied” status when owned by rebels.
– fixed problem of state ownership of resources put for sale in markets.
– reorganized the data of the building AI prototype, to prepare for future improvements.
– improved anti-cheating (still passive).
– improved hardware survey at startup and restored Linux compatibility (through wine).
– added new primitive knowledge storage building: elder’s circle.
– added capacity for buildings to employ oldpigs or sows.
– improved network stability when under strain to prevent loading failures and ping timeouts
– data transfers from client to server now operate on a different socket that can auto-reconnect when failing.
– potentially fixed minimized game causing connection losses.
– improved networking debug diagnostic tools
– improved connection process
– improved ping loop process
– improved data instances transfer
– fixed crash from placing roads on bottom left corner tile
– clearing all events from previous player when spawning as a succession.
– added a ‘value’ measurement of regions and spawns so that new players start in the best available ones in priority, to improve the quality of starting late-game.
– colonies belonging to an inactive character ar 50% less valuable for spawn
– spawns in multi-player nations are more valuables
– succession starts of subjugated characters are much less valuable
– succession starts of characters with an inactive superior are less valuable
– natural resources increase the value of a spawn (except for primitve tribes)

News about the next update...

Hi, fellow Porcos!

I though i'd share a bit about the next update and what i've been working as it could take some time before its ready...

Since the release there's been many reports of unstable connection for some users. I've been investigating this on and off since then, and especially now for more than a week non-stop.
After extensive testing it turns out the networking of the engine i'm using is... broken. It is buggy and as soon as there is a bit of strain or too much traffic, it simply breaks.

This game implies a lot of transfers as there is a lot of data such as building lists, resources, techs, worldmap etc, especially during the loading times.
So it turned out that was the main cause of why some users experience connection timeouts or infinite loading times.
This is very likely to trigger as soon as the connection between client and server is slightly unstable ( distant server, short lags, bad wifi, packet drops across the network etc... ).
Now these should not normally cause any issue, but something is broken somewhere in the networking engine and its causing a failure that i cannot fix myself: long story short the engine i'm using is pretty closed and i have no direct control over it. There is also no hope for any fix from its devs either.

Therefore for the past week i've been entirely focused on trying and experimenting to see if I could find any way to workaround whatever's broken in that networking engine, but i'm working blind here and its making this a very time consuming task. I have found ways to improve things, and i'm still working on it, and i hope the improvements to be significant in connection stability for players although it might never fully fix the issue, as the root of the problem is beyond my control.

This is just yet another issue i'm having with this obsolete engine, which has now been a constant source of issues and limitations.
That is why I've started looking and learning the basics of Unity, an engine much more adapted to the needs of this game, but this is a very long term goal and would be a HUGE task. I am merely learning the basics of it right now, on whatever free time i manage to muster which is not much! So its more of a wish than an actual plan, at this stage.


The second main focus of the next update will be a global update of how advanced starts work.
Many people are asking "when will there be a new server" while many servers have plenty of available spawns. The problem being that there are currently too many issues with it and players are not convinced to use them.
Rather than restarting servers who would always be doomed to end by the same decay, my objective is to improve late game starts so that a stale server may be able to regenerate itself with new players.
For that, many improvements and fixes are needed on how late game starts work, and the next update will bring many improvements about this so that hopefully new life can be brought to older servers, as the cycle of players and empires is simply a natural process that can't be avoided: if players can't be convinced of the validity of late starts, every server will always go stale after the majority of first wave of players leave.

So that's it, just wanted to give some news so that my apparent silence isn't interpreted as not being actively working on the project!

The animated update



This update is mostly visual and adding many new building animations -and sounds- to add more life to cities and buildings!
It fixes also issues related to windwheel and waterwheel annexes.



The animated update

v0.1.2.x
– added many new building animations
– added new building sounds
– fixed display issues with windwheels and waterwheels
– fixed annex number limit not working (ex windwheels)
– docks required depth reduced to 2 for all docks
– fixed UI issues with autocomplete (ex resource names in trading tab)
– fixed claim action being available to adjascent to outposts
– fixed problem allowing walls to be built in water
– state resources distributed to population no longer generate income if unsold -> now considering sold amount and not distrib amount.
– fixed UI issue in servers lobby with server side pannel beeing beneath server list.
– Fixed a battlecode error