Jump to content

Recommended Posts

Hey,

I just noticed that the bot wont loot items that are BOP. 
I set my bot to grind for Sharptalon's Claw in a quester profile. Once he gets that item he should start the quest.
The thing is, the bot wont loot this item, cause when it does you get this confirmation box saying something like: "Looting xxxx will bind it to you   OK    CANCEL"
The bot does not automatically say "OK"  here.

Is there a way to fix this?

Link to comment
https://wrobot.eu/forums/topic/5250-force-loot-bop-items/
Share on other sites

i remember a wow addon called quickloot in vanilla?  Maybe see if you can find that in one of the old addon dumps?

 

https://drive.google.com/drive/folders/0ByAxutR4jmqfQ2QxZV9Qc0RnR28

Quickloot.rar

Not my google drive so virus scan the shit outa that file before exploding it onto your PC...

Link to comment
https://wrobot.eu/forums/topic/5250-force-loot-bop-items/#findComment-24178
Share on other sites

On 27.2.2017 at 10:36 PM, eeny said:

i remember a wow addon called quickloot in vanilla?  Maybe see if you can find that in one of the old addon dumps?

Tried with this addon enabled. No luck.
Droidz, do you have a workaround for this?

Link to comment
https://wrobot.eu/forums/topic/5250-force-loot-bop-items/#findComment-24259
Share on other sites

Made an addon myself to get this to work:
 

<NAMEOFADDON>.OnLoad= function ()
  	this:RegisterEvent("LOOT_OPENED");
	this:RegisterEvent("LOOT_BIND_CONFIRM"); 
end;

<NAMEOFADDON>.OnEvent = function () 
	if (event == "LOOT_BIND_CONFIRM") then
    		LootSlot(arg1) 
    		StaticPopup_OnClick(StaticPopup1, 1)      
	end  
	if (event == "LOOT_OPENED") then
		for i=1,GetNumLootItems() do                 
			LootSlot(i)          
		end
	end
end

 

Link to comment
https://wrobot.eu/forums/topic/5250-force-loot-bop-items/#findComment-24347
Share on other sites

  • 2 weeks later...
  • 3 years later...

if you run this once while ingame, it will only trigger once LOOT_BIND_CONFIRM is started.

local f = CreateFrame("Frame")
f:RegisterEvent("LOOT_BIND_CONFIRM")
f:SetScript("OnEvent", function(self, event, ...)
    StaticPopup1Button1:Click();
end)

 

Link to comment
https://wrobot.eu/forums/topic/5250-force-loot-bop-items/#findComment-59872
Share on other sites

  • 2 weeks later...

@maukor this should work, only load once at start of your profile or use a plugin that runs this code once.

EventsLua.AttachEventLua(LuaEventsId.LOOT_BIND_CONFIRM, i => Lua.LuaDoString("StaticPopup1Button1:Click()"));

 

Link to comment
https://wrobot.eu/forums/topic/5250-force-loot-bop-items/#findComment-60046
Share on other sites

  • 2 years later...
  • 2 weeks later...

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