Creating custom items with non overlapped sprites!
Thing you will need for this:
-A SWF Decompiler (I will be using Sothink for this)
-The MMOE Client (the .swf you use to run the game)
-The MMOE Server files
-An image editing program (I use paint.net since it's free and easy to use)
Optional: Notepad++ for an easier time creating the items and their stats
Step 1: Creating the item
For this you need to navigate into your server folder (mine is at private server_mpgh.net_mpgh.net\Private Server\db\data)
and you need to open up addition.xml
I will be creating a cloak for this tutorial so I am going to go back to private server_mpgh.net_mpgh.net\Private Server\db\data
and open up dat20.xml, which has all the items in it. Then I am going to copy the code of the T6 Cloak

Make sure to only copy what is between <Object type="ID" id="ITEM NAME"> and </Object>
Then you need to go back to the addition.xml file and scroll to the bottom, go ahead and paste the T6 Cloak details there
(MAKE YOU PASTE IT ABOVE </Addition> ON THE LAST LINE)
You can now edit the item ID (make sure you check addition.xml and dat20.xml for the item ID to make sure it is not already taken)
and the item name and stats. It should look something like this when you are done.

Incase you would like to change the stats of the cloak here are the ID numbers for the stats
Dexterity = 28
Attack = 20
Defense = 21
Speed = 22
Vitality = 26
Wisdom = 27
Life = 0
Mana = 3
Step 2: Creating the sprite for the item
Open up your SWF Decompiler and open up the client.swf
If you are using Sothink you should see a black box that says "Fx" with client.swf next to it
expand that and open up the image folder (tiered items are in image 117 and abilites in image 70)
I will be using 117 even though I creating a cloak since I keep all my customs in the file, but you can do it in any of them as long as
you know the lofiObj of the image file (image 117 is lofiObj5) now check the box next to the image file, right click and hit export resources.
Save the file somewhere you can find it and open in up in an image editing program. Each row has a letter assigned to it and each item in the row can be either 0-9 or a-e. When you are done editing right click the image file in Sothink and click edit, then navigate to your edited image file and select it.

You can use this chart to find out where your sprite is located. (If your finished item's sprite is offset you may have put the sprite in wrong, but its and easy fix) Once you are done placing the item in the image file, replace the ID of the sprite in the addition.xml with the one you just created.
Step 3: Rebuild your wServer (I rebuild 'db' just to be safe but I don't know if it's neccesary)
When you restart your server and spawn your item with /give ITEM NAME it should work!
If you have any questions please ask and I'll answer them to the best of my abilities!
Here is my finished product and some other items I created!


This is my first tutorial so constructive criticism is welcome!
-A SWF Decompiler (I will be using Sothink for this)
-The MMOE Client (the .swf you use to run the game)
-The MMOE Server files
-An image editing program (I use paint.net since it's free and easy to use)
Optional: Notepad++ for an easier time creating the items and their stats
Step 1: Creating the item
For this you need to navigate into your server folder (mine is at private server_mpgh.net_mpgh.net\Private Server\db\data)
and you need to open up addition.xml
I will be creating a cloak for this tutorial so I am going to go back to private server_mpgh.net_mpgh.net\Private Server\db\data
and open up dat20.xml, which has all the items in it. Then I am going to copy the code of the T6 Cloak

Make sure to only copy what is between <Object type="ID" id="ITEM NAME"> and </Object>
Then you need to go back to the addition.xml file and scroll to the bottom, go ahead and paste the T6 Cloak details there
(MAKE YOU PASTE IT ABOVE </Addition> ON THE LAST LINE)
You can now edit the item ID (make sure you check addition.xml and dat20.xml for the item ID to make sure it is not already taken)
and the item name and stats. It should look something like this when you are done.

Incase you would like to change the stats of the cloak here are the ID numbers for the stats
Dexterity = 28
Attack = 20
Defense = 21
Speed = 22
Vitality = 26
Wisdom = 27
Life = 0
Mana = 3
Step 2: Creating the sprite for the item
Open up your SWF Decompiler and open up the client.swf
If you are using Sothink you should see a black box that says "Fx" with client.swf next to it
expand that and open up the image folder (tiered items are in image 117 and abilites in image 70)
I will be using 117 even though I creating a cloak since I keep all my customs in the file, but you can do it in any of them as long as
you know the lofiObj of the image file (image 117 is lofiObj5) now check the box next to the image file, right click and hit export resources.
Save the file somewhere you can find it and open in up in an image editing program. Each row has a letter assigned to it and each item in the row can be either 0-9 or a-e. When you are done editing right click the image file in Sothink and click edit, then navigate to your edited image file and select it.

You can use this chart to find out where your sprite is located. (If your finished item's sprite is offset you may have put the sprite in wrong, but its and easy fix) Once you are done placing the item in the image file, replace the ID of the sprite in the addition.xml with the one you just created.
Step 3: Rebuild your wServer (I rebuild 'db' just to be safe but I don't know if it's neccesary)
When you restart your server and spawn your item with /give ITEM NAME it should work!
If you have any questions please ask and I'll answer them to the best of my abilities!
Here is my finished product and some other items I created!


This is my first tutorial so constructive criticism is welcome!
