Rogue Picklock

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

micron1090
orc pawn
orc pawn
Posts: 11
Joined: Fri May 14, 2004 10:39 am

Rogue Picklock

Post by micron1090 » Fri Jun 11, 2004 10:27 pm

A friend asked me to write a quick macro to save his wrists and help him skillup on lock picking...This will hide you if you are not already hidden, rehide you if you move, pick up the picks from an inventory slot, then just keep left clicking where ever you put the mouse pointer.

Any advice on how to do this better is much appreciated.

Code: Select all

#event unhid "#*#no longer hidden#*#"

Sub Main
/if (${Me.AbilityReady["Hide"]}) /doability hide
/doevents
/delay 2s
/if (${Cursor.ID}) {
  /echo cursor must be empty
  /endmac
} else {
  /ctrl /itemnotify ${FindItem[=Lockpicks].InvSlot} leftmouseup 
}

:loop
/click leftmouse
/doevents
/delay 10s
/goto :loop
/return


sub Event_unhid
  :rehide
  /if (${Me.AbilityReady["Hide"]}) {
    /doability hide
    /return
  }
  /goto :rehide
/return





User avatar
OnyxSys
a ghoul
a ghoul
Posts: 133
Joined: Sun Dec 21, 2003 9:58 pm
Contact:

Post by OnyxSys » Sun Jan 16, 2005 5:13 pm

Adjust the Delay to (Zero) on this.. and head to the Fire Pots by the Docks of Timorous Deep, hover the cursor over the pots and let this macro rip, it will Disarm the Trap on the PoTS, making your skill go up QUICK! Im a user, not a programer :) Im sure you could make this into standalone disarm macro but why, no need :) Its a BIMacro now :P

Code: Select all

:loop 
/click leftmouse 
/doevents 
/delay 0s 
/goto :loop 
/return 
Last edited by OnyxSys on Sun Jan 16, 2005 5:17 pm, edited 1 time in total.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sun Jan 16, 2005 5:17 pm

Wow, bring the dead back to life? This was created Jun 04.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
OnyxSys
a ghoul
a ghoul
Posts: 133
Joined: Sun Dec 21, 2003 9:58 pm
Contact:

Post by OnyxSys » Sun Jan 16, 2005 6:22 pm

Yup and such a simple macro that it has came in useful for my rogue life twice :)

User avatar
SukMage
a ghoul
a ghoul
Posts: 88
Joined: Fri Jun 04, 2004 5:08 pm

Post by SukMage » Tue Feb 01, 2005 8:05 pm

I tested this in befallen. There is a ghoul that walks through the door and it would try to give away the picks. The ghoul got out of range and it autoinventoried the picks. I added sub Event_key... I also set the delay to 1s in order to get it to close the door and re-open faster thus speeding the process along. Here's my copy.

Code: Select all

| -----------------------------------------------
| picklock.mac
| Written by micron1090
| Modified by SukMage
| -----------------------------------------------
#event unhid "#*#no longer hidden#*#"
#event key "#*#not holding the key#*#" 

Sub Main 
/if (${Me.AbilityReady["Hide"]}) /doability hide 
/doevents 
/delay 2s 
/if (${Cursor.ID}) { 
  /echo cursor must be empty 
  /endmac 
} else { 
  /ctrl /itemnotify ${FindItem[=Mechanized Lockpicks].InvSlot} leftmouseup 
} 

:loop 
/click leftmouse 
/doevents 
/delay 1s 
/goto :loop 
/return 


sub Event_unhid 
  :rehide 
  /if (${Me.AbilityReady["Hide"]}) { 
    /doability hide 
    /return 
  } 
  /goto :rehide 
/return 
  
sub Event_key
  :getpick
  /ctrl /itemnotify ${FindItem[=Mechanized Lockpicks].InvSlot} leftmouseup 
  /return
  /goto :getpick
/return

User avatar
OnyxSys
a ghoul
a ghoul
Posts: 133
Joined: Sun Dec 21, 2003 9:58 pm
Contact:

Post by OnyxSys » Wed Feb 02, 2005 12:55 am

Awesome, thanks..
[img]http://web.infoave.net/~jpdixon/onyxsys.jpg[/img]

svarina
decaying skeleton
decaying skeleton
Posts: 7
Joined: Tue Feb 22, 2005 3:20 pm

Picklock

Post by svarina » Mon Mar 07, 2005 1:14 am

Takes 10 min to get from skill in Picklock in Tranq just clicking the big book near the PoK book

Longstone
a lesser mummy
a lesser mummy
Posts: 45
Joined: Sun Oct 10, 2004 3:06 pm

Post by Longstone » Mon Mar 07, 2005 1:47 pm

Have to be level 46 to zone into PoT though. Not everyone who wants to work on skills like this are that high level yet.

Manni
a lesser mummy
a lesser mummy
Posts: 51
Joined: Mon Oct 02, 2006 5:15 pm

Re: Rogue Picklock

Post by Manni » Tue Apr 07, 2015 4:26 pm

