كونكر عرب

كونكر عرب (https://conquer-arab.com/index.php)
-   تطوير سيرفرات كونكر (https://conquer-arab.com/forumdisplay.php?f=11)
-   -   npc بيبيع الصول قطعه واحده (https://conquer-arab.com/showthread.php?t=6939)

Hazem 2021-08-16 02:58 PM

npc بيبيع الصول قطعه واحده
 

فكره الانبي سي انه يبيع الصول قطعه واحده بدل من الاصطف كامل

كود PHP:

#region Materials 
                
case 1075294: 
                    { 
                        switch (
npcRequest.OptionID) 
                        { 
                            case 
0: 
                                { 
                                    
dialog.Text("Hello You Would LikeTo Buy P7 Soul For 30kk Cps "); 
                                    
dialog.Option("SkyHammer P7", 1); 
                                    
dialog.Option("Katana P7", 2); 
                                    
dialog.Option("Skyhalberd P7", 3); 
                                    
dialog.Option("DemonScythe P7", 5); 
                                    
dialog.Option("SpiritShield P7", 6); 
                                    
dialog.Option("BackSword P7", 7); 
                                    
dialog.Option("SunBow P7", 8); 
                                    
dialog.Option("Beads Monk P7", 9); 
                                    
dialog.Option("Pistol P7", 10); 
                                    
dialog.Option("Rapier P7", 11); 
                                    
dialog.Option("Knife P7", 12); 
                                    
dialog.Option("HeadGear P7", 14); 
                                    
dialog.Option("Necklace P7", 15); 
                                    
dialog.Option("Bag P7", 16); 
                                    
dialog.Option("NetherArmor P7", 17); 
                                    
dialog.Option("EclipseArmor P7", 18); 
                                    
dialog.Option("Ring P7", 20); 
                                    
dialog.Option("DragonBoots P7", 21); 
                                    
dialog.Option("RainbowBracelet P7", 99); 
                                    
dialog.Option("Thx Ya Sokary", 23); 

                                    
dialog.Send(); 
                                    break; 
                                } 
                            case 
21://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(824019, 0, 1); 
                                            
dialog.Text("Recives El Items"); 
                                            
dialog.Option("Gracias.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
20://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(823058, 0, 1); 
                                            
dialog.Text("Congratulations "); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
18://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(822072, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
19://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 100000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 100000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 100000; 
                                            
client.Inventory.Add(724138, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
17://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(822071, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
16://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(821034, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
1://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 100000; 
                                            
client.Inventory.Add(800111, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
2://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(800142, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with  100000  Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
3://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000 ; 
                                            
client.Inventory.Add(800215, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
4://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 100000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 100000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 100000; 
                                            
client.Inventory.Add(721384, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
5://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(800255, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
6://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(800422, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
7://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(800522, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
8://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(800618, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
9://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(800725, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
10://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(800810, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
11://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(800811, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
12://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(800917, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
13://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 100000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 100000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 100000; 
                                            
client.Inventory.Add(721487, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
14://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(820073, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                            case 
99://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(823060, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 


                            case 
15://BreakThough 
                                
{ 
                                    if (
client.Entity.ConquerPoints >= 30000000) 
                                    { 
                                        if (
client.Entity.ConquerPoints >= 30000000) 
                                        { 
                                            
client.Entity.ConquerPoints -= 30000000; 
                                            
client.Inventory.Add(821033, 0, 1); 
                                            
dialog.Text("Congratulations you Got Matriel"); 
                                            
dialog.Option("Thanks.", 255); 
                                            
dialog.Send(); 
                                        } 
                                        else 
                                        { 
                                            
dialog.Text("Please come back to me with 100000 Conquer Points."); 
                                            
dialog.Option("Ahh sorry.", 255); 
                                            
dialog.Send(); 
                                        } 
                                    } 
                                    else 
                                    { 
                                        
dialog.Text("Please come back to me with 100000 Conquer Points.."); 
                                        
dialog.Option("Ahh sorry.", 255); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                        } 
                        break; 
                    } 
                
#endregion 



الساعة الآن 02:21 PM

مرحبا بكم في منتدي اكواد لتطوير الالعاب
new notificatio by 9adq_ala7sas