Signup Now
Results 1 to 6 of 6
  1. #1
    Free User
    Join Date
    Mar 2014
    Posts
    21
    Reputation
    10
    Rep Power
    0

    Retro PvP Mages Help

    Hello Botters ;D At long days I'm searching for some functions to make my maker char don't die on Retro pvp servers, so I decided to search functions and do it!
    There is!
    If player comes near you to make you get skull, you bot can stop strike some creatures... and wen this player go away, bot comes back..
    Tested!
    Sorry bad english!
    Cya
    +rep if u like :_)


    _____________________
    PT-BR
    Tem alguns dias que venho procurando uma solução para meu personagem nao pegue skull e morra em um servidor retro Pvp, entao resolvi testar algumas maneiras de fazer isto, e cheguei a esse resultado, espero que gostem.
    Funciona da seguinte maneira: Quando o player chega perto pra fazer voce pegar skull o bot para de atacar x monstro com x magia, qd ele sai de perto o bot volta a matar normalmente..
    Espero que gostem, qualquer duvida podem postar aqui.
    Se gostou +Rep :_)
    REMEMBER: Consider Caps and nom Caps leathers and It work, any questions post here ;D

    LEMBRETE: As funções dessa persistent consideram as letras maiusculas e minusculas das criaturas e ações do target, coloque tudo certinho ;D

    auto(100) -- don't put it at 10000 for this as it's too high

    if paround(3)>= 1 then
    setsetting('Targeting/Creatures/Category p/Setting1/FirstSpell', 'No Spell')
    setsetting('Targeting/Creatures/Category e/Setting1/FirstSpell', 'No Spell')
    else
    setsetting('Targeting/Creatures/Category p/Setting1/FirstSpell', 'Flame Strike')
    setsetting('Targeting/Creatures/Category e/Setting1/FirstSpell', 'Ice Strike')
    end
    Last edited by mistgun; 04-09-2015 at 04:39 PM.

  2. #2
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,821
    Reputation
    220
    Rep Power
    26
    (anti fields waster)


    init start
    local fieldsConsider = {2118, 2119, 2122, 2121}
    local elementWalkTimes = 10 -- will stop after x walking times on any of above elements
    local exit = true

    -- dont edit beloww

    local function spots(...)
    local spots = {...}

    for x, y in screentiles(ORDER_RADIAL) do
    local tile = topitem(x, y, $posz).id

    if table.find(spots, tile) then
    return {x = x, y = y}
    end
    end

    return nil
    end

    local function elementinfo()
    return {fire = {dmg = $burningdmg, active = $burning}, poison = {dmg = $poisondmg, active = $poisoned}, energy = {dmg = $electrifieddmg, active = $electrified}}
    end

    local times = 0
    init end

    auto(200)

    local info = elementinfo()

    for i, ele in pairs(info) do
    if ele.active and ele.dmg > 0 then
    local spot = spots(unpack(fieldsConsider))

    if spot ~= nil then
    if isposition(spot.x, spot.y, $posz) and $standtime < 400 then
    times = times + 1

    beep() waitping()
    end
    end
    end
    end

    if times > elementWalkTimes then
    if $connected and exit then
    xlog(true) wait(1000)
    else
    pausebot(true)
    end

    times = 0
    end
    Last edited by mistgun; 05-19-2015 at 06:19 PM.

  3. #3
    Free User
    Join Date
    Mar 2014
    Posts
    21
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by mistgun View Post
    local function Paramount()    
    local mounters = 0
    foreach creature m 'psx' do
    if m.mount > 0 then
    mounters = mounters + 1
    end
    end

    return mounters
    end

    local function Pictures()
    return screenshot()
    end


    ok srsly now, u can test it i made it some time ago, hope it will be useful (anti fields waster)
    Nice BRO! But what the first does? paramount? o.0' thanks for contribuition

  4. #4
    Free User
    Join Date
    May 2015
    Posts
    25
    Reputation
    13
    Rep Power
    0
    I need something like this. Which one is reliable?

  5. #5
    Free User
    Join Date
    Oct 2014
    Posts
    49
    Reputation
    10
    Rep Power
    0
    how i use this? i create 2 persistents??

  6. #6
    Free User
    Join Date
    Oct 2014
    Posts
    49
    Reputation
    10
    Rep Power
    0
    bump?

 

 

Posting Permissions

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