Problem/Bug? /click left button confirm_yes

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Marze
a lesser mummy
a lesser mummy
Posts: 60
Joined: Wed Apr 14, 2004 12:08 pm

Problem/Bug? /click left button confirm_yes

Post by Marze » Fri Apr 16, 2004 1:22 am

This command is clicking on the screen in an area where the button *Would be* if the [PopDialog0] were at 0,0. In other words its not considering the XPos/YPos for ConfirmationDialogBox window. I doubt its a bug so what am I doing wrong?

test.mac

Code: Select all

/click left button confirm_yes
locations.txt

Code: Select all

[confirm_yes] 
UILabel=ConfirmationDialogBox 
XMLFile=EQUI_ConfirmationDialog.xml 
ScreenID=Yes_Button 
EQUI_ConfirmationDialog.xml

Code: Select all

(default file)
UI_Soandso_server.ini

Code: Select all

.
.
.
[PopDialog0]
XPos1024x768=376
YPos1024x768=226
Width1024x768=274
Height1024x768=200

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Apr 16, 2004 2:09 am

You know theres a bind for this right? /bind eqlist... confirm_yes, confirm_no

/keypress confirm_yes
/keypress confirm_no

/bind confirm_yes alt+y
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri Apr 16, 2004 1:54 pm

I don't believe the keypress+binding work on the confirmation dialog...

Marze
a lesser mummy
a lesser mummy
Posts: 60
Joined: Wed Apr 14, 2004 12:08 pm

Post by Marze » Fri Apr 16, 2004 4:36 pm

I typed

/bind confirm_yes alt+y

then

/keypress confirm_yes

But it didn't do anything when the box was open

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Apr 16, 2004 6:28 pm

you dont need to have it bound in order to use keypress on it ;) I never tried the bind, i just assumed it worked

you should be able to use /notify to click the button.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Marze
a lesser mummy
a lesser mummy
Posts: 60
Joined: Wed Apr 14, 2004 12:08 pm

Post by Marze » Fri Apr 16, 2004 9:55 pm

I think it's broken.

/notify ConfirmationDialogBox Yes_Button leftmouse

It presses the button down but it stays depressed and the Box doesn't go away, and then the mouse becomes bugged. I can't click on anything and I can't mouse look.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Post by SwiftyMUSE » Fri Apr 16, 2004 10:00 pm

try,

/notify ConfirmationDialogBox Yes_Button leftmouseup

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri Apr 16, 2004 10:00 pm

/notify ConfirmationDialogBox Yes_Button leftmouseup?

Marze
a lesser mummy
a lesser mummy
Posts: 60
Joined: Wed Apr 14, 2004 12:08 pm

Post by Marze » Fri Apr 16, 2004 11:27 pm

If I do leftmouseup then the button is no longer depressed, but the window still stays up and the mouse is still bugged.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sat Apr 17, 2004 12:07 pm

If you use "leftmouse" the mouse will be bugged until you issue "leftmouseup" on the same control.

leftmouseup is what you want, I just tested like so:

select all copper
/shift /notify inventorywindow IW_Money3 leftmouseup
click destroy button (with fast destroy off)
/notify inventorywindow IW_Destroy leftmouseup
click yes
/notify confirmationdialogbox Yes_Button leftmouseup

mouse works fine afterward, money is destroyed fine, etc (yes you could alternatively use /destroy, this was just an example)

If you're using VC6, update to Service Pack 5.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0