Jump to content

happiness7

WRobot user
  • Posts

    33
  • Joined

  • Last visited

Reputation Activity

  1. Thanks
    happiness7 reacted to Droidz in Pulse to sell items   
    To add vendor with C# you can use this code:
    var npcVendor = new wManager.Wow.Class.Npc { ContinentId = (wManager.Wow.Enums.ContinentId)wManager.Wow.Helpers.Usefuls.ContinentId, Entry = 1234, Faction = wManager.Wow.Class.Npc.FactionType.Neutral, Name = "Npc name", Position = new robotManager.Helpful.Vector3(1, 2, 3), CanFlyTo = true, Type = wManager.Wow.Class.Npc.NpcType.Repair, // wManager.Wow.Class.Npc.NpcType.Vendor }; wManager.Wow.Helpers.NpcDB.AddNpc(npcVendor, false); (WRobot go to nearest npc)
    You can also clear npcdb to force to select your npc:
    wManager.Wow.Helpers.NpcDB.ListNpc.Clear(); (but it is not recommended)
     
    You can also sell manually with code like:
    if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWith(Npc npc, bool skipIfCannotMakePath = false, BooleanDelegate conditionExit = null, bool acceptNpcDead = false)) { wManager.Wow.Helpers.Vendor.SellItems(List<String> itemSell, List<string> itemNoSell, List<Enums.WoWItemQuality> itemQuality); }  
  2. Thanks
    happiness7 reacted to reapler in Sleep/Pause/Wait for all theards   
    Hello @happiness7 this should fit:
    //minimum net framework 4.5 Task.Run(() => { Products.InPause = true; Thread.Sleep(6000); Products.InPause = false; }); If you also want to block plugin thread, just remove "Task.Run"
  3. Thanks
    happiness7 reacted to Droidz in How i can check if char have certain proffesion?   
    Hello,
    int currentValue = wManager.Wow.Helpers.Skill.GetValue(wManager.Wow.Enums.SkillLine.Fishing); int maxValue = wManager.Wow.Helpers.Skill.GetMaxValue(wManager.Wow.Enums.SkillLine.Fishing); List of skillline:
    Frost Fire Arms Combat Subtlety Swords Axes Bows Guns BeastMastery HunterSurvival Maces TwoHandedSwords Holy ShadowMagic Defense LanguageCommon DwarvenRacial LanguageOrcish LanguageDwarven LanguageDarnassian LanguageTaurahe DualWield TaurenRacial OrcRacial NightElfRacial FirstAid FeralCombat Staves LanguageThalassian LanguageDraconic LanguageDemonTongue LanguageTitan LanguageOldTongue Survival HorseRiding WolfRiding TigerRiding RamRiding Swimming TwoHandedMaces Unarmed Marksmanship Blacksmithing Leatherworking Alchemy TwoHandedAxes Daggers Thrown Herbalism Retribution Cooking Mining PetImp PetFelhunter Tailoring Engineering PetSpider PetVoidwalker PetSuccubus PetInfernal PetDoomguard PetWolf PetCat PetBear PetBoar PetCrocolisk PetCarrionBird PetCrab PetGorilla PetRaptor PetTallstrider RacialUndead Crossbows Wands Polearms PetScorpid Arcane PetTurtle Assassination Fury Protection Protection2 PetGenericHunter PlateMail LanguageGnomish LanguageTroll Enchanting Demonology Affliction Fishing Enhancement ShamanRestoration ElementalCombat Skinning Mail Leather Cloth Shield FistWeapons RaptorRiding MechanostriderPiloting UndeadHorsemanship Restoration Balance Destruction DruidHoly Discipline Lockpicking PetBat PetHyena PetBirdofPrey PetWindSerpent LanguageGutterspeak KodoRiding RacialTroll RacialGnome RacialHuman Jewelcrafting BloodElfRacial PetEventRemoteControl LanguageDraenei DraeneiRacial PetFelguard Riding PetDragonhawk PetNetherRay PetSporebat PetWarpStalker PetRavager PetSerpent Internal DkBlood DkFrost DkUnholy Inscription PetMoth Runeforging Mounts Companions PetExoticChimaera PetExoticDevlisaur PetGhoul PetExoticSilithid PetExoticWorm PetWasp PetExoticRhino PetExoticCoreHound Archaeology Logging  
  4. Like
    happiness7 reacted to Droidz in Edit Config Informations from Quester   
    wManager.Wow.Helpers.Skill.GetValue(wManager.Wow.Enums.SkillLine.Riding) wManager.Wow.Helpers.Skill.GetMaxValue (wManager.Wow.Enums.SkillLine.Riding)  
  5. Like
    happiness7 reacted to Droidz in Put an item in the list not to sell   
    Hello,
    wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add("item name"); But to avoid duplicate:
    var itemName = "item name"; if (!wManager.wManagerSetting.CurrentSetting.DoNotSellList.Contains(itemName)) wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add(itemName);  
  6. Like
    happiness7 reacted to Droidz in More than one directory WoW in Relogger   
    Hello, use task type "ChangeWowPath"
  7. Thanks
    happiness7 reacted to iMod in Alive near mobs by Entry C#. Avoidmobs HB   
    WoWUnit unit = ObjectManager.GetObjectWoWUnit().OrderBy(u => u.GetDistance2D).FirstOrDefault(u => u.Entry == 1234 && u.IsAlive); replace 1234 with your id you are looking for.

    "Not working" means nothing happens or do you get errors?
×
×
  • Create New...