Page 1 of 43 12311 ... LastLast
Results 1 to 10 of 426

Thread: MediviaBotter - Support

  1. #1
    Last edited by ottizy; 18-02-2017 at 04:15 PM.

  2. #2
    --Use a HMM on the currently targeted creature
    local target = getattacking()
    local rune = finditem("heavy magic missile rune")
    if target.id ~= 0 and rune.id ~= 0 then
    rune:useon(ground(target.x, target.y, target.z), target.id, 0, target.stackpos)
    end

    but it isnt working
    Last edited by srcold; 12-02-2017 at 09:17 PM.

  3. #3
    Quote Originally Posted by srcold View Post
    --Use a HMM on the currently targeted creature
    local target = getattacking()
    local rune = finditem("heavy magic missile rune")
    if target.id ~= 0 and rune.id ~= 0 then
    rune:useon(ground(target.x, target.y, target.z), target.id, 0, target.stackpos)
    end

    but it isnt working
    Are you using that script with a hotkey as trigger?

  4. #4
    Quote Originally Posted by ottizy View Post
    Are you using that script with a hotkey as trigger?
    Yes, im using with hotkey
    Can you help me?
    Last edited by srcold; 12-02-2017 at 09:34 PM.

  5. #5
    I'm assuming you are targeting a creature and have a HMM rune visible? Just tried the script myself and it seems ok.

  6. #6
    Oh i've found the problem...

    script below is working

    local target = getattacking()
    local rune = finditem("heavy magic missile rune")
    if target.id ~= 0 and rune.id ~= 0 then
    rune: useon(ground(target.x, target.y, target.z), target.id, 0, target.stackpos)
    end

    the problem was here: rune: (it need a blank space between ":"and "useon")useon(ground(target.x, target.y, target.z), target.id, 0, target.stackpos)
    before: rune:useon(ground(target.x, target.y, target.z), target.id, 0, target.stackpos)
    after: rune: useon(ground(target.x, target.y, target.z), target.id, 0, target.stackpos)

  7. #7
    is there a way to improve this script? Miss alot "you can use this rune on creatures"

  8. #8
    How to cavebot with Targeting and casting HMM automated

  9. #9
    Try this:

    local CONFIG = {
    rune = "heavy magic missile rune",
    targets = {"Scarab", "Larva"} --Add more creatures here
    }

    table.lower(CONFIG.targets)

    auto(100,200)
    local target = getattacking()
    if not ishealeractive() and target.id ~= 0 and table.find(CONFIG.targets, target.name:lower()) then
    local rune = finditem(CONFIG.rune)
    if rune.id ~= 0 then
    rune:useoncreature(target.id)
    wait(2000,2200) --Set your cooldown here
    end
    end

  10. #10
    request for auto logout when player on screen alarm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •