Jump to content

Recommended Posts

I fixed it with:

And put it in a if has quest or something :)

ItemsManager.UseItem()

And then Runcode

Lua.LuaDoString(""action quest button":Click()");

 

"action quest button" = the button to accept 

 

If you need the complete code send me a pm - and I'll answer when im on my pc :)

Hmm, I might have explained my issue in a wrong way.
I do not want to start a quest from an item (in inventory). 
I want to open an item-container in my inventory containing items. eg. http://db.vanillagaming.org/?item=11107 (This item-container is provided when accepting a quest).
 

19 hours ago, insanity said:

Hmm, I might have explained my issue in a wrong way.
I do not want to start a quest from an item (in inventory). 
I want to open an item-container in my inventory containing items. eg. http://db.vanillagaming.org/?item=11107 (This item-container is provided when accepting a quest).
 

Just Use the first part of the code then :)

Should open the container 

If you think the bot is not "shift clicking" (is that because Vanilla doesnt have auto loot?), try using the XLoot addon if it works for Vanilla.

 

http://www.vanilla-addons.com/dls/xloot

I have no clue how legit the link is, I don't play Vanilla, I play retail.

  • 1 year later...
1 hour ago, Memus said:

I have the same problem.
Any working solution?

I use this "Run code" step on a quest file to open clams i find while fighting .  You should be able to change the item ID and the IF conditions to suit your needs.

 

Thread t = new Thread(() =>
{
    while (robotManager.Products.Products.IsStarted)
    {
        if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
        {
            if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive)
            {
robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
      Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
      ItemsManager.UseItem(7973);
      Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
      robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
      Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
            }
        }
        Thread.Sleep(10000);
    }
});
t.Start();

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...