This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Classic Theme
Thottbot Theme
Pickpocket macro fizzling
Post Reply
Return to board index
Post by
MrAnime86
So I ripped this default pickpocket with autoloot macro from somewhere and it's served me well. Today it suddenly started acting up.
It's supposed to put on autoloot, pickpocket the target and go back to autoloot by keypress. It gets to the 2nd part but refuses to reset my default lootsettings.
I can't find anything wrong with the macro nor have I heard about any recent changes to autolooting.
Anyone have an idea what's going wrong?
The macro:
/script SetCVar("AutoLootDefault", 1)
/cast Pick Pocket
/in 1 /script SetCVar("AutoLootDefault", 0)
Post by
RedwoodElf
can the /in command run scripts?
If so, Did you remove an addon that gave you the /in command?
Try this instead:
#showtooltip
/script SetCVar("AutoLootDefault",1)
/cast Pick Pocket
/stopmacro
/script SetCVar("AutoLootDefault",0)
That will turn autoloot back on if you use it when you're not stealthed or in combat. You can't loot except for picking pockets and remain stealthed, and (unless you're shadowdancing) can't pick pocket when not stealthed, and if you're shadow dancing you're probably in combat, so it will work then too.
Edit: fixed the error message if you're not targetting something that's pickpocketable.
Post by
MrAnime86
I've recently updated my Decursive and I think this might be the culprit. As soon as I tried out your new macro, I got a Lua error report indicating this.
When using the new one it does indeed pickpocket but the now there's that nasty error in my way..
Post by
RedwoodElf
Odd...why would changing a console variable cause decursive to make a lua error? Oh, wait, missing quote marks...fixing...
Post by
MrAnime86
This one seems to be doing the trick, thanks alot!
Post by
pelf
Not that you're necessarily still here, but I always preferred the console way of setting console variables:
/console AutoLootDefault 1
A bit cleaner than the SetCVar API.
Post by
200692
This post was from a user who has deleted their account.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.