Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,21 @@ | ||
# Morrighan | ||
Mabinogi Client Proxy | ||
|
||
Morrighan acts as a kind of proxy, it makes the client connect to a special local server that forwards all packets from the client to the actual server. This way it's able to read every single packet that gets sent or received. These packets can then be passed to other applications, so they can work with them, e.g. loggers like [MabiPale2](https://github.com/exectails/MabiPale2). | ||
|
||
##How to log packets | ||
|
||
Let's assume you want to log packets from NA. Instead of launching the client through the patcher you would create a link/bat, like you would to connect to a local server, but with the NA IPs. And instead of client.exe you would use Morrighan.exe (which you have to put into your Mabi folder), that's it. | ||
|
||
`Morrighan.exe code:1622 ver:143 logip:208.85.109.35 logport:11000 chatip:208.85.109.37 chatport:8002 setting:"file://data/features.xml=Regular, USA"` | ||
|
||
What will happen here is that Morrighan reads the parameters, replaces the logip and port with the ones to a new, invisible local server it started, and finally starts the client. You will see a little window in the upper left, to let you know that Morrighan is running. Once you see that window you can use a tool like Pale to connect to it and log packets. | ||
|
||
The window closes automatically when the client gets closed. You can also double click it to quickly close Morrighan and the client. | ||
|
||
##How to connect to Morrighan | ||
|
||
Morrighan uses the Alissa API, meaning you can subscribe to the packets the same way Alissa Analyzer does. For an example on how to do so, I suggest looking at MabiPale2's source. Coding a plugin for Pale might be easier though. | ||
|
||
##Restrictions | ||
|
||
Morrighan only supports the Login and Channel servers, you won't get any messenger packets, it lets the client connect directly there. |