Post
by whitetrashonky » Mon Jul 18, 2011 7:59 pm
This is what I was read. Not sure how to post a qoute so i just copied and pasted. The macros I use now do the same thing as this guy mentions, the bot goes berserk. With the macro im wanting im hoping it doesnt freak out and everyone knows im using mq. Its kinda embarrasing when your guildees know your two boxing and your bot is doing the funky chicken. I really dont want to use a program that takes control of my character. I think the macro im wanting would make my character very passive. I think everyone has taken what Ive said the wrong way. I dont want to use them. MQ makes eq enjoyable to play. I wouldnt play eq without it. But the way my toons react on the macros i use makes it obvious im using this program. I just feel it would be easier for someone to write my macro than to answer all the questions im gonna have trying to learn how to use all the plugins i dont want to use. Im not trying to be a dick. I think my tone has been misinterpreted.
Hey,
I just started using 3ball's adaption of the RH macro to beserker, and I was wondering if there is a way to make autofollow a automatic function if attack is not on. For example if you are dungeon crawling and you want the bot to follow you , and attack but don't want to push the autofollow macro after every kill. I know you can use leash, but its rather buggy and causes the bot to run circles or do other crazy things. If it would be possible to make a new type of autofollow that refreshes if attack is off on the main assist.
Thank you !
Tue Jun 07, 2011 5:00 am
dont_know_at_all
Developer
Joined: Sun Dec 01, 2002 9:15 am
Posts: 5250
Location: Florida, USA
Re: autofollow
Yes.
Or, no.
Or, maybe your question is too unspecific.
What do you mean by "autofollow"?
Tue Jun 07, 2011 6:29 am
jpetrone
a lesser mummy
Joined: Sat Dec 20, 2008 2:32 am
Posts: 67
Re: autofollow
Are you looking for something like this?
Code:
/if (!${Me.CombatState.Equal[COMBAT]}) /stick 10 ID ${Spawn["Main Assist"].ID}
Tue Jun 07, 2011 10:34 pm
morgs71
decaying skeleton
Joined: Sun Jun 05, 2011 10:00 pm
Posts: 2
Re: autofollow
Hey,
Sorry if I was too vague i'll try to provide a better description . The macro I am using can be found at 3Ball's Berserker macro. This is the code snip that I believe controls the autofollow function that I am refering too.
Code:
Sub Event_AutoFollow(string Line)
/varset lastevent Event_AutoFollow
/declare distance int local 30
/if (${Ini[ZHSettings.ini,General,FollowDistance].NotEqual[NULL]}) /varset distance ${Ini[ZHSettings.ini,General,FollowDistance]}
/if (${Line.Arg[3].Length}) /target ${Line.Arg[3]}
/if (${Line.Arg[4].Length}) /varset distance ${Line.Arg[4]}
/if (${distance}<10) /varset distance 10
/ini "ZHSettings.ini" "General" "FollowDistance" "${distance}"
/if (${Target.ID}) {
/if (${verbosity}>=0) /${channel} ** Autofollow on: ${Target.CleanName} (${distance} ft.)
/if (${verbosity}>=0) /${channel} ** Change targets to stop autofollowing.
} else {
/if (${verbosity}>=0) /${channel} ** Can't activate Autofollow -- no valid target!
/return
}
/declare followID int local ${Target.ID}
:FollowingLoop
|- Look for new events
/doevents
/if (!${lastevent.Equal[Event_AutoFollow]}) {
/if (${verbosity}>=0) /${channel} ** Autofollow blocked by: ${lastevent}
/goto :StopFollowing
}
/if (${Target.ID}==${followID}) {
/if (${Target.ID}) /face fast
/if (${Target.Distance}>${distance}) {
/keypress forward hold
/delay 1s ${Target.Distance}<=${distance}
/keypress forward
}
/goto :FollowingLoop
}
:StopFollowing
/if (${verbosity}>=0) /${channel} ** Autofollow ended.
/return
Now the way it seems to work is that I send a tell to my bot in this format "/t bot /autofollow mychar" It will repeat the command, and activate the autofollow function which behave just like normal autofollow in EQ. When I attack a target it causes the bot to target an npc which in turn kills autofollow allowing the attack event to start. This sticks the bot to the npc target until its killed. Afterwards the bot will just stand there, and wait for another npc to be attacked within its predetermined range. Now this is great if your camping one spot, and having someone pull the mobs to that spot. However I am interested in mobile dungeon crawling in which I would engage the mobs as I move throughout the zone at thier spawn points.
What I am asking is if its possible to have the bot automatically reaquire its master, and put autofollow back on if no more combat is detected. So as to not have to manually press the follow button after every encounter, and have the bot simply switch back to me when combat isn't detected for say more then a few seconds.
Another thing I was wondering is if it would be possible to have a bot send a message to its master if it gets stuck on something while in autofollow mode. Maybe a function that checks if the bot is attempting to move forward, but cannot due to a obstruction. Maybe just a simple tell or group chat saying "hey, i'm stuck come back".
I'm very new to this all, and I don't know anything about writing code, but I am willing to give it a try. If you could just confirm that its possible, and maybe point me in the right direction, or maybe even another macro that does such a thing that I can look through. I would be eternally grateful, Thank you !
Tue Jun 07, 2011 11:45 pm
dont_know_at_all
Developer
Joined: Sun Dec 01, 2002 9:15 am
Posts: 5250
Location: Florida, USA
Re: autofollow
Of course it's possible.