|
المشاركات 894 |
+التقييم 0.44 |
تاريخ التسجيل Apr 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 115 |
#region System Online Points
case 212121:
{
#region -- CPs --
////////////////////////////////////////
uint CPsTB1 = 200;
uint CPs1 = 100000;
////////////////////////////////////////
uint CPsTB2 = 400;
uint CPs2 = 200000;
////////////////////////////////////////
uint CPsTB3 = 600;
uint CPs3 = 300000;
////////////////////////////////////////
uint CPsTB4 = 800;
uint CPs4 = 400000;
////////////////////////////////////////
uint CPsTB5 = 1000;
uint CPs5 = 500000;
////////////////////////////////////////
uint CPsTB6 = 1200;
uint CPs6 = 600000;
////////////////////////////////////////
#endregion
#region -- AllThings --
////////////////////////////////////////
uint GoldPrize = 10000;
////////////////////////////////////////
uint P7EquipmentSoulPack = 350;
////////////////////////////////////////
uint StarStonePerfection = 350;
////////////////////////////////////////
uint P7WeaponSoulPack = 350;
////////////////////////////////////////
uint SacredRefineryPack = 300;
////////////////////////////////////////
uint Garment5Star = 1000;
////////////////////////////////////////
uint Mount5Star = 1000;
////////////////////////////////////////
#endregion
#region -- VIP Level --
///////////////////////////////////////
uint VIP5TP = 4000;
///////////////////////////////////////
#endregion
#region -- MysteryFruit --
///////////////////////////////////////
uint MysteryFruit1 = 150;
uint ConqP1 = 1;
///////////////////////////////////////
uint MysteryFruit2 = 300;
uint ConqP2 = 2;
///////////////////////////////////////
uint MysteryFruit3 = 450;
uint ConqP3 = 3;
///////////////////////////////////////
uint MysteryFruit4 = 600;
uint ConqP4 = 4;
///////////////////////////////////////
uint MysteryFruit5 = 750;
uint ConqP5 = 5;
///////////////////////////////////////
uint MysteryFruit6 = 900;
uint ConqP6 = 6;
///////////////////////////////////////
#endregion
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("All (Heroes) can talk to me to learn about my offers, this offers for OnlinePoints only.");
dialog.Text("Your OnlinePoints Count is : " + client.Entity.OnlinePoints + " .");
dialog.Option("ConquerPoints [200Points]", 1);
dialog.Option("GoldPrize [" + GoldPrize + "Points]", 100);
if (client.Entity.VIPLevel >= 0 && client.Entity.VIPLevel <= 4)
{
dialog.Option("VIPLevel 5 [" + VIP5TP + "Points]", 105);
}
dialog.Option("MysteryFruit [150Points]", 55);
dialog.Option("Garments[5-Star] [" + Garment5Star + "Points]", 35);
dialog.Option("Mounts[5-Star] [" + Mount5Star + "Points]", 36);
dialog.Option("StarStonePerfection [" + StarStonePerfection + "Points]", 101);
dialog.Option("P7EquipmentSoulPack [" + P7EquipmentSoulPack + "Points]", 102);
dialog.Option("P7WeaponSoulPack [" + P7WeaponSoulPack + "Points]", 103);
dialog.Option("SacredRefineryPack [" + SacredRefineryPack + "Points]", 104);
dialog.Option("Just passing by.", 255);
dialog.Send();
break;
}
#region Garments[5-Star]
case 35:
{
if (client.Entity.OnlinePoints >= Garment5Star)
{
client.Entity.OnlinePoints -= Garment5Star;
Random R = new Random();
int G = R.Next(1, 10);
{
if (G == 1) client.Inventory.AddTime(194875, 7 * 24 * 60 * 60);
if (G == 2) client.Inventory.AddTime(189135, 7 * 24 * 60 * 60);
if (G == 3) client.Inventory.AddTime(193275, 7 * 24 * 60 * 60);
if (G == 4) client.Inventory.AddTime(188915, 7 * 24 * 60 * 60);
if (G == 5) client.Inventory.AddTime(193445, 7 * 24 * 60 * 60);
if (G == 6) client.Inventory.AddTime(193525, 7 * 24 * 60 * 60);
if (G == 7) client.Inventory.AddTime(193565, 7 * 24 * 60 * 60);
if (G == 8) client.Inventory.AddTime(193625, 7 * 24 * 60 * 60);
if (G == 9) client.Inventory.AddTime(194395, 7 * 24 * 60 * 60);
if (G == 10) client.Inventory.AddTime(189675, 7 * 24 * 60 * 60);
}
dialog.Text("Congratulations. You Get Garments[5-Star] 7 Days for " + Garment5Star + " Points.");
client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get Garments[5-Star] 7 Days for " + Garment5Star + " Points."));
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + Garment5Star + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
#endregion
#region Mounts[5-Star]
case 36:
{
if (client.Entity.OnlinePoints >= Mount5Star)
{
client.Entity.OnlinePoints -= Mount5Star;
Random R = new Random();
int G = R.Next(1, 18);
{
if (G == 1) client.Inventory.AddTime(200564, 7 * 24 * 60 * 60);
if (G == 2) client.Inventory.AddTime(200572, 7 * 24 * 60 * 60);
if (G == 3) client.Inventory.AddTime(200573, 7 * 24 * 60 * 60);
if (G == 4) client.Inventory.AddTime(200575, 7 * 24 * 60 * 60);
if (G == 5) client.Inventory.AddTime(200537, 7 * 24 * 60 * 60);
if (G == 6) client.Inventory.AddTime(200531, 7 * 24 * 60 * 60);
if (G == 7) client.Inventory.AddTime(200540, 7 * 24 * 60 * 60);
if (G == 8) client.Inventory.AddTime(200482, 7 * 24 * 60 * 60);
if (G == 9) client.Inventory.AddTime(200449, 7 * 24 * 60 * 60);
if (G == 10) client.Inventory.AddTime(200559, 7 * 24 * 60 * 60);
if (G == 11) client.Inventory.AddTime(200560, 7 * 24 * 60 * 60);
if (G == 12) client.Inventory.AddTime(200544, 7 * 24 * 60 * 60);
if (G == 13) client.Inventory.AddTime(200580, 7 * 24 * 60 * 60);
if (G == 14) client.Inventory.AddTime(200494, 7 * 24 * 60 * 60);
if (G == 15) client.Inventory.AddTime(200592, 7 * 24 * 60 * 60);
if (G == 16) client.Inventory.AddTime(200596, 7 * 24 * 60 * 60);
if (G == 17) client.Inventory.AddTime(200524, 7 * 24 * 60 * 60);
if (G == 18) client.Inventory.AddTime(200572, 7 * 24 * 60 * 60);
}
dialog.Text("Congratulations. You Get Mount[5-Star] 7 Days for " + Mount5Star + " Points.");
client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get Mount[5-Star] 7 Days for " + Mount5Star + " Points."));
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + Mount5Star + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
#endregion
#region GoldPrize
case 100:
{
if (client.Entity.OnlinePoints >= GoldPrize)
{
client.Entity.OnlinePoints -= GoldPrize;
client.Inventory.AddTime(2100075, 7 * 24 * 60 * 60);
dialog.Text("Congratulations. You Get GoldPrize 7 Days for " + GoldPrize + " Points.");
client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get GoldPrize[Cup] 7 Days for " + GoldPrize + " Points."));
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + GoldPrize + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
#endregion
#region StarStonePerfection
case 101:
{
if (client.Entity.OnlinePoints >= StarStonePerfection)
{
client.Entity.OnlinePoints -= StarStonePerfection;
client.Inventory.Add(3009003, 0, 1);
dialog.Text("Congratulations. You Get StarStonePerfection for " + StarStonePerfection + " Points.");
client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get StarStonePerfection for " + StarStonePerfection + " Points."));
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + StarStonePerfection + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
#endregion
#region P7EquipmentSoulPack
case 102:
{
if (client.Entity.OnlinePoints >= P7EquipmentSoulPack)
{
client.Entity.OnlinePoints -= P7EquipmentSoulPack;
client.Inventory.Add(3004248, 0, 1);
dialog.Text("Congratulations. You Get P7EquipmentSoulPack for " + P7EquipmentSoulPack + " Points.");
client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get P7EquipmentSoulPack for " + P7EquipmentSoulPack + " Points."));
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + P7EquipmentSoulPack + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
#endregion
#region P7WeaponSoulPack
case 103:
{
if (client.Entity.OnlinePoints >= P7WeaponSoulPack)
{
client.Entity.OnlinePoints -= P7WeaponSoulPack;
client.Inventory.Add(3004247, 0, 1);
dialog.Text("Congratulations. You Get P7WeaponSoulPack for " + P7WeaponSoulPack + " Points.");
client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get P7WeaponSoulPack for " + P7WeaponSoulPack + " Points."));
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + P7WeaponSoulPack + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
#endregion
#region SacredRefineryPack
case 104:
{
if (client.Entity.OnlinePoints >= SacredRefineryPack)
{
client.Entity.OnlinePoints -= SacredRefineryPack;
client.Inventory.Add(3004249, 0, 1);
dialog.Text("Congratulations. You Get SacredRefineryPack for " + SacredRefineryPack + " Points.");
client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get SacredRefineryPack for " + SacredRefineryPack + " Points."));
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + SacredRefineryPack + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
#endregion
#region -- MysteryFruit --
case 55:
{
dialog.Text("You Choosed Your Way , You Want To Exchange OnlinePoints For CPs .. You Have [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoints ] .");
dialog.Option("" + string.Format("{0:n0}", ConqP1) + " MysteryFruit (" + string.Format("{0:n0}", MysteryFruit1) + " TP) .", 70);
dialog.Option("" + string.Format("{0:n0}", ConqP2) + " MysteryFruit (" + string.Format("{0:n0}", MysteryFruit2) + " TP) .", 71);
dialog.Option("" + string.Format("{0:n0}", ConqP3) + " MysteryFruit (" + string.Format("{0:n0}", MysteryFruit3) + " TP) .", 72);
dialog.Option("" + string.Format("{0:n0}", ConqP4) + " MysteryFruit (" + string.Format("{0:n0}", MysteryFruit4) + " TP) .", 73);
dialog.Option("" + string.Format("{0:n0}", ConqP5) + " MysteryFruit (" + string.Format("{0:n0}", MysteryFruit5) + " TP) .", 74);
dialog.Option("" + string.Format("{0:n0}", ConqP6) + " MysteryFruit (" + string.Format("{0:n0}", MysteryFruit6) + " TP) .", 75);
dialog.Option("Back .", 170);
dialog.Option("Thank You .", 255);
dialog.Send();
break;
}
case 70:
{
if (client.Entity.OnlinePoints >= MysteryFruit1)
{
client.Entity.OnlinePoints -= MysteryFruit1;
client.Inventory.Add(3001044, 0, 1);
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", MysteryFruit1) + " OnlinePoints) For (" + string.Format("{0:n0}", ConqP1) + " MysteryFruit) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", MysteryFruit1) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 170);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
case 71:
{
if (client.Entity.OnlinePoints >= MysteryFruit2)
{
client.Entity.OnlinePoints -= MysteryFruit2;
client.Inventory.Add(3001044, 0, 2);
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", MysteryFruit2) + " OnlinePoints) For (" + string.Format("{0:n0}", ConqP2) + " MysteryFruit) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", MysteryFruit2) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 1);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
case 72:
{
if (client.Entity.OnlinePoints >= MysteryFruit3)
{
client.Entity.OnlinePoints -= MysteryFruit3;
client.Inventory.Add(3001044, 0, 3);
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", MysteryFruit3) + " OnlinePoints) For (" + string.Format("{0:n0}", ConqP3) + " MysteryFruit) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", MysteryFruit3) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 1);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
case 73:
{
if (client.Entity.OnlinePoints >= MysteryFruit4)
{
client.Entity.OnlinePoints -= MysteryFruit4;
client.Inventory.Add(3001044, 0, 4);
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", MysteryFruit4) + " OnlinePoints) For (" + string.Format("{0:n0}", ConqP4) + " MysteryFruit) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", MysteryFruit4) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 1);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
case 74:
{
if (client.Entity.OnlinePoints >= MysteryFruit5)
{
client.Entity.OnlinePoints -= MysteryFruit5;
client.Inventory.Add(3001044, 0, 5);
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", MysteryFruit5) + " OnlinePoints) For (" + string.Format("{0:n0}", ConqP5) + " MysteryFruit) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", MysteryFruit5) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 1);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
case 75:
{
if (client.Entity.OnlinePoints >= MysteryFruit6)
{
client.Entity.OnlinePoints -= MysteryFruit6;
client.Inventory.Add(3001044, 0, 6);
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", MysteryFruit6) + " OnlinePoints) For (" + string.Format("{0:n0}", ConqP6) + " MysteryFruit) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", MysteryFruit6) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 1);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
#endregion
#region -- CPs --
case 1:
{
dialog.Text("You Choosed Your Way , You Want To Exchange OnlinePoints For CPs .. You Have [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoints ] .");
dialog.Option("" + string.Format("{0:n0}", CPs1) + " CPs (" + string.Format("{0:n0}", CPsTB1) + " TP) .", 2);
dialog.Option("" + string.Format("{0:n0}", CPs2) + " CPs (" + string.Format("{0:n0}", CPsTB2) + " TP) .", 3);
dialog.Option("" + string.Format("{0:n0}", CPs3) + " CPs (" + string.Format("{0:n0}", CPsTB3) + " TP) .", 4);
dialog.Option("" + string.Format("{0:n0}", CPs4) + " CPs (" + string.Format("{0:n0}", CPsTB4) + " TP) .", 5);
dialog.Option("" + string.Format("{0:n0}", CPs5) + " CPs (" + string.Format("{0:n0}", CPsTB5) + " TP) .", 6);
dialog.Option("" + string.Format("{0:n0}", CPs6) + " CPs (" + string.Format("{0:n0}", CPsTB6) + " TP) .", 7);
dialog.Option("Back .", 165);
dialog.Option("Thank You .", 255);
dialog.Send();
break;
}
case 2:
{
if (client.Entity.OnlinePoints >= CPsTB1)
{
client.Entity.OnlinePoints -= CPsTB1;
client.Entity.ConquerPoints += CPs1;
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", CPsTB1) + " OnlinePoints) For (" + string.Format("{0:n0}", CPs1) + " CPs) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", CPsTB1) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 165);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
case 3:
{
if (client.Entity.OnlinePoints >= CPsTB2)
{
client.Entity.OnlinePoints -= CPsTB2;
client.Entity.ConquerPoints += CPs2;
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", CPsTB2) + " OnlinePoints) For (" + string.Format("{0:n0}", CPs2) + " CPs) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", CPsTB2) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 1);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
case 4:
{
if (client.Entity.OnlinePoints >= CPsTB3)
{
client.Entity.OnlinePoints -= CPsTB3;
client.Entity.ConquerPoints += CPs3;
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", CPsTB3) + " OnlinePoints) For (" + string.Format("{0:n0}", CPs3) + " CPs) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", CPsTB3) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 1);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
case 5:
{
if (client.Entity.OnlinePoints >= CPsTB4)
{
client.Entity.OnlinePoints -= CPsTB4;
client.Entity.ConquerPoints += CPs4;
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", CPsTB4) + " OnlinePoints) For (" + string.Format("{0:n0}", CPs4) + " CPs) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", CPsTB4) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 1);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
case 6:
{
if (client.Entity.OnlinePoints >= CPsTB5)
{
client.Entity.OnlinePoints -= CPsTB5;
client.Entity.ConquerPoints += CPs5;
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", CPsTB5) + " OnlinePoints) For (" + string.Format("{0:n0}", CPs5) + " CPs) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", CPsTB5) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 1);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
case 7:
{
if (client.Entity.OnlinePoints >= CPsTB6)
{
client.Entity.OnlinePoints -= CPsTB6;
client.Entity.ConquerPoints += CPs6;
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", CPsTB6) + " OnlinePoints) For (" + string.Format("{0:n0}", CPs6) + " CPs) ."));
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoints To Exchanged , You Need (" + string.Format("{0:n0}", CPsTB6) + " OnlinePoints) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
dialog.Option("Back .", 1);
dialog.Option("Wait a Minute .", 255);
dialog.Send();
}
break;
}
#endregion
#region VipLevel
case 105:
{
if (client.Entity.OnlinePoints >= VIP5TP)
{
dialog.Text("Congratulations. You Get VipLevel for " + VIP5TP + " Points.");
dialog.Option("Thank you.", 255);
if (client.Entity.VIPLevel <= 5)
{
client.Entity.OnlinePoints -= VIP5TP;
client.Entity.VIPLevel = 5;
client.Send(new NpcReply(NpcReply.MessageBox, "You Have Exchanged (" + string.Format("{0:n0}", VIP5TP) + " OnlinePoint) For (VIP Level 5) ."));
break;
}
else
{
dialog.Text("- (Sorry): You Don't Have Enough OnlinePoint To Exchanged , You Need (" + string.Format("{0:n0}", VIP5TP) + " OnlinePoint) And You Have Only [ " + string.Format("{0:n0}", client.Entity.OnlinePoints) + " OnlinePoint ] -");
//dialog.Option("Back .", 31);
dialog.Option("Wait a Minute .", 255);
}
}
else
{
dialog.Text("You Don't Have " + VIP5TP + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
#endregion
}
break;
}
#endregion
client.Player.OnlinePoints = reader.ReadUInt32("OnlinePoints");
.Set("OnlinePoints", e.OnlinePoints)
public Time32 OnlinePointStamp; public uint OnlinePoints;
case "onlinepoints": { client.Player.OnlinePoints = uint.Parse(Data[1]); break; }
#region OnlinePoints if (Time32.Now > client.Player.OnlinePointStamp.AddMinutes(1)) { client.Player.OnlinePoints += 1; client.Player.OnlinePointStamp = Time32.Now; } #endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
npc open to full TitleStorage | ElSaher | تطوير سيرفرات كونكر | 3 | 2020-04-02 06:50 PM |
Big Monsters full system | Tefa | تطوير سيرفرات كونكر | 6 | 2019-12-21 05:21 PM |
بخصوص NPC نجوم الاسلاحه + NPC format Point | uncelsam | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-07-25 04:48 AM |
اضافة online point كامله | محمد ياسر | تطوير سيرفرات كونكر | 1 | 2019-06-20 07:07 PM |
Demon Box Full Add | Mero | تطوير سيرفرات كونكر | 0 | 2019-04-28 02:33 PM |