Hey!
With the holidays coming up, I’m sharing a fully functional, complete N2PLAY server package, ready to run and further develop.
Original compressed leak size: ~17 GB
Final compressed size (after my optimization): ~5–6 GB
Clean, well-organized structure
Ready to work immediately after download
Recompiled Game Client
No packs – perfect for further modifications
Full, unpacked client
FoxFS Archiver
Modified .bat files from original N2
➜ allow full and correct client packing
New, rewritten data structure responsible for:
items
mobs
objects
collisions
Main proto files:
cube_proto
– New structure responsible for cube (crafting system in Metin)
item_attr_proto_server
– New structure responsible for item bonuses (1–5)
item_attr_rare_proto_server
– New structure responsible for item bonuses (6–7)
item_proto_server
– New structure responsible for in-game items
mob_proto_server
– New structure responsible for mobs / objects / NPCs
object_proto_server
– New structure responsible for building-type objects, collisions, etc.
refine_proto
– New structure responsible for the upgrade system
skill_proto_server
– New structure responsible for skills and passive skills on the server
Overall, thanks to these structures, client-server communication works smoother and better.
This is clearly noticeable in PvP – no delays when casting skills, etc.
Rewritten quest parser
Automatic quest generation in multilanguage mode
Contains:
ready-to-use SQL files
recompiled Windows server
Slightly rebuilt structure compared to the original leak
Client:
slightly modified
fixed known bugs
Package prepared for local work on Windows
Full 64-bit architecture
Entire ProtoBuff rewritten
One of the best client optimizations available
Smooth:
transitions between loading screens
teleportation between maps
texture rendering
font loading
model loading and rendering
FPS drops during long gameplay
lags when loading objects or cities
black screens after long AFK
… and much more
32-bit
Max ~4 GB RAM (realistically ~2–3 GB on Windows)
64-bit
Theoretically several TB of RAM (system-limited)
larger maps
more players
larger databases
Python
python-2.7.18.amd64.msi
(skip if you already have this version or newer)
MariaDB
mariadb-11.3.2-winx64.msi
Root password:
dev
(if you want to keep the default package configuration)
In the SQL folder you will find:
ready, fixed databases
a .bat script that:
adds MariaDB to PATH
imports .sql files
Script credentials:
host: 127.0.0.1
login: root
password: dev
File:
admin_panel.bat
Location:
source_SERVER_BIN\windows_server
From the panel you can:
start / stop the server
manage MariaDB
check process status
clean logs
compile quests
create symlinks for the new structure
Folder:
data
Packing the entire client:
pakuj_wszystko.bat
Packing a single pack:
pakuj_po_nazwie.bat
Adding new files:
wygeneruj_nowe_xml.bat
→ then pack
Folder:
proto_create
After packing:
client proto →
data/source/root/data
server proto →
proto_create/proto_server
Transfer:
Windows
source_SERVER_BIN\windows_server\common\data\proto_server
FreeBSD
/root/server/share/data/proto_server
Place quest files into:
skrypt_questowy_multilanguage
Run:
start.bat
Finished quest will be placed into:
multilanguage
quest_parser.pl
Installation:
cmake-3.16.0-rc1-win64-x64.msi
Folder:
source_SERVER_BIN\source
Open CMakeLists.txt → cmake.exe
Open:
metin2.sln
mode: RELEASE
86 projects
Build Solution
cd /root/server
sh panel.sh build
Client:
Visual Studio 2019
CMake v3.16
Python 2.7.18
Cython
Server:
FreeBSD 13.2-RELEASE amd64
cmake, ninja, llvm11
Source:
CMake
Python API: PyBind
Database:
MariaDB 11.3.2
Windows Server 2022 x64
Game Client:
x64
FreeBSD:
login: root
password: dev
MariaDB / MySQL:
login: root
password: 123123
Download Files:
Download Virtualbox:
