Page 3 of 3
Re: Auto join Guild Siege waypoint.
Posted: Mon Sep 02, 2013 7:13 am
by Cindy
rock5 wrote:UseSkill(1,1) on the npc will open the dialog but you would still need to select the option. Normally you would do
but I seem to remember some issue with the housekeeper so you might have to use
instead.
Of course you might have a problem if you can't make it wait for the dialog to open. I'm not sure how you would fix that.
Interesting. /run SpeakFrame_ListDialogOption(1,1) caused exit from house without having dialog menu pop up.
Re: Auto join Guild Siege waypoint.
Posted: Mon Sep 02, 2013 7:32 am
by rock5
Cindy wrote:Interesting. /run SpeakFrame_ListDialogOption(1,1) caused exit from house without having dialog menu pop up.
That's only because the last dialog you opened was with the housekeeper.
Re: Auto join Guild Siege waypoint.
Posted: Mon Sep 02, 2013 8:18 am
by Cindy
You are right (tested in game). How do i trigger the dialog on the Houskeeper?
Re: Auto join Guild Siege waypoint.
Posted: Mon Sep 02, 2013 9:15 am
by rock5
I don't know. I don't think it's possible.
Re: Auto join Guild Siege waypoint.
Posted: Mon Sep 02, 2013 10:47 pm
by Cindy
Hmm, thats a challenge if there was ever one laid down!
Doesn't Lisa have some sort of planting addon which causes mouse clicks on the screen? Couldn't the position of player, housekeeper, and camera (and angle) be used to calculate a click on the house keeper (to bring up dialog).
Re: Auto join Guild Siege waypoint.
Posted: Mon Sep 02, 2013 10:59 pm
by lisa
I think the code rock did for click to cast would be more useful than the planting stuff I did, or a combination of the 2.
I actually don't understand what you are trying to do, so I'm not much help here.
Title says autojoin guild siege but that doesn't sound like what you are trying to do, *shrug*
Re: Auto join Guild Siege waypoint.
Posted: Tue Sep 03, 2013 1:25 am
by rock5
You have been talking about an addon. You can't simulate mouse clicks or keypresses in an addon. Of course you can do it with a bot but you wouldn't need mouse clicks. You could just use player:targetNPC("Housekeeper").
Re: Auto join Guild Siege waypoint.
Posted: Wed Sep 04, 2013 5:52 am
by Cindy
Sorry Lisa. I am trying to join siege (I got that part of the addon code down, and working). However, I wanted to leave the house prior to joining if ZoneID == 400. For that I need to bring up the Housekeeper dialog, and so far nothing is working.
Rock is right, my brainstorming (re your planting) is misguided, as your planting code is through the bot. I must have made that post half asleep.
Re: Auto join Guild Siege waypoint.
Posted: Wed Sep 04, 2013 5:17 pm
by lisa
maybe have a look at the auto pet craft addon, doesn't it try to buy mats from the NPC automatically, can't remember if you need to have the NPC targeted or not.
Re: Auto join Guild Siege waypoint.
Posted: Wed Sep 04, 2013 7:18 pm
by lolita
pet craft addon buy craft tools automatically only if you have store opened
Re: Auto join Guild Siege waypoint.
Posted: Thu Jul 03, 2014 4:28 am
by ZZZZZ
lisa wrote:k changed it to a 10 second delay and took out the guild message.
I could probably add in a random delay for it to help with multiple clients but to be honest I just couldn't be bothered lol
~~ Derp, nvm. Got it mixed up with the being in a non-siege entering zone lol. Wonder if there is any way of checking if you can enter siege from where you are or not? I believe somebody asked that on US forum a few days ago.