المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : في نبس اسطف


Amr Khalid
2020-04-01, 06:20 PM
دلوقتي انا عندي الانبسي بيجيب اسطف مش فري انا عوزو يددي اسطف بوند يعني فري مش بتترد يعني ممكن حاد يولي اعمل اي

عادل عصام
2020-04-01, 06:52 PM
اتفضل دة ان بي سي بيدي استفة بوند ولو محتاج تعدل اي حاجة فية قولي ,
متنساش تغير 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 = itemid; item.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(item, Rayzo.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 = itemid; item.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(item, 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 = Rayzo.Game.Enums.Color.White;
items.Durability = items.MaximDurability = Rayzo.Database.ConquerItemInformation.BaseInformat ions[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(items, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(items, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(items, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(itemss, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(items, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(items, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(items, Rayzo.Game.Enums.ItemUse.CreateAndAdd))
{
client.HeadgearClaim = true;
}
}
break;
}
#endregion

Amr Khalid
2020-04-02, 12:06 AM
اتفضل دة ان بي سي بيدي استفة بوند ولو محتاج تعدل اي حاجة فية قولي ,
متنساش تغير 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 = itemid; item.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(item, Rayzo.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 = itemid; item.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(item, 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 = Rayzo.Game.Enums.Color.White;
items.Durability = items.MaximDurability = Rayzo.Database.ConquerItemInformation.BaseInformat ions[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(items, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(items, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(items, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(itemss, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(items, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(items, Rayzo.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.BaseInformat ions[itemid].Durability;
if (client.Inventory.Add(items, Rayzo.Game.Enums.ItemUse.CreateAndAdd))
{
client.HeadgearClaim = true;
}
}
break;
}
#endregion




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