قديم 2020-04-01, 06:52 PM
المشاركة 2
عادل عصام
.:: عضو جديد ::.
  • غير متواجد
افتراضي رد: في نبس اسطف
اتفضل دة ان بي سي بيدي استفة بوند ولو محتاج تعدل اي حاجة فية قولي ,
متنساش تغير AdelEssam بأسم البروجكت بتاعك عشان ميجبش ايرورات ,


كود:
                                      #region BoundItems
                                        
case 49:
                                            {
                                                
dialog.Text("Hey how I can help you ? ");
                                                if (!
client.BootsClaim)
                                                    
dialog.Option("Boots +12 (s)1 -7 Free "53);
                                                if (!
client.NecklaceClaim)
                                                    
dialog.Option("Necklace +12 (s)1 -7 Free "30);
                                                if (!
client.FanClaim)
                                                    
dialog.Option("Fan +12 (s)1 -1 Free "4);
                                                if (!
client.TowerClaim)
                                                    
dialog.Option("Tower +12 (s)1 -1 Free "22);
                                                if (!
client.ArmorClaim)
                                                    
dialog.Option("Armor +12 (s)1 -7 Free"27);
                                                if (!
client.HeadgearClaim)
                                                    
dialog.Option("HeadGear +12 (s)1 -7 Free"34);
                                                if (!
client.WeaponClaim)
                                                    
dialog.Option("Weapone.x2 +12 (s)1 -7 Free"26);
                                                if (!
client.RingClaim)
                                                    
dialog.Option("Ring +12 (s)1 -7 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 Rayzo.Game.Enums.Color.White;
                                                        
item.Durability item.MaximDurability Rayzo.Database
                                                            
.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                        
item.Bound true;
                                                        
item.Plus 12;
                                                        
item.Bless 1;
                                                        
item.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                        
item.SocketTwo Rayzo.Game.Enums.Gem.EmptySocket;
                                                        
//item.SocketTwo = ServerProject.Game.Enums.Gem.SuperGloryGem;
                                                        
if (client.Inventory.Add(itemRayzo.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 Game.Enums.Color.White;
                                                        
item.Durability item.MaximDurability Database
                                                            
.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                        
item.Bound true;
                                                        
item.Plus 12;
                                                        
item.Bless 1;
                                                        
item.SocketOne Game.Enums.Gem.EmptySocket;
                                                        
//item.SocketTwo = ServerProject.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 Rayzo.Game.Enums.Color.White;
                                                
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                
items.Bound true;
                                                
items.Plus 12;
                                                
items.Bless 7;
                                                
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                
if (client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.NecklaceClaim true;
                                                }
                                                break;
                                            }

                                        case 
53:
                                            {
                                                
uint itemid 160139;
                                                
ConquerItem items = new ConquerItem(true);
                                                
items.ID itemid;
                                                
items.Color Rayzo.Game.Enums.Color.White;
                                                
items.Plus 12;
                                                
items.Bless 7;
                                                
items.Bound true;
                                                
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                if (
client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.BootsClaim true;
                                                }
                                                break;
                                            }
                                        case 
23:
                                            {
                                                
uint itemid 150139;
                                                
ConquerItem items = new ConquerItem(true);
                                                
items.ID itemid;
                                                
items.Color Rayzo.Game.Enums.Color.White;
                                                
items.Plus 12;
                                                
items.Bless 7;
                                                
items.Bound true;
                                                
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                if (
client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.RingClaim true;
                                                }
                                                break;
                                            }
                                        case 
26:
                                            {
                                                if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                                {
                                                    
uint itemid 612139;
                                                    
ConquerItem itemss = new ConquerItem(true);
                                                    
itemss.ID itemid;
                                                    
itemss.Color Rayzo.Game.Enums.Color.White;
                                                    
itemss.Plus 12;
                                                    
itemss.Bless 7;
                                                    
itemss.Bound true;
                                                    
itemss.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                    
//itemss.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                    
itemss.Durability itemss.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemssRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.WeaponClaim true;
                                                    }
                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID 611139;
                                                    
items.Color Rayzo.Game.Enums.Color.White;
                                                    
items.Plus 12;
                                                    
items.Bless 7;
                                                    
items.Bound true;
                                                    
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                    
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.WeaponClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        case 
27:
                                            {
                                                if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                                {
                                                    
uint itemid 139069;
                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID itemid;
                                                    
items.Color Rayzo.Game.Enums.Color.White;
                                                    
items.Plus 12;
                                                    
items.Bless 7;
                                                    
items.Bound true;
                                                    
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                    
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.ArmorClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        case 
34:
                                            {
                                                if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                                {
                                                    
uint itemid 144069;
                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID itemid;
                                                    
items.Color Rayzo.Game.Enums.Color.White;
                                                    
items.Plus 12;
                                                    
items.Bless 7;
                                                    
items.Bound true;
                                                    
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                    
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.HeadgearClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        
#endregion 


قديم 2020-04-02, 12:06 AM
المشاركة 3
Amr Khalid
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: في نبس اسطف
اتفضل دة ان بي سي بيدي استفة بوند ولو محتاج تعدل اي حاجة فية قولي ,
متنساش تغير AdelEssam بأسم البروجكت بتاعك عشان ميجبش ايرورات ,


كود:
                                      #region BoundItems
                                        
case 49:
                                            {
                                                
dialog.Text("Hey how I can help you ? ");
                                                if (!
client.BootsClaim)
                                                    
dialog.Option("Boots +12 (s)1 -7 Free "53);
                                                if (!
client.NecklaceClaim)
                                                    
dialog.Option("Necklace +12 (s)1 -7 Free "30);
                                                if (!
client.FanClaim)
                                                    
dialog.Option("Fan +12 (s)1 -1 Free "4);
                                                if (!
client.TowerClaim)
                                                    
dialog.Option("Tower +12 (s)1 -1 Free "22);
                                                if (!
client.ArmorClaim)
                                                    
dialog.Option("Armor +12 (s)1 -7 Free"27);
                                                if (!
client.HeadgearClaim)
                                                    
dialog.Option("HeadGear +12 (s)1 -7 Free"34);
                                                if (!
client.WeaponClaim)
                                                    
dialog.Option("Weapone.x2 +12 (s)1 -7 Free"26);
                                                if (!
client.RingClaim)
                                                    
dialog.Option("Ring +12 (s)1 -7 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 Rayzo.Game.Enums.Color.White;
                                                        
item.Durability item.MaximDurability Rayzo.Database
                                                            
.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                        
item.Bound true;
                                                        
item.Plus 12;
                                                        
item.Bless 1;
                                                        
item.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                        
item.SocketTwo Rayzo.Game.Enums.Gem.EmptySocket;
                                                        
//item.SocketTwo = ServerProject.Game.Enums.Gem.SuperGloryGem;
                                                        
if (client.Inventory.Add(itemRayzo.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 Game.Enums.Color.White;
                                                        
item.Durability item.MaximDurability Database
                                                            
.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                        
item.Bound true;
                                                        
item.Plus 12;
                                                        
item.Bless 1;
                                                        
item.SocketOne Game.Enums.Gem.EmptySocket;
                                                        
//item.SocketTwo = ServerProject.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 Rayzo.Game.Enums.Color.White;
                                                
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                
items.Bound true;
                                                
items.Plus 12;
                                                
items.Bless 7;
                                                
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                
if (client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.NecklaceClaim true;
                                                }
                                                break;
                                            }

                                        case 
53:
                                            {
                                                
uint itemid 160139;
                                                
ConquerItem items = new ConquerItem(true);
                                                
items.ID itemid;
                                                
items.Color Rayzo.Game.Enums.Color.White;
                                                
items.Plus 12;
                                                
items.Bless 7;
                                                
items.Bound true;
                                                
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                if (
client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.BootsClaim true;
                                                }
                                                break;
                                            }
                                        case 
23:
                                            {
                                                
uint itemid 150139;
                                                
ConquerItem items = new ConquerItem(true);
                                                
items.ID itemid;
                                                
items.Color Rayzo.Game.Enums.Color.White;
                                                
items.Plus 12;
                                                
items.Bless 7;
                                                
items.Bound true;
                                                
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                if (
client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                {
                                                    
client.RingClaim true;
                                                }
                                                break;
                                            }
                                        case 
26:
                                            {
                                                if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                                {
                                                    
uint itemid 612139;
                                                    
ConquerItem itemss = new ConquerItem(true);
                                                    
itemss.ID itemid;
                                                    
itemss.Color Rayzo.Game.Enums.Color.White;
                                                    
itemss.Plus 12;
                                                    
itemss.Bless 7;
                                                    
itemss.Bound true;
                                                    
itemss.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                    
//itemss.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                    
itemss.Durability itemss.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemssRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.WeaponClaim true;
                                                    }
                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID 611139;
                                                    
items.Color Rayzo.Game.Enums.Color.White;
                                                    
items.Plus 12;
                                                    
items.Bless 7;
                                                    
items.Bound true;
                                                    
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                    
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.WeaponClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        case 
27:
                                            {
                                                if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                                {
                                                    
uint itemid 139069;
                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID itemid;
                                                    
items.Color Rayzo.Game.Enums.Color.White;
                                                    
items.Plus 12;
                                                    
items.Bless 7;
                                                    
items.Bound true;
                                                    
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                    
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.ArmorClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        case 
34:
                                            {
                                                if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                                {
                                                    
uint itemid 144069;
                                                    
ConquerItem items = new ConquerItem(true);
                                                    
items.ID itemid;
                                                    
items.Color Rayzo.Game.Enums.Color.White;
                                                    
items.Plus 12;
                                                    
items.Bless 7;
                                                    
items.Bound true;
                                                    
items.SocketOne Rayzo.Game.Enums.Gem.EmptySocket;
                                                    
// items.SocketTwo = ServerProject.Game.Enums.Gem.EmptySocket;
                                                    
items.Durability items.MaximDurability Rayzo.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
                                                    if (
client.Inventory.Add(itemsRayzo.Game.Enums.ItemUse.CreateAndAdd))
                                                    {
                                                        
client.HeadgearClaim true;
                                                    }
                                                }
                                                break;
                                            }
                                        
#endregion 



شكررررا ي كبير


العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

الانتقال السريع

المواضيع المتشابهه للموضوع: في نبس اسطف
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
NPC اسطف Bound +12 Ahmeed Sheeko تطوير سيرفرات كونكر 15 2023-08-22 07:08 PM
عوز انبسي بي اصطف +12 احمد التركي مشكلات السيرفيرات كونكر الشخصيه 3 2020-05-08 02:50 AM
طلب نبس اسطف لفل 70 بس من غير اي حاجه Amr Khalid مشكلات السيرفيرات كونكر الشخصيه 4 2020-05-02 03:05 AM
اسطف لفل 140 جديده دلع سرفرك Tyranny-Team's تطوير سيرفرات كونكر 9 2020-03-11 10:15 PM
عوز انبسي اسطف Amr Khalid مشكلات السيرفيرات كونكر الشخصيه 2 2019-11-26 10:20 PM


الساعة الآن 12:17 PM

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.