Thank you for using MabiCommerce. Please make sure to also read the FAQ.
MabiCommerce is a tool to help you get the most out of your trades! MabiCommerce will take a variety of factors, toss them into a magical calculating machine, grind it around, and show you a list of all the trades you can make, and their associated stats. Optionally, MabiCommerce can automatically detect and fill in the information it needs.
- Takes a large number of factors into account to get YOU the best trade.
- Warns you about "no profit" routes or routes that have unavoidable bandits.
- Shows you the best route to take.
- Supports auto detection of values, so you don't need to type.
You can download the latest release from the Releases tab.
Once it's downloaded, simply extract it to a folder on your desktop, or somewhere where you can find it.
If you wish to enable AutoDetect, you need to do the following:
Non PowerPatcher Users:
- Download (and extract) Morrighan from
the Aura project(link is dead, use Exec's Github instead). Check the Morrighan thread frequently for updates, especially if you randomly "freeze" or become unable to move! - Shut down Mabinogi if it is running.
- Follow the instructions on Morrighan's website to create a shortcut to use to launch your game.
- If you ever get a "HackShield" error, you simply need to patch your game by running Mabinogi normally and then re-opening it.
PowerPatcher Users:
- Download (and extract) Morrighan from
the Aura project(link is dead, use Exec's Github instead). Check the Morrighan thread frequently for updates, especially if you randomly "freeze" or become unable to move! - Shut down Mabinogi if it is running.
- Copy
Morrighan.exe
(from Aura's website) to your client directory*. - Open PowerPatcher. On the settings tab, change "TargetName" to
Morrighan.exe
. Mind the extension!
*Your client directory is located at different places depending on how you installed the game:
- The most common place is
C:\Nexon\Mabinogi
- If you used Steam, it'll be in your steamapps folder.
- If you used the new Nexon launcher, it'll be
C:\Nexon\Library\mabinogi\appdata
If you see a file called client
, you're in the right place. Copy Morrighan and MorriOneClick here!
It is highly recommended to put Mabinogi into Windowed mode when using MabiCommerce.
- If you're using AutoDetect, make sure you started the game with Morrighan or PowerPatcher. You should see a black box with an
M
in it in the upper left corner of your screen. - Run MabiCommerce by double clicking on its file. Double clicking the Morrighan window instead will close your game, so watch out!
- If you're using AutoDetect, click connect. If not, enter your information like your transports.
- Select any modifiers you might have. Be warned, large numbers of modifiers may slow down the application! See the
Modifiers
section later in this document for details. - Talk to a goblin and trade!
- If you're using AutoDetect, MabiCommerce should have filled all the information in for you. If not, you'll have to enter the prices and profits (red/blue numbers!) for each item by hand, as well as the stock, your current ducats, and merchant level.
- Press "Calculate Trades". The button will change appearance and become unclickable until calculation is finished. This may take several seconds, depending on your computer.
- Results are displayed below the Calculate button. By default, they're sorted by the item score, but you can click the column headers to change their sort order.
- Click on a result to view the type and quantity of items in the load and transportation method.
- Optionally click "Map It" to have MabiCommerce show you the fastest route. Clicking a green region will bring up a minimap with the best route shown in blue.
Note: If you talk to a goblin and then restart MabiCommerce, MabiCommerce will not detect profit information for that trading post only for approximately five minutes. This is due to client caching of prices. If it's a big deal for you, you can change channels to immediately restore AutoDetect.
Here are some things you might not know you could do with MabiCommerce:
- Use the
Tab
key to move around the interface. This is handy for manually typing in profits. - Sort trade results by any column.
- Reorder the columns of trade results.
- Resize any column of the trade results.
- Hover over an item's picture in the
Selected Trade Information
section to see the name of the item, which is handy for items that look similar (Baby and Snore Prevention potions). - Hover over the name of a modifier to see its effects.
- Click a green region on the World Map to view a detailed minimap.
- Change the color of the minimap-route by typing the color code in the box at the bottom of the minimap window.
- Disable autodetection of your transports by visiting the settings page.
Here's a laundry list of what MabiCommerce takes into account when calculating trades:
- Your current Merchant Level
- Your current Ducats
- The current cost of the item
- The profit of each item at each town
- The current stock of the item
- Your available transportation, and their associated weights, speeds, and slots
- Your modifiers, such as a Commerce Partner or Alpaca
- Distance/Time between trading posts
- Loading times of maps
- Flags (bandit choke point, no profit)
- Mixed loads
And here is what MabiCommerce tells you about each trade:
- Score: This is how "good" the trade is. It represents how many ducats you earn for every second of trading.
- Profit: The total amount you'll earn, in ducats.
- Gold: The total amount of gold you'll earn.
- Merchant Rating: The total amount of merchant rating you'll receive.
- Cost: How much you'll pay to buy the load.
- Flags: Extra route information, such as No Profit or Choke Point.
- Exp: The amount of experience you'll get for the load.
MabiCommerce uses your Merchant Rating to determine the level of goods you can buy, as well as the discount you get (AutoDetect only).
MabiCommerce uses your Ducat amount to determine how much you can buy. Since it requires around 400,000 Ducats to be able to buy a full load of the most expensive item, this metric is very important.
Used in conjunction with Ducats to calculate how much of an item you can buy.
Obviously an important measurement, the profit (a red or blue number) reflects how much you earn per unit at that particular post.
Very important for limited time items, the stock is another factor that limits how much you can buy.
Each mode of transportation has a different weight capacity, slot capacity, and speed bonus. While the elephant and wagon beat out the handcart and the backpack, which of those two is better?
Many traders think that the wagon is better, because of its speed bonus and thus, they don't bother buying the elephant. This is a big mistake as the elephant's bigger weight capacity makes it a must-have for some towns like Bangor.
The question remains: Horse's slots and speed or Elephant's weight? The answer is... it depends on what you're taking where. Usually, it's a pain to figure this out. MabiCommerce will calculate the results for each, eliminating guesswork.
If you have a Commerce Partner or Alpaca, one of more of your transportation methods receives an upgrade to weight, slots, or both, essentially turning it into a new form of transportation. Not taking this into account results in some hefty missed profits.
Additionally, since MabiCommerce 2.0.2, Alpaca Robes and Letters of Guarantee are supported to improve accuracy.
MabiCommerce will evaluate all combinations of enabled modifiers (the power set, for you math geeks) to find the best combination for you.
Note: Because the size of the nth power set is 2^n
, enabling a large number of modifiers can drastically lengthen the time it takes to calculate trades. For example, while 2 modifiers only increases complexity by a factor of 4, enabling 9 modifiers will cause calculation to take 512 times as long. This is the difference between MabiCommerce doing its work in 4 seconds vs 8 minutes!
For those of you wondering: Yes, I have optimized the power set algorithm. It will short circuit "illegal" states, such as multiple letters. This should severely reduce the amount of sets actually generated, but the above is still worth bearing in mind. For reference, 9 modifiers resulted in only 42 combinations, with short circuiting. However, when combined with 4 transportation methods, 5 items, and 7 destinations, MabiCommerce still calculated over 25,000 possible trades.
Always check the market price and head into the direction of highest profit, but keep the travel times in mind.
-- Commerce Goblin
MabiCommerce, unlike nearly every other method of calculating commerce information, heeds the Goblin's advice. I spent an afternoon running around Erinn, marking down the coordinates of various waypoints. MabiCommerce loads these and connects them via a structure called a directed graph, to make a spiderweb of routes across Erinn. By using Djikstra's Algorithm, MabiCommerce knows the shortest way to get from point A to point B.
Once it knows how far apart the posts are, it uses the game's human running speed (3.43 meters/second) to calculate the total time required to get there. Total profit of the route is divided by total time to run it, yielding profit/second
, a measure of how efficient a given trade is. High efficiency trades earn you more Ducats faster, even though individually, they may give less profit. See also the FAQ.
Here is how MabiCommerce sees Dunbarton, with potential paths highlighted in blue:
Any experienced Mabinogi player knows what Tara lag is. It's the minute or so you can't use your computer as the game loads you into Tara. This represents 60 seconds of lost trading time, enough to drastically alter profit margins. I measured the time it took to load each map, and MabiCommerce uses this information in its calculation of the time required to reach a destination trading post.
MabiCommerce takes this one step further, however. It knows that leaving Tara is faster than entering, and so it intelligently makes use of one of two times, depending on if the route is entering or leaving the map.
MabiCommerce has the ability to "flag" trades if they meet certain criteria. Right now, two flags exist: ChokePoint
and NoProfit
.
MabiCommerce will report flags in the Flags
column and may also color-code the trade's entry:
MabiCommerce flags as trade as a Choke Point if the route passes through a tight map, where bandits may be impossible to avoid if they appear. Traders who have trouble with bandits may want to avoid these routes, or seek assistance before embarking on them.
The current list of choke point maps is:
- Osna Sail
- Corrib Valley
- Dugald Isle
Nexon, in an attempt to curb early botters, removed profit from certain routes. MabiCommerce flags these as no profit routes. If you embark on a no-profit trade, you will, at most, earn enough to cover what you paid for your items. This results in a zero or negative profit for the trade, and thus no earned gold, exp, or merchant rating. Avoid these routes.
There are currently no no-profit routes, as Nexon has apparently removed them.
MabiCommerce instructed me to include 1 seaweed in a load from Cobh because it filled up the very last bit of space, in order to absolutely maximize my profit. I LOVE IT.
-- Rydian
A common occurrence while trading is that, after you buy the maximum number of some item, you still have slots, weight, and ducats left to buy other items. Instead of wasting these slots, MabiCommerce will fill them with other items, so you truly get the most bang for your, err... Ducat. MabiCommerce will even explore the possibility of rounding down to the nearest whole-slot, instead of leaving one slot partially filled.
For more details, see the Algorithm section.
Here is an example of MabiCommerce advising a mixed load of Highlander Ore
and Topaz
, to get the most profit.
Ever wanted to know how MabiCommerce does what it does, but you don't want to go spelunking through the source code? Then this section is for you. Following is the magic at MabiCommerce's heart, beautifully distilled and rendered as pseudo code:
Generate Power Set of Enabled Modifiers
For Each Modifier Set:
Add Commerce Mastery Modifier
#end for
For Each Enabled Transport:
For Each Modifier Set where transport is allowed
GetLoadsForTransport()
For Each Load:
For Each Possible Destination:
Add the route, load, etc, to this display
#end for
#end for
#end for
#end for
GetLoadsForTransport:
For Each Item where Item is not already in the load:
Calculate maximum that can be added
Add a new load with that amount added
Calculate the "slot overhang"
If Slot Overhang is not zero, add (Maximum - Overhang) items to a new load
Add this load to the load list
Repeat until load is full
#end for
#end GetLoadsForTransport
MabiCommerce would not have happened without the contributions of these wonderful people:
- Huge, huge thank you to Rydian (http://rydian.net/) for his countless hours of testing, screenshotting, debugging, feedback, writing, and suggestions.
- Thank you to Exec (http://mabinoger.com/) for developing Morrighan and helping debug some issues with AutoDetect.
- Thank you to Plonecakes (https://github.com/Plonecakes/) for being my rock during development, double checking my math, and figuring out that my merchant rating was the reason MabiCommerce was detecting prices 2% higher than they were.
- Thank you to the men and women of the Mabinogi World Wiki (http://wiki.mabinogiworld.com/) for their tireless research on the game, including the
Exp
formula for commerce. - Thank you to Hanae (http://xerodox.com/) for helping me with the original MabiCommerce's web site and giving me design tips.
- Thank you to Cosmos (http://cosrnos.com/) for his help with UI design, something I'm notoriously bad at!
- Thank you to devCAT and Nexon (http://mabinogi.nexon.net/) for making an awesome (yet horribly coded at times) game, and sharing it with the world.
And finally, thank you, loyal users of MabiCommerce, who helped the original be downloaded over 2,000 times!