Signup Now
Results 1 to 9 of 9

Thread: Wave/Beamer

  1. #1
    Free User
    Join Date
    Dec 2014
    Posts
    66
    Reputation
    24
    Rep Power
    19

    Wave/Beamer

    This script is derived from the way Leonardo made his Persistent Spell Attacker, but is aimed to be much much faster, which is critical for landing beams and waves.
    Credit still partially goes to Leonardo, as I learned a thing or two from his script.

    -- Simple Wave/Beam Shooter
    -- Version 1.0.2
    -- Made by Heronas
    init start
    local creatureNames = {
    'Crystal Spider',
    'Ice Golem',
    }

    -- Credits go to Leonardo for this
    local players = {
    safeMode = false,
    distance = 10,
    floors = 1,
    whiteList = {"Lord'Paulistinha"},
    }

    local spells = {
    {words = "exevo gran mas vis", amount = 4, monsters = {'Crystal Spider', 'Ice Golem', 'Wyvern'}},
    {words = "exevo vis hur", amount = 3},
    {words = "exevo vis hur", amount = 2, monsters = {'Crystal Spider'}},
    {words = "exevo gran vis lux", amount = 2},
    {words = "exevo flam hur", amount = 2, monsters = {'Wyvern', 'Polar Bear'}},
    }

    local shootDir = {'n', 'w', 's', 'e'}

    for i,j in pairs(spells) do
    spells[i].monsters = spells[i].monsters or creatureNames
    end
    init end

    auto(10)
    if not players.safeMode or paroundfloorignore(players.distance, players.floors, unpack(players.whiteList)) == 0 then
    for i,_ in pairs(spells) do
    if cancastspell(spells[i].words) then
    for j,_ in pairs(shootDir) do
    if maroundspell(spells[i].words, shootDir[j], unpack(spells[i].monsters)) >= spells[i].amount then
    pausewalking(500)
    turn(shootDir[j])
    cast(spells[i].words)
    pausewalking(0)
    end
    end
    end
    end
    end


    Works fairly simple, looks all around for monsters in spell ranges, then stops walking, faces monsters and fires.
    Pausewalking or pausebot is really recommended due to walking another direction after facing. Even doing manual tests works pretty good.

    You can add/remove spells as you please, UE spells probably work too, though I haven't tested them.

    PHP Code:
    Version1.0.2 Further optimisation
    Version
    1.0.1 Added safemode
    Version
    1.0.0 First release 
    Just define the spell name and the amount of monsters to use, you can also set different monsters for each spell (stole that from Leonardo)

    EDIT: Just tested an UE spell, seems to work just fine.
    Last edited by Heronas; 01-20-2015 at 03:46 AM.

  2. #2
    Moderator Leonardo's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    758
    Reputation
    77
    Rep Power
    22
    It could be faster though it doesn't check for other players so you'd get skulled I guess. I know there's dove/green/white modes that allow you to attack and don't harm anyone but players usually find a bug to exploit and skull bot players. Anyway nice job.

  3. #3
    Free User
    Join Date
    Oct 2014
    Posts
    172
    Reputation
    10
    Rep Power
    20
    Works awsome ! but it should check for players so it doesnt recive a skull! Floorcheck and such, possible?

    BUMPP
    btw! REPP+++++

  4. #4
    Free User
    Join Date
    Dec 2014
    Posts
    66
    Reputation
    24
    Rep Power
    19
    Merged with first post, added safemode.
    Credits for that belong to Leonardo.
    Last edited by Heronas; 01-20-2015 at 03:45 AM.

  5. #5
    Wind Powered
    Join Date
    Dec 2013
    Location
    dvscripts.com
    Posts
    7,105
    Reputation
    433
    Rep Power
    39
    Very good job ;-)

  6. #6
    Free User
    Join Date
    Feb 2014
    Posts
    32
    Reputation
    10
    Rep Power
    0
    This is great. Just what I need for my 290+ sorc but I also need to it do avas if 2+ monsters and wave/beam/UE on cooldown

  7. #7
    Free User
    Join Date
    Oct 2014
    Posts
    172
    Reputation
    10
    Rep Power
    20
    Im using this, and its working 100% Its just.. Amazing!

  8. #8
    Free User
    Join Date
    Dec 2014
    Posts
    66
    Reputation
    24
    Rep Power
    19
    Quote Originally Posted by chipmunken View Post
    This is great. Just what I need for my 290+ sorc but I also need to it do avas if 2+ monsters and wave/beam/UE on cooldown
    Sorry I was busy lately didn't have time to be on the forums.
    I would advise you to make use of my other spell caster: Advanced shooter for mages

    Currently that prioritises area spells, then area runes, then sds and lastly strike spells.

  9. #9
    Free User
    Join Date
    May 2014
    Posts
    28
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Leonardo View Post
    It could be faster though it doesn't check for other players so you'd get skulled I guess. I know there's dove/green/white modes that allow you to attack and don't harm anyone but players usually find a bug to exploit and skull bot players. Anyway nice job.
    @Leonardo @Heronas @Leonardo
    Hey. How should look like this Scrypt with no player check ? I play on the nopvp server. Like you wrote "It could be faster though it doesn't check for other players"
    Last edited by Grzegorz; 04-13-2016 at 09:37 AM.

 

 

Posting Permissions

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