Signup Now
Results 1 to 2 of 2

Thread: its a bug?

  1. #1
    Free User
    Join Date
    Mar 2014
    Posts
    9
    Reputation
    10
    Rep Power
    0

    its a bug?

    this
    init start
    -- local SCRIPT_VERSION = '1.0.1'

    local invisCreatures = {'Stalker'}
    local stuckTime = 1000 -- Set to 0 to always attack
    local spellToUse = 'great fireball rune'

    -- DO NOT EDIT BELOW THIS LINE --
    table.lower(invisCreatures)
    local spellToUseInfo, spellType = spellinfo(spellToUse), 'spell'
    if spellToUseInfo.castarea == 'None' then
    spellToUseInfo, spellType = runeinfo(spellToUse), 'rune'
    end
    init end

    auto(100)
    if $standtime >= stuckTime and ($wptsection == "Hunt" or $wptsection == "Leave" or $wptsection == "ToHunt") then
    foreach newmessage m do
    if m.type == MSG_STATUSLOG then
    local _, _, name = m.content:match(REGEX_DMG_TAKEN)
    if (name and table.find(invisCreatures, name:lower())) then
    if spellType == 'spell' and cancastspell(spellToUseInfo) then
    cast(spellToUseInfo.words)
    waitping()
    elseif spellType == 'rune' then
    if $standtime < 5000 then
    pausewalking(5000)
    end
    wait(200)
    if maround(10, "Demon Skeleton", "Green Djinn") > 0 then
    useoncreature("avalanche rune", $self)
    else
    useoncreature("great fireball rune", $self)
    end

    wait(400)
    pausewalking(0)
    end
    end
    end
    end
    end


    work fo me before the update, after update im dead 2 times this script dont shoot any GFB!
    Last edited by Lucas Terra; 07-26-2014 at 04:57 PM. Reason: Please, wrap lua code around [lua][/lua] tags next time.

  2. #2
    Moderator Dehan's Avatar
    Join Date
    Dec 2013
    Posts
    1,404
    Reputation
    315
    Rep Power
    26
    looks like @Raphael codes
    Where did you get this script from? Posting on the right board will help you get faster answers.

    Thread closed.

    Level Latest Scripts by Dehan
    250+
    [EK & ED & MS & RP] [Navigation] Prison -1
    200+
    [EK & ED & MS] [Navigation] Asura Palace
    200+
    [EK & ED] [Navigation] Lower Roshamuul Softcore

 

 

Posting Permissions

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