احصائياتى

الردود
2

المشاهدات
570
 
ElSaher
.:: مشرف اقسام كونكر ::.
الإجابات المقدمة: 509

المشاركات
3,131

+التقييم
1.17

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

الاقامة
الزقازيق

نظام التشغيل
ويندوز 0

رقم العضوية
279
2020-01-25, 07:24 PM
المشاركة 1
2020-01-25, 07:24 PM
المشاركة 1
gifts تمت الإجابة مشكلة في اللوري
مشكلة في اللوتري لما اجي افتحو مش بيفتح


أفضل جواب - كتبه MRonlineGvrix
يغلق
قديم 2020-01-25, 07:30 PM
المشاركة 2
Rider
.:: نائب المدير ::.
الإجابات المقدمة: 989
  • غير متواجد
افتراضي رد: مشكلة في اللوري
npc.cs
سيرش علي اي واحده من دول

كود:
 case 925:
                                case 
926:
                                case 
927:
                                case 
928:
                                case 
929:
                                case 
930:
                                case 
931:
                                case 
932:
                                case 
933:
                                case 
934:
                                case 
935:
                                case 
936:
                                case 
937:
                                case 
938:
                                case 
939:
                                case 
940:
                                case 
942:
                                case 
943:
                                case 
944:
                                case 
945: 

هنيجي للحته المهمه

كود:
 if (client.Inventory.Contains(729691, 1))
                                                    {
                                                        
client.Inventory.Remove(729691, 1); 

رقم ده غيره لرقم روتري عادي عشان تفتح معاك

كود:
729691 

او ممكن تقلبها لوتري بكبس

قديم 2020-01-25, 07:33 PM
المشاركة 3
ElSaher
.:: مشرف اقسام كونكر ::.
الإجابات المقدمة: 509
  • غير متواجد
افتراضي رد: مشكلة في اللوري

كود:
                    #region Lottery
                    
case 700:
                        {
                            switch (
client.ActiveNpc)
                            {
                                
#region LuckyBox
                                
case 925:
                                case 
926:
                                case 
927:
                                case 
928:
                                case 
929:
                                case 
930:
                                case 
931:
                                case 
932:
                                case 
933:
                                case 
934:
                                case 
935:
                                case 
936:
                                case 
937:
                                case 
938:
                                case 
939:
                                case 
940:
                                case 
942:
                                case 
943:
                                case 
944:
                                case 
945:
                                    {
                                        switch (
npcRequest.OptionID)
                                        {
                                            case 
0:
                                                {
                                                    if (
client.Inventory.Contains(729691, 1))
                                                    {
                                                        
client.Inventory.Remove(729691, 1);
                                                        if (
client.LotteryEntries < 255)
                                                        {
                                                            
int rand = Kernel.Random.Next(Fighter.Database.LotteryTable.LotteryItems.Count);
                                                            var 
item = Fighter.Database.LotteryTable.LotteryItems[rand];
                                                            var 
tobesent = new newLottery(true);
                                                            
tobesent.boxid = 3;//npcRequest.NpcID;// 0x10103; 
                                                            
tobesent.ItemID = item.ID;
                                                            
client.Player.LOTOITEM = item;
                                                            if (
item.Sockets > 0)
                                                                
tobesent.SocketGem1 = 255;
                                                            if (
item.Sockets > 1)
                                                                
tobesent.SocketGem2 = 255;
                                                            
client.Player.AddJade = 0;
                                                            
tobesent.JadesAdded = client.Player.AddJade;
                                                            
tobesent.plus = item.Plus;
                                                            
client.LotteryEntries += 1;
                                                            
client.Send(tobesent);
                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("Sorry, your LotteryEntries has finished come tomorrow.");
                                                            
dialog.Option("Okay", 255);
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry You need NewLottery to draw from the lottery in the lottery Center.");
                                                        
dialog.Option("Okay", 255);
                                                    }
                                                    break;
                                                }
                                        }
                                        break;
                                    }
                                
#endregion
                                #region CollecterZhao
                                
case 3952:
                                    {
                                        switch (
npcRequest.OptionID)
                                        {
                                            case 
0:
                                                {
                                                    
dialog.Text("Hello mate, i can help you to change Amulets and LifeFruitBasket for 10 cps what you have?.");
                                                    
dialog.Option("LifeFruitBasket", 1);
                                                    
dialog.Option("PenitenceAmulet.", 2);
                                                    
dialog.Option("DisguiseAmulet.", 3);
                                                    
dialog.Option("Nothing thank you.", 255);
                                                    
dialog.Send();
                                                    break;
                                                }
                                            case 
1:
                                                {
                                                    if (
client.Inventory.Contains(723725, 1))
                                                    {
                                                        
client.Inventory.Remove(723725, 1);
                                                        
client.Player.ConquerPoints += 10;
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry you dont Have Any LifeFruitBaskets.");
                                                        
dialog.Option("Alright Thanks", 255);
                                                        
dialog.Send();
                                                    }
                                                    break;
                                                }
                                            case 
2:
                                                {
                                                    if (
client.Inventory.Contains(723727, 1))
                                                    {
                                                        
client.Inventory.Remove(723727, 1);
                                                        
client.Player.ConquerPoints += 10;
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry you dont Have Any PenitenceAmulet.");
                                                        
dialog.Option("Alright Thanks", 255);
                                                        
dialog.Send();
                                                    }
                                                    break;
                                                }
                                            case 
3:
                                                {
                                                    if (
client.Inventory.Contains(723724, 1))
                                                    {
                                                        
client.Inventory.Remove(723724, 1);
                                                        
client.Player.ConquerPoints += 10;
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry you dont Have Any DisguiseAmulet.");
                                                        
dialog.Option("Alright Thanks.", 255);
                                                        
dialog.Send();
                                                    }
                                                    break;
                                                }
                                        }
                                        break;
                                    }
                                
#endregion
                                #region Clear
                                
case 59522:
                                    {

                                        switch (
npcRequest.OptionID)
                                        {
                                            case 
0:
                                                {

                                                    
dialog.Text("Hello my bro . I can clear your items for 10 Cps");
                                                    
dialog.Option("Okay.Clear", 51);
                                                    
dialog.Option("Just passing by.", 255);
                                                    
dialog.Avatar(80);
                                                    
dialog.Send();
                                                    break;
                                                }
                                            case 
51:
                                                {
                                                    
dialog.Text("Are you sure ?");
                                                    
dialog.Option("Yes,Clear", 1);
                                                    
dialog.Send();
                                                    break;
                                                }
                                            case 
1:
                                                {
                                                    {
                                                        if (
client.Player.ConquerPoints >= 10)
                                                        {
                                                            
client.Player.ConquerPoints -= 10;
                                                            
ConquerItem[] inventory = new ConquerItem[client.Inventory.Objects.Length];
                                                            
client.Inventory.Objects.CopyTo(inventory, 0);

                                                            foreach (
ConquerItem item in inventory)
                                                            {
                                                                
client.Inventory.Remove(item, Fighter.Game.Enums.ItemUse.Remove);
                                                            }

                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("Sorry you don't have 10 Cps.");
                                                            
dialog.Option("I see.", 255);
                                                            
dialog.Avatar(116);
                                                            
dialog.Send();
                                                        }
                                                    }

                                                    break;
                                                }

                                        }
                                        break;
                                    }
                                
#endregion
                            
}
                            break;
                        }
                    
#endregion 



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



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

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



الساعة الآن 02:33 AM