Window asking to change channels when joining party

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Window asking to change channels when joining party

#1 Post by noobbotter »

Does anyone know how to detect and close the question window that comes up when you join a party and the leader is in another channel? I don't mean to manually click yes or no, but how to have the bot close the window? I searched through the events list on the wiki and couldn't find anything that looked like it would be an event for that window appearing.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Window asking to change channels when joining party

#2 Post by lisa »

There are 2043 occurances of "Popup" in the game, The wiki is deffinately not complete in any way shape or form.

As to which is what you are after, no idea.
The usual culprits are
StaticPopup1
StaticPopup2
StaticPopup3
StaticPopup4

Also maybe
GroupListPopup

you can try a macro with something like this.

Code: Select all

if StaticPopup1:IsVisible() then SendSystemChat("pop1") end
if StaticPopup2:IsVisible() then SendSystemChat("pop2") end
if StaticPopup3:IsVisible() then SendSystemChat("pop3") end
if StaticPopup4:IsVisible() then SendSystemChat("pop4") end
if GroupListPopup:IsVisible() then SendSystemChat("group") end
I had thast in IGSC but in macro you would need to add in the /script at the start of each line.

you can test it by chating to snoop and when he askes for money that will be pop1.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Window asking to change channels when joining party

#3 Post by rock5 »

In the very latest version of the bot 754 I added the function AcceptPopup(popupName).

With no argument specified it will just accept whatever popup is open. When it accepts a popup it prints the name of it so you can add it to the command to make sure it always accepts the right one.

The beauty of this function is you don't have to check if there is a popup open first and you don't have to check which popup is being used, staticPopup1, 2 ,3 or 4 and it supplies you with the name of the popup so you don't have to search for it on the web. A very convenient function even if I do say myself. :D
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Window asking to change channels when joining party

#4 Post by lisa »

I'll have to remember that 1 =)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Window asking to change channels when joining party

#5 Post by noobbotter »

Sounds good. I'll try that. Thanks to both of you.
Post Reply