• Runes of Magic Addons
  • Runes of Magic
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

FaceTargetToAttack

 

Project Updated:
Files Updated: Tue, Mar 31 2009
Supports Game Version: 1825
Category: Quests & Leveling, and Action Bars
Tags:

[Edit Tags]

Project Manager: illusory
Additional Authors: No additional authors
Current Version: FaceTargetToAttack v0.9
License: zlib/libpng License
Development Site: CurseForge
Avg Daily DL (last 30 days): 40
Downloads Total: 6,729
Favorites: 21
Comments: 9
  • Curse Giveaways
  • Alganon

    Alganon

    Alganon Open Beta Key Giveaway Alganon is an upcoming fantasy-based MMORPG that allows thousands of people to play together in a virtual world that features a rich history dominated by commanding deities...

    Get Key

  • Contests
  • About FaceTargetToAttack
  •  

Ever gotten a "Must face target to attack" message? Sometimes it happens if a monster moves around in mid-combat, sometimes it happens if you use a skill like Charge.
Whatever the cause, the result is the same: Your character just stands there with a dumb look on their face while the monster beats on them mercilessly.

Are you tired of it happening to you? I sure was. So, I made this addon. Now, whenever that message appears, you'll automatically start attacking your current target again.
Or, alternatively, you can use a skill or item of your choice.

FaceTargetToAttack watches for the warning message "Must face target to attack". (Or, in the German client, the warning message "Ihr müsst euch dem Ziel zuwenden, um es angreifen zu können!".) When triggered, it activates a skill slot, slot 1 by default. (This will be "Attack" for most people.)
You can use the command "/ftta [number]" to change the slot that gets used. "0", "-", and "=" are also accepted for the 10th, 11th, and 12th slots. The slot you choose gets saved, so you won't have to enter it every time.

  • Downloads (3)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  FaceTargetToAttack v0.9 Release 1825 6,240 3/31/2009
  FaceTargetToAttack v0.8 Release 1810 135 3/24/2009
  FaceTargetToAttack v0.7 Release 1810 353 3/3/2009
  • 1 page(s)
  • Screenshots (1)
  •  
  • Comments

