Hassan Emprator |
2019-07-24 11:38 AM |
رد: طلب
اقتباس:
المشاركة الأصلية كتبت بواسطة rider
(المشاركة 6635)
1
هتبحث عن هتلاقيها ف packethandler
انزل تحت لحد الكود ده
كود PHP:
if (itemtype == 900)
{
if (!(client.entity.firstrebornclass == client.entity.secondrebornclass && client.entity.secondrebornclass == staticclass(client.entity.class)))
{
item.position = 0;
return;
}
var ritem = client.weapons;
if (ritem.item1 != null)
{
if (!valid(ritem.item1.id) && (!purwarrior(client) || client.entity.class == 65 || client.entity.class == 135 || client.entity.class == 145))
{
item.position = 0;
return;
}
else if ((purwarrior(client) || client.entity.class == 65 || client.entity.class == 135 || client.entity.class == 145)&& (ritem.item1.id / 1000 == 613 || ritem.item1.id / 1000 == 617 || ritem.item1.id / 1000 == 616 || ritem.item1.id / 1000 == 614 || ritem.item1.id / 1000 == 611))
{
item.position = 0;
return;
}
}
}
امسحه كله
بعدها
ادخل علي world.cs
ابحث عن
كود PHP:
#region clientstuffchecks
انزل لحد الكود ده
كود PHP:
leftweapon = client.equipment.trygetitem((byte)somailproject.network.packethandler.positions.left);
if (leftweapon != null)
{
var infoitem = new database.conqueriteminformation(leftweapon.id, 0).baseinformation;
try
{
if (!somailproject.network.packethandler.equippassjobreq(infoitem, client))
{
//client.equipment.remove((byte)somailproject.network.packethandler.positions.left);
client.entity.conquerpoints += 1;
}
}
catch
{
client.equipment.remove((byte)somailproject.network.packethandler.positions.left);
}
}
و امسحه
بالتوفيق
|
تسلم ايدك بجد انت راجل محترم ربنا يعزك يارب يوفققق #35
|