shift+click

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
j_schlott
Posts: 119
Joined: Tue Aug 18, 2009 11:42 pm

shift+click

#1 Post by j_schlott »

is there code to shift+mouseclick instead of a regular mouseclick

Code: Select all

<waypoints>
   <!-- # 1 --><waypoint x="-27799" z="-4163" type="RUN">
   player:rest(.4);
   player:mouseclickL(425, 270, 825, 582);   <!-- Blackboard -->
   player:mouseclickL(425, 270, 825, 582);   <!-- Blackboard --> 
   player:rest(.4);    
having problems targetting the Bulletin board when theres alot of people around
tried to use scan option, which works it find any lil part of the board thats showing and clicks it, but that option seems slow to me
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: shift+click

#2 Post by Administrator »

Code: Select all

player:rest(0.4);
keyboardHold(key.VK_SHIFT);
player:mouseclickL(425, 270, 825, 582);
player:mouseclickL(425, 270, 825, 582);
keyboardRelease(key.VK_SHIFT);
player:rest(0.4);
j_schlott
Posts: 119
Joined: Tue Aug 18, 2009 11:42 pm

Re: shift+click

#3 Post by j_schlott »

THANKS!

that was quick =P
j_schlott
Posts: 119
Joined: Tue Aug 18, 2009 11:42 pm

Re: shift+click

#4 Post by j_schlott »

another problem, along the same lines

i made a check in my macro waypoint file so after certain # of monsters, it would use my recall, wait 20 seconds then load a repair path

the repair path calls window to foregroung then interacts with a npc, i have mouseclicks set to hit the repair button, but i want to shiftclick the herb/potion icon in the merchant to open the splitstack window and buy a stack of 99

but for some reason it wont open the split stack window, it just selects the herb/potion

Code: Select all

<!-- # 4 --><waypoint x="-29462" z="-17014">
	showWindow(getWin(), sw.show);
	player:rest(2)
	player:target_NPC("Tamo Punz");
	player:rest(1)
	player:mouseclickL(150, 220, 825, 582);   <!-- merchant -->
	player:rest(.4)
	player:mouseclickL(250, 380, 825, 582);   <!-- repair --> 
	player:rest(.4)
	keyboardHold(key.VK_SHIFT);
	player:rest(1)
	player:mouseclickL(40, 180, 825, 582);   <!-- herbs -->
	player:rest(1)
	keyboardRelease(key.VK_SHIFT);
	player:rest(1) 
	keyboardPress(key.VK_9); 
	player:rest(.1)
	keyboardPress(key.VK_9);
	player:rest(.4)
	player:mouseclickL(150, 280, 825, 582);   <!-- buy -->
	</waypoint>
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: shift+click

#5 Post by Administrator »

Looks like it's being caused by RoM's input methods. It would require modification of MicroMacro (which is being worked on right now) to get this to work for you. Instead, you can just use a macro.

I believe this should work:

Code: Select all

StoreBuyItem(1, 99); -- Buy 99 of item at slot 1
Assign it to a hotkey, then just use keyboardPress() to press the hotkey.
j_schlott
Posts: 119
Joined: Tue Aug 18, 2009 11:42 pm

Re: shift+click

#6 Post by j_schlott »

ill try that out thanks again!!

now who do i make the check out to =P
transient999
Posts: 2
Joined: Sun Aug 09, 2009 10:01 am

Re: shift+click

#7 Post by transient999 »

Is this cause by my script or it is a real technical reason that will get fix later?
Thanks
Attachments
shift.jpg
d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: shift+click

#8 Post by d003232 »

transient999 wrote:Is this cause by my script or it is a real technical reason that will get fix later?
Thanks
Just do whats written in the message. :-) Then you wont get that warning.
The RoM Bot Online Wiki needs your help!
transient999
Posts: 2
Joined: Sun Aug 09, 2009 10:01 am

Re: shift+click

#9 Post by transient999 »

d003232 wrote:
transient999 wrote:Is this cause by my script or it is a real technical reason that will get fix later?
Thanks
Just do whats written in the message. :-) Then you wont get that warning.
Ah got it. Thanks
It's nice to be able to sip my tea while my dailies are getting done :D
Post Reply