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

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


MRonlineGvrix
2020-01-23, 05:28 AM
ان بي سي البيرفكشن بيعم السهم بتاع القوس بيرفكشن با المنظر دا و بالتالى بيخلى فى الرينك الاول على العيبة كلها

صورة للتوضيح

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

ودا الان بي سي اهو

#region PerfectionL
case 3523:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello Pro I Am Here To PerfectionLevel DigitalConquer.");

dialog.Option("Add Perfectionlevel All Items", 5);
dialog.Send();
break;
}
case 5:
{

ConquerItem item1;
ConquerItem item2;
ConquerItem item3;
ConquerItem item4;
ConquerItem item5;
ConquerItem item6;
ConquerItem item7;
ConquerItem item8;
ConquerItem item9;
ConquerItem item10;
ConquerItem item11;
ConquerItem item12;
item1 = client.Equipment.TryGetItem(ConquerItem.Necklace);
item2 = client.Equipment.TryGetItem(ConquerItem.Armor);
item3 = client.Equipment.TryGetItem(ConquerItem.Ring);
item4 = client.Equipment.TryGetItem(ConquerItem.Boots);
item5 = client.Equipment.TryGetItem(ConquerItem.Head);
item6 = client.Equipment.TryGetItem(ConquerItem.Tower);
item7 = client.Equipment.TryGetItem(ConquerItem.Fan);
item8 = client.Equipment.TryGetItem(ConquerItem.SteedCrop) ;
item9 = client.Equipment.TryGetItem(ConquerItem.Steed);
item10 = client.Equipment.TryGetItem(ConquerItem.RightWeapo n);
item11 = client.Equipment.TryGetItem(ConquerItem.LeftWeapon );
item12 = client.Equipment.TryGetItem(ConquerItem.Wing);

{
{

if (client.Entity.ConquerPoints >= 500000)
{
client.Entity.ConquerPoints -= 500000;
}
else
{
dialog.Text("Please come back to me with 500,000 Conquer Points.");
dialog.Option("Ahh sorry.", 255);
dialog.Send();
}

if ((item1 = client.Equipment.TryGetItem(ConquerItem.Necklace)) != null)
{
item1.Stars = 54;
item1.PerfectionProgress = 0;
item1.Owner = client.Entity.Name;
item1.OwnerUID = client.Entity.UID;
item1.Mode = Game.Enums.ItemMode.Update;
item1.Send(client);
Database.ConquerItemTable.UpdatePerfection(item1);
}
else
{
return;
}

if ((item2 = client.Equipment.TryGetItem(ConquerItem.Armor)) != null)
{
item2.Stars = 54;
item2.PerfectionProgress = 0;
item2.Owner = client.Entity.Name;
item2.OwnerUID = client.Entity.UID;
item2.Mode = Game.Enums.ItemMode.Update;
item2.Send(client);
Database.ConquerItemTable.UpdatePerfection(item2);
}
else
{
return;
}

if ((item3 = client.Equipment.TryGetItem(ConquerItem.Ring)) != null)
{
item3.Stars = 54;
item3.PerfectionProgress = 0;
item3.Owner = client.Entity.Name;
item3.OwnerUID = client.Entity.UID;
item3.Mode = Game.Enums.ItemMode.Update;
item3.Send(client);
Database.ConquerItemTable.UpdatePerfection(item3);
}
else
{
return;
}

if ((item4 = client.Equipment.TryGetItem(ConquerItem.Boots)) != null)
{
item4.Stars = 54;
item4.PerfectionProgress = 0;
item4.Owner = client.Entity.Name;
item4.OwnerUID = client.Entity.UID;
item4.Mode = Game.Enums.ItemMode.Update;
item4.Send(client);
Database.ConquerItemTable.UpdatePerfection(item4);
}
else
{
return;
}

if ((item5 = client.Equipment.TryGetItem(ConquerItem.Head)) != null)
{
item5.Stars = 54;
item5.PerfectionProgress = 0;
item5.Owner = client.Entity.Name;
item5.OwnerUID = client.Entity.UID;
item5.Mode = Game.Enums.ItemMode.Update;
item5.Send(client);
Database.ConquerItemTable.UpdatePerfection(item5);
}
else
{
return;
}

if ((item6 = client.Equipment.TryGetItem(ConquerItem.Tower)) != null)
{
item6.Stars = 54;
item6.PerfectionProgress = 0;
item6.Owner = client.Entity.Name;
item6.OwnerUID = client.Entity.UID;
item6.Mode = Game.Enums.ItemMode.Update;
item6.Send(client);
Database.ConquerItemTable.UpdatePerfection(item6);
}
else
{
return;
}

if ((item7 = client.Equipment.TryGetItem(ConquerItem.Fan)) != null)
{
item7.Stars = 54;
item7.PerfectionProgress = 0;
item7.Owner = client.Entity.Name;
item7.OwnerUID = client.Entity.UID;
item7.Mode = Game.Enums.ItemMode.Update;
item7.Send(client);
Database.ConquerItemTable.UpdatePerfection(item7);
}
else
{
return;
}

if ((item8 = client.Equipment.TryGetItem(ConquerItem.SteedCrop) ) != null)
{
item8.Stars = 54;
item8.PerfectionProgress = 0;
item8.Owner = client.Entity.Name;
item8.OwnerUID = client.Entity.UID;
item8.Mode = Game.Enums.ItemMode.Update;
item8.Send(client);
Database.ConquerItemTable.UpdatePerfection(item8);
}
else
{
return;
}

if ((item9 = client.Equipment.TryGetItem(ConquerItem.Steed)) != null)
{
item9.Stars = 54;
item9.PerfectionProgress = 0;
item9.Owner = client.Entity.Name;
item9.OwnerUID = client.Entity.UID;
item9.Mode = Game.Enums.ItemMode.Update;
item9.Send(client);
Database.ConquerItemTable.UpdatePerfection(item9);
}
else
{
return;
}

if ((item10 = client.Equipment.TryGetItem(ConquerItem.RightWeapo n)) != null)
{
item10.Stars = 54;
item10.PerfectionProgress = 0;
item10.Owner = client.Entity.Name;
item10.OwnerUID = client.Entity.UID;
item10.Mode = Game.Enums.ItemMode.Update;
item10.Send(client);
Database.ConquerItemTable.UpdatePerfection(item10) ;
}
else
{
return;
}

if ((item11 = client.Equipment.TryGetItem(ConquerItem.LeftWeapon )) != null)
{
item11.Stars = 54;
item11.PerfectionProgress = 0;
item11.Owner = client.Entity.Name;
item11.OwnerUID = client.Entity.UID;
item11.Mode = Game.Enums.ItemMode.Update;
item11.Send(client);
Database.ConquerItemTable.UpdatePerfection(item11) ;
}
else
{
return;
}

if ((item12 = client.Equipment.TryGetItem(ConquerItem.Wing)) != null)
{
item12.Stars = 54;
item12.PerfectionProgress = 0;
item12.Owner = client.Entity.Name;
item12.OwnerUID = client.Entity.UID;
item12.Mode = Game.Enums.ItemMode.Update;
item12.Send(client);
Database.ConquerItemTable.UpdatePerfection(item12) ;
}
else
{
return;
}
client.Entity.Update(_String.Effect, "dakaishengzhi", true);
}
}
break;
}
}
break;
}
#endregion

