April 17, 20179 yr Hey, Is it possible to loot an inventory item? You get this provided item when starting quest "It's a Secret to Everybody". I would like to open this item and get the quest items from it, automatically.
April 17, 20179 yr 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 :)
April 17, 20179 yr Author 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).
April 18, 20179 yr 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
April 18, 20179 yr Author Hey, thank you. Ill try that later, even tho I think I've already tried that. Dont think the bot is "shift-using" the item and there for not able to pick up the containing items.
April 19, 20179 yr 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.
April 20, 20179 yr Interact.InteractGameObjectAutoLoot(baseaddress) This should autoloot, but you need to get the objects baseaddress
May 7, 20187 yr 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();
May 7, 20187 yr Thanks mate! I tried that approach but i didn't work... And know I see why... As sloppy as I am, I used "System.Windows.Forms.Keys.Shift" instead of "System.Windows.Forms.Keys.ShiftKey" Embarassing :S
Create an account or sign in to comment