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

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


Avengers-Co
2019-08-22, 03:48 PM
طلب مش مشكلة عاوز اخلي الدونيشن محدش يتبرع فية لا بكبس ولا جولد التبرع يكون من خلال الان بي سي فقط

محمد ياسر
2019-08-22, 05:24 PM
افتح
Nobility.cs
ابحث عن
case NobilityInfo.Donate:

بدله ب ده
case NobilityInfo.Donate:
{
if (client.Trade.InTrade)
return;

ulong silvers = information.dwParam;
bool newDonator = false;
client.NobilityInformation.Gender = (byte)(client.Entity.Body % 10);
if (client.NobilityInformation.Donation == 0)
newDonator = true;
if (information.MoneyType == 1)
{
ulong cps = silvers / 50000;
// client.MessageBox("Can`t Donate With CPs, Only Gold/ OCCs");
if (client.Entity.Money >= cps)
{
client.MessageBox("Sorry Donation from npc only");
////client.Player.ConquerPointsFake -= (uint)cps;
client.NobilityInformation.Donation += silvers;
}
}
else
{
if (client.Entity.Money >= silvers)
{
client.MessageBox("Sorry Donation from npc only");
}
else
{
ulong BoundCps = silvers / 50000;
// client.MessageBox("Proximamente Podran Donar con la SpecialMoney");
return;
//if (client.Entity.OverConquerCoins >= BoundCps)
//{
// client.Entity.OverConquerCoins -= (uint)BoundCps;
// client.NobilityInformation.Donation += silvers;
//}
}
}



if (!Board.ContainsKey(client.Entity.UID) && client.NobilityInformation.Donation == silvers && newDonator)
{
Board.Add(client.Entity.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.Entity.UID);
break;
}

Tefa
2019-08-22, 06:33 PM
عاش

Hassan Emprator
2019-08-22, 07:53 PM
افتح
nobility.cs
ابحث عن
case nobilityinfo.donate:

بدله ب ده
case nobilityinfo.donate:
{
if (client.trade.intrade)
return;

ulong silvers = information.dwparam;
bool newdonator = false;
client.nobilityinformation.gender = (byte)(client.entity.body % 10);
if (client.nobilityinformation.donation == 0)
newdonator = true;
if (information.moneytype == 1)
{
ulong cps = silvers / 50000;
// client.messagebox("can`t donate with cps, only gold/ occs");
if (client.entity.money >= cps)
{
client.messagebox("sorry donation from npc only");
////client.player.conquerpointsfake -= (uint)cps;
client.nobilityinformation.donation += silvers;
}
}
else
{
if (client.entity.money >= silvers)
{
client.messagebox("sorry donation from npc only");
}
else
{
ulong boundcps = silvers / 50000;
// client.messagebox("proximamente podran donar con la specialmoney");
return;
//if (client.entity.overconquercoins >= boundcps)
//{
// client.entity.overconquercoins -= (uint)boundcps;
// client.nobilityinformation.donation += silvers;
//}
}
}



if (!board.containskey(client.entity.uid) && client.nobilityinformation.donation == silvers && newdonator)
{
board.add(client.entity.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.entity.uid);
break;
}

وااااااااااااو معقول حازم رجع لولولولي

Avengers-Co
2019-08-22, 08:31 PM
افتح
Nobility.cs
ابحث عن
case NobilityInfo.Donate:

بدله ب ده
case NobilityInfo.Donate:
{
if (client.Trade.InTrade)
return;

ulong silvers = information.dwParam;
bool newDonator = false;
client.NobilityInformation.Gender = (byte)(client.Entity.Body % 10);
if (client.NobilityInformation.Donation == 0)
newDonator = true;
if (information.MoneyType == 1)
{
ulong cps = silvers / 50000;
// client.MessageBox("Can`t Donate With CPs, Only Gold/ OCCs");
if (client.Entity.Money >= cps)
{
client.MessageBox("Sorry Donation from npc only");
////client.Player.ConquerPointsFake -= (uint)cps;
client.NobilityInformation.Donation += silvers;
}
}
else
{
if (client.Entity.Money >= silvers)
{
client.MessageBox("Sorry Donation from npc only");
}
else
{
ulong BoundCps = silvers / 50000;
// client.MessageBox("Proximamente Podran Donar con la SpecialMoney");
return;
//if (client.Entity.OverConquerCoins >= BoundCps)
//{
// client.Entity.OverConquerCoins -= (uint)BoundCps;
// client.NobilityInformation.Donation += silvers;
//}
}
}



if (!Board.ContainsKey(client.Entity.UID) && client.NobilityInformation.Donation == silvers && newDonator)
{
Board.Add(client.Entity.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.Entity.UID);
break;
}

شكراً جداً ليك

محمد ياسر
2019-08-22, 08:49 PM
وااااااااااااو معقول حازم رجع لولولولي

مرجعتش ده رايدر الي كاتبه ليه كده يا رايدر هههههه

Avengers-Co
2019-08-24, 03:41 AM
يا رجالة المشكلة رجعت تاني الاكونتات الجديدة فقط بتقدر تتبرع في الرانك عادي من الدونيشن مش من الان بي سي

تعديل خلاص عرفت المشكلة فين تم الحل