MRonlineGvrix
2020-01-24, 05:03 AM
up

Tefa
2020-01-24, 06:11 PM
#region PerfectionL
case 3523:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello Pro I Am Here To PerfectionLevel DigitalConquer.");

dialog.Option("Add Perfectionlevel All Items", 5);
dialog.Send();
break;
}
case 5:
{

ConquerItem item1;
ConquerItem item2;
ConquerItem item3;
ConquerItem item4;
ConquerItem item5;
ConquerItem item6;
ConquerItem item7;
ConquerItem item8;
ConquerItem item9;
ConquerItem item10;
ConquerItem item11;
ConquerItem item12;
item1 = client.Equipment.TryGetItem(ConquerItem.Necklace);
item2 = client.Equipment.TryGetItem(ConquerItem.Armor);
item3 = client.Equipment.TryGetItem(ConquerItem.Ring);
item4 = client.Equipment.TryGetItem(ConquerItem.Boots);
item5 = client.Equipment.TryGetItem(ConquerItem.Head);
item6 = client.Equipment.TryGetItem(ConquerItem.Tower);
item7 = client.Equipment.TryGetItem(ConquerItem.Fan);
item8 = client.Equipment.TryGetItem(ConquerItem.SteedCrop) ;
item9 = client.Equipment.TryGetItem(ConquerItem.Steed);
item10 = client.Equipment.TryGetItem(ConquerItem.RightWeapo n);
item11 = client.Equipment.TryGetItem(ConquerItem.LeftWeapon );
item12 = client.Equipment.TryGetItem(ConquerItem.Wing);

{
{

if (client.Entity.ConquerPoints >= 500000)
{
client.Entity.ConquerPoints -= 500000;
}
else
{
dialog.Text("Please come back to me with 500,000 Conquer Points.");
dialog.Option("Ahh sorry.", 255);
dialog.Send();
}

if ((item1 = client.Equipment.TryGetItem(ConquerItem.Necklace)) != null)
{
item1.Stars = 54;
item1.PerfectionProgress = 0;
item1.Owner = client.Entity.Name;
item1.OwnerUID = client.Entity.UID;
item1.Mode = Game.Enums.ItemMode.Update;
item1.Send(client);
Database.ConquerItemTable.UpdatePerfection(item1);
}
else
{
return;
}

if ((item2 = client.Equipment.TryGetItem(ConquerItem.Armor)) != null)
{
item2.Stars = 54;
item2.PerfectionProgress = 0;
item2.Owner = client.Entity.Name;
item2.OwnerUID = client.Entity.UID;
item2.Mode = Game.Enums.ItemMode.Update;
item2.Send(client);
Database.ConquerItemTable.UpdatePerfection(item2);
}
else
{
return;
}

if ((item3 = client.Equipment.TryGetItem(ConquerItem.Ring)) != null)
{
item3.Stars = 54;
item3.PerfectionProgress = 0;
item3.Owner = client.Entity.Name;
item3.OwnerUID = client.Entity.UID;
item3.Mode = Game.Enums.ItemMode.Update;
item3.Send(client);
Database.ConquerItemTable.UpdatePerfection(item3);
}
else
{
return;
}

if ((item4 = client.Equipment.TryGetItem(ConquerItem.Boots)) != null)
{
item4.Stars = 54;
item4.PerfectionProgress = 0;
item4.Owner = client.Entity.Name;
item4.OwnerUID = client.Entity.UID;
item4.Mode = Game.Enums.ItemMode.Update;
item4.Send(client);
Database.ConquerItemTable.UpdatePerfection(item4);
}
else
{
return;
}

if ((item5 = client.Equipment.TryGetItem(ConquerItem.Head)) != null)
{
item5.Stars = 54;
item5.PerfectionProgress = 0;
item5.Owner = client.Entity.Name;
item5.OwnerUID = client.Entity.UID;
item5.Mode = Game.Enums.ItemMode.Update;
item5.Send(client);
Database.ConquerItemTable.UpdatePerfection(item5);
}
else
{
return;
}

if ((item6 = client.Equipment.TryGetItem(ConquerItem.Tower)) != null)
{
item6.Stars = 54;
item6.PerfectionProgress = 0;
item6.Owner = client.Entity.Name;
item6.OwnerUID = client.Entity.UID;
item6.Mode = Game.Enums.ItemMode.Update;
item6.Send(client);
Database.ConquerItemTable.UpdatePerfection(item6);
}
else
{
return;
}

if ((item7 = client.Equipment.TryGetItem(ConquerItem.Fan)) != null)
{
item7.Stars = 54;
item7.PerfectionProgress = 0;
item7.Owner = client.Entity.Name;
item7.OwnerUID = client.Entity.UID;
item7.Mode = Game.Enums.ItemMode.Update;
item7.Send(client);
Database.ConquerItemTable.UpdatePerfection(item7);
}
else
{
return;
}

if ((item8 = client.Equipment.TryGetItem(ConquerItem.SteedCrop) ) != null)
{
item8.Stars = 54;
item8.PerfectionProgress = 0;
item8.Owner = client.Entity.Name;
item8.OwnerUID = client.Entity.UID;
item8.Mode = Game.Enums.ItemMode.Update;
item8.Send(client);
Database.ConquerItemTable.UpdatePerfection(item8);
}
else
{
return;
}

if ((item9 = client.Equipment.TryGetItem(ConquerItem.Steed)) != null)
{
item9.Stars = 54;
item9.PerfectionProgress = 0;
item9.Owner = client.Entity.Name;
item9.OwnerUID = client.Entity.UID;
item9.Mode = Game.Enums.ItemMode.Update;
item9.Send(client);
Database.ConquerItemTable.UpdatePerfection(item9);
}
else
{
return;
}

if ((item10 = client.Equipment.TryGetItem(ConquerItem.RightWeapo n)) != null)
{
item10.Stars = 54;
item10.PerfectionProgress = 0;
item10.Owner = client.Entity.Name;
item10.OwnerUID = client.Entity.UID;
item10.Mode = Game.Enums.ItemMode.Update;
item10.Send(client);
Database.ConquerItemTable.UpdatePerfection(item10) ;
}
else
{
return;
}

if ((item11 = client.Equipment.TryGetItem(ConquerItem.LeftWeapon )) != null)
{if (IsArrow(item11.ID)) return;
item11.Stars = 54;
item11.PerfectionProgress = 0;
item11.Owner = client.Entity.Name;
item11.OwnerUID = client.Entity.UID;
item11.Mode = Game.Enums.ItemMode.Update;
item11.Send(client);
Database.ConquerItemTable.UpdatePerfection(item11) ;
}
else
{
return;
}

if ((item12 = client.Equipment.TryGetItem(ConquerItem.Wing)) != null)
{
item12.Stars = 54;
item12.PerfectionProgress = 0;
item12.Owner = client.Entity.Name;
item12.OwnerUID = client.Entity.UID;
item12.Mode = Game.Enums.ItemMode.Update;
item12.Send(client);
Database.ConquerItemTable.UpdatePerfection(item12) ;
}
else
{
return;
}
client.Entity.Update(_String.Effect, "dakaishengzhi", true);
}
}
break;
}
}
break;
}
#endregion

