Ok, I'm frustratingly close, but not having complete success. I found a runebook sub that is simple enough and am using it, the problem is, when recalling between areas, it recalls find. When it needs to gate an escort though, it doesn't click the gate button.
(It is hitting the gate section of the sub, I can tell due to the event exmsg I put there)
Basically, these coordinate settings are really confusing me. I don't know what numbers this needs to be set to for X and Y coords to successfully reach the button.
The default script didn't work for gating, it hit recall. I've tried adding some to the X coordinate, etc, but I'm not pinpointing it successfully. Any chance someone could take a look and clarify this a bit for me? Thanks guys.
sub useRunebook
{
set %rbAction %1
set %rbRune %2 - 1
set %rb %3
set %dangerousLocation %4
finditem %rb C_ , #backpackid
set #lobjectid #findid
event macro 17
wait 5
set %rbPage ( %rbRune / 2 ) + 1
if %rbPage < 5
set %rbPage %rbPage - 1
set %rbX #contposx + 140 + ( 35 * %rbPage )
set %rbY #contposy + 200
wait 5
click %rbX %rbY dmc
wait 5
if %rbAction = recall
{
event exmsg #charid 0 175 recalling
set %rbX #contposx + 140 + ( 160 * ( %rbRune % 2 ) )
set %rbY #contposy + 145
}
if %rbAction = gate
{
event exmsg #charid 0 175 gating
set %rbX #contposx + 195 + ( 160 * ( %rbRune % 2 ) )
set %rbY #contposy + 145
}
wait 5
click %rbX %rbY dmc
wait 4s
return
}