مشاهدة النسخة كاملة : مساعد بليز
مصطفي سمير
2019-09-06, 10:07 PM
سلام عليكم
لم بجي ارفع دونيش بي سي بي مش بيرد
عوز حل
bebo100
2019-09-07, 10:34 AM
قم بفتح
Nobility.cs
ثم البحث عن
case NobilityInfo.Donate:
حدد الكلام حتي
قوس فوق
case NobilityInfo.List:
ثم امسحه
و ضع هذا مكانه
case NobilityInfo.Donate:
{
if (client.Trade.InTrade)
return;
if (client.Player.PokerHack == true)
return;
ulong silvers = information.dwParam;
bool newDonator = false;
client.NobilityInformation.Gender = (byte)(client.Player.Body % 10);
if (client.NobilityInformation.Donation == 0)
newDonator = true;
if (information.MoneyType == 1)
{
ulong cps = silvers / 1;
if (client.Player.ConquerPoints >= cps)
{
client.Player.ConquerPoints -= (uint)cps;
client.NobilityInformation.Donation += silvers;
}
}
else
{
if (client.Player.Money >= silvers)
{
client.Player.Money -= (ulong)silvers;
client.NobilityInformation.Donation += silvers;
}
}
if (!Board.ContainsKey(client.Player.UID) && client.NobilityInformation.Donation == silvers && newDonator)
{
Board.Add(client.Player.UID, client.NobilityInformation);
try
{
Database.NobilityTable.InsertNobilityInformation(c lient.NobilityInformation);
}
catch
{
Database.NobilityTable.UpdateNobilityInformation(c lient.NobilityInformation);
}
}
else
{
Database.NobilityTable.UpdateNobilityInformation(c lient.NobilityInformation);
}
Sort(client.Player.UID);
break;
}
vBulletin® v3.8.8 Beta 1, Copyright ©2000-2024, TranZ by code