الاثنين، 11 مايو 2015








نشوف في الاكواد الكويست رقم (1)

ضيفو ده في الاني بي سي


#region Fruit Qwuest NPC ********.net Quest By Mr.Monk 
                
case 59170://By Mr.Monk I love ******** :* 
                    

                        switch (
npcRequest.OptionID)//********.net 
                        

                            case 
0://By Mr.Monk I love ******** :* 
                                

                                    
dialog.Text("Iam NPC Fruit Quest By Mr.Monk You Have The Item Cherry And MulberryAnd Orange And Pear And Grape ?"); 
                                    
dialog.Option("here u are"4); 
                                    
dialog.Option("i got to go"255); 
                                    
dialog.Send(); 
                                    break; 

                                } 
                            case 
4
                                { 
                                    if (
client.Inventory.Contains(711001, (byte)1)) 
                                        if (
client.Inventory.Contains(711001, (byte)1)) 
                                            if (
client.Inventory.Contains(711002, (byte)1)) 
                                                if (
client.Inventory.Contains(711002, (byte)1)) 
                                                    if (
client.Inventory.Contains(711003, (byte)1)) 
                                                        if (
client.Inventory.Contains(711003, (byte)1)) 
                                                            if (
client.Inventory.Contains(711004, (byte)1)) 
                                                                if (
client.Inventory.Contains(711004, (byte)1)) 
                                                                    if (
client.Inventory.Contains(711005, (byte)1)) 
                                                                        if (
client.Inventory.Contains(711005, (byte)1)) 
                                                                        { 

                                                                            
client.Inventory.Remove(711001, (byte)1); 
                                                                            
client.Inventory.Remove(7110011); 
                                                                            
client.Inventory.Remove(7110021); 
                                                                            
client.Inventory.Remove(7110021); 
                                                                            
client.Inventory.Remove(7110031); 
                                                                            
client.Inventory.Remove(7110031); 
                                                                            
client.Inventory.Remove(7110041); 
                                                                            
client.Inventory.Remove(7110041); 
                                                                            
client.Inventory.Remove(7110051); 
                                                                            
client.Inventory.Remove(7110051); 

                                                                            
client.Entity.ConquerPoints += 25000
                                                                            
ShekoProject.Network.PacketHandler.WorldMessage("Congratulations! " client.Entity.Name "! Has Got Reward For 25.000 cps Fruit Thanks Salah.Tiger #C"); 


                                                                        } 
                                                                        else 
                                                                        { 
                                                                            
dialog.Text("You don't have required letters"); 
                                                                            
dialog.Option("Ahh sorry."255); 
                                                                            break; 
                                                                        } 
                                    break; 
                                } 
                        } 
                        break; 
                    } 
                
#endregion  
وهتخش علي
MonsterTable.cs
هنبحث علي

        public void Drop(Game.Entity killer
        {  
وهضيف تحت الكوس

#region Quest By Mr.Monk L:DL Quest Full For ********.net :* 
            
if (Name == "Pheasant")//By Mr.Monk i Love ********.net 
            
{//By Mr.Monk For Zico :* :) 
                
byte times = (byte)ServerBase.Kernel.Random.Next(13); 
                
byte ref_times = (byte)ServerBase.Kernel.Random.Next(16); 
                for (
byte i 0timesi++) 
                { 
                    
uint Uid 0
                    
byte type = (byte)ServerBase.Kernel.Random.Next(121); 
                    switch (
type
                    { 
                        case 
1Uid 711001; break; 
                        case 
2Uid 711002; break; 
                        case 
3Uid 711003; break; 
                        case 
4Uid 711004; break; 
                        case 
5Uid 711005; break; 
                    } 

                    if (
Uid != 0
                    { 
                        
ushort X Owner.XOwner.Y
                        
Game.Map Map ServerBase.Kernel.Maps[Owner.MapID]; 
                        if (
Map.SelectCoordonates(ref Xref Y)) 

                        { 
                            
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true); 
                            
floorItem.Item = new Network.GamePackets.ConquerItem(true); 
                            
floorItem.Item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase .Kernel.Random.Next(48); 
                            
floorItem.Item.ID Uid
                            
floorItem.Item.MaximDurability floorItem.Item.Durability 65535
                            
floorItem.Item.UID Network.GamePackets.ConquerItem.ItemUID.Next
                            
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item
                            
floorItem.ItemID Uid
                            
floorItem.MapID Owner.MapID
                            
floorItem.MapObjType Game.MapObjectType.Item;   
        
                            
floorItem.X
                            
floorItem.Y
                            
floorItem.Type Network.GamePackets.FloorItem.Drop
                            
floorItem.OnFloor Time32.Now
                            
floorItem.ItemColor floorItem.Item.Color
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next
                            while (
Map.Npcs.ContainsKey(floorItem.UID)) 
                                
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next
                            
Map.AddFloorItem(floorItem); 
                            
SendScreenSpawn(floorItem); 
                        } 
                    } 
                } 
            } 
            
#endregion  
الناقي كات بقي

59170    0    0    Fruit Qwuest NPC    2    1579    -1    1002    441    341  

هل أعجبك الموضوع؟! ↓
بضغطة زر تشارك الفائدة وتدعم هاى تك

عوادي الياس

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

0 التعليقات