Signup Now
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Wind Powered diegobh's Avatar
    Join Date
    Feb 2014
    Posts
    34
    Reputation
    10
    Rep Power
    0

    Help With Utito persistent

    Hello

    When using Blade of Carving on my script, he can't spell utito tempo.

    PHP Code:
    error in Persistent script Utito Tempo:
      [
    "if getuseroption("utito") and info.near..."]:Utito Tempo:30 attempt to perform arithmetic on upvalue 'skill' (a nil value
    This is the utito tempo action:
    PHP Code:
    init start
        local 
    function skillCheck()
            
    local info = {
                [
    'axe'] = $axe,
                [
    'club'] = $club,
                [
    'sword'] = $sword,
            }
            return 
    info[findweapontype()]
        
    end

        local skill 
    skillCheck()
    init end

    auto
    (50)
    local tempSkill skillCheck()
    local mobs Monsters

    local info 
    = {near 0all 0}
    foreach 
    creature m "ms" do
        
    local ActualHp = ((creatureinfo(m.name).hp)*(m.hppc/100))

        if 
    table.find(mobsm.namethen
            info
    .all info.all 1
            
    if m.dist <= and ActualHp >= 1000 then
                info
    .near info.near 1
            end
        end
    end

    if getuseroption("utito") and info.near >= getuseroption("amountutito") and $mp 500 and math.abs(skill tempSkill) <= 15 and cancastspell("utito tempo") and $targeting and table.find({"Floor1""Floor2""Floor3""Floor4""Floor5""Floor6"}, $wptsectionthen
        cast
    ("utito tempo")
        
    wait(200300)
    end 
    When i look on monitor my stats, charaters skills is bugged, like 26, when correct is 126. its just take fist skills when put carving.

    Its like blade of carving is making this. becausa another swords is normal.
    Last edited by diegobh; 03-04-2017 at 12:20 PM.

  2. #2
    Moderator RoxZin xD's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    4,914
    Reputation
    109
    Rep Power
    31
    It should be finding the correct weapon type because if you do iteminfo('blade of carving').category it returns 19, which means sword weapon. The thing is that action is returning nil, and you can't do nil*2 for example. Why is it returning nil is beyond my understanding right now, as it looks correct and as you said, it works with other weapons.



    Troubled Animals Quest [100+]
    ALL
    Feyrist Animals Surface [160+]
    RP
    Feyrist Silencers Underground X1 [180+]
    RP | EK
    Feyrist Silencers Underground X2 [200+]
    RP | EK
    Feyrist Silencers Surface [210+]
    RP | EK
    Rathleton Sewers [240+]
    RP
    Glooth Fairy [350+]
    ED/MS
    Hardcore Draken Walls [400+]
    EK

  3. #3
    Free User Donatello's Avatar
    Join Date
    Dec 2013
    Location
    Tuscany, Italy
    Posts
    398
    Reputation
    51
    Rep Power
    21
    Are you using WB for Tibia 11? I got similar issues some days ago, if you want a working action, just say here. @diegobh
    Last edited by Donatello; 03-04-2017 at 06:26 PM.

  4. #4
    Wind Powered diegobh's Avatar
    Join Date
    Feb 2014
    Posts
    34
    Reputation
    10
    Rep Power
    0
    Using on tibia 10.

    Blade of carving is full charge ( Blade of Carving (Overcharged) , i dont test without charge.

    If have a action, please post here.

  5. #5
    Wind Powered diegobh's Avatar
    Join Date
    Feb 2014
    Posts
    34
    Reputation
    10
    Rep Power
    0
    blade of mayhem have the same problem.

  6. #6
    Free User Stephano's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    433
    Reputation
    43
    Rep Power
    21
    Are you using this hotkey on Persistents? If the answer is yes move it to Cavebot>Persistents.
    This is happening because you are loading the script before login the character, so it return nil. @diegobh

  7. #7
    Wind Powered diegobh's Avatar
    Join Date
    Feb 2014
    Posts
    34
    Reputation
    10
    Rep Power
    0
    hello Stephano.

    Be default, this persistent is out of cavebotpersistent, *garkstal script

    When i put this on cavebot script, error is the same.

    when put this swords(gold token) skill going to 27, when the right is 127.

    edit: for default, i load script after loading caracther.

    When i use umbral weapons(1 or 2h) , utito persistent works normal.
    Last edited by diegobh; 03-06-2017 at 10:41 PM.

  8. #8
    Free User Stephano's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    433
    Reputation
    43
    Rep Power
    21
    Quote Originally Posted by diegobh View Post
    hello Stephano.

    Be default, this persistent is out of cavebotpersistent, *garkstal script

    When i put this on cavebot script, error is the same.

    when put this swords(gold token) skill going to 27, when the right is 127.

    edit: for default, i load script after loading caracther.

    When i use umbral weapons(1 or 2h) , utito persistent works normal.
    Seems the problem is with the gold token weapon. Maybe Lucas can check it out.

  9. #9
    Wind Powered diegobh's Avatar
    Join Date
    Feb 2014
    Posts
    34
    Reputation
    10
    Rep Power
    0

  10. #10
    Wind Powered diegobh's Avatar
    Join Date
    Feb 2014
    Posts
    34
    Reputation
    10
    Rep Power
    0
    @Garkstal when i sayed on your topic. it doesnt recognize the weapon. Maybe you have one action?ty

 

 

Posting Permissions

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