MRonlineGvrix
2020-01-25, 01:25 AM
#region PerfectionL
case 3523:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello Pro I Am Here To PerfectionLevel DigitalConquer.");

dialog.Option("Add Perfectionlevel All Items", 5);
dialog.Send();
break;
}
case 5:
{

ConquerItem item1;
ConquerItem item2;
ConquerItem item3;
ConquerItem item4;
ConquerItem item5;
ConquerItem item6;
ConquerItem item7;
ConquerItem item8;
ConquerItem item9;
ConquerItem item10;
ConquerItem item11;
ConquerItem item12;
item1 = client.Equipment.TryGetItem(ConquerItem.Necklace);
item2 = client.Equipment.TryGetItem(ConquerItem.Armor);
item3 = client.Equipment.TryGetItem(ConquerItem.Ring);
item4 = client.Equipment.TryGetItem(ConquerItem.Boots);
item5 = client.Equipment.TryGetItem(ConquerItem.Head);
item6 = client.Equipment.TryGetItem(ConquerItem.Tower);
item7 = client.Equipment.TryGetItem(ConquerItem.Fan);
item8 = client.Equipment.TryGetItem(ConquerItem.SteedCrop) ;
item9 = client.Equipment.TryGetItem(ConquerItem.Steed);
item10 = client.Equipment.TryGetItem(ConquerItem.RightWeapo n);
item11 = client.Equipment.TryGetItem(ConquerItem.LeftWeapon );
item12 = client.Equipment.TryGetItem(ConquerItem.Wing);

{
{

if (client.Entity.ConquerPoints >= 500000)
{
client.Entity.ConquerPoints -= 500000;
}
else
{
dialog.Text("Please come back to me with 500,000 Conquer Points.");
dialog.Option("Ahh sorry.", 255);
dialog.Send();
}

if ((item1 = client.Equipment.TryGetItem(ConquerItem.Necklace)) != null)
{
item1.Stars = 54;
item1.PerfectionProgress = 0;
item1.Owner = client.Entity.Name;
item1.OwnerUID = client.Entity.UID;
item1.Mode = Game.Enums.ItemMode.Update;
item1.Send(client);
Database.ConquerItemTable.UpdatePerfection(item1);
}
else
{
return;
}

if ((item2 = client.Equipment.TryGetItem(ConquerItem.Armor)) != null)
{
item2.Stars = 54;
item2.PerfectionProgress = 0;
item2.Owner = client.Entity.Name;
item2.OwnerUID = client.Entity.UID;
item2.Mode = Game.Enums.ItemMode.Update;
item2.Send(client);
Database.ConquerItemTable.UpdatePerfection(item2);
}
else
{
return;
}

if ((item3 = client.Equipment.TryGetItem(ConquerItem.Ring)) != null)
{
item3.Stars = 54;
item3.PerfectionProgress = 0;
item3.Owner = client.Entity.Name;
item3.OwnerUID = client.Entity.UID;
item3.Mode = Game.Enums.ItemMode.Update;
item3.Send(client);
Database.ConquerItemTable.UpdatePerfection(item3);
}
else
{
return;
}

if ((item4 = client.Equipment.TryGetItem(ConquerItem.Boots)) != null)
{
item4.Stars = 54;
item4.PerfectionProgress = 0;
item4.Owner = client.Entity.Name;
item4.OwnerUID = client.Entity.UID;
item4.Mode = Game.Enums.ItemMode.Update;
item4.Send(client);
Database.ConquerItemTable.UpdatePerfection(item4);
}
else
{
return;
}

if ((item5 = client.Equipment.TryGetItem(ConquerItem.Head)) != null)
{
item5.Stars = 54;
item5.PerfectionProgress = 0;
item5.Owner = client.Entity.Name;
item5.OwnerUID = client.Entity.UID;
item5.Mode = Game.Enums.ItemMode.Update;
item5.Send(client);
Database.ConquerItemTable.UpdatePerfection(item5);
}
else
{
return;
}

if ((item6 = client.Equipment.TryGetItem(ConquerItem.Tower)) != null)
{
item6.Stars = 54;
item6.PerfectionProgress = 0;
item6.Owner = client.Entity.Name;
item6.OwnerUID = client.Entity.UID;
item6.Mode = Game.Enums.ItemMode.Update;
item6.Send(client);
Database.ConquerItemTable.UpdatePerfection(item6);
}
else
{
return;
}

if ((item7 = client.Equipment.TryGetItem(ConquerItem.Fan)) != null)
{
item7.Stars = 54;
item7.PerfectionProgress = 0;
item7.Owner = client.Entity.Name;
item7.OwnerUID = client.Entity.UID;
item7.Mode = Game.Enums.ItemMode.Update;
item7.Send(client);
Database.ConquerItemTable.UpdatePerfection(item7);
}
else
{
return;
}

if ((item8 = client.Equipment.TryGetItem(ConquerItem.SteedCrop) ) != null)
{
item8.Stars = 54;
item8.PerfectionProgress = 0;
item8.Owner = client.Entity.Name;
item8.OwnerUID = client.Entity.UID;
item8.Mode = Game.Enums.ItemMode.Update;
item8.Send(client);
Database.ConquerItemTable.UpdatePerfection(item8);
}
else
{
return;
}

if ((item9 = client.Equipment.TryGetItem(ConquerItem.Steed)) != null)
{
item9.Stars = 54;
item9.PerfectionProgress = 0;
item9.Owner = client.Entity.Name;
item9.OwnerUID = client.Entity.UID;
item9.Mode = Game.Enums.ItemMode.Update;
item9.Send(client);
Database.ConquerItemTable.UpdatePerfection(item9);
}
else
{
return;
}

if ((item10 = client.Equipment.TryGetItem(ConquerItem.RightWeapo n)) != null)
{
item10.Stars = 54;
item10.PerfectionProgress = 0;
item10.Owner = client.Entity.Name;
item10.OwnerUID = client.Entity.UID;
item10.Mode = Game.Enums.ItemMode.Update;
item10.Send(client);
Database.ConquerItemTable.UpdatePerfection(item10) ;
}
else
{
return;
}

if ((item11 = client.Equipment.TryGetItem(ConquerItem.LeftWeapon )) != null)
{if (IsArrow(item11.ID)) return;
item11.Stars = 54;
item11.PerfectionProgress = 0;
item11.Owner = client.Entity.Name;
item11.OwnerUID = client.Entity.UID;
item11.Mode = Game.Enums.ItemMode.Update;
item11.Send(client);
Database.ConquerItemTable.UpdatePerfection(item11) ;
}
else
{
return;
}

if ((item12 = client.Equipment.TryGetItem(ConquerItem.Wing)) != null)
{
item12.Stars = 54;
item12.PerfectionProgress = 0;
item12.Owner = client.Entity.Name;
item12.OwnerUID = client.Entity.UID;
item12.Mode = Game.Enums.ItemMode.Update;
item12.Send(client);
Database.ConquerItemTable.UpdatePerfection(item12) ;
}
else
{
return;
}
client.Entity.Update(_String.Effect, "dakaishengzhi", true);
}
}
break;
}
}
break;
}
#endregion


IsArrow ايرور

Tefa
2020-01-25, 01:46 AM
packethandler
حط
public static bool IsArrow(uint ID)
{
if (ID >= 1050000 && ID <= 1051000)
return true;
return false;
}

MRonlineGvrix
2020-01-25, 02:34 AM
packethandler
حط
public static bool IsArrow(uint ID)
{
if (ID >= 1050000 && ID <= 1051000)
return true;
return false;
}

موجودا

Tefa
2020-01-25, 02:45 AM
امال ايرور ايه الي بتقول عليه

MRonlineGvrix
2020-01-25, 03:03 AM
packethandler
حط
public static bool IsArrow(uint ID)
{
if (ID >= 1050000 && ID <= 1051000)
return true;
return false;
}

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

Tefa
2020-01-25, 03:36 AM
خطا مطبعي خليها
PacketHandler.IsArrow

Tefa
2020-01-25, 03:37 AM
صحيح في واحد في لعبتك اسمه vido ده هاك بنده

MRonlineGvrix
2020-01-25, 03:46 AM
صحيح في واحد في لعبتك اسمه vido ده هاك بنده

:surrender::surrender::surrender: مخبارات ولا اية :D:D:D

Tefa
2020-01-25, 07:15 AM
:D