الموضوع: NPC Full Onlen point
عرض مشاركة واحدة
احصائياتى

الردود
7

المشاهدات
1783
 
Users

Users is on a distinguished road

    غير متواجد

المشاركات
894

+التقييم
0.41

تاريخ التسجيل
Apr 2019

الاقامة

نظام التشغيل

رقم العضوية
115
2019-07-01, 08:54 PM
المشاركة 1 
#1  
Important NPC Full Onlen point
بسم الله الرحمن الرحيم
معانا النهارده ان بى سى جميل
وطبعا بشرح عشان انا بخاطب الناس الجديده
وطبعا ده مميز عن باقى الاونلاين بوينت دائما بتلاقى يا اما فى اى بى او سبيس وحجات قليله لكن انا جايبلك كل حاجه
المميزات
1- بيديك سبيس
2- GoldPrize
3- P7EquipmentSoulPack
4- StarStonePerfection
5- P7WeaponSoulPack
6- SacredRefineryPack
7- Garment5Star
8- Mount5Star
9- VIP
10-MysteryFruit
عاوز حاجه تانى ؟؟؟
ادى الان بى سى

كود:
#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 >= && 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(110);
                                        {
                                           
                                            if (
== 1client.Inventory.AddTime(19487524 60 60);
                                            if (
== 2client.Inventory.AddTime(18913524 60 60);
                                            if (
== 3client.Inventory.AddTime(19327524 60 60);
                                            if (
== 4client.Inventory.AddTime(18891524 60 60);
                                            if (
== 5client.Inventory.AddTime(19344524 60 60);
                                            if (
== 6client.Inventory.AddTime(19352524 60 60);
                                            if (
== 7client.Inventory.AddTime(19356524 60 60);
                                            if (
== 8client.Inventory.AddTime(19362524 60 60);
                                            if (
== 9client.Inventory.AddTime(19439524 60 60);
                                            if (
== 10client.Inventory.AddTime(18967524 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(118);
                                        {
                                            if (
== 1client.Inventory.AddTime(20056424 60 60);
                                            if (
== 2client.Inventory.AddTime(20057224 60 60);
                                            if (
== 3client.Inventory.AddTime(20057324 60 60);
                                            if (
== 4client.Inventory.AddTime(20057524 60 60);
                                            if (
== 5client.Inventory.AddTime(20053724 60 60);
                                            if (
== 6client.Inventory.AddTime(20053124 60 60);
                                            if (
== 7client.Inventory.AddTime(20054024 60 60);
                                            if (
== 8client.Inventory.AddTime(20048224 60 60);
                                            if (
== 9client.Inventory.AddTime(20044924 60 60);
                                            if (
== 10client.Inventory.AddTime(20055924 60 60);
                                            if (
== 11client.Inventory.AddTime(20056024 60 60);
                                            if (
== 12client.Inventory.AddTime(20054424 60 60);
                                            if (
== 13client.Inventory.AddTime(20058024 60 60);
                                            if (
== 14client.Inventory.AddTime(20049424 60 60);
                                            if (
== 15client.Inventory.AddTime(20059224 60 60);
                                            if (
== 16client.Inventory.AddTime(20059624 60 60);
                                            if (
== 17client.Inventory.AddTime(20052424 60 60);
                                            if (
== 18client.Inventory.AddTime(20057224 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(210007524 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(300900301);
                                        
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(300424801);
                                        
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(300424701);
                                        
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(300424901);
                                        
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(300104401);
                                        
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(300104402);
                                        
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(300104403);
                                        
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(300104404);
                                        
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(300104405);
                                        
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(300104406);
                                        
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 

شكراا