Step 1: Adding the items xml's to the server.
Go to db.data.dat1.xml and add the items. After that you will add this:
Code:
setType="0x0007" setName="Name of your set">
You will add that to all the items of your set.
Step 2: Adding the items xml's to the client.
Open your client with jpexs or with any other swf decompiler and go to:
Then:
Export it:
Select Raw and the location and then open the file with notepad++.
Then past the xml of the items: IN THIS PIC THE SET TYPE (0X0005) IS ALREADY USED, USE 0X007.
Go to your swf decompiler and replace the file we exported (dont forget to save the file):
And select the file we exported:
And then you have finished the items.
Step 3: Adding the skin to the server and client.
Go to db.data.dat1.xml and add this (first put the texture on playersSkins16, I don't have time to make a skin):
Code:
<Object type="0x9021" id="Tutorial Set Skin">
<Skin/>
<Class>Skin</Class>
<AnimatedTexture>
<File>playerskins16</File>
<Index>10</Index> //your index should be 07 not 10
</AnimatedTexture>
<PlayerClassType>0x0323</PlayerClassType>
<UnlockSpecial>Set Skin</UnlockSpecial>
<NoSkinSelect/>
<DisplayId>Tutorial Set Skin</DisplayId>
</Object>
Now in with the swf decompiler go to BinaryData and export the file 42 (Skins):
Open it with Notepad++ and add the xml that we puted in VS (Visual Studio): Save it and replace it like we did with the items.
Then we have finished the skin.
Step 4: Adding the set xml into the server.
In the slots you will put the type of the items. For Example: in the slot 3, you will put the type of the ring, or in the slot 0, the type of the weapon.
In this part You can change the stats and the numbers, and to make it easy for you, here is the list of stats:
Defense: 21
Vitality: 26
Speed: 22
Wisdom: 27
Dexterity: 28
Attack: 20
Life: 0
Mana: 3
If you want to change or add the stats, change this part:
Step 5: Adding the set into the client. On your swf decompiler go to BinaryData and export this (file number 37, EquipmentSets): Open the exported file and open it with Notepad++, and paste the set xml of visual studio:
Save it and replace it like we did with the items and the skin.
Well I hope this works, If it does, please hit the buttom