احصائيات المدونة

ضع لينك الموضوع المراد وضعه هنا

السلام عليكم , تستطيع تعديل هذه الجملة بوضع نبذة مختصرة من الموضوع المراد وضعه هنا في مجلة الموقع , تم تعريب وتطوير هذا القالب بواسطة : باسم جمال .

ضع عنوان الموضوع المراد وضعه هنا

السلام عليكم , تستطيع تعديل هذه الجملة بوضع نبذة مختصرة من الموضوع المراد وضعه هنا في مجلة الموقع , تم تعريب وتطوير هذا القالب بواسطة : باسم جمال .

ضع عنوان الموضوع المراد وضعه هنا

السلام عليكم , تستطيع تعديل هذه الجملة بوضع نبذة مختصرة من الموضوع المراد وضعه هنا في مجلة الموقع , تم تعريب وتطوير هذا القالب بواسطة : باسم جمال .

ضع عنوان الموضوع المراد وضعه هنا

السلام عليكم , تستطيع تعديل هذه الجملة بوضع نبذة مختصرة من الموضوع المراد وضعه هنا في مجلة الموقع , تم تعريب وتطوير هذا القالب بواسطة : باسم جمال .

ضع عنوان الموضوع المراد وضعه هنا

السلام عليكم , تستطيع تعديل هذه الجملة بوضع نبذة مختصرة من الموضوع المراد وضعه هنا في مجلة الموقع , تم تعريب وتطوير هذا القالب بواسطة : باسم جمال .

Full Stable, Saddle

الانبيسهات 
النافي كات!

INSERT INTO `npcsVALUES ('87464''AgateSteed''0000''5864''1006''0021''0033''0000'); INSERT INTO `npcsVALUES ('87465''RedSteed''0000''7644''1006''0025''0033''0000'); INSERT INTO `npcsVALUES ('87466''TawnySteed''0000''7664''1006''0029''0033''0000'); INSERT INTO `npcsVALUES ('8745''NightMare''0000''7630''1006''0024''0022''0000'); INSERT INTO `npcsVALUES ('87462''Zebra''0000''5850''1006''0017''0022''0000'); INSERT INTO `npcsVALUES ('9871''Blazehoof''0000''5844''1006''0017''0033''0000'); INSERT INTO `npcsVALUES ('0765''BlackSteed''0000''7650''1006''0032''0022''0000'); INSERT INTO `monsterspawnsVALUES ('2997''1016''0055''0055''0089''0089''0003''0060''0003''2997''0000''0000''0000''0000'); INSERT INTO `monsterspawnsVALUES ('2996''1016''0029''0029''0065''0065''0001''0360''0001''2996''0000''0000''0000''0000'); INSERT INTO `monsterspawnsVALUES ('2392''1013''0026''0026''0065''0065''0030''0001''0030''2392''0000''0000''0000''0000'); INSERT INTO `monsterspawnsVALUES ('2393''1013''0050''0043''0079''0084''0020''0001''0020''2392''0000''0000''0000''0000'); INSERT INTO `monsterspawnsVALUES ('2394''1013''0050''0043''0079''0084''0002''0060''0002''2997''0000''0000''0000''0000'); INSERT INTO `monsterspawnsVALUES ('2395''1013''0026''0026''0065''0065''0001''0060''0001''2997''0000''0000''0000''0000'); INSERT INTO `monsterspawnsVALUES ('44446''1013''0050''0043''0079''0084''0001''0360''0001''2996''0000''0000''0000''0000'); INSERT INTO `monsterspawnsVALUES ('4454''1014''0055''0055''0164''0154''0070''0001''0070''2391''0000''0000''0000''0000'); INSERT INTO `monsterspawnsVALUES ('4453''1014''0055''0055''0164''0154''0005''0060''0005''2997''0000''0000''0000''0000'); INSERT INTO `monsterspawnsVALUES ('4452''1014''0055''0055''0164''0154''0002''0360''0002''2996''0000''0000''0000''0000'); INSERT INTO `npcsVALUES ('5517''MountRetailer''0001''5836''1006''0019''0029''0000'); INSERT INTO `monsterinfosVALUES ('2392''DesertThief''0001''0801''10472''00''120''0109''0098''0006''0078''0000''0000''0000''0000''0001''0000''0000''0000''0000''0082''3''0000''0000''0001''0000''0000''000''000''000''000''000''000''000''0000''0000''0000''0000''0100''0000''10000''00''0''0''100''0''0''0'); INSERT INTO `monsterinfosVALUES ('2997''PlainsThief''0001''0601''15864''00''120''0109''0098''0006''0078''0000''0000''0000''0000''0001''0000''0000''0000''0000''0089''3''0000''0000''0001''0000''0000''000''000''000''000''000''000''000''0000''0000''0000''0000''0100''0000''10000''00''0''0''100''0''0''0'); INSERT INTO `monsterinfosVALUES ('2391''ForestThief''0001''0401''10697''00''120''0109''0098''0006''0078''0000''0000''0000''0000''0001''0000''0000''0000''0000''0082''3''0000''0000''0001''0000''0000''000''000''000''000''000''000''000''0000''0000''0000''0000''0100''0000''10000''00''0''0''100''0''0''0'); INSERT INTO `monsterinfosVALUES ('2390''CaveThief''0001''0201''10432''00''120''0109''0098''0006''0078''0000''0000''0000''0000''0001''0000''0000''0000''0000''0082''3''0000''0000''0001''0000''0000''000''000''000''000''000''000''000''0000''0000''0000''0000''0100''0000''10000''00''0''0''100''0''0''0'); INSERT INTO `monsterinfosVALUES ('2996''ThiefLeader''0001''0241''20459''00''120''0109''0098''0006''0078''1000''0000''0000''0000''0003''0000''0003''5000''0000''0000''3''0000''0000''0000''0000''0000''000''000''000''000''000''000''000''0000''0000''0000''0000''0100''0000''10000''00''0''0''0''0''0''0'); INSERT INTO `npcsVALUES ('5603''MountOfficer''0002''6224''1006''0038''0034''0000'); INSERT INTO `mapsVALUES ('1013''1013''8192''0000'); INSERT INTO `mapsVALUES ('1014''1014''8192''0000'); INSERT INTO `mapsVALUES ('1016''1016''8192''0000');  

السي شارب 

#region Stables 
                                #region MountOfficer 
                                
case 5603
                                    { 
                                        switch (
npcRequest.OptionID
                                        { 
                                            case 
0
                                                { 
                                                    
dialog.Text("What? A group of Cattle Thieves stole the Saddles of the cavalry! Without the Saddles, they won`t be able to hold any drills."); 
                                                    
