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

مشاهدة النسخة كاملة : مشاكل


ElSaher
2019-09-30, 11:25 PM
عندي الي بياخود توب الوار

بيديلو التوب وا كاس عايز اخلي بدل الكاس دا توكن يجمع منو 3 ياخدو من الراجل

وكمان مشكلة عايز حل للمشكلة دي الي بياخود الوار مره التوب بتاعه بيدنه عليه طول ما اللعبه الحياة

عايز اخلي الشوبات بي فلوس بدل ما هيا بي سبس


عايز اخلي الدرب يكون شنط بدل سبس

ElSaher
2019-09-30, 11:27 PM
Up

Up

Up

Up

Up

Up

Up

Up
Up

Up

Up

Up

Up

Up

Up

Up

Up


Up


Up
Up


Up

Up

Up

Up

Hassan Emprator
2019-09-30, 11:32 PM
يخربيت التفاااها دا حجات سهله فشخولللللله

تابع معايا يزفت الزفتين

Hassan Emprator
2019-09-30, 11:39 PM
ازاي تخلي دروب شنط اهو

عفواً لايمكن عرض الروابط في الإرشيف
----------------------------------------------------------------------------------------------
ازاي تخلي الشوبات بي فلوس
بس لو فهته هتعرف تعمله
انا عامله عندي

عفواً لايمكن عرض الروابط في الإرشيف
-----------------------------------------------------------------------------------------------------
مشكله التوب + الكاس

ضيف الانبيسهين دولت عندكم وبدلهم بي الي عندك وكدا هيتم حل المشكله

#region ClaimGuildPrize
case 42114:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello there. Do you want to Claim GuildWar Prize you can only Claim it 1 Time if you won GW.");
dialog.Option("Claim TopGuildLeader.", 1);
dialog.Option("Claim TopDeputyLeader.", 3);
dialog.Option("Just Passing By!", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Guild != null)
{
if (client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == MrHassan.Game.Enums.GuildMemberRank.GuildLeader)
{
dialog.Text("Are you sure you want to Claim your Prize?");
dialog.Option("Yes.", 2);
dialog.Option("Ah, nevermind.", 255);
dialog.Send();
}
else
{
dialog.Text("Sorry only GuildLeader of the Winner Guild can Claim The Prize After GuildWar End.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry You are not Member in any guild yet");
dialog.Option("Ahh.", 255);
dialog.Send();
}
break;
}
case 2:
{
if (!GuildWar.IsWar && GuildWar.Claim && client.Entity.GuildID == GuildWar.KeeperID && client.Entity.GuildRank == (ushort)Game.Enums.GuildMemberRank.GuildLeader)
{
GuildWar.Claim = false;
GuildWar.KeeperID = 0;
client.Entity.ConquerPoints += 500000;
client.Inventory.Add(723467, 0, 1);
ClassPk.AddGl();
client.Entity.AddTopStatus((ulong)Update.Flags.Top GuildLeader, 1, DateTime.Now.AddDays(7));
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Leader of " + client.Guild.PoleKeeper + " The winner guild has Claimed Guild War Prize " + 500000 + " cps!", System.Drawing.Color.White, Message.TopLeft), Program.GamePool);
}
else
{
dialog.Text("Sorry you dont have Any Prize to claim only GL of the winner guild can claim Prize After GW");
dialog.Option("Ahh.", 255);
dialog.Send();
}
break;
}
case 3:
{
if (client.Guild != null)
{
if (client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == MrHassan.Game.Enums.GuildMemberRank.DeputyLeader)
{
dialog.Text("Are you sure you want to Claim your Prize?");
dialog.Option("Yes.", 4);
dialog.Option("Ah, nevermind.", 255);
dialog.Send();
}
else
{
dialog.Text("Sorry only DeputyLeader of the Winner Guild can Claim The Prize After GuildWar End.");
dialog.Option("Ahh.", 255);
dialog.Send();
}

}
else
{
dialog.Text("Sorry You are not Member in any guild yet");
dialog.Option("Ahh.", 255);
dialog.Send();
}
break;
}
case 4:
{
if (!GuildWar.IsWar && client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == Game.Enums.GuildMemberRank.DeputyLeader && ClassPk.TopDlClaim <= 25)
{
ClassPk.AddDl();
client.Entity.AddTopStatus((ulong)Update.Flags.Top DeputyLeader, 1, DateTime.Now.AddDays(7));
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " From " + client.Guild.PoleKeeper + " Has Claimed TopDeputyLeader Halo!", System.Drawing.Color.White, Message.TopLeft), Program.GamePool);
}
else
{
dialog.Text("Sorry you dont have Any Prize to claim only Dl of the Winner Guild Can claim the halo After GW end.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion

#region Prize Seller
case 200033:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Greetings! I'm a great seller, I have the most precious items in the entire ");
dialog.Text("world. What do you want to get?");
dialog.Option("DarkWAR|Cup| [3 LordTokens]", 1);
dialog.Option("Super|Cup| [2 LordTokens]", 2);
dialog.Option("Elite|Cup| [1 LordTokens]", 3);
dialog.Option("Just passing by.", 255);
dialog.Avatar(85);
dialog.Send();
break;
}
case 1:
{
if (client.Inventory.Contains(723467, 3))
{
client.Inventory.Remove(723467, 3);
client.Inventory.Add(2100075, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 3 LordTokens ");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 2:
{
if (client.Inventory.Contains(723467, 2))
{
client.Inventory.Remove(723467, 2);
client.Inventory.Add(2100085, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 2 LordTokens ");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 3:
{
if (client.Inventory.Contains(723467, 1))
{
client.Inventory.Remove(723467, 1);
client.Inventory.Add(2100065, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 1 LordTokens ");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 4:
{
if (client.Inventory.Contains(723467, 2))
{
client.Inventory.Remove(723467, 2);
client.Inventory.Add(2100065, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 2 LordTokens !");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 5:
{
if (client.Inventory.Contains(723467, 1))
{
client.Inventory.Remove(723467, 1);
client.Inventory.Add(2100055, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 1 LordTokens !");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
}
break;
}
#endregion
--------------------------------------------------------------------------------
توب الجلد لو عايز مثلا تخليه يدنو عليه كام يوم
تعدله من هنا

client.Entity.AddTopStatus((ulong)Update.Flags.Top GuildLeader, 1, DateTime.Now.AddDays(7));

هنا معمول 7 خليه زي ما انت عايز بقا

يغلق لتعدد المشاكل