احصائياتى

الردود
8

المشاهدات
916
 
Mr~Rayzo
::. المدير العام ::.

المشاركات
1,340

+التقييم
0.49

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

الاقامة

نظام التشغيل

رقم العضوية
115
2019-07-01, 08:54 PM
المشاركة 1
2019-07-01, 08:54 PM
المشاركة 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 >= 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 

شكراا



التعديل الأخير تم بواسطة Hazem ; 2019-07-01 الساعة 09:03 PM
قديم 2019-07-01, 09:03 PM
المشاركة 2
Hazem
.:: المدير العام::.
  • غير متواجد
افتراضي رد: NPC Full Onlen point
الله ينور بجد والله

قديم 2019-07-01, 09:04 PM
المشاركة 3
Hazem
.:: المدير العام::.
  • غير متواجد
افتراضي رد: NPC Full Onlen point
حاول تخلي الخط 3 مش 6 علشان يكون شكل الموضوع حلو هههههههه

قديم 2019-07-02, 10:01 AM
المشاركة 4
Mr~Rayzo
::. المدير العام ::.
  • غير متواجد
افتراضي رد: NPC Full Onlen point
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
حاول تخلي الخط 3 مش 6 علشان يكون شكل الموضوع حلو هههههههه
تم

قديم 2019-07-02, 09:32 PM
المشاركة 5
AMREL3FREIT
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: NPC Full Onlen point
الله ينور


استاذنك لو سمحت
فيه افنت عندي انا ضيفو الي هوا الجي ام الي بيرمي شنط كبس ده كل ساعه
انا بقى عاوز ف الوقت الي بيظهر فيه يبقى فيه فتح بكي وضرب ف التون خلال الوقت بتاعو
هل تقدر تفدني ب الحوار ده

قديم 2019-07-02, 10:00 PM
المشاركة 6
Mr~Rayzo
::. المدير العام ::.
  • غير متواجد
افتراضي رد: NPC Full Onlen point
حاضر بس يوم كده عشان مزنوق فى شغلى ولو حازم جاهز معاه هيدهولك

قديم 2019-07-02, 10:02 PM
المشاركة 7
Hazem
.:: المدير العام::.
  • غير متواجد
افتراضي رد: NPC Full Onlen point
المشكله الاتاك بتاعه من ملف map في النفي كات مش في السورس

قديم 2019-07-04, 10:10 PM
المشاركة 8
Rider
.:: نائب المدير ::.
  • غير متواجد
افتراضي رد: NPC Full Onlen point
شرح اضافة الاونلاين بوينت

اول حاجه هندخل علي EntityTable.cs

ابحث عن client.Player.HairStyle = reader.ReadUInt16("HairStyle");

تحته ضيف
كود بلغة HTML:
 client.Player.OnlinePoints = reader.ReadUInt32("OnlinePoints");
بعدها ابحث عن cmd.Set("WarehousePW", c.WarehousePW)
تحته ضيف
كود بلغة HTML:
.Set("OnlinePoints", e.OnlinePoints)
بعدها روح ل Entity.cs ابحث عن public byte AddJade = 0;
تحتها ضيف
كود بلغة HTML:
 public Time32 OnlinePointStamp;
 public uint OnlinePoints;
بعدها روح ع Packethandler.cs حط دي وسط الشفرات عشان لو حبيت تجيب اونلاين بوينت
كود بلغة HTML:
case "onlinepoints":
                                {
                                    client.Player.OnlinePoints = uint.Parse(Data[1]);
                                    break;
                                }
لو جابلك ايرور في client.player عدلها ل client.entity

المهم روح علي World.cs و ابحث عن #region Minning و تحته ضيف دي

كود بلغة HTML:
 #region OnlinePoints
                if (Time32.Now > client.Player.OnlinePointStamp.AddMinutes(1))
                {
                    client.Player.OnlinePoints += 1;
                    client.Player.OnlinePointStamp = Time32.Now;
                }
            #endregion

قديم 2021-01-23, 08:02 PM
المشاركة 9
Mr~Rayzo
::. المدير العام ::.
  • غير متواجد
افتراضي رد: NPC Full Onlen point
فى شروحات كتير ليا اتنست وناس بتدور عليها فقررت اعملها رفرش :d


العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

الانتقال السريع

المواضيع المتشابهه للموضوع: NPC Full Onlen point
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
سيستم Epic Quests Full Like TQ khaledxodia تطوير سيرفرات كونكر 8 2020-03-24 01:13 AM
Big Monsters full system Rider تطوير سيرفرات كونكر 6 2019-12-21 05:21 PM
بخصوص NPC نجوم الاسلاحه + NPC format Point uncelsam مشكلات السيرفيرات كونكر الشخصيه 3 2019-07-25 04:48 AM
اضافة online point كامله Hazem تطوير سيرفرات كونكر 1 2019-06-20 07:07 PM
Demon Box Full Add Mero تطوير سيرفرات كونكر 0 2019-04-28 02:33 PM


الساعة الآن 10:36 PM