Signup Now
Page 21 of 38 FirstFirst ... 11192021222331 ... LastLast
Results 201 to 210 of 378
  1. #201
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    Quote Originally Posted by Niices View Post
    -giant wall of text
    This script will not work anymore on client protocol 10.36, because the message types got shifted.

    Just use the HUD MonitorMyHunting.lua, it's way better, like @RoxZin xD said.

  2. #202
    Free User
    Join Date
    Jan 2014
    Location
    Poland
    Posts
    70
    Reputation
    10
    Rep Power
    24
    http://iv.pl/images/45982517396562384943.jpg

    http://iv.pl/images/97160719398434908803.jpg

    What i can with this? It is script for cyclops in ibot.
    Last edited by Technik; 03-06-2014 at 07:14 PM.

  3. #203
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    Quote Originally Posted by Technik View Post

    The original script had an error. Just change pcsay to npcsay

  4. #204
    Banned
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    48
    Reputation
    12
    Rep Power
    0
    @Lucas Terra
    This function is not working while converting from iBot
    Code:
    auto(800, 1000)
    --[[
        Name: Check Quick Loot by BlakW 
        Version: v1.0.0
        Status: Works
        TODO: 
    ]]--
    
    if (useQuickLoot == ("yes")) then
    	setsetting("Looting/LootingPolicy", "After melee kill")
    elseif (useQuickLoot == ("no")) then
    	setsetting("Looting/LootingPolicy", "After all dead")
    end

  5. #205
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    Quote Originally Posted by tryller View Post
    @Lucas Terra
    This function is not working while converting from iBot
    Code:
    auto(800, 1000)
    --[[
        Name: Check Quick Loot by BlakW 
        Version: v1.0.0
        Status: Works
        TODO: 
    ]]--
    
    if (useQuickLoot == ("yes")) then
    	setsetting("Looting/LootingPolicy", "After melee kill")
    elseif (useQuickLoot == ("no")) then
    	setsetting("Looting/LootingPolicy", "After all dead")
    end
    Thanks for reporting. I'll fix it.

  6. #206
    Banned
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    48
    Reputation
    12
    Rep Power
    0
    Quote Originally Posted by Lucas Terra View Post
    Thanks for reporting. I'll fix it.
    Now it's working thanks

  7. #207
    Free User
    Join Date
    Dec 2013
    Posts
    54
    Reputation
    10
    Rep Power
    24
    Quote Originally Posted by Lucas Terra View Post
    Am I supposed to guess what's wrong with the conversion?
    18:00:54 error in Persistent script Area by Soder:
    ["if target.id > 0 then"]:Area by Soder:64 attempt to index global 'target' (a nil value)

    ------------------------------------------------------------------------------------------------------------------------------------

    PHP Code:
    auto(8001000)
    if 
    maround_ib(7"Medusa""Serpent Spawn""Hydra") > 0
    then
    setsetting
    ("Persistent/Scripts/Area by Soder/Enabled","no")
    else
    setsetting("Persistent/Scripts/Area by Soder/Enabled","yes")
    end

    if $attacked.name == "Eternal Guardian" and maround_ib(7"Medusa""Serpent Spawn""Hydra") > 0
    then
    keyevent
    (0x1b)
    end

    if maround_ib(7"Medusa""Serpent Spawn""Hydra") > 0
    then
    setsetting
    ("Targeting/Creatures/Eternal Guardian*/Setting*/OnlyIfTrapped""yes")
    setsetting("Targeting/Creatures/Giant Spider*/Setting*/OnlyIfTrapped""yes")
    setsetting("Targeting/Creatures/Frost Dragon*/Setting*/OnlyIfTrapped""yes")
    setsetting("Targeting/Creatures/Acid Blob*/Setting*/OnlyIfTrapped""yes")

    else
    setsetting("Targeting/Creatures/Eternal Guardian*/Setting*/OnlyIfTrapped""no")
    setsetting("Targeting/Creatures/Giant Spider*/Setting*/OnlyIfTrapped""no")
    setsetting("Targeting/Creatures/Frost Dragon*/Setting*/OnlyIfTrapped""no")
    setsetting("Targeting/Creatures/Acid Blob*/Setting*/OnlyIfTrapped""no")
    end 

  8. #208
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    Quote Originally Posted by Filleman View Post
    18:00:54 error in Persistent script Area by Soder:
    ["if target.id > 0 then"]:Area by Soder:64 attempt to index global 'target' (a nil value)

    ------------------------------------------------------------------------------------------------------------------------------------

    PHP Code:
    auto(8001000)
    if 
    maround_ib(7"Medusa""Serpent Spawn""Hydra") > 0
    then
    setsetting
    ("Persistent/Scripts/Area by Soder/Enabled","no")
    else
    setsetting("Persistent/Scripts/Area by Soder/Enabled","yes")
    end

    if $attacked.name == "Eternal Guardian" and maround_ib(7"Medusa""Serpent Spawn""Hydra") > 0
    then
    keyevent
    (0x1b)
    end

    if maround_ib(7"Medusa""Serpent Spawn""Hydra") > 0
    then
    setsetting
    ("Targeting/Creatures/Eternal Guardian*/Setting*/OnlyIfTrapped""yes")
    setsetting("Targeting/Creatures/Giant Spider*/Setting*/OnlyIfTrapped""yes")
    setsetting("Targeting/Creatures/Frost Dragon*/Setting*/OnlyIfTrapped""yes")
    setsetting("Targeting/Creatures/Acid Blob*/Setting*/OnlyIfTrapped""yes")

    else
    setsetting("Targeting/Creatures/Eternal Guardian*/Setting*/OnlyIfTrapped""no")
    setsetting("Targeting/Creatures/Giant Spider*/Setting*/OnlyIfTrapped""no")
    setsetting("Targeting/Creatures/Frost Dragon*/Setting*/OnlyIfTrapped""no")
    setsetting("Targeting/Creatures/Acid Blob*/Setting*/OnlyIfTrapped""no")
    end 

    This script your posted doesn't even have a 'target' variable.

  9. #209
    Free User
    Join Date
    Feb 2014
    Posts
    135
    Reputation
    11
    Rep Power
    23
    Quote Originally Posted by Lucas Terra View Post
    This script will not work anymore on client protocol 10.36, because the message types got shifted.

    Just use the HUD MonitorMyHunting.lua, it's way better, like @RoxZin xD said.
    I figured it out, thank you Lucas

  10. #210
    Free User
    Join Date
    Dec 2013
    Posts
    54
    Reputation
    10
    Rep Power
    24
    Quote Originally Posted by Lucas Terra View Post
    This script your posted doesn't even have a 'target' variable.
    Could it be this one then?

    18:00:54 error in Persistent script Area by Soder:
    ["if target.id > 0 then"]:Area by Soder:64 attempt to index global 'target' (a nil value)

    -----------------------------------------------------------------------------------------------------------------------------------------

    PHP Code:
    --[[ CONFIG START ]]--
    RULES RULES or {
        {
            
    CREATURES CREATURES or {
            
    "Giant Spider",
            
    "Acid Blob",
            
    "Ice Golem",
            
    "Water Elemental",
            
            ,
                },
            
    SPELLS SPELLS or {
                 {
                 
    ATTACK "Exori Vis",
                 
    ENABLED true
                    
    HPPC 1
                    
    MIN_MOB 1
                    
    DIST 3,
                    
    CONSIDER_PLAYERS true,
                },
                {
                
    ATTACK "thunderstorm rune",
                    
    ENABLED true
                    
    HPPC 1
                    
    MIN_MOB 3
                    
    DIST 4,
                    
    CONSIDER_PLAYERS true,
                },
                {
                
    ATTACK "Exevo Gran Mas Vis",
                    
    ENABLED true
                    
    HPPC 1
                    
    MIN_MOB 5
                    
    DIST 4,
                    
    CONSIDER_PLAYERS true,
                },
            },
        },
        { 
            
    CREATURES CREATURES or {
            
    ""
                
    },
            
    SPELLS SPELLS or {
                {
                    
    ATTACK "exori flam",
                    
    ENABLED true
                    
    HPPC 0
                    
    MIN_MOB 2
                    
    DIST 3,
                    
    CONSIDER_PLAYERS false,
                },
            },
        },
    }
    --[[ 
    CONFIG END ]]--

    SCRIPT SCRIPT or {
        
    AUTHOR "soder",
        
    VERSION "1.0",
        
    NAME "Spell/Rune shooter",
    }

    -- DO 
    NOT TOUCH BELOW UNLESS YOU KNOW WHAT YOURE ACTUALLY DOING --
    AREA_RUNES AREA_RUNES or {"great fireball rune","stoneshower rune","avalanche rune","thunderstorm rune"}

    if 
    target.id 0 then
        
    for #RULES, 1, -1 do
            
    for #RULES[i].SPELLS, 1, -1 do
                
    if (RULES[i].SPELLS[j].ENABLED) and (table.find(RULES[i].CREATURES,target.name)) and (target.isshootablethen
                    
    if (target.dist <= RULES[i].SPELLS[j].DIST) and (itemcount(RULES[i].SPELLS[j].ATTACK) > 0) and (table.find(AREA_RUNES,RULES[i].SPELLS[j].ATTACK)) and (target.hppc >= RULES[i].SPELLS[j].HPPC) and (maround(5falseunpack(RULES[i].CREATURES)) >= RULES[i].SPELLS[j].MIN_MOB) and (not(RULES[i].SPELLS[j].CONSIDER_PLAYERS) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) then 
                        
    while (Self.CoolDown(SPELL_GROUP_ATTACK) == 0) and (itemcount(RULES[i].SPELLS[j].ATTACK) > 0) and (shootarearune(RULES[i].SPELLS[j].ATTACKRULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES))) do
                            
    shootarearune(RULES[i].SPELLS[j].ATTACKRULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES)) System.Wait(150200)
                            
    updateworld()
                        
    end
                        
    break
                    elseif (
    target.dist <= RULES[i].SPELLS[j].DIST) and not (table.find(AREA_RUNES,RULES[i].SPELLS[j].ATTACK)) and (target.hppc >= RULES[i].SPELLS[j].HPPC) and (maround(5falseunpack(RULES[i].CREATURES)) >= RULES[i].SPELLS[j].MIN_MOB) and (not(RULES[i].SPELLS[j].CONSIDER_PLAYERS) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) and (cancast(RULES[i].SPELLS[j].ATTACK)) then 
                        cast
    (RULES[i].SPELLS[j].ATTACK)
                        
    System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))
                        break
                    
    end
                end
            end
        end
    end 

 

 

Posting Permissions

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