Add Comment

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Bno said

    Does this addon pushes for example the key 1 or does it use the skill that is in that slot?

    Reply Report Permalink
  • Isn't that kinda the same thing? >.< This simulates pushing the key you assign it to, which causes the skill in that slot to be used, turning you around. The addon is designed with the assumption that the skill you assign it to use to turn you around is a skill you use often, so I don't see how it would be a problem to take up a slot for this addon to activate.

    So to answer your question in your form, yes it pushes the key you tell it to AND uses the skill in that slot.

    Not a bot because this only works when you get the notice, not all the time.

    Make sure you use my fix to avoid repeatedly telling the addon your slot every other game session.

    Reply Report Permalink
  • FaceTargetToAttack only saves your slot if you change it during the current session. If you don't, the next time you open the game the slot will reset to slot 1. To fix this, find the words SaveVariables("actionslot") in FaceTargetToAttack.lua and move it out of tthe conditional statement. This will make it fire regardless of wether or not the variable is used this session or not. I recomend below end because I would put variable saves at the bottom, but that's just me. This makes FTTA keep the assigned slot and you no longer have to worry about telling it your slot over and over. The author of FTTA hasn't been around for a very long time, and I'm actually considering uploading my fixed version onto Curse.

    FaceTargetToAttack.lua should look like the following.

    actionslot = {}
    fttaMessage = {}

    function FaceTargetToAttack_OnLoad(this)
    this:RegisterEvent("WARNING_MESSAGE")
    this:RegisterEvent("VARIABLES_LOADED")
    lang = GetLocation()
    if lang == "DE" then
    fttaMessage[1] = "Ihr m\195\188sst euch dem Ziel zuwenden, um es angreifen zu k\195\182nnen!"
    else
    fttaMessage[1] = "Must face target to attack"
    end
    end

    function FaceTargetToAttack_OnEvent(this, event, arg1)
    if event == "VARIABLES_LOADED" then
    if not actionslot[1] then
    actionslot[1] = "1"
    end
    DEFAULT_CHAT_FRAME:AddMessage("FaceTargetToAttack v0.9 loaded. Use /ftta <slot> to choose a skill slot.", 0, 1, 0)
    DEFAULT_CHAT_FRAME:AddMessage("Current skill slot: " .. actionslot[1], 0, 1, 0)
    end
    if (event == "WARNING_MESSAGE") and (arg1 == fttaMessage[1]) then
    UseAction(actionslot[1])
    end
    end

    function FaceTargetToAttack_Change(frame, slot)
    validtable = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "0", "-", "="}
    for i, valid in ipairs(validtable) do
    if slot == valid then
    actionslot[1] = slot
    DEFAULT_CHAT_FRAME:AddMessage("Slot changed to " .. slot, 0, 1, 0)
    break
    end
    end
    if actionslot[1] == "0" then actionslot[1] = "10" end
    if actionslot[1] == "-" then actionslot[1] = "11" end
    if actionslot[1] == "=" then actionslot[1] = "12" end
    end

    SaveVariables("actionslot")

    SLASH_FTTA1 = "/ftta"
    SlashCmdList["FTTA"] = FaceTargetToAttack_Change

    Reply Report Permalink
  • weasoug said

    update plz. not working since last update

    Reply Report Permalink
  • The only known bug with this is resetting to slot 1 every other login or so. This is a very simple addon, how could it ever be broken by any updates? Mine has been working fine except what I've mentioned.

    Reply Report Permalink
  • It seems to be having trouble saving the key to attack with between logons. I've loged on at least three times and the addon tells me that the key it will use is 1, but I know that before I loged off I told it to use 2. Sometimes it saves the key, sometimes it doesn't. Could this be looked into?

    Also doesn't save individual chosen key for different characters, while still forgetting which key I told it to use the last time I loged on.

    Reply Report Permalink
  • UncleMart said

    At first I thought this add on would fix the bug in the game where when you use the knights charge and get the "must face target to attack" bug. Alas it doesnt, you still have to move away from the target and then back. This addon does however save you having to press the attack key when the target moves. I suspect its not possible to make an add on to fix the bug currently. I've reported this bug along with many others but it seems Runewaker dont think a tank being able to attack after the initial charge isnt that important :(

    Reply Report Permalink
  • Macmacmac said

    The german Message is:

    " Ihr müsst euch dem Ziel zuwenden, um es angreifen zu können! "

    Reply Report Permalink
  • illusory said

    v0.8 uploaded and awaiting approval. I can only test with the English version, mind you, but it should also work in the German version now.

    Reply Report Permalink
  • LuiTec said

    orignal code:
    if lang == "DE" then
    fttaMessage[1] = "Ihr müsst euch dem Ziel zuwenden, um es angreifen zu können!"

    relace with this code:
    if lang == "DE" then
    fttaMessage[1] = "Ihr m\195\188sst euch dem Ziel zuwenden, um es angreifen zu k\195\182nnen!"

    if you use german letters (Ä, Ö, Ü, ...) then you must replace this letters with "\195\%asciicode%" tags. otherwise lua can't handle this german letters.

    letters and lua codes:
    Ä = \195\132
    ä = \195\164
    Ö = \195\150
    ö = \195\182
    Ü = \195\156
    ü = \195\188
    ß = \195\159

    ps: sorry about my poor english

    Reply Report Permalink
  • illusory said

    I knew I'd regret being unable to test it personally. Ah well. v0.9 uploaded and awaiting approval.

    Reply Report Permalink
  • Macmacmac said

    It works perfectly, thanks for the german version.

    Reply Report Permalink
  • Sigicz said

    you can test DE support.
    in RoM launcher press config, select Deutsch, and voila, now you are playing in DE client.

    Reply Report Permalink
  • Homunc said

    Is there a multi-language support? That will be fine!

    Reply Report Permalink
  • illusory said

    I'd be happy to make a version for the German client, but I'd need to know the German "Must face target to attack" message.

    Reply Report Permalink
  • msima said

    I was thrilled last night when I seen this in action, at the one boss in MA that ports you around constantly, I never had to manually face her..LOVE IT!

    Reply Report Permalink
  • Lauste said

    this thing works amazingly well, faulty camera angles ftl

    Reply Report Permalink
  • lokanu said

    I believe this only works when you have "Click to Move" turned on. When it's disabled, it also disables the auto-turn action as well.

    Reply Report Permalink
  • 1 page(s)
  • Similar Addons
  •  

Average downloads per day

  1. 1,086 pbInfo Chat & Communication, Quests...
  2. 324 Advanced Quest Book Quests & Leveling, and Map...
  3. 189 DailyNotes Quests & Leveling, and Tooltip
  4. 185 Healbot Unit Frames, Action Bars,...
  5. 180 nuBuff - updated nBuff Action Bars, Quests & Leveling...