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

مشاهدة النسخة كاملة : مشكلة بخصوص البروفكشن [Source Khaled v5]


youssefabdelmanam
2019-11-30, 07:55 PM
عندي مشكلة بخصوص البروفكشن في سورس خالد محمد v5

دلوقتي انا باجي اعملي البروفكشن من الراجل بيتعمل تمام وكلو فولة

اجي ارستر السورس بلاقي البروفكشن يتشال من علي الحصان ويفضل علي باقي الاسطف

ياريت لو حد يعرف حل يفدني بيه

وشكرا مقدما للجميع:)

Tefa
2019-11-30, 08:39 PM
يا ريت توضح اكواد الان بي سي الي بيعمل برفكشن

youssefabdelmanam
2019-11-30, 09:25 PM
يا ريت توضح اكواد الان بي سي الي بيعمل برفكشن
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello Pro I Am Here To PerfectionLevel DeathNote.");

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 >= 1)
{
client.Entity.ConquerPoints -= 1;
}
else
{
dialog.Text("Please come back to me with 1 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;
}

Tefa
2019-12-01, 12:18 AM
ان بي سي مظبوط مفهوش غلط حاول تعمل سيف قبل ما ترستر اللعبه