My character is bonded to the Cu Sidhe, I am friended to the Fire Beetle. It seems kind of random but the Cu Sidhe starts attacking and kills the Fire Beetle with little effort. I am running a Razor script that causes the Cu Sidhe to attack / kill earth / ore elementals. If the earth / ore elemental doesn't exist it doesn't attack anything but randomly the Cu Sidhe wants to nibble on the Fire Beetle.
Here is a copy of my Razor script; outside of this problem the script does seem to work quite well.
The all kill command is targetting your fire beetle, probably due to lag. It's been years, but those wait timers appear to be very low for me... maybe increase them?
Set the Cu to guard you
If the elemental targets the beetle invis the beetle
Now the elemental either attacks you or the cu
If it targets you walk away the beetle will walk with you and your cu will guard you by attacking the elemental
If you would rather use Razor remove all those pet commands
I think it's your all kill command giving you the cursor to target the elemental as you click on the beetle to smelt when the elemental spawn
Double click the pick ax
Click relative location
Double click the ore
Click on the beetle
Is all you need
The cu guarding takes care of the rest
Legacy wrote:The all kill command is targetting your fire beetle, probably due to lag. It's been years, but those wait timers appear to be very low for me... maybe increase them?
Good evening Legacy,
Thank you for your response and feedback. You helped me realize that I needed to clear my current target; this was dumbfire. Updated code seems to work; I don't think I have modified the timers yet, but will keep it in mind.
Assistant.Macros.DoubleClickTypeAction|3717|True
Assistant.Macros.PauseAction|00:00:00
Assistant.Macros.TargetRelLocAction|0|0
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.SpeechAction|0|516|3|ENU|4|33|93|22|128|all kill
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1539| <-- Exec: Target Closest Enemy Monster
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.IfAction|4|0|no one matching that was found on your screen.
Assistant.Macros.HotKeyAction|1332| <-- Exec: Cancel Current Target
Assistant.Macros.EndIfAction
Assistant.Macros.DoubleClickTypeAction|6585|True
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.TargetTypeAction|True|169 <-- Smelt Ore with Fire Beetle
Bama wrote:Set the Cu to guard you
If the elemental targets the beetle invis the beetle
Now the elemental either attacks you or the cu
If it targets you walk away the beetle will walk with you and your cu will guard you by attacking the elemental
We have discussed this method before; I am having difficulty casting invisibility on the Fire Beetle when the Earth / Ore Elemental spawns; but that is a me problem. I will simplify the script to cast invisibility on the Fire Beetle after a dig.
Bama wrote:If you would rather use Razor remove all those pet commands
I think it's your all kill command giving you the cursor to target the elemental as you click on the beetle to smelt when the elemental spawn
Double click the pick ax
Click relative location
Double click the ore
Click on the beetle
Is all you need
The cu guarding takes care of the rest
You're correct it was the targeting. The targeting was still queued and when the fire beetle was selected it would smelt and promptly be killed by the Cu Sidhe. I have added a Clear Current Target and it seems to be working well; but I like the simplicity of your script.