Can this be scripted?

Herculezz

ISX Specialist
Is there a way to script a simple function that will when an npc is already hailed and they have there options up for the bot to select one of the options? sorta like craft does with the writ giver where it will select option in which you have set in the craft ui?
 

Herculezz

ISX Specialist
NM I found it:

EQ2UIPage[ProxyActor,Conversation].Child[composite,replies].Child[button,1]:LeftClick

Thanks anyways :)
 

insanitywiz

Senior Member
Hmm, looks like something to incorporate into eq2botcommander. Would be nice to have a page dedicated to interacting with an NPC. Hail target, then select response #.
 

mycroft

Script Author: MyPrices
Trying a script just for fun right now to click on any transport post and go from post to post to a selectable destination without having to wait for flights to finish and click the next post.
 

Ragemage

Well-Known Member
I have my own version of Botcommander I edited by adding a few pages and buttons but here is what I did, I replaced one of the buttons on the first page with 4 small buttons labeled H 1 2 3.... this allows me to interact with the TSO quest givers at the same time by pushing H, 1, 1, 2 or H 2, 2, 1, etc to go thru the conversation threads and turn quests in. Never had a problem getting a quest due to EQ2Quest, when i get it on my main it shares it with the rest and they accept. Turning in was the PITA.

THE .iss
function HailT()
{
relay all eq2execute /target ${Target}
wait 10
relay all eq2execute /Hail
}
function Hail1()
{
relay all EQ2UIPage[ProxyActor,Conversation].Child[composite,replies].Child[button,1]:LeftClick
wait 10
}

function Hail2()
{
relay all EQ2UIPage[ProxyActor,Conversation].Child[composite,replies].Child[button,2]:LeftClick
wait 10
}

function Hail3()
{
relay all EQ2UIPage[ProxyActor,Conversation].Child[composite,replies].Child[button,3]:LeftClick
wait 10
}
The .xml
<Button Name='HailTarget'>
<X>5%</X>
<Y>140</Y>
<Width>20</Width>
<Height>20</Height>
<Text>H</Text>
<AutoTooltip>Hails Masters Target</AutoTooltip>
<OnLeftClick>Script[CMDR]:QueueCommand[call HailT]</OnLeftClick>
</Button>

<Button Name='1'>
<X>16%</X>
<Y>140</Y>
<Width>20</Width>
<Height>20</Height>
<Text>1</Text>
<AutoTooltip>1</AutoTooltip>
<OnLeftClick>Script[CMDR]:QueueCommand[call Hail1]</OnLeftClick>
</Button>
<Button Name='2'>
<X>27%</X>
<Y>140</Y>
<Width>20</Width>
<Height>20</Height>
<Text>2</Text>
<AutoTooltip>2</AutoTooltip>
<OnLeftClick>Script[CMDR]:QueueCommand[call Hail2]</OnLeftClick>
</Button>
<Button Name='3'>
<X>38%</X>
<Y>140</Y>
<Width>20</Width>
<Height>20</Height>
<Text>3</Text>
<AutoTooltip>3</AutoTooltip>
<OnLeftClick>Script[CMDR]:QueueCommand[call Hail3]</OnLeftClick>
</Button>
Keep in mind I changed my script from EQ2botcommander to just CMDR. To customize it to my needs so just change it back :)
 

wired203

Active Member
Hrmmm I think this could be added, Would need to take a look at the layout to find the best way to handle it.
 

Ragemage

Well-Known Member
Yeah the the quickest way, and looks okay Layout wise was to replace the Hail button. But All in all EQ2bot commander is an awesome script thank you for the latest update Wired.
Wired203, someone I saw a few posts back had added a mount script which would also be awesome if you integrated it. On my own version In the initial start up I put a cancel maintained command (think the last LU is when it was implemented) to cancel the mounts or else if half were on and half were off they wouldn't all be on.
 

wired203

Active Member
If anyone can get wanted changes and samples consolidated into the EQ2BotCommander post I'm looking to see if I can pickup a netbook tonight as I have a long car ride saturday and could try to get it all programmed in then tested later that night.
 

blackee

Senior Member
If anyone can get wanted changes and samples consolidated into the EQ2BotCommander post I'm looking to see if I can pickup a netbook tonight as I have a long car ride saturday and could try to get it all programmed in then tested later that night.
Wired, were you able to put anything together? I am real interested in this. I run 4 instances at once. Normally, I run quests and it is a pain in the arse to click through each instance to get quests. I do it, but if there is an easier way, I am all for it!

Thanks.
 

Pygar

EQ2Bot Specialist
Um, there is a quest helper script that autoshares on your main and auto accepts on your other sessions.
 

wired203

Active Member
Aye Quest helper is already in there, I haven't had much time to play with the re-write. I picked up a netbook as I had some hours on the road and was going to code and test changes (since it's only UI I could of tested most of it) but silly me didn't think to authenticate with lavish while I still had a network connection.

This weekend may be quiet so I will see if I can get it done.
 

Ragemage

Well-Known Member
Yup EQ2Quest on the EQ2BotCommander accepts the quest when it is shared. And if the other bots are nearby when u pick it up it shares it within the group. Making getting the quests easy. Turning in, is the hard part, without the navagation portion added to eq2bot.
Does anyone have a snipit of code to get the eq2questhelper to accept the shard window? After u turn in a quest the shard reward pops in a window and you dont get the gold and shard until you hit accept on that window. Anyone got ideas?
 

bjcasey

ISX Specialist
Ragemage: would you mind posting your changes to the eq2quest script for the accept reward? I loved your changes to eq2botcommander as they make moving through the quests much more efficient.
 

Kannkor

Ogre
Rewardwindow:Accept will accept a Quest but not the rewards (it will actually make the window disappear, but will auto-accept or pop up again once you zone).
Rewardwindow:Receive will accept the Quest rewards.
 

Ragemage

Well-Known Member
So this accepts the quest: EQ2UIPage[PopUp,RewardPack].Child[button,RewardPack.Accept]:LeftClick

So your saying adding this would accept the reward window?

EQ2UIPage[PopUp,RewardWindow].Child[button,RewardWindow.Accept]:LeftClick
or
EQ2UIPage[PopUp,RewardWindow].Child[button,RewardWindow.Receive]:LeftClick
 

Forkedman

Active Member
I find that [button,RewardWindow.Receive]:LeftClick works to both accept quests and recieve the reward.

But anyway, I was wondering if anyone could point me in the right direction for lotto window commands - All, selected, decline. I've looked through EQ2bot.iss but can't find what I'm looking for.

I want to create a set of buttons for trash loot between my bots. Lore and Legend items, quest stuff etc.

What I've been trying thus far is:

function Lall()
{
relay all EQ2UIPage[popup,Lootwindow].Child[button,LootWindow.RequestAll]:LeftClick
wait 10
}

and variations on that - without much luck.
 
Last edited:
Top Bottom