dialog.Text("~If you can help get the Saddles from the Cattle Thieves, I just might give you a Steed as a reward!"); 
                                                    
dialog.Option("Here~is~the~Saddle."1); 
                                                    
dialog.Option("Where~are~the~thieves?"3); 
                                                    
dialog.Option("I~have~no~time."255); 
                                                    
dialog.Avatar(107); 
                                                    
dialog.Send(); 
                                                    break; 
                                                } 
                                            case 
1
                                                { 
                                                    if (
client.Inventory.Contains(7239031)) 
                                                    { 
                                                        
dialog.Text("Great! You`ve brought back a Saddle from the Cattle Thieves! You can take a Steed as reward! Which one do you like?"); 

                                                        
dialog.Option("Maroon~Steed"4); 
                                                        
dialog.Option("White~Steed"5); 
                                                        
dialog.Option("Black~Steed"6); 
                                                        
dialog.Option("I`ll~think~about~it."255); 
                                                        
dialog.Avatar(107); 
                                                        
dialog.Send(); 
                                                    } 
                                                    else 
                                                    { 
                                                        
dialog.Text("You haven`t brought back a Saddle from the Cattle Thieves. What are you waiting on? Christmas? Get on it!"); 

                                                        
dialog.Option("Where~are~the~thieves?"3); 
                                                        
dialog.Option("I`ll~get~it~back~now!"255); 
                                                        
dialog.Avatar(107); 
                                                        
dialog.Send(); 
                                                    } 
                                                    break; 
                                                } 
                                            case 
3
                                                { 
                                                    
dialog.Text("The Cattle Thieves stole Saddles and hid separately. I heard someone saw them in Kylin Cave, Dragon Pool, and Tiger Cave."); 
                                                    
dialog.Text("~They must be planning something... Find the Plains Thief or the Thief Leader to get some clues."); 

                                                    
dialog.Option("Okay,~I`ll~go~now."255); 
                                                    
dialog.Avatar(107); 
                                                    break; 
                                                } 
                                            case 
