Metin2: how to test a patch on an isolated copy before the live server sees it
Posted: Sat Dec 05, 2026 4:51 pm
<r>
Most patch problems are not discovered in the patch notes. They show up after the live server has restarted and a player cannot log in, or a character is missing an item, or a new quest entry check fails. The cheapest time to find those problems is on a copy, not on the live server.
Make the copy separate
The first step is to make the copy separate enough that a mistake cannot reach production. That means a separate database, a separate game directory, and a separate listen port. If the test server can write to the live database, it is not a test. It is a second live server with the same risk.
What to copy
If the server is running, either stop the write process or use a database snapshot that is consistent at a single point in time. A copy taken while writes are running can look valid and still be missing or half-written rows. Restore the dump to the test database and check that the restore finished without errors before you start the test server.
Then point the test server at the test database and the test directory. Use a different port and a different hostname or IP. Make sure the test server cannot reach the live game ports, and that the live server cannot write to the test database. The simplest version is a separate machine or a separate container with its own firewall rules.
What to test
The first test is not "does it start". Check the paths a patch is most likely to touch:
When you are ready for live
Do the same thing in a maintenance window: take the final backup, record the build and file versions, apply the patch, and watch the logs and player reports for the first hour. Keep the pre-patch backup and the old build available until you are confident. A rollback you have never tested is not a rollback.
The common mistakes are simple: pointing the test server at the live database, copying files while the server is running, keeping only one backup, and declaring success because the login screen works. The login screen is the first test, not the last.
A patch like 26.2 is a good example. The Infernal Dungeon entry checks and the Yin and Yang progression touch character state, item use, and quest-style gates. If the copy handles those, the rest of the patch is more likely to behave.
Source: Metin2 update 26.2 announcement
</r>
Most patch problems are not discovered in the patch notes. They show up after the live server has restarted and a player cannot log in, or a character is missing an item, or a new quest entry check fails. The cheapest time to find those problems is on a copy, not on the live server.
Make the copy separate
The first step is to make the copy separate enough that a mistake cannot reach production. That means a separate database, a separate game directory, and a separate listen port. If the test server can write to the live database, it is not a test. It is a second live server with the same risk.
What to copy
- The database, or a recent dump of it. A copy of the files alone is not a copy of the state.
- The server build and all of its data files: configuration, item tables, quest tables, drop tables, and any custom maps or scripts you rely on.
- Any plugins, modules, or third-party components that the live build uses. A patch that works on the core server can fail because a module has a different version.
- The current logs, so you can compare errors before and after.
If the server is running, either stop the write process or use a database snapshot that is consistent at a single point in time. A copy taken while writes are running can look valid and still be missing or half-written rows. Restore the dump to the test database and check that the restore finished without errors before you start the test server.
Then point the test server at the test database and the test directory. Use a different port and a different hostname or IP. Make sure the test server cannot reach the live game ports, and that the live server cannot write to the test database. The simplest version is a separate machine or a separate container with its own firewall rules.
What to test
The first test is not "does it start". Check the paths a patch is most likely to touch:
- Login and character selection, including a character with items, a guild, and a party.
- Item ownership and counts, especially high-value items, mail, and the auction or private shop if you have one.
- Quest state, including quests that are in progress and quests that depend on tables the patch may have changed.
- Trade, PvP, and reconnect behavior, because those are the paths that hide data inconsistencies.
- The new or changed system itself, using the same entry requirements and the same repeatable action a player would use.
- A save and reload, then a restart, to see whether the state survives.
When you are ready for live
Do the same thing in a maintenance window: take the final backup, record the build and file versions, apply the patch, and watch the logs and player reports for the first hour. Keep the pre-patch backup and the old build available until you are confident. A rollback you have never tested is not a rollback.
The common mistakes are simple: pointing the test server at the live database, copying files while the server is running, keeping only one backup, and declaring success because the login screen works. The login screen is the first test, not the last.
A patch like 26.2 is a good example. The Infernal Dungeon entry checks and the Yin and Yang progression touch character state, item use, and quest-style gates. If the copy handles those, the rest of the patch is more likely to behave.
Source: Metin2 update 26.2 announcement
</r>