Register for your free account! | Forgot your password?

Go Back   elitepvpers › Popular Games › Metin2 › Metin2 Private Server › Metin2 PServer Designs, Websites & Scripts
You last visited: Today at 10:13

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] OpenM2 – open-source client & server, written from scratch in Rust

Discussion on [Release] OpenM2 – open-source client & server, written from scratch in Rust within the Metin2 PServer Designs, Websites & Scripts forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2015
Posts: 1
Received Thanks: 0
[Release] OpenM2 – open-source client & server, written from scratch in Rust

Hey everyone,

I've been working on this for a while and it's finally ready to show. OpenM2 is a game client, a server and the protocol between them, all written from scratch in Rust. It plays with your own Metin2 client files, and it's open source.

Why we made it

Every server ships its own client. Want to try five servers? That's five clients, a few GB each, and every time you run some exe and hope it's clean. And starting your own server means an old FreeBSD VM, 15+ year old sources, MySQL tables edited by hand, passwords stored the old way, and a server that trusts way too much of what the client sends. No wonder there's always a new thread about a server that got hacked.

I wanted one client that plays on any server, and a server that's easy to run and secure out of the box.

What's in it

- One client for every openm2 server, you just add a server by its address. It converts your client files to open formats (glTF, PNG, TOML) once, on your PC.
- TLS 1.3 on every connection. Players check the server's key on first join, like SSH, or you use a normal certificate.
- No passwords at all. You log in with Google, Microsoft, Keycloak etc. (OpenID Connect) or with a key on your device, so there's nothing in the database to leak.
- PostgreSQL, or a single save file for small worlds.
- The server decides everything: it checks every packet, does every fight itself and checks moves against the map's walls.
- Spawns, drops and shops are plain TOML files.
- Runs in Docker: a small distroless image and a compose file with Postgres, with OpenTelemetry for traces and metrics.
- Singleplayer built in. No account, no internet, and you're the GM.
- The launcher updates itself from signed releases.
- Our own versioned protocol, deterministic game logic, and a headless bot that plays the real server in CI.

No game files in the repo or the download, you bring your own client. We test with TMP4's 40250 reference client. You'll also need its pack keys in a small keys.toml, the format is in the docs.

Where it's at

Still early. You can walk the maps, fight with combos and skills, level up, upgrade items, shop, ride mounts, fish, warp, chat and add friends. No quests, guilds, parties or trading yet, and the combat numbers are our own for now. The roadmap on GitHub has the rest.

Want to help?

Testers and contributors are both very welcome. Download it, try it with your own client, try to break it, and open an issue on GitHub with whatever you find, even small stuff. If you run your own server with it, tell us what was annoying about the setup. PRs are welcome too, the README explains how to build it and `just check` tells you if a change is good.

Website:
GitHub (setup, docs, roadmap):
Download (Windows 10/11, 64-bit):

Feedback is very welcome: bugs, ideas, criticism. And if you know how something in the original client works and we got it wrong, tell us!

Cheers,
JRK
alex25alex is online now  
Reply


Similar Threads Similar Threads
[Open-Source] SlimPK2 - A Pk2 framework written in c#
03/26/2016 - SRO Coding Corner - 2 Replies
Hey guys, has been long since a new release but here we go: A complete (read/write elements) PK2 integration for the .NET framework. First of all, please do not ask stupid questions! This project is open source and if you have any questions please check the source-code on github (link below). The whole code is documented and should be easy to understand.



All times are GMT +1. The time now is 10:15.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.