4
                                                { 
                                                    
dialog.Text("Each Saddle that you retrieved can be used to exchange for a Maroon Steed. Well, how many Saddles have you collected?"); 

                                                    
dialog.Option("1~Saddle."4); 
                                                    
dialog.Option("5~Saddles."4); 
                                                    
dialog.Option("10~Saddles."4); 
                                                    
dialog.Option("20~Saddles."11 4); 
                                                    
dialog.Option("Let~me~see."255); 
                                                    
dialog.Avatar(107); 
                                                    
dialog.Send(); 
                                                    break; 
                                                } 
                                            case 
5
                                                { 
                                                    
dialog.Text("Each Saddle that you retrieved can be used to exchange for a White Steed. Well, how many Saddles have you collected?"); 

                                                    
dialog.Option("1~Saddle."5); 
                                                    
dialog.Option("5~Saddles."5); 
                                                    
dialog.Option("10~Saddles."5); 
                                                    
dialog.Option("20~Saddles."10 5); 
                                                    
dialog.Option("Let~me~see."255); 
                                                    
dialog.Avatar(107); 
                                                    
dialog.Send(); 
                                                    break; 
                                                } 
                                            case 
6
                                                { 
                                                    
dialog.Text("Each Saddle that you retrieved can be used to exchange for a Black Steed. Well, how many Saddles have you collected?"); 

                                                    
dialog.Option("1~Saddle."6); 
                                                    
dialog.Option("5~Saddles."6); 
                                                    
dialog.Option("10~Saddles."6); 
                                                    
dialog.Option("20~Saddles."10 6); 
                                                    
dialog.Option("Let~me~see."255); 
                                                    
dialog.Avatar(107); 
                                                    
dialog.Send(); 
                                                    break; 
                                                } 
                                            default: 
                                                { 
                                                    switch (
npcRequest.OptionID
                                                    { 
                                                         
#region 1 Saddle 
                                                        
case 4
                                                        case 
5
                                                        case 
6
                                                            { 
                                                                if (
client.Inventory.Contains(7239031)) 
                                                                { 
                                                                    if (
client.Inventory.Count <= 39
                                                                    { 
                                                                        if (
npcRequest.OptionID == 4
                                                                        { 
                                                                            
client.Inventory.Add(72390001); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~a~+0~Maroon~Steed~Pack!"); 
                                                                        } 
                                                                        if (
npcRequest.OptionID == 5
                                                                        { 
                                                                            
client.Inventory.Add(72390101); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~a~+0~White~Steed~Pack!"); 
                                                                        } 
                                                                        if (
npcRequest.OptionID == 6
                                                                        { 
                                                                            
client.Inventory.Add(72390201); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~a~+0~Black~Steed~Pack!"); 
                                                                        } 
                                                                        
client.Inventory.Remove(7239031); 
                                                                    } 
                                                                    else 
                                                                    { 
                                                                        
client.MessageBox("You Inventory Is Full!"); 
                                                                    } 
                                                                } 
                                                                else 
                                                                { 
                                                                    
client.MessageBox("You Don't Have Enough Saddles!"); 
                                                                } 
                                                                break; 
                                                            } 
#endregion 
                                                        #region 5 Saddles 
                                                        
case 4
                                                        case 
5
                                                        case 
6
                                                            { 
                                                                if (
client.Inventory.Contains(7239035)) 
                                                                { 
                                                                    if (
client.Inventory.Count <= 35
                                                                    { 
                                                                        if (
npcRequest.OptionID == 4
                                                                        { 
                                                                            
client.Inventory.Add(72390005); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~5~+0~Maroon~Steed~Pack!"); 
                                                                        } 
                                                                        if (
npcRequest.OptionID == 5
                                                                        { 
                                                                            
client.Inventory.Add(72390105); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~5~+0~White~Steed~Pack!"); 
                                                                        } 
                                                                        if (
npcRequest.OptionID == 6
                                                                        { 
                                                                            
client.Inventory.Add(72390205); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~5~+0~Black~Steed~Pack!"); 
                                                                        } 
                                                                        
client.Inventory.Remove(7239035); 
                                                                    } 
                                                                    else 
                                                                    { 
                                                                        
client.MessageBox("You Inventory Is Full!"); 
                                                                    } 
                                                                } 
                                                                else 
                                                                { 
                                                                    
client.MessageBox("You Don't Have Enough Saddles!"); 
                                                                } 
                                                                break; 
                                                            } 
                                                        
#endregion 
                                                        #region 10 Saddles 
                                                        
case 4
                                                        case 
5
                                                        case 
6
                                                            { 
                                                                if (
client.Inventory.Contains(72390310)) 
                                                                { 
                                                                    if (
client.Inventory.Count <= 30
                                                                    { 
                                                                        if (
npcRequest.OptionID == 4
                                                                        { 
                                                                            
client.Inventory.Add(723900010); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~5~+0~Maroon~Steed~Pack!"); 
                                                                        } 
                                                                        if (
npcRequest.OptionID == 5
                                                                        { 
                                                                            
client.Inventory.Add(723901010); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~5~+0~White~Steed~Pack!"); 
                                                                        } 
                                                                        if (
npcRequest.OptionID == 6
                                                                        { 
                                                                            
client.Inventory.Add(723902010); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~5~+0~Black~Steed~Pack!"); 
                                                                        } 
                                                                        
client.Inventory.Remove(72390310); 
                                                                    } 
                                                                    else 
                                                                    { 
                                                                        
client.MessageBox("You Inventory Is Full!"); 
                                                                    } 
                                                                } 
                                                                else 
                                                                { 
                                                                    
client.MessageBox("You Don't Have Enough Saddles!"); 
                                                                } 
                                                                break; 
                                                            } 
                                                        
#endregion 
                                                        #region 20 Saddles 
                                                        
case 11 4
                                                        case 
10 5
                                                        case 
10 6
                                                            { 
                                                                if (
client.Inventory.Contains(72390320)) 
                                                                { 
                                                                    if (
client.Inventory.Count <= 20
                                                                    { 
                                                                        if (
npcRequest.OptionID == 11 4
                                                                        { 
                                                                            
client.Inventory.Add(723900020); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~20~+0~Maroon~Steed~Pack!"); 
                                                                        } 
                                                                        if (
npcRequest.OptionID == 11 5
                                                                        { 
                                                                            
client.Inventory.Add(723901020); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~20~+0~White~Steed~Pack!"); 
                                                                        } 
                                                                        if (
npcRequest.OptionID == 11 6
                                                                        { 
                                                                            
client.Inventory.Add(723902020); 
                                                                            
client.MessageBox("You`ve~brought~back~the~Saddle~and~swapped~it~for~20~+0~Black~Steed~Pack!"); 
                                                                        } 
                                                                        
client.Inventory.Remove(72390320); 
                                                                    } 
                                                                    else 
                                                                    { 
                                                                        
client.MessageBox("You Inventory Is Full!"); 
                                                                    } 
                                                                } 
                                                                else 
                                                                { 
                                                                    
client.MessageBox("You Don't Have Enough Saddles!"); 
                                                                } 
                                                                break; 
                                                            } 
                                                        
#endregion 
                                                    

                                                    break; 
                                                } 
                                            case 
255
                                                { 
                                                    break; 
                                                } 
                                        } 
                                        break; 
                                    } 
                                
#endregion 
                                #endregion  

if Dont Have these following items add them. if have skip this step
PacketHandler.cs
#region Misc

case 723900
                    { 
                        
client.Inventory.Remove(itemGame.Enums.ItemUse.Remove); 
                        
ConquerItem _item = new ConquerItem(true); 
                        
_item.ID 300000
                        
Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID0); 
                        
_item.Durability _item.MaximDurability _iteminfos.BaseInformation.Durability
                        
_item.Plus 0
                        
_item.Effect Game.Enums.ItemEffect.Horse
                        
_item.SocketProgress 150 << 255 << 16
                        
client.Inventory.Add(_itemGame.Enums.ItemUse.CreateAndAdd); 
                        break; 
                    } 
                case 
723901
                    { 
                        
client.Inventory.Remove(itemGame.Enums.ItemUse.Remove); 
                        
ConquerItem _item = new ConquerItem(true); 
                        
_item.ID 300000
                        
Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID0); 
                        
_item.Durability _item.MaximDurability _iteminfos.BaseInformation.Durability
                        
_item.Plus 0
                        
_item.Effect Game.Enums.ItemEffect.Horse
                        
_item.SocketProgress 150 255 << 8
                        
client.Inventory.Add(_itemGame.Enums.ItemUse.CreateAndAdd); 
                        break; 
                    } 
                case 
723902
                    { 
                        
client.Inventory.Remove(itemGame.Enums.ItemUse.Remove); 
                        
ConquerItem _item = new ConquerItem(true); 
                        
_item.ID 300000
                        
Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID0); 
                        
_item.Durability _item.MaximDurability _iteminfos.BaseInformation.Durability
                        
_item.Plus 0
                        
_item.Effect Game.Enums.ItemEffect.Horse
                        
_item.SocketProgress 255 150 << 16
                        
client.Inventory.Add(_itemGame.Enums.ItemUse.CreateAndAdd); 
                        break; 
                    }  

MonsterTable.cs
Void Drop!

#region Saddle 
            
if (Name == "PlainsThief"
            { 
                if (
killer.Owner.Inventory.Contains(7239035)) 
                    return; 
                if (
Kernel.Rate(50)) 
                { 
                    var 
infoss Database.ConquerItemInformation.BaseInformations[723903]; 
                    
ushort XX Owner.XYY Owner.Y
                    
Game.Map MMap Kernel.Maps[Owner.MapID]; 
                    if (
MMap.SelectCoordonates(ref XXref YY)) 
                    { 
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true); 
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true); 
                        
floorItem.Item.Color = (CaptainJoe.Game.Enums.Color)Kernel.Random.Next(48); 
                        
floorItem.Item.ID 723903
                        
floorItem.Item.Plus floorItem.Item.Plus
                        
floorItem.Item.MaximDurability infoss.Durability
                        
floorItem.Item.Durability infoss.Durability
                        
floorItem.Item.MobDropped true
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item
                        
floorItem.ItemID 723903
                        
floorItem.MapID Owner.MapID
                        
floorItem.MapObjType Game.MapObjectType.Item
                        
floorItem.XX
                        
floorItem.YY
                        
floorItem.Type Network.GamePackets.FloorItem.Drop
                        
floorItem.OnFloor Time32.Now
                        
floorItem.ItemColor floorItem.Item.Color
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next
                        while (
MMap.Npcs.ContainsKey(floorItem.UID)) 
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next
                        
MMap.AddFloorItem(floorItem); 
                        
SendScreenSpawn(floorItem); 
                    } 

                } 
            } 
            if (
Name == "ThiefLeader"
            { 
                if (
killer.Owner.Inventory.Contains(7239035)) 
                    return; 
                if (
Kernel.Rate(100)) 
                { 
                    var 
infoss Database.ConquerItemInformation.BaseInformations[723903]; 
                    
ushort XX Owner.XYY Owner.Y
                    
Game.Map MMap Kernel.Maps[Owner.MapID]; 
                    if (
MMap.SelectCoordonates(ref XXref YY)) 
                    { 
                        
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true); 
                        
floorItem.Item = new Network.GamePackets.ConquerItem(true); 
                        
floorItem.Item.Color = (CaptainJoe.Game.Enums.Color)Kernel.Random.Next(48); 
                        
floorItem.Item.ID 723903
                        
floorItem.Item.Plus floorItem.Item.Plus
                        
floorItem.Item.MaximDurability infoss.Durability
                        
floorItem.Item.Durability infoss.Durability
                        
floorItem.Item.MobDropped true
                        
floorItem.ValueType Network.GamePackets.FloorItem.FloorValueType.Item
                        
floorItem.ItemID 723903
                        
floorItem.MapID Owner.MapID
                        
floorItem.MapObjType Game.MapObjectType.Item
                        
floorItem.XX
                        
floorItem.YY
                        
floorItem.Type Network.GamePackets.FloorItem.Drop
                        
floorItem.OnFloor Time32.Now
                        
floorItem.ItemColor floorItem.Item.Color
                        
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next
                        while (
MMap.Npcs.ContainsKey(floorItem.UID)) 
                            
floorItem.UID Network.GamePackets.FloorItem.FloorUID.Next
                        
MMap.AddFloorItem(floorItem); 
                        
SendScreenSpawn(floorItem); 
                    } 

                } 
            } 
            
#endregion  

صور  :-








سلام 

هل اعجبك موقعنا

Twitter Delicious Facebook Digg Stumbleupon Favorites More