[Open Source] Season 16 Client & Server Source

Started by fratika, Nov 27, 2024, 06:06 PM

fratika

[Release] Legend.mu Client & Server Source Code S16 1.1

Hello everyone,

We are pleased to release the Legend.mu Season 16 Episode 1.1 client and server source code. Below, you'll find essential details, tools, and resources to help you set it up. Please note that no support is provided for this release.

Details:
- Version: Season 16 Episode 1.1
- Required library: Boost 2013 (other libraries included in the Dependencies folder)
- Database: Not included
- Main.dll configuration:
 
  char IpAddress[32] = "127.0.0.2";
  WORD IpAddressPort = 44405;
  char ClientVersion[8] = "1.19.74";
  char ClientSerial[17] = "s2bW49qZdtRFE100";
 

Database Resources:
Some tables have been partially recreated for reference, but they require further adjustments (e.g., data types, relationships, and foreign keys).

- [Database Game](https://drive.google.com/file/d/1Nnk0HY5dYHRgHyUaj5eFuQphhwTIE_nw/view?usp=sharing)
- [Database Login](https://drive.google.com/file/d/18xkOdWq5He-7sNmWeJ7RDwV-jJTbru56/view?usp=sharing)

Tools and Links:
- To decrypt MuError.log, use: XOR Decoder.
- Main.exe: Download Main.exe by MyHeart
- MuClientTools by VD1988

Setup Instructions:
1. Configure your database:
  - Account.ConnectCheckTime: 180
  - GameServer.Serial: Same as in Offset.h (Main.dll source)
  - GameServer.Version: Same as in Offset.h
  - Network.MaxConnectionPerIP: Must be greater than 0.

2. Update encryption keys:
  - Set your EncDec keys in PacketEncDec.h (Main.dll source) and EncDec.h (Server source).

3. Tools for file editing:
  - ServerList.bmd Editor: MuEditor 1.9.25.zip
  - Lang.mpr Tools:
    - Lang 1.1.rar (For Season 12 fixes)
    - Langmpr 2.0 Debug.rar (For Season 12 fixes, requires WinRAR)

Common Issues and Fixes:
- Disconnection Issues: Ensure the correct IP and Port settings are used in Offset.h. For local testing, use 192.168.1.150 instead of 127.0.0.1.
- Boost Library Updates: In newer Boost versions (e.g., Boost 1.75.0), replace deprecated io_service with io_context to ensure compatibility. See details here.

Notes:
- You can use WAMP Server as a MySQL server (Download) and MySQL Workbench for database management (Download).
- To update MySQL libraries:
  - Copy the include and lib folders from your MySQL directory to the project's dependencies folder.

Temporary Patch:
For those compiling with C++17 and Visual Studio 2019, here's a patch to replace deprecated APIs:
- Patch for Boost::asio::io_context

Disclaimer:
This release is intended for learning and development purposes. It may require significant modifications to achieve a stable server environment. Use at your own risk, and enjoy coding!

2.png

   


You require the following to view this post content:
  • You must thank this post to see the content.


Fratika is the best :D

Powered by SMFPacks Ads Manager Mod