الموضوع: ممكن طلب
عرض مشاركة واحدة
قديم 2019-09-09, 05:33 AM
المشاركة 2
Rider
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: ممكن طلب
packethandler.cs
سيرش

كود:
if (client.ActiveNpc 

فوقها حط

كود:
#region Stuff +3 Bound.
                            
if (client.ActiveNpc == 3000590)
                            {

                                if (
client.Inventory.Contains(client.ActiveNpc1))
                                {
                                    if (
req.OptionID == 1)
                                    {
                                        if (
client.Inventory.Count <= 30)
                                        {
                                            
client.Inventory.AddBound998(42023906032truefalse);//Sword
                                            
client.Inventory.AddBound998(41023906032truefalse);//Blade
                                            
client.Inventory.AddBound998(13010906031truefalse);//WarArmor
                                            
client.Inventory.AddBound998(11810906031truefalse);//MonkCoronet
                                            
client.Inventory.AddBound998(15021906031truefalse);//DiamondRing
                                            
client.Inventory.AddBound998(12021906031truefalse);//DragonNecklace
                                            
client.Inventory.AddBound998(16021906031truefalse);//KylinBoots
                                            
client.Inventory.Add989(201009310001true);//SuperFan
                                            
client.Inventory.Add989(202009310001true);//SuperTower
                                            
client.Inventory.AddBound996(20300906031truefalse);//RidingCrop
                                            
client.Inventory.AddBound996(30000006031truefalse);//Steed
                                            
client.Inventory.Add989(204009310001true); ;//SuperWing
                                            
client.Inventory.Remove(client.ActiveNpc1);
                                        }
                                    }
                                    else if (
req.OptionID == 2)
                                    {
                                        
client.Inventory.AddBound998(56023906031truefalse);//CopperWand
                                        
client.Inventory.AddBound998(90010906031truefalse);//Shield*
                                        
client.Inventory.AddBound998(11110906031truefalse);//FrostHeadband
                                        
client.Inventory.AddBound998(13110906031truefalse);//BasaltArmor
                                        
client.Inventory.AddBound998(15021906031truefalse);//DiamondRing
                                        
client.Inventory.AddBound998(12021906031truefalse);//DragonNecklace
                                        
client.Inventory.AddBound998(16021906031truefalse);//KylinBoots
                                        
client.Inventory.Add989(201009310001true); ;//SuperFan
                                        
client.Inventory.Add989(202009310001true); ;//SuperTower
                                        
client.Inventory.AddBound996(20300906031truefalse);//RidingCrop
                                        
client.Inventory.AddBound996(30000006031truefalse);//Steed
                                        
client.Inventory.Add989(204009310001true);//SuperWing
                                        
client.Inventory.Remove(client.ActiveNpc1);
                                    }
                                    else if (
req.OptionID == 3)
                                    {
                                        
client.Inventory.AddBound998(61322906032truefalse);//2~HadesKnife
                                        
client.Inventory.AddBound998(50022906031truefalse);//RosewoodBow
                                        
client.Inventory.AddBound998(13310906031truefalse);//RhinoCoat
                                        
client.Inventory.AddBound998(11310906031truefalse);//SwanPlume
                                        
client.Inventory.AddBound998(15021906031truefalse);//DiamondRing
                                        
client.Inventory.AddBound998(12021906031truefalse);//DragonNecklace
                                        
client.Inventory.AddBound998(16021906031truefalse);//KylinBoots
                                        
client.Inventory.Add989(201009310001true); ;//SuperFan
                                        
client.Inventory.Add989(202009310001true); ;//SuperTower
                                        
client.Inventory.AddBound996(20300906031truefalse);//RidingCrop
                                        
client.Inventory.AddBound996(30000006031truefalse);//Steed
                                        
client.Inventory.Add989(204009310001true);//SuperWing
                                        
client.Inventory.Remove(client.ActiveNpc1);
                                    }
                                    else if (
req.OptionID == 4)
                                    {
                                        
client.Inventory.AddBound998(60123906032truefalse);//LordKatana
                                        
client.Inventory.AddBound998(13520906031truefalse);//MoonVest
                                        
client.Inventory.AddBound998(12310906031truefalse);//CondorVeil
                                        
client.Inventory.AddBound998(15021906031truefalse);//DiamondRing
                                        
client.Inventory.AddBound998(12021906031truefalse);//DragonNecklace
                                        
client.Inventory.AddBound998(16021906031truefalse);//KylinBoots
                                        
client.Inventory.Add989(201009310001true);//SuperFan
                                        
client.Inventory.Add989(202009310001true);//SuperTower
                                        
client.Inventory.AddBound996(20300906031truefalse);//RidingCrop
                                        
client.Inventory.AddBound996(30000006031truefalse);//Steed
                                        
client.Inventory.Add989(204009310001true); ;//SuperWing
                                        
client.Inventory.Remove(client.ActiveNpc1);
                                    }
                                    else if (
req.OptionID == 5)
                                    {
                                        
client.Inventory.AddBound998(61023906032truefalse);//BeadsOfConcentration
                                        
client.Inventory.AddBound997(90010906031truefalse);//Shield*
                                        
client.Inventory.AddBound998(14310906031truefalse);//HeadbandOfHolyLight
                                        
client.Inventory.AddBound998(13610906031truefalse);//FrockOfAges
                                        
client.Inventory.AddBound998(15021906031truefalse);//DiamondRing
                                        
client.Inventory.AddBound998(12021906031truefalse);//DragonNecklace
                                        
client.Inventory.AddBound998(16021906031truefalse);//KylinBoots
                                        
client.Inventory.Add989(201009310001true); ;//SuperFan
                                        
client.Inventory.Add989(202009310001true); ;//SuperTower
                                        
client.Inventory.AddBound996(20300906031truefalse);//RidingCrop
                                        
client.Inventory.AddBound996(30000006031truefalse);//Steed
                                        
client.Inventory.Add989(204009310001true); ;//SuperWing
                                        
client.Inventory.Remove(client.ActiveNpc1);
                                    }
                                    else if (
req.OptionID == 6)
                                    {
                                        
client.Inventory.AddBound998(61223906031truefalse);//WailingPistol
                                        
client.Inventory.AddBound998(61123906031truefalse);//BloodRapier
                                        
client.Inventory.AddBound998(13910906031truefalse);//TunaCoat
                                        
client.Inventory.AddBound998(14410906031truefalse);//SurferHood
                                        
client.Inventory.AddBound998(15021906031truefalse);//DiamondRing
                                        
client.Inventory.AddBound998(12021906031truefalse);//DragonNecklace
                                        
client.Inventory.AddBound998(16021906031truefalse);//KylinBoots
                                        
client.Inventory.Add989(201009310001true); ;//SuperFan
                                        
client.Inventory.Add989(202009310001true); ;//SuperTower
                                        
client.Inventory.AddBound996(20300906031truefalse);//RidingCrop
                                        
client.Inventory.AddBound996(30000006031truefalse);//Steed
                                        
client.Inventory.Add989(204009310001true); ;//SuperWing
                                        
client.Inventory.Remove(client.ActiveNpc1);
                                    }
                                    else if (
req.OptionID == 7)
                                    {
                                        
client.Inventory.AddBound998(61723906032truefalse);//SpiritNunchaku
                                        
client.Inventory.AddBound998(13810906031truefalse);//CombatSuit(Lv.100)
                                        
client.Inventory.AddBound998(14810906031truefalse);//ShadowHood
                                        
client.Inventory.AddBound998(15021906031truefalse);//DiamondRing
                                        
client.Inventory.AddBound998(12021906031truefalse);//PlatinaNecklace
                                        
client.Inventory.AddBound998(16021906031truefalse);//KylinBoots
                                        
client.Inventory.Add989(201009310001true); ;//SuperFan
                                        
client.Inventory.Add989(202009310001true); ;//SuperTower
                                        
client.Inventory.AddBound996(20300906031truefalse);//RidingCrop
                                        
client.Inventory.AddBound996(30000006031truefalse);//Steed
                                        
client.Inventory.Add989(204009310001true); ;//SuperWing
                                        
client.Inventory.Remove(client.ActiveNpc1);
                                    }
                                    else if (
req.OptionID == 8)
                                    {
                                        
client.Inventory.AddBound997(42123906031truefalse);//CloudBacksword
                                        
client.Inventory.AddBound997(11410906031truefalse);//CraneCap
                                        
client.Inventory.AddBound997(13410906031truefalse);//RoyalGown
                                        
client.Inventory.AddBound997(12121906031truefalse);//GoldBag
                                        
client.Inventory.AddBound997(15224906031truefalse);//BlueBracelet
                                        
client.Inventory.AddBound997(16021906031truefalse);//KylinBoots
                                        
client.Inventory.Add989(201009310001true); ;//SuperFan
                                        
client.Inventory.Add989(202009310001true); ;//SuperTower
                                        
client.Inventory.AddBound996(20300906031truefalse);//RidingCrop
                                        
client.Inventory.AddBound996(30000006031truefalse);//Steed
                                        
client.Inventory.Add989(204009310001true); ;//SuperWing
                                        
client.Inventory.Remove(client.ActiveNpc1);
                                    }
                                    else if (
req.OptionID == 9)
                                    {
                                        
client.Inventory.AddBound998(62623906032truefalse);//PrideFan Level:70
                                        
client.Inventory.AddBound998(17010906031truefalse);//DarkCloudHat Level:70
                                        
client.Inventory.AddBound998(10110906031truefalse);//MysticWindrobe Level:70
                                        
client.Inventory.AddBound998(15021906031truefalse);//PearlRing
                                        
client.Inventory.AddBound998(12021906031truefalse);//PlatinaNecklace
                                        
client.Inventory.AddBound998(16021906031truefalse);//SnakeskinBoots
                                        
client.Inventory.Add989(201009310001true); ;//SuperFan
                                        
client.Inventory.Add989(202009310001true); ;//SuperTower
                                        
client.Inventory.AddBound996(20300906031truefalse);//RidingCrop
                                        
client.Inventory.AddBound996(30000006031truefalse);//Steed
                                        
client.Inventory.Add989(204009310001true); ;//SuperWing
                                        
client.Inventory.Remove(client.ActiveNpc1);
                                    }
                                }
                            }
                            
#endregion 

سيرش
#region Medicine
فوقها حط

كود:
 #region Stuff +3
                
case 3000590:
                    {
                        
Npcs dialog = new Npcs(client);
                        
dialog.Avatar(item.ID);
                        
dialog.Text("Hello " client.Player.Name ", I Give You Stuff +3 Bound If You Want To Get it Just Confirm.");
                        
dialog.Option("[*Stuff*Ninja *]"4);
                        
dialog.Option("[*Stuff*Monk*]"5);
                        
dialog.Option("[*Stuff*Toaist*]"8);
                        
dialog.Option("[ Stuff*Trojan*]"1);
                        
dialog.Option("[*Stuff*Pirate*]"6);
                        
dialog.Option("[*Stuff*Warrior*]"2);
                        
dialog.Option("[*Stuff*Archer*]"3);
                        
dialog.Option("[*Stuff*LeeLong*]"7);
                        
dialog.Option("[*Stuff*Windwalker*]"9);
                        
dialog.Option("Cancel."255);
                        
dialog.Send();
                        
client.ActiveNpc item.ID;
                        break;
                    }
                
#endregion 

سيرش

كود:
 public static void LoginMessages

سيرش

كود:
 if (client.ItemGive)
            { 

و ارمي ده جوه القوس

كود:
client.Inventory.AddBound996(300059000001truefalse); 

كده كل اكونت جديد هينزل معاه شنطة اصتف +3