Page 2 of 6
Posted: Tue Sep 06, 2005 4:30 pm
by Veron
Great job, I'll be using this as a base for mine. Saves me writing it.. appreciate you posting this.

could you?
Posted: Mon Oct 10, 2005 12:06 pm
by B_rizzleB
Could this be changed into a druid macro so instead of /t yourbot slow, we could go /t yourbot snare, all u'd have to do is just change the codes, secondly for cheal over Quiescence at 80perecent, and just keep the fastheal, but change it to the druid spellnames! if i get it to work i'll post it and give credit!
Re: could you?
Posted: Mon Oct 10, 2005 2:18 pm
by fearless
B_rizzleB wrote:Could this be changed into a druid macro so instead of /t yourbot slow, we could go /t yourbot snare, all u'd have to do is just change the codes, secondly for cheal over Quiescence at 80perecent, and just keep the fastheal, but change it to the druid spellnames! if i get it to work i'll post it and give credit!
Sure, go ahead.
ugh
Posted: Mon Oct 10, 2005 9:32 pm
by B_rizzleB
for /t urbot assist it crashes any advice to fix?
help
Posted: Mon Oct 10, 2005 9:48 pm
by B_rizzleB
can some1 tell me why its crashing when i give it a certain command like assist and cast "spellname"? please
Posted: Mon Oct 10, 2005 11:45 pm
by Dbick
This macro is working fine for me. I suggest checking your spell routines inc and make sure its up to date.
BTW thanks bardsaretooeasy. this macro rocks in its simplicity and ease of setup.
ok
Posted: Tue Oct 11, 2005 10:01 am
by B_rizzleB
in the snippets section im using rusty's spellroutines.inc or whatever, another thingy for the autofollow when not on a mount, it doesnt exstis
Sub Event_followme(Text,MasterName,FollowName)
/if (${MasterName.Equal[${MyMaster}]}) {
/if (${FollowName.Length} || ${FollowName.Equal[me]} || ${FollowName.Equal[${MyMaster}]}) {
/tar pc ${MyMaster}
/if (!${Me.Mount.ID}) {
/squelch /stick 15
} else {
/fol
}
} else {
/tar pc ${FollowName}
/if (!${Me.Mount.ID}) {
/squelch /stick 15
} else {
/fol
}
}
/t ${MyMaster} I'm now following ${Target.Name}
}
/return
the mount should be taken out then saved, so it will enable autofollow when the bot is not on a mount!, this is a niffty lilbot and once i mess around with it more i'll try to make it for other classes, I'm pretty new to this but i can read this bot quite easiliy =)
Re: ok
Posted: Tue Oct 11, 2005 10:34 am
by fearless
B_rizzleB wrote:in the snippets section im using rusty's spellroutines.inc or whatever, another thingy for the autofollow when not on a mount, it doesnt exstis
the mount should be taken out then saved, so it will enable autofollow when the bot is not on a mount!, this is a niffty lilbot and once i mess around with it more i'll try to make it for other classes, I'm pretty new to this but i can read this bot quite easiliy =)
Code tags maintain indentation, USE THEM.
Code: Select all
Sub Event_followme(Text,MasterName,FollowName)
/if (${MasterName.Equal[${MyMaster}]}) {
/if (${FollowName.Length} || ${FollowName.Equal[me]} || ${FollowName.Equal[${MyMaster}]}) {
/tar pc ${MyMaster}
/if (!${Me.Mount.ID}) {
/squelch /stick 15
} else {
/fol
}
} else {
/tar pc ${FollowName}
/if (!${Me.Mount.ID}) {
/squelch /stick 15
} else {
/fol
}
}
/t ${MyMaster} I'm now following ${Target.Name}
}
/return
Autofollow is "enabled" regardless when on a mount or not. The piece of code you should be evaluating is this:
Code: Select all
/if (!${Me.Mount.ID}) {
/squelch /stick 15
} else {
/fol
}
Last time I checked, that says "If I don't have a mount, stick to my target. If I have a mount, use /fol." Stick being a tool from mq2moveutils, /fol being the eq command follow.
If you are complaining that "if I have a mount it doesn't use stick", then just change /fol to /squelch /stick 15. If you do that you could actually clean it up significantly more, but that's another rant.
Posted: Tue Oct 11, 2005 10:41 am
by A_Druid_00
Code: Select all
Sub Event_Chat
/if (${ChatText.Find[follow]}) {
/if (${ChatText.Arg[2].Length} && ${Spawn[pc ${ChatText.Arg[2]}].ID}) /varset FollowGuy ${Spawn[pc ${ChatText.Arg[2]}].ID}
/if ((!${ChatText.Arg[2].Length} || !${Spawn[pc ${ChatText.Arg[2]}].ID}) && ${Spawn[pc ${Sender}].ID}) /varset FollowGuy ${Spawn[pc ${Sender}].ID}
/target id ${FollowGuy}
/delay 1s ${Target.ID}==${FollowGuy}
/squelch /stick hold uw
/varset FollowOn 1
/varset MakeCamp 0
/varset StickTarget ${FollowGuy}
}
That's how I do it, but I'm a complicated kind of guy.
Posted: Tue Oct 11, 2005 5:50 pm
by BardsAreTooEasy
I made it /fol rather than stick on a mount because when you /stick on a mount, if the leader stops the follower does this little ping-pong bit, and everyone goes, "hey that's not eq follow /wink!" Assist isn't crashing me btw ? I use this all the time for my drood. I genereally add an event in canniv4.mac like this:
Code: Select all
#event IncomingSnare "soandso tells you, 'Inc. #1#'"
|add these 2 lines in :MainLoop
/if (!${Defined[NeedToSnare]}) /declare NeedToSnare int outer 0
/if (${IncSnare}==0 && ${Defined[IncSnare]} && ${NeedToSnare}==0) /call IncomingSnare
Sub Event_IncomingSnare
/if (!${Defined[IncSnare]}) /declare IncSnare timer outer 0
/varset IncSnare 320
/varset NeedToSnare 0
/return
Sub IncomingSnare
/varset NeedToSnare 1
/tar soandso
/delay 1s
/if (${Target.PctHPs}<70) /call Cast "${FastHealSpell}"
/assist
/delay 2s
/call Cast "Ensnare" gem3
/delay 1s
/call Cast "Grasping Roots" gem8
/tar soandso
/return
I use it like this because I can tell my bot from my master Inc.... and my bot will just auto snare and root, thus avoiding many commands from master to bot. I'll add a SnareOnAssist option though for you droods =) If you are crashing maybe it's from spell_routines.inc. If you don't have VIP you can get my crappyspell.inc from the snippets sec. and use that instead.
cool
Posted: Tue Oct 11, 2005 6:13 pm
by B_rizzleB
cool i'll use that, ty man, check ur PM box bardsaretooeasy!
problem
Posted: Tue Oct 11, 2005 6:55 pm
by B_rizzleB
it tells me when i go cast splurt {BotSpellName} was not found in your book
Posted: Fri Oct 14, 2005 3:56 pm
by ultimateq
I think i found a problem in the crappyspells.inc
on line 80 it reads
I think it should read
Otherwise I cant wait to try it out
edit:argh. I cant get the complete healing to work...
I've tried
Code: Select all
/if (!${Defined[HealSpell]}) /declare HealSpell string outer "Complete Healing"
and
Code: Select all
/if (!${Defined[HealSpell]}) /declare HealSpell string outer Complete Healing
and niether seem to work
Posted: Sat Oct 15, 2005 1:03 am
by BardsAreTooEasy
Thanks, ultimateeq. Fixed that /call Cast ".." under FDFAIL, also fixed the bug under Sub Event_Watch that was causing you to not cast Complete Healing. Grab caster5_6.inc, update the #include in canniv4_1.mac, and you'll be casting bro =)
Posted: Mon Oct 17, 2005 4:07 am
by ultimateq
Awsome
