insanity 10 Posted April 17, 2017 Share Posted April 17, 2017 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. Link to comment Share on other sites More sharing options...
Arcangelo 105 Posted April 17, 2017 Share Posted April 17, 2017 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 :) Link to comment Share on other sites More sharing options...
insanity 10 Posted April 17, 2017 Author Share Posted April 17, 2017 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). Arcangelo 1 Link to comment Share on other sites More sharing options...
Arcangelo 105 Posted April 18, 2017 Share Posted April 18, 2017 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 Link to comment Share on other sites More sharing options...
insanity 10 Posted April 18, 2017 Author Share Posted April 18, 2017 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. Link to comment Share on other sites More sharing options...
insanity 10 Posted April 19, 2017 Author Share Posted April 19, 2017 Not possible? Link to comment Share on other sites More sharing options...
molotox 6 Posted April 19, 2017 Share Posted April 19, 2017 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. Link to comment Share on other sites More sharing options...
Jasabi 38 Posted April 20, 2017 Share Posted April 20, 2017 Interact.InteractGameObjectAutoLoot(baseaddress) This should autoloot, but you need to get the objects baseaddress Link to comment Share on other sites More sharing options...
Memus 1 Posted May 7, 2018 Share Posted May 7, 2018 I have the same problem. Any working solution? Link to comment Share on other sites More sharing options...
eeny 522 Posted May 7, 2018 Share Posted May 7, 2018 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(); Link to comment Share on other sites More sharing options...
Memus 1 Posted May 7, 2018 Share Posted May 7, 2018 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now