احصائياتى

الردود
1

المشاهدات
600
 
Hassan Emprator
.:: مشرف قسم المشاكل ::.

    غير متواجد

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

+التقييم
0.63

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

الاقامة
شرقيه/زقازيق

نظام التشغيل

رقم العضوية
30
2019-07-08, 07:58 AM
المشاركة 1
2019-07-08, 07:58 AM
المشاركة 1
Like كويست Letters
السلام عليكم كويستت الليترز جميله وانشاء الله تعجبكو يله نبدا


اول حاجه هنفتح كلاس Npc وي نحط دا فيه


كود:
#region [Quest Letters]
                
case 131312:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Good job man you are strong man ,So What brought?");
                                    
dialog.Option("Swap C.O.N.Q.U.E.R", 50);
                                    
dialog.Option("Swap C.O.N.Q.U.E.R.9.", 40);
                                    
dialog.Option("i`ll pass.", 255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
3:
                                {
                                    if (
client.Inventory.Contains(711214, 1))//C
                                        
if (client.Inventory.Contains(711215, 1))//O
                                            
if (client.Inventory.Contains(711216, 1))//N
                                                
if (client.Inventory.Contains(711217, 1))//Q
                                                    
if (client.Inventory.Contains(711218, 1))//U
                                                        
if (client.Inventory.Contains(711219, 1))//E
                                                            
if (client.Inventory.Contains(711220, 1))//R
                                                            
{
                                                                
dialog.Text("Good job man you are strong man ,So What brought?");
                                                                
dialog.Option("Swap C.O.N.Q.U.E.R", 50);
                                                                
dialog.Option("Swap C.O.N.Q.U.E.R.9.", 40);
                                                                
dialog.Option("i`ll pass.", 255);
                                                                
dialog.Send();
                                                            }
                                                            else
                                                            {
                                                                
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                                                
dialog.Option("Oh, sorry.", 255);
                                                                
dialog.Send();
                                                            }
                                    break;
                                }
                            case 
50:
                                {
                                    if (
client.Entity.Level > 134 && client.Entity.First == 0)
                                    {
                                        if (
client.Inventory.Contains(711214, 1) || client.Inventory.Contains(711215, 1) || client.Inventory.Contains(711216, 1) || client.Inventory.Contains(711217, 1) || client.Inventory.Contains(711218, 1) || client.Inventory.Contains(711219, 1) || client.Inventory.Contains(711220, 1))
                                        {
                                            
dialog.Text("Well done! Now what would you like to claim?");
                                            
dialog.Option("10.000 CPs", 110);
                                            
dialog.Option("70 OnlineTrainingPoints [OTP`s]", 111);
                                            
dialog.Option("50000 Chi Points", 112);
                                            
dialog.Option("SacredRefinery", 172);
                                            
dialog.Send();
                                        }
                                        else
                                        {
                                            
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                            
dialog.Option("Oh, sorry.", 255);
                                            break;
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry There isn't level 135 or more or you make it come back tommorrow!");
                                        
dialog.Option("okay", 255);
                                        break;
                                    }
                                    break;
                                }
                            case 
172:
                                {
                                    if (
client.Inventory.Contains(711214, 1))//C
                                        
if (client.Inventory.Contains(711215, 1))//O
                                            
if (client.Inventory.Contains(711216, 1))//N
                                                
if (client.Inventory.Contains(711217, 1))//Q
                                                    
if (client.Inventory.Contains(711218, 1))//U
                                                        
if (client.Inventory.Contains(711219, 1))//E
                                                            
if (client.Inventory.Contains(711220, 1))//R
                                                            
{
                                                                
client.Inventory.Remove(711214, 1);
                                                                
client.Inventory.Remove(711215, 1);
                                                                
client.Inventory.Remove(711216, 1);
                                                                
client.Inventory.Remove(711217, 1);
                                                                
client.Inventory.Remove(711218, 1);
                                                                
client.Inventory.Remove(711219, 1);
                                                                
client.Inventory.Remove(711220, 1);
                                                                
client.Inventory.Add(3004249, 0, 1);
                                                                
client.Entity.First = 1;
                                                                
client.Entity.Update(_String.Effect, "end_task", true);
                                                                
dialog.Text("You`ve received a SacredRefinery");
                                                                
dialog.Send();
                                                            }
                                                            else
                                                            {
                                                                
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                                                
dialog.Option("Oh, sorry.", 255);
                                                                
dialog.Send();
                                                            }
                                    break;
                                }
                            case 
112:
                                {
                                    if (
client.Inventory.Contains(711214, 1))//C
                                        
if (client.Inventory.Contains(711215, 1))//O
                                            
if (client.Inventory.Contains(711216, 1))//N
                                                
if (client.Inventory.Contains(711217, 1))//Q
                                                    
if (client.Inventory.Contains(711218, 1))//U
                                                        
if (client.Inventory.Contains(711219, 1))//E
                                                            
if (client.Inventory.Contains(711220, 1))//R
                                                            
{
                                                                
client.Inventory.Remove(711214, 1);
                                                                
client.Inventory.Remove(711215, 1);
                                                                
client.Inventory.Remove(711216, 1);
                                                                
client.Inventory.Remove(711217, 1);
                                                                
client.Inventory.Remove(711218, 1);
                                                                
client.Inventory.Remove(711219, 1);
                                                                
client.Inventory.Remove(711220, 1);
                                                                
client.ChiPoints += 50000;
                                                                
client.Entity.First = 1;
                                                                
client.Entity.Update(_String.Effect, "end_task", true);
                                                                
dialog.Text("You`ve received 50000 Chi Points");
                                                                
dialog.Send();
                                                            }
                                                            else
                                                            {
                                                                
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                                                
dialog.Option("Oh, sorry.", 255);
                                                                
dialog.Send();
                                                            }
                                    break;
                                }
                            case 
111:
                                {
                                    if (
client.Inventory.Contains(711214, 1))//C
                                        
if (client.Inventory.Contains(711215, 1))//O
                                            
if (client.Inventory.Contains(711216, 1))//N
                                                
if (client.Inventory.Contains(711217, 1))//Q
                                                    
if (client.Inventory.Contains(711218, 1))//U
                                                        
if (client.Inventory.Contains(711219, 1))//E
                                                            
if (client.Inventory.Contains(711220, 1))//R
                                                            
{
                                                                
client.Inventory.Remove(711214, 1);
                                                                
client.Inventory.Remove(711215, 1);
                                                                
client.Inventory.Remove(711216, 1);
                                                                
client.Inventory.Remove(711217, 1);
                                                                
client.Inventory.Remove(711218, 1);
                                                                
client.Inventory.Remove(711219, 1);
                                                                
client.Inventory.Remove(711220, 1);
                                                                
client.Entity.OnlinePoints += 70;
                                                                
client.Entity.First = 1;
                                                                
client.Entity.Update(_String.Effect, "end_task", true);
                                                                
dialog.Text("You`ve received 70 OnlineTrainingPoints");
                                                                
dialog.Send();
                                                            }
                                                            else
                                                            {
                                                                
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                                                
dialog.Option("Oh, sorry.", 255);
                                                                
dialog.Send();
                                                            }
                                    break;
                                }
                            case 
110:
                                {
                                    if (
client.Inventory.Contains(711214, 1))//C
                                        
if (client.Inventory.Contains(711215, 1))//O
                                            
if (client.Inventory.Contains(711216, 1))//N
                                                
if (client.Inventory.Contains(711217, 1))//Q
                                                    
if (client.Inventory.Contains(711218, 1))//U
                                                        
if (client.Inventory.Contains(711219, 1))//E
                                                            
if (client.Inventory.Contains(711220, 1))//R
                                                            
{
                                                                
client.Inventory.Remove(711214, 1);
                                                                
client.Inventory.Remove(711215, 1);
                                                                
client.Inventory.Remove(711216, 1);
                                                                
client.Inventory.Remove(711217, 1);
                                                                
client.Inventory.Remove(711218, 1);
                                                                
client.Inventory.Remove(711219, 1);
                                                                
client.Inventory.Remove(711220, 1);
                                                                
client.Entity.ConquerPoints += 10000;
                                                                
client.Entity.First = 1;
                                                                
client.Entity.Update(_String.Effect, "end_task", true);
                                                                
dialog.Option("You`ve received 50.000 CPs", 112);
                                                                
dialog.Send();
                                                            }
                                                            else
                                                            {
                                                                
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                                                
dialog.Option("Oh, sorry.", 255);
                                                                
dialog.Send();
                                                            }
                                    break;
                                }
                            case 
40:
                                {
                                    if (
client.Entity.Level > 134 && client.Entity.First == 0)
                                    {
                                        if (
client.Inventory.Contains(711214, 1) || client.Inventory.Contains(711215, 1) || client.Inventory.Contains(711216, 1) || client.Inventory.Contains(711217, 1) || client.Inventory.Contains(711218, 1) || client.Inventory.Contains(711219, 1) || client.Inventory.Contains(711220, 1) || client.Inventory.Contains(711221, 1))
                                        {
                                            
dialog.Text("Well done! Now what would you like to claim?");
                                            
dialog.Option("50.000 CPs", 150);
                                            
dialog.Option("100 OnlineTrainingPoints [OTP`s]", 140);
                                            
dialog.Option("P7EquipmentSoulPack", 130);
                                            
dialog.Option("P7WeaponSoulPack", 120);
                                            
dialog.Option("SacredRefinery", 220);
                                            
dialog.Send();
                                        }
                                        else
                                        {
                                            
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                            
dialog.Option("Oh, sorry.", 255);
                                            break;
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry There isn't level 135 or more or you make it come back tommorrow!");
                                        
dialog.Option("okay", 255);
                                        break;
                                    }
                                    break;
                                }
                            case 
220:
                                {
                                    if (
client.Inventory.Contains(711214, 1))//C
                                        
if (client.Inventory.Contains(711215, 1))//O
                                            
if (client.Inventory.Contains(711216, 1))//N
                                                
if (client.Inventory.Contains(711217, 1))//Q
                                                    
if (client.Inventory.Contains(711218, 1))//U
                                                        
if (client.Inventory.Contains(711219, 1))//E
                                                            
if (client.Inventory.Contains(711220, 1))//R
                                                                
if (client.Inventory.Contains(711221, 1))//9
                                                                
{
                                                                    
client.Inventory.Remove(711214, 1);
                                                                    
client.Inventory.Remove(711215, 1);
                                                                    
client.Inventory.Remove(711216, 1);
                                                                    
client.Inventory.Remove(711217, 1);
                                                                    
client.Inventory.Remove(711218, 1);
                                                                    
client.Inventory.Remove(711219, 1);
                                                                    
client.Inventory.Remove(711220, 1);
                                                                    
client.Inventory.Remove(711221, 1);
                                                                    
client.Inventory.Add(3004249, 0, 1);
                                                                    
client.Entity.First = 1;
                                                                    
client.Entity.Update(_String.Effect, "end_task", true);
                                                                    
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get SacredRefinery");
                                                                }
                                                                else
                                                                {
                                                                    
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                                                    
dialog.Option("Oh, sorry.", 255);
                                                                    
dialog.Send();
                                                                }
                                    break;
                                }
                            case 
120:
                                {
                                    if (
client.Inventory.Contains(711214, 1))//C
                                        
if (client.Inventory.Contains(711215, 1))//O
                                            
if (client.Inventory.Contains(711216, 1))//N
                                                
if (client.Inventory.Contains(711217, 1))//Q
                                                    
if (client.Inventory.Contains(711218, 1))//U
                                                        
if (client.Inventory.Contains(711219, 1))//E
                                                            
if (client.Inventory.Contains(711220, 1))//R
                                                                
if (client.Inventory.Contains(711221, 1))//9
                                                                
{
                                                                    
client.Inventory.Remove(711214, 1);
                                                                    
client.Inventory.Remove(711215, 1);
                                                                    
client.Inventory.Remove(711216, 1);
                                                                    
client.Inventory.Remove(711217, 1);
                                                                    
client.Inventory.Remove(711218, 1);
                                                                    
client.Inventory.Remove(711219, 1);
                                                                    
client.Inventory.Remove(711220, 1);
                                                                    
client.Inventory.Remove(711221, 1);
                                                                    
client.Inventory.Add(3004247, 0, 1);
                                                                    
client.Entity.First = 1;
                                                                    
client.Entity.Update(_String.Effect, "end_task", true);
                                                                    
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get P7WeaponSoulPack");
                                                                }
                                                                else
                                                                {
                                                                    
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                                                    
dialog.Option("Oh, sorry.", 255);
                                                                    
dialog.Send();
                                                                }
                                    break;
                                }
                            case 
130:
                                {
                                    if (
client.Inventory.Contains(711214, 1))//C
                                        
if (client.Inventory.Contains(711215, 1))//O
                                            
if (client.Inventory.Contains(711216, 1))//N
                                                
if (client.Inventory.Contains(711217, 1))//Q
                                                    
if (client.Inventory.Contains(711218, 1))//U
                                                        
if (client.Inventory.Contains(711219, 1))//E
                                                            
if (client.Inventory.Contains(711220, 1))//R
                                                                
if (client.Inventory.Contains(711221, 1))//9
                                                                
{
                                                                    
client.Inventory.Remove(711214, 1);
                                                                    
client.Inventory.Remove(711215, 1);
                                                                    
client.Inventory.Remove(711216, 1);
                                                                    
client.Inventory.Remove(711217, 1);
                                                                    
client.Inventory.Remove(711218, 1);
                                                                    
client.Inventory.Remove(711219, 1);
                                                                    
client.Inventory.Remove(711220, 1);
                                                                    
client.Inventory.Remove(711221, 1);
                                                                    
client.Inventory.Add(3004248, 0, 1);
                                                                    
client.Entity.First = 1;
                                                                    
client.Entity.Update(_String.Effect, "end_task", true);
                                                                    
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get P7EquipmentSoulPack");
                                                                }
                                                                else
                                                                {
                                                                    
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                                                    
dialog.Option("Oh, sorry.", 255);
                                                                    
dialog.Send();
                                                                }
                                    break;
                                }
                            case 
140:
                                {
                                    if (
client.Inventory.Contains(711214, 1))//C
                                        
if (client.Inventory.Contains(711215, 1))//O
                                            
if (client.Inventory.Contains(711216, 1))//N
                                                
if (client.Inventory.Contains(711217, 1))//Q
                                                    
if (client.Inventory.Contains(711218, 1))//U
                                                        
if (client.Inventory.Contains(711219, 1))//E
                                                            
if (client.Inventory.Contains(711220, 1))//R
                                                                
if (client.Inventory.Contains(711221, 1))//9
                                                                
{
                                                                    
client.Inventory.Remove(711214, 1);
                                                                    
client.Inventory.Remove(711215, 1);
                                                                    
client.Inventory.Remove(711216, 1);
                                                                    
client.Inventory.Remove(711217, 1);
                                                                    
client.Inventory.Remove(711218, 1);
                                                                    
client.Inventory.Remove(711219, 1);
                                                                    
client.Inventory.Remove(711220, 1);
                                                                    
client.Inventory.Remove(711221, 1);
                                                                    
client.Entity.OnlinePoints += 100;
                                                                    
client.Entity.First = 1;
                                                                    
client.Entity.Update(_String.Effect, "end_task", true);
                                                                    
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get 100 Online Training Points");
                                                                }
                                                                else
                                                                {
                                                                    
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                                                    
dialog.Option("Oh, sorry.", 255);
                                                                    
dialog.Send();
                                                                }
                                    break;
                                }
                            case 
150:
                                {
                                    if (
client.Inventory.Contains(711214, 1))//C
                                        
if (client.Inventory.Contains(711215, 1))//O
                                            
if (client.Inventory.Contains(711216, 1))//N
                                                
if (client.Inventory.Contains(711217, 1))//Q
                                                    
if (client.Inventory.Contains(711218, 1))//U
                                                        
if (client.Inventory.Contains(711219, 1))//E
                                                            
if (client.Inventory.Contains(711220, 1))//R
                                                                
if (client.Inventory.Contains(711221, 1))//9
                                                                
{
                                                                    
client.Inventory.Remove(711214, 1);
                                                                    
client.Inventory.Remove(711215, 1);
                                                                    
client.Inventory.Remove(711216, 1);
                                                                    
client.Inventory.Remove(711217, 1);
                                                                    
client.Inventory.Remove(711218, 1);
                                                                    
client.Inventory.Remove(711219, 1);
                                                                    
client.Inventory.Remove(711220, 1);
                                                                    
client.Inventory.Remove(711221, 1);
                                                                    
client.Entity.ConquerPoints += 50000;
                                                                    
client.Entity.First = 1;
                                                                    
client.Entity.Update(_String.Effect, "end_task", true);
                                                                    
PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Letter C,O,N,Q,U,E,R,9 And Get 50.000 CPS");
                                                                }
                                                                else
                                                                {
                                                                    
dialog.Text("I believe you`ve missed some letter or so, please come again with C.O.N.Q.U.E.R 9 letter");
                                                                    
dialog.Option("Oh, sorry.", 255);
                                                                    
dialog.Send();
                                                                }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

بعد كدا نفتح كلاس MonsterTable.cs وبعدين نحط دا تحت كود الدروب عا طول او اي حته


كود:
#region ConquerLetters
                    
if (Name == "Pheasant")
                    {
                        if (
Kernel.Rate(1) && Kernel.Rate(40))
                        {
                            
killer.Owner.Inventory.Add(711214, 0, 1);
                        }
                        else if (
Kernel.Rate(1) && Kernel.Rate(40))
                        {
                            
killer.Owner.Inventory.Add(711215, 0, 1);
                        }
                        else if (
Kernel.Rate(1) && Kernel.Rate(40))
                        {
                            
killer.Owner.Inventory.Add(711216, 0, 1);
                        }
                        else if (
Kernel.Rate(1) && Kernel.Rate(40))
                        {
                            
killer.Owner.Inventory.Add(711217, 0, 1);
                        }
                        else if (
Kernel.Rate(1) && Kernel.Rate(40))
                        {
                            
killer.Owner.Inventory.Add(711218, 0, 1);
                        }
                        else if (
Kernel.Rate(1) && Kernel.Rate(40))
                        {
                            
killer.Owner.Inventory.Add(711219, 0, 1);
                        }
                        else if (
Kernel.Rate(1) && Kernel.Rate(40))
                        {
                            
killer.Owner.Inventory.Add(711221, 0, 1);
                        }
                        else if (
Kernel.Rate(1) && Kernel.Rate(40))
                        {
                            
killer.Owner.Inventory.Add(711220, 0, 1);
                        }
                    }
                    
#endregion 

دعوه حلوه بقلا


قديم 2019-07-08, 08:12 AM
المشاركة 2
Hazem
.:: المدير العام::.
  • غير متواجد
افتراضي رد: كويست Letters
الله ينور


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



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

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

المواضيع المتشابهه للموضوع: كويست Letters
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
كويست cloudsaintjar زى كونكر Hazem تطوير سيرفرات كونكر 3 2020-09-15 12:56 PM
طلب كويست Mostafa Shalby مشكلات السيرفيرات كونكر الشخصيه 2 2019-11-03 12:43 PM
كندل كويست ( كوسته) Hazem تطوير سيرفرات كونكر 1 2019-06-25 10:43 PM
كويست علاء الدين Hazem تطوير سيرفرات كونكر 1 2019-05-12 08:40 PM
كويست UniqueKiller كامله Hazem تطوير سيرفرات كونكر 0 2019-04-30 05:26 PM


الساعة الآن 04:27 AM