Cu Sidhe keeps killing Fire Beetle

General discussion pertaining to the Demise shard. Off-topic posts will be moderated.
Post Reply
User avatar
kentares
Posts: 673
Location: Houston

Cu Sidhe keeps killing Fire Beetle

Post by kentares »

Good evening Everyone,

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.

Code: Select all

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.TargetTypeAction|True|108 <-- Earth / Ore Elemental
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.DoubleClickTypeAction|6585|True
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.TargetTypeAction|True|169 <-- Smelt ore with Fire Beetle
Thank you,




kentares
User avatar
Legacy
Posts: 448

Re: Cu Sidhe keeps killing Fire Beetle

Post by Legacy »

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?
Lucifall
User avatar
Bama
Bug Hunter
Posts: 4617

Re: Cu Sidhe keeps killing Fire Beetle

Post by Bama »

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
Gabba Gabba Hey!!!

哈哈哈
User avatar
kentares
Posts: 673
Location: Houston

Re: Cu Sidhe keeps killing Fire Beetle

Post by kentares »

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.

Code: Select all

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
By the way when was :salt: that added?

Thank you again Legacy,




kentares
User avatar
kentares
Posts: 673
Location: Houston

Re: Cu Sidhe keeps killing Fire Beetle

Post by kentares »

Good evening Bama,

First things first...

Image :geek:
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.

Thank you,




kentares
Post Reply