Besides try to click for 460 * (4 to 10+)= up to 2000-5000 times on that damn mouse knob and be happy with your arm restrains and the lifetime of your mousebutton. I don't want to sum that up with more chars ;)

And if you have some alt rogues and bards and want to get them up, do that for every char - that sums up a nice hand joint problem with 10000+ clicks.

I have the problem that the inanimate object in tranquility does not work with

/click leftmouse

neither does the door in Crescent Reach (Inn), nor the Turnbutton for the entrance to paineel. How do I activate these parts, regardless for picklock, pathing to painell or any other skill/method with objects without a name or clickable description?

How do I click the leftmouse button absolute pure stupid - no specials - no fancy programming - only click an inanimate object with a left mouse button?

Searched the Wiki and the forum for sample Macros. Found only the usual /notify for windows and objects with names.

Help appreciated.

P.S.: had once a row of about 80+ clicks without skillup. Whenever this was working good, clicking that damn tranquility thing sucks really up to 460!
Don't want to do that again with the next char....

Manni
a lesser mummy
a lesser mummy
Posts: 51
Joined: Mon Oct 02, 2006 5:15 pm

Re: Rogue Picklock

Post by Manni » Thu Apr 09, 2015 12:40 pm

The only thing so far seems:

http://www.macroquest2.com/wiki/index.php/Click

I tried different things but no single non-target will be clicked. Only if a target is present, MQ2 clicks on it. I am right or has something changed? At the sample codes it is used but that does not work here.

Running meanwhile ISBoxer + Inner Space in combination of Macroquest2 because I had some troubles with WinEQ2. That works good even I am a bit overwhelmed by the complexity so I migrate slowly from my old configuration to ISBoxer. Perhaps somebody has a solution with that combination? ;)

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: Rogue Picklock

Post by EqMule » Sat Apr 11, 2015 3:55 pm

I never played a rouge never skilled up pick lock are these things you click doors? Can you just /doortarget and then /click left door ?
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

Manni
a lesser mummy
a lesser mummy
Posts: 51
Joined: Mon Oct 02, 2006 5:15 pm

Re: Rogue Picklock

Post by Manni » Sun Apr 12, 2015 2:04 pm

You are a genious, many many thanks! ;)

I tested that on doors, works like a charm.
I tested that on the big book in Tranquility for pick locking and on the big stone for the entrance to Paineel: the entrance opens only in one direction and the book say I don't hold the key. For Paineel: the other direction works with a direct click but not with that one below.

So the modification of all the clicky macros with things like:
Sub Main

:loop
/doortarget
/face door
/click left center
/doevents
/delay 2
/goto :loop

/return
should work now without problems for picklocking. If used with /click left door then it gives the code PAROCK103 with DOOR 246. But it does not open it more than only once.

It is in the wiki too but the description was not clear enough to me so I relied on sample code from the forum. Some code seems very old or never really tested or is only running under very specific circumstances. So it is

/click left <target>
/click left center

where <target> is the target name gotten with /doortarget or directly click-target it with the mouse. Great!

Thank you for your help and the hint!
Last edited by Manni on Sun Apr 12, 2015 2:23 pm, edited 1 time in total.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: Rogue Picklock

Post by EqMule » Sun Apr 12, 2015 2:13 pm

What's the name of the door in tranquility?

I have a bard that can pick lock I think, so it would be cool to go try it out,

/doortarget SOMEDOORID

Will target the exact "door" you need to click

Also uhm you don't have to face it for /click left door to work, although I guess it doesn't hurt if people are watching you opening doors without facing them...
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

Manni
a lesser mummy
a lesser mummy
Posts: 51
Joined: Mon Oct 02, 2006 5:15 pm

Re: Rogue Picklock

Post by Manni » Sun Apr 12, 2015 2:29 pm

oops.. sorry.. your post was faster than my correction.

The book in Tranquility is not the book, it seems it is the feather in front of the book. When I use

/doortarget
/face door

then I face the feather. After

/click left center

It works sometimes and sometimes not. So it does seem that you need a very specific distance. I tried it from different sides but partly it also faces the desk.

But on the right distance picklock goes up perfectly. No problems with the wrist or with mouse buttons ;)

Manni
a lesser mummy
a lesser mummy
Posts: 51
Joined: Mon Oct 02, 2006 5:15 pm

Re: Rogue Picklock

Post by Manni » Sun Apr 12, 2015 2:32 pm

The name of the "door/object" is

door 46 "INVISWITCH10"

and

/click left 46

is working, but only if you are facing exactly in the right direction. Tested it again with

/face door

and then it worked with

/click left 46.

Facing in the opposite direction does not work. It gives no message or skillup. So if you use
Sub Main

/doortarget
/face door
:loop
/click left center
/delay 1
/goto :loop

/return
and turn a bit and search then you can find the exact area where it really works. It seems it is the area of the book laying on the desk and the feather which will only give skillups. Perhaps removing the delay will speed it up but I am not sure where the limit is when the serverside software discovers that a macro is used.

While I am writing this, my lvl 51 rogue gone up to 235 meanwhile. God I love Macroquest2 for that... ;)