Jump to content

Recommended Posts

Is there a way to tell the bot to sell items at a specific time in a quest profile?

Looking into creating a template for people to make dungeon profiles, kind of need the ability to tell the bot to sell or it runs out of space mid way through an instance and its all over...

 

Thoughts?

Link to comment
https://wrobot.eu/forums/topic/2832-pulse-to-sell-items/
Share on other sites

Should also note- i attempted to modify the wManager.wManagerSetting.CurrentSetting.MinFreeBagSlotsToGoToTown to an absurd value while next to a defined vendor and the bot attempted to go to town ( not the defined vendor)...

 

-sidenote where is "town" in deepholm.. apparently not the temple of earth

Link to comment
https://wrobot.eu/forums/topic/2832-pulse-to-sell-items/#findComment-12991
Share on other sites

Hello,

you can use:

wManager.Wow.Bot.States.ToTown.ForceToTown = true;

(I use it tab "Tools" button "Go to town")

To be sure that character selling items, you can activate sell settings like this:

            wManager.wManagerSetting.CurrentSetting.Selling = true;
            wManager.wManagerSetting.CurrentSetting.SellGray = true;
            wManager.wManagerSetting.CurrentSetting.ForceSellList.Add("Item name at force to sell");

 

Link to comment
https://wrobot.eu/forums/topic/2832-pulse-to-sell-items/#findComment-12992
Share on other sites

Just now, Droidz said:

Hello,

you can use:


wManager.Wow.Bot.States.ToTown.ForceToTown = true;

(I use it tab "Tools" button "Go to town")

To be sure that character sell items, you can activate sell settings like this:


            wManager.wManagerSetting.CurrentSetting.Selling = true;
            wManager.wManagerSetting.CurrentSetting.SellGray = true;
            wManager.wManagerSetting.CurrentSetting.ForceSellList.Add("Item name at force to sell");

 

More than aware of the options to modify vendor settings- the bot will go to 'town' however.  In deepholm there is no town- or the pathing to it is woeful.  I would like to know if there is a way to define a specific vendor the the bot to go to

Link to comment
https://wrobot.eu/forums/topic/2832-pulse-to-sell-items/#findComment-12993
Share on other sites

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);
            }

 

Link to comment
https://wrobot.eu/forums/topic/2832-pulse-to-sell-items/#findComment-12995
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...