XenoBot Forums - Powered by vBulletin

User Tag List

Page 6 of 11 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 103

Thread: DarkstaR's Lua Scripts

  1. #51
    Technical Support jo3bingham's Avatar
    Join Date
    Dec 2010
    Posts
    697
    Mentioned
    107 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gaudi Gabriev View Post
    I was about to say the same. I remember you from WAY back. Old Tpforums/Tprogramming among others :P
    @Avani, this is the answer I was looking for. :P OLD TProgramming, like 7.4~ client.

  2. #52
    Gaudi Gabriev's Avatar
    Join Date
    Jun 2013
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jo3Bingham View Post
    @Avani, this is the answer I was looking for. :P OLD TProgramming, like 7.4~ client.
    You, Ian, Tawakol, DarkPallys, Turkiery (can never remember his true username). We where there since the beggining of TPR. Do you remember that bot?

    The North Remembers

  3. #53
    Technical Support jo3bingham's Avatar
    Join Date
    Dec 2010
    Posts
    697
    Mentioned
    107 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gaudi Gabriev View Post
    You, Ian, Tawakol, DarkPallys, Turkiery (can never remember his true username). We where there since the beggining of TPR. Do you remember that bot?
    Didn't Ian make TPR? TibiaGG was the first thing I ever remember using, haha, and Candy. I think Turkiye made Tibia Suite or something like that. TP is still up, mostly just leechers and wanna-be, copy-and-paste, amateur programmers, but a few of us still check around every once in a while. http://www.tpforums.org/

  4. #54
    Gaudi Gabriev's Avatar
    Join Date
    Jun 2013
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jo3Bingham View Post
    Didn't Ian make TPR? TibiaGG was the first thing I ever remember using, haha, and Candy. I think Turkiye made Tibia Suite or something like that. TP is still up, mostly just leechers and wanna-be, copy-and-paste, amateur programmers, but a few of us still check around every once in a while. http://www.tpforums.org/
    Yeah, I know. I still check it every once in a while but since I am no programer I almost never comment.
    Ian did make TPR. I also started when GG started, that autofishing ruled. I remember using most of the bots that where posted in there (the good ones, ofc).

    The North Remembers

  5. #55

    Join Date
    May 2013
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    ​Loot Sorter

    First of all, I would like to thank @Rydan. I used his item list from his loot sorter. The main difference between my sorter and his is that mine sorts to open backpacks.

    Currently, the sorter only supports sorting between blue djinn, green djinn, rashid and "other" items. Adding more sortability is as easy as specifying an item list and a backpack title. To operate the script, you must first open a brocade backpack which has your loot in it (nest backpacks inside of it). Then, open blue, green, orange and yellow backpacks. Each of these should have a few nested backpacks as well - they will be opened once their parent is full.

    Here's a video of the script in action:








    lua code:
    MerchantsAndItems =
    {
    BlueDjinn = {"Magic Light Wand", "Orb", "Wand of Cosmic Energy", "Wand of Decay", "Wand of Draconia", "Wand of Dragonbreath", "Wand of Inferno", "Wand of Starstorm", "Wand of Voodoo", "Wand of Vortex", "Angelic Axe", "Blue Robe", "Bonelord Shield", "Boots of Haste", "Broadsword", "Butcher's Axe", "Crown Armor", "Crown Helmet", "Crown Legs", "Crown Shield", "Crusader Helmet", "Dragon Lance", "Dragon Shield", "Earth Spike Sword", "Earth War Hammer", "Energy Spike Sword", "Energy War Hammer", "Fiery Spike Sword", "Fiery War Hammer", "Fire Axe", "Fire Sword", "Glorious Axe", "Guardian Shield", "Ice Rapier", "Icy Spike Sword", "Icy War Hammer", "Noble Armor", "Obsidian Lance", "Queen's Sceptre", "Royal Helmet", "Shadow Sceptre", "Spike Sword", "Thaian Sword", "War Hammer"},
    GreenDjinn = {"Ancient Shield", "Black Shield", "Bonebreaker", "Dark Armor", "Dark Helmet", "Dragon Hammer", "Dreaded Cleaver", "Earth Knight Axe", "Energy Knight Axe", "Fiery Knight Axe", "Giant Sword", "Haunted Blade", "Icy Knight Axe", "Knight Armor", "Knight Axe", "Knight Legs", "Mystic Turban", "Onyx Flail", "Poison Dagger", "Scimitar", "Serpent Sword", "Skull Staff", "Strange Helmet", "Titan Axe", "Tower Shield", "Vampire Shield", "Warrior Helmet", "Hailstorm Rod", "Moonlight Rod", "Mysterious Fetish", "Necrotic Rod", "Northwind Rod", "Snakebite Rod", "Springsprout Rod", "Strange Talisman", "Terra Rod", "Underworld Rod"},
    Rashid = {"Abyss Hammer", "Amber Staff", "Ancient Amulet", "Assassin Dagger", "Bandana", "Beastslayer Axe", "Beetle Necklace", "Berserker", "Blacksteel Sword", "Blessed Sceptre", "Bone Shield", "Bonelord Helmet", "Brutetamer's Staff", "Castle Shield", "Chaos Mace", "Coconut Shoes", "Composite Hornbow", "Cranial Basher", "Crocodile Boots", "Crystal Mace", "Crystal Necklace", "Crystal Ring", "Crystal Sword", "Crystalline Armor", "Daramanian Mace", "Daramanian Waraxe", "Dark Shield", "Death Ring", "Demon Shield", "Demonbone Amulet", "Demonrage Sword", "Devil Helmet", "Diamond Sceptre", "Doll", "Dragon Scale Mail", "Dragon Slayer", "Dragonbone Staff", "Dreaded Cleaver", "Earth Cranial Basher", "Earth Dragon Slayer", "Earth Heroic Axe", "Earth Mystic Blade", "Earth Relic Sword", "Earth War Axe", "Elvish Bow", "Emerald Bangle", "Energy Cranial Basher", "Energy Dragon Slayer", "Energy Heroic Axe", "Energy Mystic Blade", "Energy Relic Sword", "Energy War Axe", "Epee", "Fiery Cranial Basher", "Fiery Dragon Slayer", "Fiery Heroic Axe", "Fiery Mystic Blade", "Fiery Relic Sword", "Fiery War Axe", "Flower Dress", "Flower Wreath", "Fur Boots", "Furry Club", "Glacier Amulet", "Glacier Kilt", "Glacier Mask", "Glacier Robe", "Glacier Shoes", "Gold Ring", "Golden Armor", "Golden Legs", "Guardian Halberd", "Hammer of Wrath", "Heavy Mace", "Heavy Machete", "Heavy Trident", "Heroic Axe", "Hibiscus Dress", "Icy Cranial Basher", "Icy Dragon Slayer", "Icy Heroic Axe", "Icy Mystic Blade", "Icy Relic Sword", "Icy War Axe", "Jade Hammer", "Krimhorn Helmet", "Leaf Legs", "Leopard Armor", "Leviathan's Amulet", "Light Shovel", "Lightning Boots", "Lightning Headband", "Lightning Legs", "Lightning Pendant", "Lightning Robe", "Lunar Staff", "Magic Plate Armor", "Magma Amulet", "Magma Boots", "Magma Coat", "Magma Legs", "Magma Monocle", "Mammoth Fur Cape", "Mammoth Fur Shorts", "Mammoth Whopper", "Mastermind Shield", "Medusa Shield", "Mercenary Sword", "Mystic Blade", "Naginata", "Nightmare Blade", "Noble Axe", "Norse Shield", "Orcish Maul", "Paladin Armor", "Pirate Boots", "Pirate Hat", "Pirate Knee Breeches", "Pirate Shirt", "Pirate Voodoo Doll", "Platinum Amulet", "Ragnir Helmet", "Relic Sword", "Ring of the Sky", "Ruby Necklace", "Ruthless Axe", "Sacred Tree Amulet", "Sapphire Hammer", "Scarab Amulet", "Scarab Shield", "Shockwave Amulet", "Silver Brooch", "Silver Dagger", "Skull Helmet", "Skullcracker Armor", "Spiked Squelcher", "Steel Boots", "Swamplair Armor", "Taurus Mace", "Terra Amulet", "Terra Boots", "Terra Hood", "Terra Legs", "Terra Mantle", "The Justice Seeker", "Tortoise Shield", "Vile Axe", "Voodoo Doll", "War Axe", "War Horn", "Witch Hat", "Wyvern Fang"},
    }

    BackpacksToSortTo =
    {
    BlueDjinn = "Blue Backpack",
    GreenDjinn = "Green Backpack",
    Rashid = "Orange Backpack",
    Others = "Yellow Backpack",
    Main = "Brocade Backpack"
    }

    function itemMoveHelper(contFrom, fromSpot, contTo)

    print("Moving from %s spot %d to %s", contFrom:Name(), fromSpot, contTo:Name())
    if (contTo:ItemCount() == contTo:ItemCapacity()) then --opens the next container
    local openAt = contTo:ItemCount() - 1
    if (Item.isContainer(contTo:GetItemData(openAt).id)) then
    contTo:UseItem(openAt, true)
    wait(1500)
    else
    print("No more room for items in %s. Please fix the problem and restart the script.", contTo:Name())
    wait(99999999)
    end
    end

    contFrom:MoveItemToContainer(fromSpot, contTo:Index(), contTo:ItemCapacity() - 1)
    end

    function itemFound(nameTable, itemId)
    local itemName = string.upper(Item.GetName(itemId))
    for _, name in pairs(nameTable) do
    if (itemName == string.upper(name)) then
    return true
    end
    end

    return false
    end

    local error = false
    local backpacks = {}
    for merchant, bpName in pairs(BackpacksToSortTo) do
    backpacks[merchant] = Container.GetByName(bpName)
    if (not backpacks[merchant]:isOpen()) then
    error = true
    print("You must open a %s as your %s backpack. Please fix the problem and restart the script.", bpName, merchant)
    break
    end
    end

    if (not error) then
    repeat

    while (backpacks["Main"]:ItemCount() > 0) do
    local item = backpacks["Main"]:GetItemData(0)

    if (Item.isContainer(item.id) and backpacks["Main"]:ItemCount() == 1) then --open next backpack of loot
    backpacks["Main"]:UseItem(backpacks["Main"]:ItemCount()-1, true)
    wait(1000)
    break
    else --move it the loot
    local foundBp = backpacks["Others"]
    for merchant, _ in pairs(MerchantsAndItems) do
    if (itemFound(MerchantsAndItems[merchant], item.id)) then
    foundBp = backpacks[merchant]
    break
    end
    end

    itemMoveHelper(backpacks["Main"], 0, foundBp)
    wait(500, 900)
    end
    end
    until (backpacks["Main"]:ItemCount() == 0)
    end
    Sweet script bro, I'm editing it for creature products, could you please tell me what to do so that it drags ALL 1-100 creature product items occupying each slot instead of one at a time =)

  6. #56
    Banned
    Join Date
    Jan 2013
    Posts
    386
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Really nice with the loot sorter, however i wish from the yellow backpack it could be a new loot sorterer that sorts the warzones/esrik/yasir loot as well.

  7. #57

    Join Date
    Nov 2013
    Location
    Poland
    Posts
    176
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    hiho, How i can do to mamalize bps in this script:
    elseif (labelName == "bpOpen") then
    Walker.Stop()
    Self.CloseContainers()
    wait(900,1000)
    Self.OpenMainBackpack():OpenChildren(BP_GOLD, BP_LOOT)
    Walker.Start()
    end
    end

    Ty for help
    Be care

  8. #58

    Join Date
    Feb 2013
    Posts
    33
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi guys, could someone help me? how can I do to make the "loot sorter" sort the loot from the inbox? or how to set the "inbox" as "main bp"?
    Thank you very much in advance,
    Markus

  9. #59

    Join Date
    Aug 2013
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello
    I'm having a little trouble with exori ico / hur / exori / gran script.
    Basically script works fine but sometimes my knight leaves monster at red hp or simply doesn't start to attack monster with full hp and runs further.

    Here is the exact script i'm using:

    http://pastebin.com/YdLDtL4h

    I also tried that with all monsters listed after attack = {{"monster1", "monster2"}}
    and with ..... ignoreparty=true, targetList={"monster1", "monster2"}
    Is there any solution to this problem ?

  10. #60

    Join Date
    Nov 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, Im looking for a script that will start using stone skin amulets when attacked by PK, any chance this is possible?

Posting Permissions

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