Signup Now
Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 56
  1. #11
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,469
    Reputation
    205
    Rep Power
    25
    Quote Originally Posted by strahowski View Post
    What's the "smart" part of this? Looks like a regular and unessecarily heavy action to me.
    Why smart? you read the code? like @Heronas said;

    1º you don't need set spells for each vocation, action do this.
    2º you don't need set mana trainer
    3º you don't need add other action for food eater
    4º ant paralize is based in your life, f.e: wont try to cast exura with 10% HP, will cast exura vita
    5º cast spell and potions more fast than usual.
    6º just put action in persistent and enable
    Helped you? REP+

  2. #12
    Free User strahowski's Avatar
    Join Date
    Aug 2014
    Posts
    216
    Reputation
    27
    Rep Power
    20
    That's NOT smart. This is just a set of if statements, smart healing would take damage taken in last 1 (maybe 2) seconds and base healing on that, i'd say.

  3. #13
    Free User
    Join Date
    Dec 2014
    Posts
    66
    Reputation
    24
    Rep Power
    19
    Quote Originally Posted by strahowski View Post
    That's NOT smart. This is just a set of if statements, smart healing would take damage taken in last 1 (maybe 2) seconds and base healing on that, i'd say.
    If you want that, just set it to auto(1000), chances are you might be dead though.
    Even if you would enhance that to start healing at 500 damage for example (near death or w/e) it would still be easy to do and there would be no good purpose in my opinion.

    Still I think this should be done with for loops to decrease script length, however it might actually run faster with general if statements, never tested.

  4. #14
    Free User
    Join Date
    Jan 2015
    Posts
    16
    Reputation
    10
    Rep Power
    0
    Doesn't use smp on a paladin > 80

  5. #15
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,469
    Reputation
    205
    Rep Power
    25
    Quote Originally Posted by Ayrton Sales View Post
    Doesn't use smp on a paladin > 80
    Thanks for report, script updated...
    Helped you? REP+

  6. #16
    Free User Connor's Avatar
    Join Date
    Jul 2014
    Posts
    455
    Reputation
    22
    Rep Power
    20
    Quote Originally Posted by strahowski View Post
    That's NOT smart. This is just a set of if statements, smart healing would take damage taken in last 1 (maybe 2) seconds and base healing on that, i'd say.
    True, this isn't smart at all

  7. #17
    Free User
    Join Date
    Dec 2014
    Posts
    66
    Reputation
    24
    Rep Power
    19
    Quote Originally Posted by Connor View Post
    True, this isn't smart at all
    While I agree on this, what would you consider smart healing?
    Healing based on damage bursts?
    Changing heal percentages based on monsters around you?
    More randomised healing to be less bot like (and more prone to dying)?

    Define smart.

    I think he did a good job on this, it uses pretty much every healing method available, but it's not really easy to setup, unless his standard settings somehow work for you.
    Admittedly, I wouldn't code this with a billion if statements, because it makes the script extremely long, but it's not a bad way to do it.

  8. #18
    Free User
    Join Date
    Jun 2014
    Posts
    3
    Reputation
    10
    Rep Power
    0
    Hello friends first hope that they excuse me "Rookie" for already a week I went back to play tibia from 8.6 and I am putting me a day with this bot, this time entoy trying to put the smart healing of borges and sincerely not is that work me, the only thing I did was to load the persistent waiting for it work but I see that I need to put something and well that is why I appeal to you to aid. Sorry for my bad English is not my native language

  9. #19
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,469
    Reputation
    205
    Rep Power
    25
    Quote Originally Posted by lfpg View Post
    Hello friends first hope that they excuse me "Rookie" for already a week I went back to play tibia from 8.6 and I am putting me a day with this bot, this time entoy trying to put the smart healing of borges and sincerely not is that work me, the only thing I did was to load the persistent waiting for it work but I see that I need to put something and well that is why I appeal to you to aid. Sorry for my bad English is not my native language
    Just add this persistent and enable, I think this configuration is fine for all vocations, but if you want change some % of healing ofc you can.

    --[[Smart Healing by Borges version 1.0.5]]--

    --[[Healing Spells]]--

    local ExuraGranIco = 35 -- Percentage to Cast Exura Gran Ico
    local ExuraGranSan = 35 -- Percentage to Cast Exura Gran San
    local ExuraSan = 50 -- Percentage to Cast Exura San
    local ExuraVita = 50 -- Percentage to Cast Exura Vita
    local ExuraGran = 70 -- Percentage to Cast Exura Gran
    local Exura = 90 -- Percentage to Cast Exura
    local ExuraIco = 90 -- Percentage to Cast Exura Ico
    local UturaGran = 95 -- Percentage to Cast Utura Gran
    local Utura = 95 -- Percentage to Cast Utura
    local train1 = 97 -- Percentage to Cast Mana Trainer
    local train = 'Utani Hur' -- Spell for Mana Trainer


    --[[Health Potions]]--

    local GSP = 30 -- Percentage to use Great Spirit Potion
    local UHP = 30 -- Percentage to use Ultimate Health Potion
    local GHP = 30 -- Percentage to use Great Health Potion
    local SHP = 30 -- Percentage to use Strong Health Potion
    local HP = 30 -- Percentage to use Health Potion
    local SmallHP = 30 -- Percentage to use Small Health Potion

    --[[Mana Potions]]--

    local MaxGMP = 70 -- Percentage to use Great Mana Potion without monsters on screen
    local MaxSMP = 70 -- Percentage to use Strong Mana Potion without monsters on screen
    local MaxMP = 70 -- Percentage to use Mana Potion without monsters on screen
    local MinGMP = 30 -- Percentage to use Great Mana Potion with monsters on screen
    local MinSMP = 30 -- Percentage to use Strong Mana Potion with monsters on screen
    local MinMP = 30 -- Percentage to use Mana Potion with monsters on screen

    --[[DO NOT CHANGE BELOW]]--

    auto(1)
    if $hppc <= UHP and $vocation == 'knight' and itemcount('Ultimate Health Potion') >= 1 and $level >= 130 then
    pausewalking(500)
    useoncreature('Ultimate Health Potion',$self)
    pausewalking(0)
    wait(200,500)
    end

    if $hppc <= GSP and $vocation == 'paladin' and itemcount('Great Spirit Potion') >= 1 and $level >= 80 then
    pausewalking(500)
    useoncreature('Great Spirit Potion',$self)
    pausewalking(0)
    wait(200,500)
    end

    if $hppc <= GHP and $vocation == 'knight' and itemcount('Great Health Potion') >= 1 and $level >= 80 then
    pausewalking(500)
    useoncreature('Great Health Potion',$self)
    pausewalking(0)
    wait(200,500)
    end

    if $hppc <= SHP and ($vocation == 'knight' or $vocation == 'paladin') and itemcount('Strong Health Potion') >= 1 and $level >= 50 then
    pausewalking(500)
    useoncreature('Strong Health Potion',$self)
    pausewalking(0)
    wait(200,500)
    end

    if $hppc <= HP and itemcount('Health Potion') >= 1 then
    pausewalking(500)
    useoncreature('Health Potion',$self)
    pausewalking(0)
    wait(200,500)
    end

    if $hppc <= SmallHP and itemcount('Small Health Potion') >= 1 then
    pausewalking(500)
    useoncreature('Small Health Potion',$self)
    pausewalking(0)
    wait(200,500)
    end

    if $mppc <= MinGMP and ($vocation == 'druid' or $vocation == 'sorcerer') and itemcount('Great Mana Potion') >= 1 and $level >= 80 and maround() ~= 0 then
    pausewalking(500)
    useoncreature('Great Mana Potion',$self)
    pausewalking(0)
    wait(200,500)
    elseif $mppc <= MaxGMP and ($vocation == 'druid' or $vocation == 'sorcerer') and itemcount('Great Mana Potion') >= 1 and $level >= 80 and maround() == 0 then
    pausewalking(500)
    useoncreature('Great Mana Potion',$self)
    pausewalking(0)
    wait(200,500)
    end

    if $mppc <= MinSMP and ($vocation == 'Druid' or $vocation == 'Sorcerer' or $vocation == 'Paladin') and itemcount('Strong Mana Potion') >= 1 and $level >= 50 and maround() ~= 0 then
    pausewalking(500)
    useoncreature('Strong Mana Potion',$self)
    pausewalking(0)
    wait(200,500)
    elseif $mppc <= MaxSMP and ($vocation == 'Druid' or $vocation == 'Sorcerer' or $vocation == 'Paladin') and itemcount('Strong Mana Potion') >= 1 and $level >= 50 and maround() == 0 then
    pausewalking(500)
    useoncreature('Strong Mana Potion',$self)
    pausewalking(0)
    wait(200,500)
    end

    if $mppc <= MinMP and itemcount('Mana Potion') >= 1 and maround() ~= 0 then
    pausewalking(500)
    useoncreature('Mana Potion',$self)
    pausewalking(0)
    wait(200,500)
    elseif $mppc <= MaxMP and itemcount('Mana Potion') >= 1 and maround() == 0 then
    pausewalking(500)
    useoncreature('Mana Potion',$self)
    pausewalking(0)
    wait(200,500)
    end

    if $hppc <= UturaGran then
    if ($vocation == 'knight' or $vocation == 'paladin') and cooldown('utura gran') == 0 and $mp >= 165 and $level >= 100 and cancast('Utura Gran') then
    cast('utura gran')
    wait(200,500)
    end
    end

    if $hppc <= Utura then
    if ($vocation == 'knight' or $vocation == 'paladin') and cooldown('utura') == 0 and $mp >= 75 and $level >= 50 and cancast('utura') then
    cast('utura')
    wait(200,500)
    end
    end

    if $hppc <= ExuraGranSan then
    if ($vocation == 'paladin') and cooldown('exura gran san') == 0 and $mp >= 210 and $level >= 60 and cancast('exura gran san') then
    cast('exura gran san')
    wait(200,500)
    end
    end

    if $hppc <= ExuraGranIco then
    if ($vocation == 'knight') and cooldown ('exura gran ico') and $mp >= 200 and $level >= 80 and cancast('exura gran ico') then
    cast('exura gran ico')
    wait(200,500)
    end
    end

    if $hppc <= ExuraVita then
    if ($vocation == 'sorcerer' or $vocation == 'druid') and cooldown('exura vita') == 0 and $mp >= 160 and $level >= 30 and cancast('exura vita') then
    cast('exura vita')
    wait(200,500)
    end
    end

    if $hppc <= ExuraSan then
    if ($vocation == 'paladin') and cooldown('exura san') == 0 and $mp >= 160 and $level >= 35 and cancast('exura san') then
    cast('exura san')
    wait(200,500)
    end
    end

    if $hppc <= ExuraGran then
    if ($vocation == 'sorcerer' or $vocation == 'druid' or $vocation == 'paladin') and cooldown('exura gran') == 0 and $mp >= 70 and $level >= 20 and cancast('exura gran')then
    cast('exura gran')
    wait(200,500)
    end
    end

    if $hppc <= Exura then
    if ($vocation == 'sorcerer' or $vocation == 'druid' or $vocation == 'paladin') and cooldown('exura') == 0 and $mp >= 20 and $level >= 8 and cancast('exura')then
    cast('exura')
    wait(200,500)
    end
    end

    if $hppc <= ExuraIco then
    if $vocation == 'knight' and cooldown('exura ico') == 0 and $mp >= 40 and $level >= 8 then
    cast('exura ico')
    wait(200,500)
    end
    end

    eatfoodfull()

    if $mppc >= train1 and cooldown(train) == 0 then
    cast(train)
    wait(200,500)
    end


    if $hppc <= ExuraGranSan and $paralyzed then
    if ($vocation == 'paladin') and cooldown('exura gran san') == 0 and $mp >= 210 and $level >= 60 and cancast('exura gran san') then
    cast('exura gran san')
    wait(200,500)
    end
    end

    if $hppc <= ExuraGranIco and $paralyzed then
    if ($vocation == 'knight') and cooldown ('exura gran ico') and $mp >= 200 and $level >= 80 and cancast('exura gran ico') then
    cast('exura gran ico')
    wait(200,500)
    end
    end

    if $hppc <= ExuraVita and $paralyzed then
    if ($vocation == 'sorcerer' or $vocation == 'druid') and cooldown('exura vita') == 0 and $mp >= 160 and $level >= 30 and cancast('exura vita') then
    cast('exura vita')
    wait(200,500)
    end
    end

    if $hppc <= ExuraSan and $paralyzed then
    if ($vocation == 'paladin') and cooldown('exura san') == 0 and $mp >= 160 and $level >= 35 and cancast('exura san') then
    cast('exura san')
    wait(200,500)
    end
    end

    if $hppc <= ExuraGran and $paralyzed then
    if ($vocation == 'sorcerer' or $vocation == 'druid' or $vocation == 'paladin') and cooldown('exura gran') == 0 and $mp >= 70 and $level >= 20 and cancast('exura gran')then
    cast('exura gran')
    wait(200,500)
    end
    end

    if $hppc <= Exura and $paralyzed then
    if ($vocation == 'sorcerer' or $vocation == 'druid' or $vocation == 'paladin') and cooldown('exura') == 0 and $mp >= 20 and $level >= 8 and cancast('exura')then
    cast('exura')
    wait(200,500)
    end
    end

    if $hppc <= ExuraIco and $paralyzed then
    if $vocation == 'knight' and cooldown('exura ico') == 0 and $mp >= 40 and $level >= 8 then
    cast('exura ico')
    wait(200,500)
    end
    end
    Last edited by Borges; 01-23-2015 at 11:57 AM.
    Helped you? REP+

  10. #20
    Free User
    Join Date
    Jun 2014
    Posts
    3
    Reputation
    10
    Rep Power
    0
    friend thanks for replying, I get this error

    Persistent error in script heal:
    ** ["if $ HPPC <= UHP and $ vocation == 'knight' and ..."]: heal: 71: 'then' expected near '50'

 

 

Posting Permissions

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