كونكر عرب

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

محمودمحمدسالم 2020-04-15 09:59 PM

npc تكسير الرونز
 
ده انبسي تعمل في ميلت لي رونز تكسر اي رونز انتا عايزها و تضيف الجوايز الي انتا عايزها بردو

ده الكود الي المفروض تعدل عليه
كود PHP:

client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true); 

الانبسي
كود PHP:

#region MeltingRune
                
case 254756:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Melting All Rune Skill Yellow Red Blue Change For Box [Prize~Cps~Gold~Onlinepoint~SkillRune~Yellow~Red~Blue] Chnange (+1) Skill");
                                    
dialog.Text("world. What do you want to get?");
                                    
dialog.Option("Comprehension Rune[Red]", 1);
                                    
dialog.Option("Pitching Rune[Red]", 2);
                                    
dialog.Option("FrostArrows Rune[Red]", 3);
                                    
dialog.Option("Assassin Rune[Red]", 4);
                                    
dialog.Option("Acalanatha Rune[Red]", 5);
                                    
dialog.Option("TideTrap Rune[Red]", 6);
                                    
dialog.Option("SwingingTail Rune[Red]", 7);
                                    
dialog.Option("Sacrifice Rune[Red]", 8);
                                    
dialog.Option("BurningSky Rune[Red]", 9);
                                    
dialog.Option("RevengeGale Rune[Red]", 10);
                                    
dialog.Option("Rampage Rune[Blue]", 11);
                                    
dialog.Option("All-round Rune[Blue]", 12);
                                    
dialog.Option("Infinity Rune[Blue]", 13);
                                    
dialog.Option("Absolution Rune[Blue]", 14);
                                    
dialog.Option("IronShield Rune[Blue]", 15);
                                    
dialog.Option("Slayer Rune[Blue]", 16);
                                    
dialog.Option("CounterPunch Rune[Blue]", 17);
                                    
dialog.Option("FireCurse Rune[Blue]", 18);
                                    
dialog.Option("WildWind Rune[Blue]", 19);
                                    
dialog.Option("TortoiseBreaker Rune[Yellow]", 20);
                                    
dialog.Option("DrainingTouchBooster Rune[Yellow]", 21);
                                    
dialog.Option("BloodSpawnBooster Rune[Yellow]", 22);
                                    
dialog.Option("Healer Rune[Yellow]", 23);
                                    
dialog.Option("Sturdiness Rune[Yellow]", 24);
                                    
dialog.Option("XPKiller Rune[Yellow]", 25);
                                    
dialog.Option("Grabber Rune[Yellow]", 26);
                                    
dialog.Option("MPMaster Rune[Yellow]", 27);
                                    
dialog.Option("BossKiller Rune[Yellow]", 28);
                                    
dialog.Option("NoMercy Rune[Yellow]", 29);
                                    
dialog.Option("XPBooster Rune[Yellow]", 30);
                                    
dialog.Option("FreeSoulBooster Rune[Yellow]", 31);
                                    
dialog.Option("Witchery Rune[Yellow]", 32);
                              
                                    
dialog.Option("Just passing by.", 255);
                                    
