GuardBot

GuardBot - Demo Image

Overview

GuardBot automatically waypoints a tanks' guarded target, allowing them to quickly find the player they're guarding without having to maintain a friendly target.

Usage

Simply install the addon to your ../Interface/Addons folder, launch the game, play a tank and guard a player!

Reminders

GuardBot (optionally) requires LibSlash and supports an array of slash commands. For more info on the available slash commands, see: Help Page

GuardBot automatically disables itself if the player is not playing a tank class (and thus has no Guard ability).

Upcoming Features

Suggestions?

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of Arclighte Arclighte Mon, 19 Oct 2009 06:12:08

    Hi Leverz,

    I apologize for the late reply. I'm just coming back to WAR after taking a hiatus so it's taking me a bit to catch up on everything.

    Regarding your suggestions:

    Suggestion 1 is something I want to do but there's no easy, "works everytime" solution. The addon API, last I checked, doesn't store buff caster data. In other words, there's no way of knowing who casted a buff on you. Without that information, it's impossible to know who's guarding you (or who should be waypointed).

    It may be possible to parse the combat log and gather the necessary information but I don't know if Guard changes show up in the combat log. There's also the issue of being unable to waypoint a player unless they are your friendly/hostile target first.

    So, yeah. Probably won't be happening unless the API changes (read as: never :[ ).

    Suggestion 2 is semi-possible but, again, is limited tremendously by the API and probably isn't worth doing. Let me explain.

    The API doesn't really provide a mechanism for retrieving, exactly, how much distance is between a player and their target(s). The most the API will tell you is if you are within range of a target in order to cast a specific spell. I don't remember the exact syntax but the API function takes both a spell ID and a target ID and then returns true/false based on whether you're in range or not. It doesn't return a distance. Squared and other addons that offer "range checks" do so using this mechanism and they work reasonably well because, typically, the classes that use those addons have spells with 50, 65, 100, 110+ ft. ranges and so you're able to get some basic idea of how far away a target is by doing the check multiple times using different spells with different ranges.

    Unfortunately, most tank classes don't have long range spells (or, specifically, spells with 30 ft. max ranges) so there's no way of knowing how far away a guarded player is. And the range check wouldn't work in reverse (i.e. allowing a guarded player to see how far away their tank is) for the same reasons stated above.

    With all of that said, I'm glad your getting some use out of my addon and I appreciate your suggestions (they're good, even if I can't implement them right now!).

  • Avatar of Leverz Leverz Fri, 18 Sep 2009 01:50:15

    Hi there,

    Really nice addon, I have two suggestions that I would love to see, that would enhance your addon greatly I believe.

    1. An ability if the person guarded has GuardBot installed, they have a marker showing who is guarding them. I try to stick to my guard when I'm playing my healer.

    2. Range check (both ways if suggestion one is implimented) to change the colour of the shield marker if the user is out of range and/or a screen notification.

    Thanks your for the time you put into this.

  • 2 comments

Facts

Date created
05 Jul 2009
Categories
Last update
09 Nov 2009
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
GuardBot
Recent files

Authors