منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   مشكلات السيرفيرات كونكر الشخصيه (https://code.vpscairo.com/forumdisplay.php?f=12)
-   -   مشكله ف الجوب سنتر (https://code.vpscairo.com/showthread.php?t=3658)

Ahmed helmy 2020-02-13 12:02 PM

مشكله ف الجوب سنتر
 
عندي مشكه ف الاتنين دول مش شغلين

ف الجوب سنتر بس باقي ال الانبسهات شغاله

بس بتوع النينجا والمونك مش شغلين بتوع الترقيه وكدا

بمعني لم بتكه عليه مش بتشتغل اصلا مش بيجبلي حاجه اصلا وهمي ياريت حل بسرعه
https://l.top4top.io/p_1504mz9m81.png

Hassan Emprator 2020-02-13 01:39 PM

رد: مشكله ف الجوب سنتر
 
اممم مفكرتش تشغل دماغك وتاخدهم من سورس تاني وتحطهم مثلا ؟؟

Ahmed helmy 2020-02-13 02:01 PM

رد: مشكله ف الجوب سنتر
 
مش هعرف اركبهم تعرف تجبهم وتقلي التركيب....!

Users 2020-02-13 04:03 PM

رد: مشكله ف الجوب سنتر
 
اهدا شويه وركز ممبيردوش عليك لانى رقم الانبسى فى السورس غير فى القاعده
خش السورس شوف رقمو كام وعد لو فى القاعده

MRonlineGvrix 2020-02-13 04:37 PM

رد: مشكله ف الجوب سنتر
 
المونك
كود PHP:

                            #region Monk Maestro
                            
case 4271:
                                {
                                    
dialog.Avatar(226);
                                    switch (
npcRequest.OptionID)
                                    {
                                        case 
0:
                                            {
                                                if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)
                                                {
                                                    
dialog.Text("I am the coach monk, master of balance and harmony destruction What do you want, young monk.?");
                                                    
dialog.Option("Promoverne"1);
                                                    
dialog.Option("Learn skills."2);
                                                    
dialog.Option("Epic skills."33);
                                                    
//  dialog.Option("Epic~Quest~(L70,~2nd-reborn).", 33);
                                                    
dialog.Option("Claim bound items."49);
                                                    
dialog.Option("Wait a minute."255);
                                                    
dialog.Send();
                                                }
                                                else
                                                {
                                                    
dialog.Text("Sorry, but I can only teach the monks / Santos of these lessons We can not share our traditional knowledge to those who do not share the faith..");
                                                    
dialog.Text("~ You should go talk to his own coach, if you are looking to improve their own skills.");
                                                    
dialog.Option("Okay."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#region BoundItems
                                        
case 49:
                                            {
                                                
dialog.Text("Hey how I can help you ? ");
                                                if (!
client.BootsClaim)
                                                    
dialog.Option("Boots +4 - TwoSocket - Free "53);
                                                if (!
client.NecklaceClaim)
                                                    
dialog.Option("Necklace +4 - TwoSocket - Free "30);
                                                if (!
client.FanClaim)
                                                    
dialog.Option("Fan +4 - TwoSocket - Free "4);
                                                if (!
client.TowerClaim)
                                                    
dialog.Option("Tower +4 - TwoSocket - Free "22);
                                                if (!
client.ArmorClaim)
                                                    
dialog.Option("Armor +4 - TwoSocket - Free"27);
                                                if (!
client.HeadgearClaim)
                                                    
dialog.Option("HeadGear +4 - TwoSocket - Free"76);
                                                if (!
client.WeaponClaim)
                                                    
dialog.Option("Weapone +4 - TwoSocket - Free"26);
                                                if (!
client.RingClaim)
                                                    
dialog.Option("Ring +4 - TwoSocket - Free"23);
                                                
dialog.Send();
                                                break;
                                            }
                                        case 
22:
                                            {
                                                
uint itemid 202009;
                                                
byte level 100;
                                                if (!
client.TowerClaim)
                                                {
                                                    if (
client.Entity.Level >= level)
                                                    {
                                                        
ConquerItem item = new ConquerItem(true);

                                                        
item.ID itemiditem.Color Game.Enums.Color.White;
                                                        
item.Durability item.MaximDurability Database
                                                            
.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                        
item.Bound true;
                                                        
item.Plus 4;
                                                        
item.SocketOne Game.Enums.Gem.SuperGloryGem;
                                                        
item.SocketTwo Game.Enums.Gem.SuperGloryGem;
                                                        if (
client.Inventory.Add(itemGame.Enums.ItemUse.CreateAndAdd))
                                                        {
                                                            
client.TowerClaim true;
                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("You need atleast one free slot in your inventory.");
                                                            
dialog.Option("Alright."255);
                                                            
dialog.Avatar(215);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You don't have atleast level " level ".");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Avatar(215);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("You cannot claim it twice.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Avatar(215);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
4:
                                            {
                                                
uint itemid 201009;
                                                
byte level 100;
                                                if (!
client.FanClaim)
                                                {
                                                    if (
client.Entity.Level >= level)
                                                    {
                                                        
ConquerItem item = new ConquerItem(true);

                                                        
item.ID itemiditem.Color Game.Enums.Color.White;
                                                        
item.Durability item.MaximDurability Database
                                                            
.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                        
item.Bound true;
                                                        
item.Plus 4;
                                                        
item.SocketOne Game.Enums.Gem.SuperThunderGem;
                                                        
item.SocketTwo Game.Enums.Gem.SuperThunderGem;
                                                        if (
client.Inventory.Add(itemGame.Enums.ItemUse.CreateAndAdd))
                                                        {
                                                            
client.FanClaim true;
                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("You need atleast one free slot in your inventory.");
                                                            
dialog.Option("Alright."255);
                                                            
dialog.Avatar(215);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You don't have atleast level " level ".");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Avatar(215);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("You cannot claim it twice.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Avatar(215);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
30:
                                            {
                                                
uint itemid 120129;
                                                
ConquerItem items = new ConquerItem(true);
                                                
items.ID itemid;
                                                
items.Color Game.Enums.Color.White;
                                                
items.Durability items.MaximDurability Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                
items.Bound true;
                                                
items.Plus 5;
                                                
items.SocketOne Game.Enums.Gem.EmptySocket;
                                                
items.SocketTwo Game.Enums.Gem.EmptySocket;
                                                if (
client.Inventory.Add(itemsGame.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.NecklaceClaim true;
                                                }
                                                break;
                                            }

                                        case 
53:
                                            {
                                                
uint itemid 160139;
                                                
ConquerItem items = new ConquerItem(true);
                                                
items.ID itemid;
                                                
items.Color Game.Enums.Color.White;
                                                
items.Plus 5;
                                                
items.Bound true;
                                                
items.SocketOne Game.Enums.Gem.EmptySocket;
                                                
items.SocketTwo Game.Enums.Gem.EmptySocket;
                                                
items.Durability items.MaximDurability Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                if (
client.Inventory.Add(itemsGame.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.BootsClaim true;
                                                }
                                                break;
                                            }
                                        case 
23:
                                            {
                                                
uint itemid 150139;
                                                
ConquerItem items = new ConquerItem(true);
                                                
items.ID itemid;
                                                
items.Color Game.Enums.Color.White;
                                                
items.Plus 5;
                                                
items.Bound true;
                                                
items.SocketOne Game.Enums.Gem.EmptySocket;
                                                
items.SocketTwo Game.Enums.Gem.EmptySocket;
                                                
items.Durability items.MaximDurability Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                if (
client.Inventory.Add(itemsGame.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.RingClaim true;
                                                }
                                                break;
                                            }
                                        case 
26:
                                            {
                                                if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)
                                                {
                                                    
uint itemid 610139;
                                                    
ConquerItem itemss = new ConquerItem(true);
                                                    
itemss.ID itemid;
                                                    
itemss.Color Game.Enums.Color.White;
                                                    
itemss.Plus 5;
                                                    
itemss.Bound true;
                                                    
itemss.SocketOne Game.Enums.Gem.EmptySocket;
                                                    
itemss.SocketTwo Game.Enums.Gem.EmptySocket;
                                                    
itemss.Durability itemss.MaximDurability Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemssGame.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.WeaponClaim true;
                                                    }
                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID itemid;
                                                    
items.Color Game.Enums.Color.White;
                                                    
items.Plus 5;
                                                    
items.Bound true;
                                                    
items.SocketOne Game.Enums.Gem.EmptySocket;
                                                    
items.SocketTwo Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsGame.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.WeaponClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        case 
27:
                                            {
                                                if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)
                                                {
                                                    
uint itemid 136069;

                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID itemid;
                                                    
items.Color Game.Enums.Color.White;
                                                    
items.Plus 5;
                                                    
items.Bound true;
                                                    
items.SocketOne Game.Enums.Gem.EmptySocket;
                                                    
items.SocketTwo Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsGame.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.ArmorClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        case 
76:
                                            {
                                                if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)
                                                {
                                                    
uint itemid 143069;

                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID itemid;
                                                    
items.Color Game.Enums.Color.White;
                                                    
items.Plus 5;
                                                    
items.Bound true;
                                                    
items.SocketOne Game.Enums.Gem.EmptySocket;
                                                    
items.SocketTwo Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsGame.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.HeadgearClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        
#endregion 

النينجا

كود PHP:

                            #region NinjaMaster
                            
case 4720:
                                {
                                    
dialog.Avatar(203);
                                    
byte mClass 50;
                                    
byte MClass 55;
                                    
string Class = "ninja";
                                    switch (
npcRequest.OptionID)
                                    {
                                        case 
0:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    
dialog.Text("I am the master of the no sound attack and the master of the katanas. As I see, you started your way on conquering this world. I will try to help you teaching you warrir skills and promoting you.");
                                                    
dialog.Option("Promote me."1);
                                                    
dialog.Option("Learn skills."2);
                                                    
dialog.Option("Learn Epic Shadow Skills."76);
                                                    
dialog.Option("Learn skills Scyth."59);
                                                    
//dialog.Option("Learn skills Gaping Wounds.", 69);
                                                    
dialog.Option("Prize Stuff +7 (s)1 -5 Here."49);
                                                    
dialog.Option("Wait a minute."255);
                                                    
dialog.Send();
                                                }
                                                else
                                                {
                                                    
dialog.Text("Fancy the skills of Ninja, huh? But the secrets of Ninja are not for trade. Find your own trainer, please.");
                                                    
dialog.Option("What~a~shame!"255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#region BoundItems
                                        
case 49:
                                            {
                                                
dialog.Text("Hey how I can help you ? ");
                                                if (!
client.BootsClaim)
                                                    
dialog.Option("Boots +7 (s)1 -5 Free "53);
                                                if (!
client.NecklaceClaim)
                                                    
dialog.Option("Necklace +7 (s)1 -5 Free "30);
                                                if (!
client.FanClaim)
                                                    
dialog.Option("Fan +7 (s)1 -1 Free "4);
                                                if (!
client.TowerClaim)
                                                    
dialog.Option("Tower +7 (s)1 -1 Free "22);
                                                if (!
client.ArmorClaim)
                                                    
dialog.Option("Armor +7 (s)1 -5 Free"27);
                                                if (!
client.HeadgearClaim)
                                                    
dialog.Option("HeadGear +7 (s)1 -5 Free"25);
                                                if (!
client.WeaponClaim)
                                                    
dialog.Option("Weapone.x4 +7 (s)1 -5 Free"26);
                                                if (!
client.RingClaim)
                                                    
dialog.Option("Ring +7 (s)1 -5 Free"23);
                                                
dialog.Send();
                                                break;
                                            }
                                        case 
22:
                                            {
                                                
uint itemid 202009;
                                                
byte level 100;
                                                if (!
client.TowerClaim)
                                                {
                                                    if (
client.Entity.Level >= level)
                                                    {
                                                        
ConquerItem item = new ConquerItem(true);

                                                        
item.ID itemiditem.Color KhaledMohamed.Game.Enums.Color.White;
                                                        
item.Durability item.MaximDurability KhaledMohamed.Database
                                                            
.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                        
item.Bound true;
                                                        
item.Plus 7;
                                                        
item.Bless 1;
                                                        
item.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                        
//item.SocketTwo = KhaledMohamed.Game.Enums.Gem.SuperGloryGem;
                                                        
if (client.Inventory.Add(itemKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                        {
                                                            
client.TowerClaim true;
                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("You need atleast one free slot in your inventory.");
                                                            
dialog.Option("Alright."255);
                                                            
dialog.Avatar(215);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You don't have atleast level " level ".");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Avatar(215);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("You cannot claim it twice.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Avatar(215);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
4:
                                            {
                                                
uint itemid 201009;
                                                
byte level 100;
                                                if (!
client.FanClaim)
                                                {
                                                    if (
client.Entity.Level >= level)
                                                    {
                                                        
ConquerItem item = new ConquerItem(true);

                                                        
item.ID itemiditem.Color KhaledMohamed.Game.Enums.Color.White;
                                                        
item.Durability item.MaximDurability KhaledMohamed.Database
                                                            
.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                        
item.Bound true;
                                                        
item.Plus 7;
                                                        
item.Bless 1;
                                                        
item.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                        
//item.SocketTwo = KhaledMohamed.Game.Enums.Gem.SuperThunderGem;
                                                        
if (client.Inventory.Add(itemKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                        {
                                                            
client.FanClaim true;
                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("You need atleast one free slot in your inventory.");
                                                            
dialog.Option("Alright."255);
                                                            
dialog.Avatar(215);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You don't have atleast level " level ".");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Avatar(215);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("You cannot claim it twice.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Avatar(215);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
30:
                                            {
                                                
uint itemid 120129;
                                                
ConquerItem items = new ConquerItem(true);
                                                
items.ID itemid;
                                                
items.Color KhaledMohamed.Game.Enums.Color.White;
                                                
items.Durability items.MaximDurability KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                
items.Bound true;
                                                
items.Plus 7;
                                                
items.Bless 5;
                                                
items.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                
if (client.Inventory.Add(itemsKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.NecklaceClaim true;
                                                }
                                                break;
                                            }

                                        case 
53:
                                            {
                                                
uint itemid 160139;
                                                
ConquerItem items = new ConquerItem(true);
                                                
items.ID itemid;
                                                
items.Color KhaledMohamed.Game.Enums.Color.White;
                                                
items.Plus 7;
                                                
items.Bless 5;
                                                
items.Bound true;
                                                
items.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                
items.Durability items.MaximDurability KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                if (
client.Inventory.Add(itemsKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.BootsClaim true;
                                                }
                                                break;
                                            }
                                        case 
23:
                                            {
                                                
uint itemid 150139;
                                                
ConquerItem items = new ConquerItem(true);
                                                
items.ID itemid;
                                                
items.Color KhaledMohamed.Game.Enums.Color.White;
                                                
items.Plus 7;
                                                
items.Bless 5;
                                                
items.Bound true;
                                                
items.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                
items.Durability items.MaximDurability KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                if (
client.Inventory.Add(itemsKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.RingClaim true;
                                                }
                                                break;
                                            }
                                        case 
26:
                                            {
                                                if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                                {
                                                    
uint itemid 601139;
                                                    
ConquerItem itemss = new ConquerItem(true);
                                                    
itemss.ID itemid;
                                                    
itemss.Color KhaledMohamed.Game.Enums.Color.White;
                                                    
itemss.Plus 7;
                                                    
itemss.Bless 5;
                                                    
itemss.Bound true;
                                                    
itemss.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
// //itemss.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
itemss.Durability itemss.MaximDurability KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemssKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.WeaponClaim true;
                                                    }
                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID itemid;
                                                    
items.Color KhaledMohamed.Game.Enums.Color.White;
                                                    
items.Plus 7;
                                                    
items.Bless 5;
                                                    
items.Bound true;
                                                    
items.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.WeaponClaim true;
                                                    }
                                                    
ConquerItem itemsss = new ConquerItem(true);
                                                    
itemsss.ID 616139;
                                                    
itemsss.Color KhaledMohamed.Game.Enums.Color.White;
                                                    
itemsss.Plus 7;
                                                    
itemsss.Bound true;
                                                    
itemsss.Bless 5;
                                                    
itemsss.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
//  itemsss.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
itemsss.Durability itemsss.MaximDurability KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsssKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.WeaponClaim true;
                                                    }
                                                    
ConquerItem itemssss = new ConquerItem(true);
                                                    
itemssss.ID 616139;
                                                    
itemssss.Color KhaledMohamed.Game.Enums.Color.White;
                                                    
itemssss.Plus 7;
                                                    
itemssss.Bless 5;
                                                    
itemssss.Bound true;
                                                    
itemssss.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
itemssss.Durability itemssss.MaximDurability KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemssssKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.WeaponClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        case 
27:
                                            {
                                                if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                                {
                                                    
uint itemid 135069;

                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID itemid;
                                                    
items.Color KhaledMohamed.Game.Enums.Color.White;
                                                    
items.Plus 7;
                                                    
items.Bless 5;
                                                    
items.Bound true;
                                                    
items.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.ArmorClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        case 
25:
                                            {
                                                if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                                {
                                                    
uint itemid 112069;

                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID itemid;
                                                    
items.Color KhaledMohamed.Game.Enums.Color.White;
                                                    
items.Plus 7;
                                                    
items.Bless 5;
                                                    
items.Bound true;
                                                    
items.SocketOne KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsKhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.HeadgearClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        
#endregion
                                        
case 76:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    
dialog.Text("Let me know what you want to learn.");
                                                    
dialog.Option("TwilightDance."80);
                                                    
dialog.Option("ShadowClone."81);
                                                    
dialog.Option("FatalSpin."83);
                                                    
dialog.Option("Nothing."255);
                                                    
dialog.Send();
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
80:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 15)
                                                    {
                                                        
dialog.Text("You have learned the TwilightDance.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12070));
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 15 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
81:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        if (!
client.AddSpell(LearnableSpell(12090)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                            break;
                                                        }
                                                        
dialog.Text("You have learned the FrankoClone.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
82:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        if (!
client.AddSpell(LearnableSpell(12080)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                            break;
                                                        }
                                                        
dialog.Text("You have learned the SuperTwofoldBlade.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
83:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 15)
                                                    {
                                                        if (!
client.AddSpell(LearnableSpell(12110)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                            break;
                                                        }
                                                        
dialog.Text("You have learned the FatalSpin.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 15 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
59:
                                            {
                                                
dialog.Option("Learn Bloody Scythe."60);
                                                
dialog.Option("Learn Mortal Drag "61);
                                                
dialog.Option("Alright."255);
                                                
dialog.Send();

                                                break;
                                            }
                                        case 
69:
                                            {
                                                if (
client.Entity.Level >= 40)
                                                {
                                                    if (!
client.AddSpell(LearnableSpell(11230)))
                                                    {
                                                        
dialog.Text("You already know this skill.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        break;
                                                    }
                                                    
dialog.Text("You have learned the Gaping Wounds.");
                                                    
dialog.Option("Thank you master."255);
                                                    
dialog.Send();
                                                    
client.AddSpell(LearnableSpell(11230));
                                                }
                                                else
                                                {
                                                    
dialog.Text("You need to be level 20 or more.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
60:
                                            {
                                                if (
client.Entity.Level >= 20)
                                                {
                                                    if (!
client.AddSpell(LearnableSpell(11170)))
                                                    {
                                                        
dialog.Text("You already know this skill.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        break;
                                                    }
                                                    
dialog.Text("You have learned the Bloody Scythe.");
                                                    
dialog.Option("Thank you master."255);
                                                    
dialog.Send();
                                                    
client.AddSpell(LearnableSpell(11170));
                                                }
                                                else
                                                {
                                                    
dialog.Text("You need to be level 20 or more.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
61:
                                            {
                                                if (
client.Entity.Level >= 20)
                                                {
                                                    if (!
client.AddSpell(LearnableSpell(11180)))
                                                    {
                                                        
dialog.Text("You already know this skill.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        break;
                                                    }
                                                    
dialog.Text("You have learned the Mortal Drag.");
                                                    
dialog.Option("Thank you master."255);
                                                    
dialog.Send();
                                                    
client.AddSpell(LearnableSpell(11180));
                                                }
                                                else
                                                {
                                                    
dialog.Text("You need to be level 20 or more.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
1:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Class == MClass)
                                                    {
                                                        
dialog.Text("You cannot be promoted anymore. You have mastered your class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("To promote now you need" client.PromoteItemNameNeed " level " client.PromoteLevelNeed ".");
                                                        
dialog.Option("Promote me sir."3);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
3:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Class == MClass)
                                                    {
                                                        
dialog.Text("You cannot be promoted anymore. You have mastered your class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                    }
                                                    else
                                                    {
                                                        if (
client.PromoteItemNeed == 721020)
                                                        {
                                                            if (
client.Inventory.Remove("moonbox"))
                                                            {
                                                                
client.Inventory.Add(client.PromoteItemGain01);
                                                                
client.Entity.Class++;
                                                                
client.Entity.Update(10"end_task"true);
                                                                
dialog.Text(" Congratulations ! You have been promoted.");
                                                                
dialog.Option("Thank you master."255);
                                                                
dialog.Send();
                                                            }
                                                            else
                                                            {
                                                                
dialog.Text("You don't meet the requierments.");
                                                                
dialog.Option("Ahh."255);
                                                                
dialog.Send();
                                                            }
                                                            return;
                                                        }
                                                        if (
client.Inventory.Contains(client.PromoteItemNeedclient.PromoteItemCountNeed) && client.Entity.Level >= client.PromoteLevelNeed)
                                                        {
                                                            
client.Inventory.Remove(client.PromoteItemNeedclient.PromoteItemCountNeed);
                                                            
client.Inventory.Add(client.PromoteItemGain01);
                                                            
client.Entity.Class++;
                                                            
client.Entity.Update(10"end_task"true);
                                                            
dialog.Text(" Congratulations ! You have been promoted.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("You don't meet the requierments.");
                                                            
dialog.Option("Ahh."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
2:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    
dialog.Text("Let me know what you want to learn. '[...]' and '{...}' means ninja as second life and ninja as third life.");
                                                    
dialog.Option("FatalStrick (Lvl 15)."11);
                                                    
dialog.Option("TwofoldBlades (Lvl 40)."5);
                                                    
dialog.Option("SuperTwofoldBlade (Lvl 40)."82);
                                                    
dialog.Option("ToxicFog (Lvl 70)."6);
                                                    
dialog.Option("ShurikenVortex (Lvl 70)."10);
                                                    
dialog.Option("PoisonStar [Lvl 70]."7);
                                                    
dialog.Option("ArcherBane (Lvl 110)."9);
                                                    
dialog.Option("Nothing."255);
                                                    
dialog.Send();
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
11:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        if (!
client.AddSpell(LearnableSpell(6011)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                            break;
                                                        }
                                                        
dialog.Text("You have learned the TwofoldBlades.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(6011));
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 15 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
5:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        if (!
client.AddSpell(LearnableSpell(6000)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                            break;
                                                        }
                                                        
dialog.Text("You have learned the TwofoldBlades.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(6000));
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 23 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
6:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 70)
                                                    {
                                                        if (!
client.AddSpell(LearnableSpell(6001)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                            break;
                                                        }
                                                        
dialog.Text("You have learned the ToxicFog.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(6001));
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 70 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
7:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 70)
                                                    {
                                                        if ((
client.Entity.Reborn == && client.Entity.Class == 55) || (client.Entity.Reborn == && client.Entity.SecondRebornClass == 55))
                                                        {
                                                            if (!
client.AddSpell(LearnableSpell(6002)))
                                                            {
                                                                
dialog.Text("You already know this skill.");
                                                                
dialog.Option("Thank you master."255);
                                                                
dialog.Send();
                                                                break;
                                                            }
                                                            
dialog.Text("You have learned the PoisonStar.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                            
client.AddSpell(LearnableSpell(6002));
                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("You need to be ninja in the second life.");
                                                            
dialog.Option("Alright."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 70 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
8:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 70)
                                                    {
                                                        if (
client.Entity.Reborn == && client.Entity.Class == 55)
                                                        {
                                                            if (!
client.AddSpell(LearnableSpell(6003)))
                                                            {
                                                                
dialog.Text("You already know this skill.");
                                                                
dialog.Option("Thank you master."255);
                                                                
dialog.Send();
                                                                break;
                                                            }
                                                            
dialog.Text("You have learned the CounterKill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                            
client.AddSpell(LearnableSpell(6003));
                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("You need to be ninja in the third life.");
                                                            
dialog.Option("Alright."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 70 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
9:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 110)
                                                    {
                                                        if (!
client.AddSpell(LearnableSpell(6004)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                            break;
                                                        }
                                                        
dialog.Text("You have learned the ArcherBane.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(6004));
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 70 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
10:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Level >= 70)
                                                    {
                                                        if (!
client.AddSpell(LearnableSpell(6010)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                            break;
                                                        }
                                                        
dialog.Text("You have learned the ShurikenVortex.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(6010));
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 70 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                    }
                                    break;
                                }
                            
#endregion 

الاضفات فى القاعدة شيك عليها


الساعة الآن 11:56 AM

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