dialog.Avatar(85);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    if (
client.Inventory.Contains(4010001, 1))
                                    {
                                        
client.Inventory.Remove(4010001, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have This SkillRune  ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
2:
                                {
                                    if (
client.Inventory.Contains(4010101, 1))
                                    {
                                        
client.Inventory.Remove(4010101, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
3:
                                {
                                    if (
client.Inventory.Contains(4010201, 1))
                                    {
                                        
client.Inventory.Remove(4010201, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
4:
                                {
                                    if (
client.Inventory.Contains(4010301, 1))
                                    {
                                        
client.Inventory.Remove(4010301, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
5:
                                {
                                    if (
client.Inventory.Contains(4010401, 1))
                                    {
                                        
client.Inventory.Remove(4010401, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
6:
                                {
                                    if (
client.Inventory.Contains(4010501, 1))
                                    {
                                        
client.Inventory.Remove(4010501, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
7:
                                {
                                    if (
client.Inventory.Contains(4010601, 1))
                                    {
                                        
client.Inventory.Remove(4010601, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
8:
                                {
                                    if (
client.Inventory.Contains(4010701, 1))
                                    {
                                        
client.Inventory.Remove(4010701, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
9:
                                {
                                    if (
client.Inventory.Contains(4010801, 1))
                                    {
                                        
client.Inventory.Remove(4010801, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
10:
                                {
                                    if (
client.Inventory.Contains(4010901, 1))
                                    {
                                        
client.Inventory.Remove(4010901, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
11:
                                {
                                    if (
client.Inventory.Contains(4020101, 1))
                                    {
                                        
client.Inventory.Remove(4020101, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
12:
                                {
                                    if (
client.Inventory.Contains(4020201, 1))
                                    {
                                        
client.Inventory.Remove(4020201, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
13:
                                {
                                    if (
client.Inventory.Contains(4020301, 1))
                                    {
                                        
client.Inventory.Remove(4020301, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
14:
                                {
                                    if (
client.Inventory.Contains(4020401, 1))
                                    {
                                        
client.Inventory.Remove(4020401, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
15:
                                {
                                    if (
client.Inventory.Contains(4020501, 1))
                                    {
                                        
client.Inventory.Remove(4020501, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
16:
                                {
                                    if (
client.Inventory.Contains(4020601, 1))
                                    {
                                        
client.Inventory.Remove(4020601, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
17:
                                {
                                    if (
client.Inventory.Contains(4020701, 1))
                                    {
                                        
client.Inventory.Remove(4020701, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
18:
                                {
                                    if (
client.Inventory.Contains(4020901, 1))
                                    {
                                        
client.Inventory.Remove(4020901, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
19:
                                {
                                    if (
client.Inventory.Contains(4021001, 1))
                                    {
                                        
client.Inventory.Remove(4021001, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
20:
                                {
                                    if (
client.Inventory.Contains(4030101, 1))
                                    {
                                        
client.Inventory.Remove(4030101, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
21:
                                {
                                    if (
client.Inventory.Contains(4030201, 1))
                                    {
                                        
client.Inventory.Remove(4030201, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
22:
                                {
                                    if (
client.Inventory.Contains(4030301, 1))
                                    {
                                        
client.Inventory.Remove(4030301, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
23:
                                {
                                    if (
client.Inventory.Contains(4030401, 1))
                                    {
                                        
client.Inventory.Remove(4030401, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
24:
                                {
                                    if (
client.Inventory.Contains(4030501, 1))
                                    {
                                        
client.Inventory.Remove(4030501, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
25:
                                {
                                    if (
client.Inventory.Contains(4030601, 1))
                                    {
                                        
client.Inventory.Remove(4030601, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
26:
                                {
                                    if (
client.Inventory.Contains(4030701, 1))
                                    {
                                        
client.Inventory.Remove(4030701, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
27:
                                {
                                    if (
client.Inventory.Contains(4030801, 1))
                                    {
                                        
client.Inventory.Remove(4030801, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
28:
                                {
                                    if (
client.Inventory.Contains(4030901, 1))
                                    {
                                        
client.Inventory.Remove(4030901, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
29:
                                {
                                    if (
client.Inventory.Contains(4031001, 1))
                                    {
                                        
client.Inventory.Remove(4031001, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
30:
                                {
                                    if (
client.Inventory.Contains(4031101, 1))
                                    {
                                        
client.Inventory.Remove(4031101, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
31:
                                {
                                    if (
client.Inventory.Contains(4031201, 1))
                                    {
                                        
client.Inventory.Remove(4031201, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
32:
                                {
                                    if (
client.Inventory.Contains(4031301, 1))
                                    {
                                        
client.Inventory.Remove(4031301, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough SkillRune ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
33:
                                {
                                    if (
client.Inventory.Contains(723467, 1))
                                    {
                                        
client.Inventory.Remove(723467, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough 1 LordTokens ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
34:
                                {
                                    if (
client.Inventory.Contains(723467, 1))
                                    {
                                        
client.Inventory.Remove(723467, 1);
                                        
client.Inventory.Add(3306364, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough 1 LordTokens ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
35:
                                {
                                    if (
client.Inventory.Contains(723467, 1))
                                    {
                                        
client.Inventory.Remove(723467, 1);
                                        
client.Inventory.Add(2100055, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough 1 LordTokens ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
36:
                                {
                                    if (
client.Inventory.Contains(723467, 1))
                                    {
                                        
client.Inventory.Remove(723467, 1);
                                        
client.Inventory.Add(2100055, 0, 0, 0, 0, 0, 0, 1, true);
                                    }
                                    else
                                    {
                                        
dialog.Text("You don't have enough 1 LordTokens ");
                                        
dialog.Option("I see.", 255);
                                        
dialog.Avatar(85);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                        }
                        break;
                    } 

صوره للانبسي
عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع

AliNasser 2020-04-15 10:06 PM

رد: npc تكسير الرونز
 
تسلم شغل جامد

Hazem 2020-04-15 11:01 PM

رد: npc تكسير الرونز
 
عاش شغل جامد

محمودمحمدسالم 2020-04-16 01:44 AM

رد: npc تكسير الرونز
 
اقتباس:

المشاركة الأصلية كتبت بواسطة Hazem (المشاركة 37443)
عاش شغل جامد

حبيبي تسلم

محمودمحمدسالم 2020-04-16 01:44 AM

رد: npc تكسير الرونز
 
اقتباس:

المشاركة الأصلية كتبت بواسطة meee2013a1 (المشاركة 37437)
تسلم شغل جامد

نورت الموضوع يا حبي

medo2020 2020-04-16 06:44 AM

رد: npc تكسير الرونز
 
هو مفيش حد منزلوا سوبر


الساعة الآن 05:10 AM

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