منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   أن بي سي الأسطف سورس أليكس (https://code.vpscairo.com/showthread.php?t=1144)

ابو حمزه9 2019-07-28 11:33 AM

أن بي سي الأسطف سورس أليكس
 


بسم الله الرحمن الرحيم


الشرح مقدم من ConquerExplan
على vpscairo وشكراً لصاحب الموضوع MedoZ
:o


لينك الموضوع الاصلي هنا
عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع


ندخل على الشرح :rolleyes:


المميزات :
تحكم كامل في الأيتم
تعالوا نشوف صورة :o

عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع

الإضافة وشرح التعديل علي الأيتم :
أولا :
إفتح كلاس Inventory
وتحت أي دالة ضيف دول

كود PHP:

public bool AddFullItemSoul(uint IDuint SoulIDuint SoulDaysuint RefineryIDuint RefineryDaysuint PerfectionLevelbyte plusbyte gem1byte gem2byte hpbyte daamgebyte timesServerSockets.Packet streambool boundbool SoulStabliz falseint days 0int hours 0int mins 0)
        {
            
Database.Rifinery.Item BaseAddingItem;
            
Database.ItemType.DBItem ITEMDB null;
            var 
PurifyInformation Database.Server.ItemsBase[SoulID];
            var 
ItemInformation Database.Server.ItemsBase[ID];
            if (!
Database.Server.ItemsBase.TryGetValue(IDout ITEMDB))
                return 
false;
            if (
HaveSpace(1))
            {
                
MsgGameItem ItemDat = new MsgGameItem();
                
ItemDat.UID Database.Server.ITEM_Counter.Next;
                
ItemDat.ITEM_ID ID;
                
ItemDat.Durability ItemDat.MaximDurability ITEMDB.Durability;
                
ItemDat.Plus plus;
                
ItemDat.SocketOne = (Flags.Gem)gem1;
                
ItemDat.SocketTwo = (Flags.Gem)gem2;
                
ItemDat.Bless daamge;
                
ItemDat.Bound = (byte)(bound 0);
                if (
days == && hours == && mins == 0)
                {
                    if (
ITEMDB.Time != && ITEMDB.StackSize == 0)
                    {
                        
ItemDat.Activate 1;
                        
ItemDat.EndDate DateTime.Now.AddMinutes(ITEMDB.Time);
                    }
                }
                else if (
days != 0)
                {
                    
ItemDat.Activate 1;
                    
ItemDat.EndDate DateTime.Now.AddDays(days);
                }
                else if (
hours != 0)
                {
                    
ItemDat.Activate 1;
                    
ItemDat.EndDate DateTime.Now.AddHours(hours);
                }
                else
                {
                    
ItemDat.Activate 1;
                    
ItemDat.EndDate DateTime.Now.AddMinutes(mins);
                }
                if (
hp 0)
                {
                    
ItemDat.Enchant = (byte)(new System.Random().Next(255255));
                }
                
ItemDat.PerfectionLevel PerfectionLevel;
                if (
PerfectionLevel 0)
                {
                    
ItemDat.OwnerName Owner.Player.Name;
                    
ItemDat.OwnerUID Owner.Player.UID;
                    
ItemDat.Signature Owner.Player.ServerSignature;
                }
                
ItemDat.Color = (Role.Flags.Color)Program.GetRandom.Next(39);
                if (
SoulStabliz == false)
                {
                    
#region Soul with out stablize
                    
if (Database.ItemType.CompareSoul(ItemInformation.IDPurifyInformation.ID))
                    {
                        
MsgItemExtra.Purification purify = new MsgItemExtra.Purification();
                        
purify.AddedOn DateTime.Now;
                        
purify.ItemUID ItemDat.UID;
                        
purify.PurificationItemID SoulID;
                        
purify.PurificationLevel PurifyInformation.PurificationLevel;
                        
purify.PurificationDuration SoulDays 24 60 60;
                        
purify.Typ MsgItemExtra.Typing.PurificationEffect;
                        
ItemDat.Purification purify;
                        
ItemDat.Mode Role.Flags.ItemMode.Update;
                    }
                    
#endregion
                    #region Rifinery with out stablize
                    
if (Database.Server.RifineryItems.TryGetValue(RefineryIDout BaseAddingItem))
                    {
                        
MsgItemExtra.Refinery Refinery = new MsgItemExtra.Refinery();
                        
Refinery.AddedOn DateTime.Now;
                        
Refinery.ItemUID ItemDat.UID;
                        
Refinery.EffectID RefineryID;
                        
Refinery.EffectLevel BaseAddingItem.Level;
                        
Refinery.EffectPercent BaseAddingItem.Procent;
                        
Refinery.EffectPercent2 BaseAddingItem.Procent2;
                        
Refinery.EffectDuration RefineryDays 24 60 60;
                        
ItemDat.Refinary Refinery;
                        
ItemDat.Mode Role.Flags.ItemMode.Update;
                    }
                    
#endregion
                
}
                else
                {
                    
#region Soul with stabliz
                    
if (Database.ItemType.CompareSoul(ItemInformation.IDPurifyInformation.ID))
                    {
                        
MsgItemExtra.Purification purify = new MsgItemExtra.Purification();
                        
purify.AddedOn DateTime.Now;
                        
purify.ItemUID ItemDat.UID;
                        
purify.PurificationItemID SoulID;
                        
purify.PurificationLevel PurifyInformation.PurificationLevel;
                        
purify.PurificationDuration 0;
                        
purify.Typ MsgItemExtra.Typing.StabilizationEffectPurification;
                        
ItemDat.Purification purify;
                        
ItemDat.Mode Role.Flags.ItemMode.Update;
                    }
                    
#endregion
                    #region Rifinery with stablize
                    
if (Database.Server.RifineryItems.TryGetValue(RefineryIDout BaseAddingItem))
                    {
                        
MsgItemExtra.Refinery Refinery = new MsgItemExtra.Refinery();
                        
Refinery.AddedOn DateTime.Now;
                        
Refinery.ItemUID ItemDat.UID;
                        
Refinery.EffectID RefineryID;
                        
Refinery.EffectDuration 0;
                        
Refinery.EffectLevel BaseAddingItem.Level;
                        
Refinery.EffectPercent BaseAddingItem.Procent;
                        
Refinery.EffectPercent2 BaseAddingItem.Procent2;
                        
Refinery.Typ MsgItemExtra.Typing.StabilizationEffectRefined;
                        
ItemDat.Refinary Refinery;
                        
ItemDat.Mode Role.Flags.ItemMode.Update;
                    }
                    
#endregion
                
}
                try
                {
                    
Update(ItemDatAddMode.ADDstream);
                }
                catch (
Exception e)
                {
                    
MyConsole.SaveException(e);
                }
                return 
true;
            }
            return 
false;
        }
        public 
bool AddTalisman(uint IDuint PerfectionLevelbyte plusbyte gem1byte gem2byte hpbyte daamgebyte timesServerSockets.Packet streambool boundint days 0int hours 0int mins 0)
        {
            
Database.ItemType.DBItem ITEMDB null;
            if (!
Database.Server.ItemsBase.TryGetValue(IDout ITEMDB))
                return 
false;
            if (
HaveSpace(1))
            {
                
Game.MsgServer.MsgGameItem ItemDat = new Game.MsgServer.MsgGameItem();
                
ItemDat.UID Database.Server.ITEM_Counter.Next;
                
ItemDat.ITEM_ID ID;
                
ItemDat.Durability ItemDat.MaximDurability ITEMDB.Durability;
                
ItemDat.Plus plus;
                
ItemDat.SocketOne = (Flags.Gem)gem1;
                
ItemDat.SocketTwo = (Flags.Gem)gem2;
                
ItemDat.Bless daamge;
                
ItemDat.Bound = (byte)(bound 0);
                if (
days == && hours == && mins == 0)
                {
                    if (
ITEMDB.Time != && ITEMDB.StackSize == 0)
                    {
                        
ItemDat.Activate 1;
                        
ItemDat.EndDate DateTime.Now.AddMinutes(ITEMDB.Time);
                    }
                }
                else if (
days != 0)
                {
                    
ItemDat.Activate 1;
                    
ItemDat.EndDate DateTime.Now.AddDays(days);
                }
                else if (
hours != 0)
                {
                    
ItemDat.Activate 1;
                    
ItemDat.EndDate DateTime.Now.AddHours(hours);
                }
                else
                {
                    
ItemDat.Activate 1;
                    
ItemDat.EndDate DateTime.Now.AddMinutes(mins);
                }
                if (
hp 0)
                {
                    
ItemDat.Enchant = (byte)(new System.Random().Next(255255));
                }
                
ItemDat.PerfectionLevel PerfectionLevel;
                if (
PerfectionLevel 0)
                {
                    
ItemDat.OwnerName Owner.Player.Name;
                    
ItemDat.OwnerUID Owner.Player.UID;
                    
ItemDat.Signature Owner.Player.ServerSignature;
                }
                
ItemDat.Color = (Role.Flags.Color)Program.GetRandom.Next(39);
                try
                {
                    
Update(ItemDatAddMode.ADDstream);
                }
                catch (
Exception e)
                {
                    
MyConsole.SaveException(e);
                }
                return 
true;
            }
            return 
false;
        } 


الأن بي سي ضيفة تحت أي واحد

كود PHP:

[NpcAttribute(NpcID.SantaStuff)]
        public static 
void SantaStuff(Client.GameClient clientServerSockets.Packet streambyte Optionstring Inputuint id)
        {
            
Dialog dialog = new Dialog(clientstream);
            switch (
Option)
            {
                case 
0:
                    {
                        
dialog.AddText("Hi <tip color=0xfff05050>")
                        .
AddText(client.Player.Name "</tip>,")
                        .
AddText("Selct~What's~Equipment~you~want")
                        .
AddOption("Headgear/Hat"1)
                        .
AddOption("Armor"101)
                        .
AddOption("Necklace"138)
                        .
AddOption("Weapons"148)
                        .
AddOption("Ring"204)
                        .
AddOption("Boots"228)
                        .
AddOption("Talisman"238)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                
#region Headgears
                
case 1:
                    {
                        
dialog.AddText("Selct~What's~Character~you~want")
                        .
AddOption("Trojan"2)
                        .
AddOption("Warrior"13)
                        .
AddOption("Archer"24)
                        .
AddOption("Ninja"35)
                        .
AddOption("Monk"46)
                        .
AddOption("Pirate"57)
                        .
AddOption("DragonWarrior"68)
                        .
AddOption("Taoist"79)
                        .
AddOption("WindWalker"90)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                
#region Trojan-Headgear
                
case 2:
                    {
                        
dialog.AddText("Selct~What's~Whats~Soul~you~want")
                       .
AddOption("Immunity"3)
                       .
AddOption("Anti-Break"8)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
3:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"4)
                       .
AddOption("Detoxication"5)
                       .
AddOption("Block"6)
                       .
AddOption("Penetration (Final~M-Attack)"7)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
4:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11830982007312300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
5:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11830982007312300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
6:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11830982007312300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
7:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11830982007312300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
8:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"9)
                       .
AddOption("Detoxication"10)
                       .
AddOption("Block"11)
                       .
AddOption("Penetration (Final~M-Attack)"12)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
9:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11830982007412300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
10:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11830982007412300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
11:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11830982007412300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
12:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11830982007412300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Warrior-Headgear
                
case 13:
                    {
                        
dialog.AddText("Selct~What's~Whats~Soul~you~want")
                       .
AddOption("Immunity"14)
                       .
AddOption("Anti-Break"19)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
14:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"15)
                       .
AddOption("Detoxication"16)
                       .
AddOption("Block"17)
                       .
AddOption("Penetration (Final~M-Attack)"18)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
15:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14130982007312300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
16:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14130982007312300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
17:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14130982007312300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
18:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14130982007312300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
19:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"20)
                       .
AddOption("Detoxication"21)
                       .
AddOption("Block"22)
                       .
AddOption("Penetration (Final~M-Attack)"23)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
20:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14130982007412300414002712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
21:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14130982007412300414302712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
22:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14130982007412300414402712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
23:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14130982007412300414502712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Archer-Headgear
                
case 24:
                    {
                        
dialog.AddText("Selct~What's~Whats~Soul~you~want")
                       .
AddOption("Immunity"25)
                       .
AddOption("Anti-Break"30)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
25:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"26)
                       .
AddOption("Detoxication"27)
                       .
AddOption("Block"28)
                       .
AddOption("Penetration (Final~M-Attack)"29)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
26:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11330982007312300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
27:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11330982007312300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
28:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11330982007312300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
29:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11330982007312300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
30:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                       .
AddOption("Intensification(Max-HP)"31)
                      .
AddOption("Detoxication"32)
                      .
AddOption("Block"33)
                      .
AddOption("Penetration (Final~M-Attack)"34)
                      .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
31:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11330982007412300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
32:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11330982007412300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
33:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11330982007412300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
34:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(11330982007412300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Ninja-Headgear
                
case 35:
                    {
                        
dialog.AddText("Selct~What's~Whats~Soul~you~want")
                       .
AddOption("Immunity"36)
                       .
AddOption("Anti-Break"41)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
36:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                      .
AddOption("Intensification(Max-HP)"37)
                     .
AddOption("Detoxication"38)
                     .
AddOption("Block"39)
                     .
AddOption("Penetration (Final~M-Attack)"40)
                     .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
37:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12330982007312300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
38:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12330982007312300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
39:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12330982007312300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
40:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12330982007312300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
41:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                      .
AddOption("Intensification(Max-HP)"42)
                     .
AddOption("Detoxication"43)
                     .
AddOption("Block"44)
                     .
AddOption("Penetration (Final~M-Attack)"45)
                     .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
42:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12330982007412300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
43:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12330982007412300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
44:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12330982007412300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
45:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12330982007412300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Monk-Headgear
                
case 46:
                    {
                        
dialog.AddText("Selct~What's~Whats~Soul~you~want")
                       .
AddOption("Immunity"47)
                       .
AddOption("Anti-Break"52)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
47:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"48)
                       .
AddOption("Detoxication"49)
                       .
AddOption("Block"50)
                       .
AddOption("Penetration (Final~M-Attack)"51)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
48:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14330982007312300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
49:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14330982007312300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
50:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14330982007312300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
51:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14330982007312300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
52:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"53)
                       .
AddOption("Detoxication"54)
                       .
AddOption("Block"55)
                       .
AddOption("Penetration (Final~M-Attack)"56)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
53:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14330982007412300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
54:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14330982007412300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
55:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14330982007412300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
56:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14330982007412300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Pirate-Headgear
                
case 57:
                    {
                        
dialog.AddText("Selct~What's~Whats~Souls~you~want")
                       .
AddOption("Immunity"58)
                       .
AddOption("Anti-Break"63)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
58:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"59)
                       .
AddOption("Detoxication"60)
                       .
AddOption("Block"61)
                       .
AddOption("Penetration (Final~M-Attack)"62)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
59:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14430982007312300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
60:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14430982007312300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
61:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14430982007312300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
62:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14430982007312300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
63:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"64)
                       .
AddOption("Detoxication"65)
                       .
AddOption("Block"66)
                       .
AddOption("Penetration (Final~M-Attack)"67)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
64:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14430982007412300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
65:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14430982007412300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
66:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14430982007412300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
67:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14430982007412300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region DragonWarrior-Headgear
                
case 68:
                    {
                        
dialog.AddText("Selct~What's~Whats~Soul~you~want")
                       .
AddOption("Immunity"69)
                       .
AddOption("Anti-Break"74)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
69:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                      .
AddOption("Intensification(Max-HP)"70)
                     .
AddOption("Detoxication"71)
                     .
AddOption("Block"72)
                     .
AddOption("Penetration (Final~M-Attack)"73)
                     .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
70:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14830982007312300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
71:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14830982007312300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
72:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14830982007312300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
73:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14830982007312300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
74:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                      .
AddOption("Intensification(Max-HP)"75)
                     .
AddOption("Detoxication"76)
                     .
AddOption("Block"77)
                     .
AddOption("Penetration (Final~M-Attack)"78)
                     .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
75:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14830982007412300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
76:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14830982007412300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
77:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14830982007412300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
78:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(14830982007412300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Taoist-Headgear
                
case 79:
                    {
                        
dialog.AddText("Selct~What's~Whats~Soul~you~want")
                       .
AddOption("Immunity"80)
                       .
AddOption("Anti-Break"85)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
80:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"81)
                       .
AddOption("Detoxication"82)
                       .
AddOption("Block"83)
                       .
AddOption("Penetration (Final~M-Attack)"84)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
81:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(114309820075123004140727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
82:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(114309820075123004143727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
83:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(114309820075123004144727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
84:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(114309820075123004145727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
85:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"86)
                       .
AddOption("Detoxication"87)
                       .
AddOption("Block"88)
                       .
AddOption("Penetration (Final~M-Attack)"89)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
86:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(114309820076123004140727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
87:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(114309820076123004143727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
88:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(114309820076123004144727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
89:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(114309820076123004145727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region WindWalker-Headgear
                
case 90:
                    {
                        
dialog.AddText("Selct~What's~Whats~Soul~you~want")
                       .
AddOption("Immunity"91)
                       .
AddOption("Anti-Break"96)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
91:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"92)
                       .
AddOption("Detoxication"93)
                       .
AddOption("Block"94)
                       .
AddOption("Penetration (Final~M-Attack)"95)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
92:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(17030982007312300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
93:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(17030982007312300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
94:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(17030982007312300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
95:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(17030982007312300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
96:
                    {
                        
dialog.AddText("Selct~What's~What~Refinery~you~want")
                        .
AddOption("Intensification(Max-HP)"97)
                       .
AddOption("Detoxication"98)
                       .
AddOption("Block"99)
                       .
AddOption("Penetration (Final~M-Attack)"100)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
97:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(17030982007412300414072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
98:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(17030982007412300414372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
99:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(17030982007412300414472712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
100:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(17030982007412300414572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #endregion
                #region Armors
                
case 101:
                    {
                        
dialog.AddText("Selct~What's~Character~you~want")
                        .
AddOption("Trojan"102)
                        .
AddOption("Warrior"106)
                        .
AddOption("Archer"110)
                        .
AddOption("Ninja"114)
                        .
AddOption("Monk"118)// start form here
                        
.AddOption("Pirate"122)
                        .
AddOption("DragonWarrior"126)
                        .
AddOption("Taoist"130)
                        .
AddOption("WindWalker"134)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                
#region Trojan-Armor
                
case 102:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                            .
AddOption("Immunity"103)
                        .
AddOption("Counteraction(Anti-Break)"104)
                        .
AddOption("Detoxication"105)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
103:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13030982207112300413972712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
104:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13030982207112300414272712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
105:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13030982207112300416172712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Warrior-Armor
                
case 106:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("Immunity"107)
                       .
AddOption("Counteraction(Anti-Break)"108)
                       .
AddOption("Detoxication"109)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
107:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13130982207112300413972712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
108:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13130982207112300414272712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
109:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13130982207112300416172712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Archer-Armor
                
case 110:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("Immunity"111)
                       .
AddOption("Counteraction(Anti-Break)"112)
                       .
AddOption("Detoxication"113)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
111:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13330982207112300413972712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
112:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13330982207112300414272712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
113:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13330982207112300416172712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Ninja-Armor
                
case 114:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("Immunity"115)
                       .
AddOption("Counteraction(Anti-Break)"116)
                       .
AddOption("Detoxication"117)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
115:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13530982207112300413972712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
116:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13530982207112300414272712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
117:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13530982207112300416172712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Monk-Armor
                
case 118:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                            .
AddOption("Immunity"119)
                        .
AddOption("Counteraction(Anti-Break)"120)
                        .
AddOption("Detoxication"121)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
119:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13630982207112300413972712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
120:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13630982207112300414272712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
121:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13630982207112300416172712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Pirate-Armor
                
case 122:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                            .
AddOption("Immunity"123)
                        .
AddOption("Counteraction(Anti-Break)"124)
                        .
AddOption("Detoxication"125)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
123:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13930982207112300413972712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
124:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13930982207112300414272712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
125:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13930982207112300416172712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region DragonWarrior-Armor
                
case 126:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                            .
AddOption("Immunity"127)
                        .
AddOption("Counteraction(Anti-Break)"128)
                        .
AddOption("Detoxication"129)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
127:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13830982207112300413972712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
128:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13830982207112300414272712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
129:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(13830982207112300416172712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Taoist-Armor
                
case 130:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                            .
AddOption("Immunity"131)
                        .
AddOption("Counteraction(Anti-Break)"132)
                        .
AddOption("Detoxication"133)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
131:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(134309822072123004139727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
132:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(134309822072123004142727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
133:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(134309822072123004161727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region WindWalker-Armor
                
case 134:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                            .
AddOption("Immunity"135)
                        .
AddOption("Counteraction(Anti-Break)"136)
                        .
AddOption("Detoxication"137)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
135:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(10130982207112300413972712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
136:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(10130982207112300414272712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
137:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(10130982207112300416172712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #endregion
                #region Necklace-Bag
                
case 138:
                    {
                        
dialog.AddText("Selct~What's~you~want")
                            .
AddOption("Necklace"139)
                        .
AddOption("Bag"143)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                
#region Necklace
                
case 139:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                            .
AddOption("M-Defense"140)
                        .
AddOption("Counteraction(Anti-Break)"141)
                        .
AddOption("Detoxication"142)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
140:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12026982103312300413672712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
141:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12026982103312300416072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
142:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(12026982103312300416572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Bag
                
case 143:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                            .
AddOption("M-Defense"144)
                        .
AddOption("Counteraction(Anti-Break)"145)
                        .
AddOption("Penetration(Final~M-Attack)"146)
                        .
AddOption("Detoxication"147)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
144:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(121269821034123004146727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
145:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(121269821034123004151727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
146:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(121269821034123004154727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
147:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(121269821034123004166727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #endregion
                #region Weapons
                
case 148:
                    {
                        
dialog.AddText("Selct~What's~Character~you~want")
                        .
AddOption("Trojan"149)
                        .
AddOption("Warrior"156)
                        .
AddOption("Archer"163)
                        .
AddOption("Ninja"170)
                        .
AddOption("Monk"180)
                        .
AddOption("Pirate"187)
                        .
AddOption("DragonWarrior"194)
                        .
AddOption("Taoist"197)
                        .
AddOption("WindWalker"201)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                
#region Trojan-Weapons
                
case 149:
                    {
                        
dialog.AddText("Selct~What's~Whats~Soul~you~want")
                       .
AddOption("P-Strike FangCross(MonsterSaber)"150)
                       .
AddOption("Break FangCross(SkyHammer)"153)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
150:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("P-Strike"151)
                       .
AddOption("Brake"152)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
151:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61443980002012300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61443980002012300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
152:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61443980002012300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61443980002012300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
153:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("P-Strike"154)
                       .
AddOption("Brake"155)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
154:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61443980011112300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61443980011112300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
155:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61443980011112300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61443980011112300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Warrior-Weapons
                
case 156:
                    {
                        
dialog.AddText("Selct~What's~Whats~Soul~you~want")
                       .
AddOption("P-Strike EvilSlayer(FistofDeity)"157)
                       .
AddOption("Break EvilSlayer(FistofDemon)"160)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
157:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                          .
AddOption("P-Strike"158)
                      .
AddOption("Brake"159)
                      .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
158:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(62443980121612300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(62443980121612300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
159:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(62443980121612300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(62443980121612300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
160:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                          .
AddOption("P-Strike"161)
                      .
AddOption("Brake"162)
                      .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
161:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(62443980121812300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(62443980121812300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
162:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(62443980121812300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(62443980121812300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Archer-Weapons
                
case 163:
                    {
                        
dialog.AddText("Selct~What's~Soul~What~you~want")
                       .
AddOption("HeavenlyBow(Sun~Bow)"164)
                       .
AddOption("FantasyKnife(Ghost~Knife)"167)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
164:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                          .
AddOption("P-Strike"165)
                      .
AddOption("Brake"166)
                      .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
165:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(50042980061812300414772712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
166:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(50042980061812300415072712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
167:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                          .
AddOption("P-Strike"168)
                      .
AddOption("Brake"169)
                      .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
168:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61342980091712300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61342980091712300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
169:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61342980091712300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61342980091712300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Ninja-Weapons
                
case 170:
                    {
                        
dialog.AddText("Selct~What's~Soul~What~you~want")
                       .
AddOption("P-Strike Nobunaga`sSwiftClaw(MonsterSaber)"171)
                       .
AddOption("Break Nobunaga`sSwiftClaw(SkyHammer)"174)
                       .
AddOption("Nobunaga`sSwiftClaw(ShadowKatana)"177)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
171:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("P-Strike"172)
                       .
AddOption("Brake"173)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
172:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61643980002012300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61643980002012300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
173:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61643980002012300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61643980002012300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
174:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("P-Strike"175)
                       .
AddOption("Brake"176)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
175:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61643980011112300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61643980011112300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
176:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61643980011112300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61643980011112300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
177:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("P-Strike"178)
                       .
AddOption("Brake"179)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
178:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61643980014212300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61643980014212300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
179:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61643980014212300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61643980014212300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Monk-Weapons
                
case 180:
                    {
                        
dialog.AddText("Selct~What's~Soul~What~you~want")
                       .
AddOption("LazuritePrayerBeads(BuddaBeads)"181)
                       .
AddOption("AlmightyEmperor`sPillar(BuddaBeads)"184)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
181:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("P-Strike"182)
                       .
AddOption("Brake"183)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
182:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61043980072512300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61043980072512300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
183:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61043980072512300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61043980072512300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
184:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("P-Strike"185)
                       .
AddOption("Brake"186)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
185:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(62243980072512300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(62243980072512300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
186:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(62243980072512300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(62243980072512300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Pirate-Weapons
                
case 187:
                    {
                        
dialog.AddText("Selct~What's~Soul~you~want")
                       .
AddOption("CaptainRapier(RepentRapier)"188)
                       .
AddOption("LordPistol(DeathPistol)"191)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
188:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                          .
AddOption("P-Strike"189)
                      .
AddOption("Brake"190)
                      .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
189:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(61143980081112300413772712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
190:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(61143980081112300414172712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
191:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                          .
AddOption("P-Strike"192)
                      .
AddOption("Brake"193)
                      .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
192:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(61243980081012300413772712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
193:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(61243980081012300414172712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region DragonWarrior-Weapons
                
case 194:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                          .
AddOption("P-Strike"195)
                      .
AddOption("Brake"196)
                      .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
195:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61743980100412300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61743980100412300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
196:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(61743980100412300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(61743980100412300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Taoist-Weapons
                
case 197:
                    {
                        
dialog.AddText("Selct~What's~What~you~want")
                       .
AddOption("SupremeSword(TimeBacksword)"198)
                       .
AddOption("ImperialBacksword(TimeBacksword)"199)
                       .
AddOption("UniverseHossu(WonderHossu)"200)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
198:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(421439800522123004138727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
199:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(620439800522123004138727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
200:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(619439801104123006170727120025501streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region WindWalker-Weapons
                
case 201:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("P-Strike"202)
                       .
AddOption("Brake"203)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
202:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(62643980130812300413772712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(62643980130812300413772712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                case 
203:
                    {
                        if (
client.Inventory.HaveSpace(2))
                        {
                            
client.Inventory.AddFullItemSoul(62643980130812300414172712131325571streamtruetrue700);
                            
client.Inventory.AddFullItemSoul(62643980130812300414172712131325571streamtruetrue700);
                        }
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 2 free spaces in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #endregion
                #region Ring-HeavyRing-Bracelet
                
case 204:
                    {
                        
dialog.AddText("Selct~What's~you~want")
                            .
AddOption("Ring"205)
                        .
AddOption("HeavyRing"214)
                        .
AddOption("Bracelet"223)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                
#region Ring
                
case 205:
                    {
                        
dialog.AddText("Selct~What's~Soul~you~want")
                            .
AddOption("P-Strike Ring"206)
                        .
AddOption("Break Ring"210)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
206:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("M-Defense"207)
                       .
AddOption("P-strike"208)
                       .
AddOption("Brake"209)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
207:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15026982305812300415572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
208:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15026982305812300415872712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
209:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15026982305812300416372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
210:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("M-Defense"211)
                       .
AddOption("P-strike"212)
                       .
AddOption("Brake"213)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
211:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15026982305912300415572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
212:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15026982305912300415872712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
213:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15026982305912300416372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region HeavyRing
                
case 214:
                    {
                        
dialog.AddText("Selct~What's~Soul~you~want")
                            .
AddOption("P-Strike HeavyRing"215)
                        .
AddOption("Break HeavyRing"219)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
215:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("M-Defense"216)
                       .
AddOption("P-strike"217)
                       .
AddOption("Brake"218)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
216:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15126982306112300415572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
217:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15126982306112300415872712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
218:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15126982306112300416372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
219:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("M-Defense"220)
                       .
AddOption("P-strike"221)
                       .
AddOption("Brake"222)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
220:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15126982306212300415572712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
221:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15126982306212300415872712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
222:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(15126982306212300416372712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Bracelet
                
case 223:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("SkillC.Strike(M-Strike)"224)
                       .
AddOption("M-Defense"225)
                       .
AddOption("Penetration(Final~M-Attack)"226)
                       .
AddOption("Brake"227)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
224:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(152279823060123004148727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
225:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(152279823060123004157727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
226:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(152279823060123004162727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
227:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(152279823060123004164727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #endregion
                #region Boots
                
case 228:
                    {
                        
dialog.AddText("Selct~What's~you~want")
                            .
AddOption("P-Strike Boots"229)
                        .
AddOption("Break Boots"232)
                        .
AddOption("M-Attack Boots"235)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
229:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("Immunity"230)
                       .
AddOption("Detoxication"231)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
230:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(16024982401812300414972712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
231:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(16024982401812300415272712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
232:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("Immunity"233)
                       .
AddOption("Detoxication"234)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
233:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(16024982401912300414972712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
234:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(16024982401912300415272712131325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
235:
                    {
                        
dialog.AddText("Selct~What's~Refinery~you~want")
                           .
AddOption("Immunity"236)
                       .
AddOption("Detoxication"237)
                       .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
236:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(160249824020123004149727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
237:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddFullItemSoul(160249824020123004152727123325571streamtruetrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                
#endregion
                #region Talisman
                
case 238:
                    {
                        
dialog.AddText("Selct~What's~you~want")
                            .
AddOption("StarTower"239)
                        .
AddOption("HeavenFan"240)
                        .
AddOption("RidingCrop"241)
                        .
AddOption("TempestWings"245)
                        .
AddAvatar(255).FinalizeDialog();
                        break;
                    }
                case 
239:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddTalisman(2020092712123123011streamtrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
240:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddTalisman(2010092712103103011streamtrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
241:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddTalisman(203009271200011streamtrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                case 
245:
                    {
                        if (
client.Inventory.HaveSpace(1))
                            
client.Inventory.AddTalisman(2040092712103123001streamtrue700);
                        else
                            
client.Player.MessageBox("Sorry, but you need atleast 1 free space in your inventory"nullnull);
                        break;
                    }
                    
#endregion
            
}
        } 


وده الكود بتاعه في NpcID

كود PHP:

SantaStuff 792


في كلاس player
دور علي

كود PHP:

public unsafe string Name ""


وحط دي تحتها

كود PHP:

public unsafe string ServerSignature "Dark|Light"


وده الكود في الداتابيز في C
افتح ملف SobNpc
وضيف ده تحت أي سطر

كود PHP:

792,FullItems,2,17620,1002,309,244,0,0,1,


طيب .. لحد دلوقتي إحنا ضيفنا الأن بي سي بس لسه ماشرحناهوش
بص ياسيدي ، الأن بي سي ده كل فكرته أنه بيديلك الأيتم بس بيخليك تتحكم في كل حاجة فيها زي مانت عايز
يعني أنت اللي بتحدد كل حاجة في الأيتم وهنفهم دلوقتي إزاي
بص ع الكود كدا

كود PHP:

AddFullItemSoul(11830982007312300414072712131325571streamtruetrue700); 


المعلومات بتتحط بالترتيب ده
أي دي الأيتم
أي دي الصول اللي ع الأيتم
مده الصول كام يوم
أي دي الريفنري
مده الريفنري كام يوم
ليفل البيرفكشن
بلص الأيتم
الجيماية الأولي
الجيماية الثانية
الأتش بي
الدامج
بعد كدا رقم 1 ده سيبه زي ماهو
بعد كدا عندك كلمتين ture
أول كلمة مسؤلة عن الباوند أيتم يعني لو هي true الأيتم يجي فري لو هي false هيجي نو فري
تاني كلمة مسؤلة عن الصول والريفنري يبقي ثابت ولا بوقت يعني طول ماهي ture الصول يجي ثابت لو false يجي بالوقت اللي إحنا كتبناه فوق :)
بعد كدا عندك 3 أصفار مسؤلين عن الوقت اللي بيقعده الأيتم وبعدها يختفي
أول صفر للأيام
الثاني للساعات
الثالث للدقايق :)
طبعا أنت ممكن تظبطها علي حسب مزاجك بقي
أنا مظبط الأن بي سي علي أنه يديلك الأيتم لمدة 7 أيام ويختفي
أنت ممكن بقي تشوف سيرفرك وتظبط علي حسبه :)


أنتهي الشرح وشكراً لصاحب الفكرة :o


محمد ياسر 2019-07-28 11:35 AM

رد: أن بي سي الأسطف سورس أليكس
 
عاش الله ينور

ابو حمزه9 2019-07-28 11:38 AM

رد: أن بي سي الأسطف سورس أليكس
 


اقتباس:

المشاركة الأصلية كتبت بواسطة Hazem (المشاركة 8001)
عاش الله ينور

حبيبي تسلم :)


Rider 2019-07-28 11:54 AM

رد: أن بي سي الأسطف سورس أليكس
 
عاش

ابو حمزه9 2019-07-28 12:22 PM

رد: أن بي سي الأسطف سورس أليكس
 
[

QUOTE=Rider;8011]عاش[/QUOTE
حبيبي :o
]

collins 2019-08-10 09:10 AM

رد: أن بي سي الأسطف سورس أليكس
 
عاش

mohammedshafik 2023-05-25 12:18 PM

رد: أن بي سي الأسطف سورس أليكس
 
thxxx

ahmedelfeky1919 2024-01-31 08:39 PM

رد: أن بي سي الأسطف سورس أليكس
 
تسلم

حنفي فارس 2024-03-06 11:02 PM

رد: أن بي سي الأسطف سورس أليكس
 
عاش

popmad43 2024-04-15 12:51 PM

رد: أن بي سي الأسطف سورس أليكس
 
مشكوررر


الساعة الآن 09:04 AM

مرحبا بكم في منتدي اكواد لتطوير الالعاب