Page 1 of 1

Detection

Posted: Wed Feb 11, 2004 8:39 pm
by exuviae
First let me say that i never run a script and walk away so no AFK macroing here, however I do have some questions concerning some macro's i have created. First, I switch targets frequently as i bot a cleric in my groups that repeatedly targets a group member and checks hitpoints and decides whether to heal or not. When i switch targets, is that something that EQ gets notifed of? I am assuming that the $gm command is pure evil as it will basically do a /who gm which if repeated 1000 times can easily grab attention so i never do the $gm command. Lastly I tried the $spawn command to get health without targetting, but it always failed My command looked something like this

/for tempvar 0 to @GroupMax
/if n $spawn(@tempvar,hp,pct)<45 {
| left out for brevity
}

however the if command always fails even when the condition is true, i was trying this to not have to target the mob, and thus hopefully further shield myself from detection.

Exuvie

Posted: Wed Feb 11, 2004 8:45 pm
by ml2517
Take a look at the genbot code in bothealer.inc.

If you will only be healing people that are in group you should be fine using the $spawn method. The reason that genbot targets players is because it has the functionality to heal people outside of group. The server doesn't always update health percentages unless you target the player/mob (when the player is outside of your group).

Using the $gm check I don't believe does any server side communication. But... it isn't very reliable either.

Posted: Wed Feb 11, 2004 8:48 pm
by ml2517
Also in your code, did you have a:

/next tempvar

in there?

take a look at the genbot code, you should get the idea.