Results 1 to 6 of 6

Thread: Bug Em Itens e Vetores

  1. #1
    Normal User
    Join Date
    Mar 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Bug Em Itens e Vetores

    Parece que o iBot nao identifica corretamente alguns itens, ou o problema está no vetor...
    Tenho um script com a lista de itens de criaturas e preços pra mostrar no HUD. Assim

    Lista de Itens
    PHP Code:
    local LootItems = {"Gold Coin""Platinum Coin",  "Acorn""Ancient Stone""Antlers""Ape Fur""Badger Fur""Bamboo Stick""Banana Sash""Basalt Fetish""Basalt Figurine""Bat Wing""Battle Stone""Bear Paw""Behemoth Claw""Black Hood""Black Wool""Blazing Bone""Blood Preservation""Bloody Dwarven Beard""Bloody Pincers""Boggy Dreads""Bola""Bone Shoulderplate""Bonecarving Knife""Bonefetish""Bonelord Eye""Bony Tail""Book of Necromantic Rituals""Book of Prayers""Brimstone Fangs""Brimstone Shell""Broken Crossbow""Broken Draken Mail""Broken Gladiator Shield""Broken Halberd""Broken Helmet""Broken Key Ring""Broken Shamanic Staff""Broken Slicer""Broken Throwing Axe""Bunch of Ripe Rice""Bunch of Troll Hair""Bundle of Cursed Straw""Carniphila Seeds""Carrion Worm Fang""Cat's Paw""Cavebear Skull""Centipede Leg""Cheese Cutter""Cheesy Figurine""Claw of 'The Noxious Spawn'""Cliff Strider Claw""Coal""Cobra Tongue""Colourful Feather""Compass""Compound Eye""Corrupted Flag""Countess Sorrow's Frozen Tear""Crab Pincers""Crawler Head Plating""Crystalline Spikes""Cultish Mask""Cultish Robe""Cultish Symbol""Cursed Shoulder Spikes""Cyclops Toe""Damselfly Eye""Damselfly Wing""Dark Rosary""Deepling Breaktime Snack""Deepling Claw""Deepling Guard Belt Buckle""Deepling Ridge""Deepling Scales""Deepling Warts""Deeptags""Demon Dust""Demon Horn""Demonic Essence""Demonic Finger""Demonic Skeletal Hand""Dirty Turban""Downy Feather""Dracola's Eye""Dragon Claw""Dragon Priest's Wandtip""Dragon's Tail""Draken Sulphur""Draken Wristbands""Draptor Scales""Dung Ball (Quest)""Earflap""Egg of The Many""Elder Bonelord Tentacle""Elven Astral Observer""Elven Scouting Glass""Elvish Talisman""Energy Soil""Essence of a Bad Dream""Eternal Flames""Eye of a Deepling""Eye of a Weeper""Eye of Corruption""Fiery Heart""Fish Fin""Flask of Embalming Fluid""Flawless Ice Crystal""Flintstone""Frost Giant Pelt""Frosty Ear of a Troll""Frosty Heart""Gauze Bandage""Gear Crystal""Gear Wheel""Geomancer's Robe""Geomancer's Staff""Ghastly Dragon Head""Ghostly Tissue""Ghoul Snack""Giant Crab Pincer""Giant Eye""Girlish Hair Decoration""Gland""Glimmering Soil""Glob of Acid Slime""Glob of Mercury""Glob of Tar""Goblin Ear""Green Dragon Leather""Green Dragon Scale""Hair of a Banshee""Half-Digested Piece of Meat""Half-Eaten Brain""Hardened Bone""Haunted Piece of Wood""Heaven Blossom""Hellhound Slobber""Hellspawn Tail""Hideous Chunk""High Guard Flag""High Guard Shoulderplates""Hollow Stampor Hoof""Holy Ash""Holy Orchid""Honeycomb""Humongous Chunk""Hunter's Quiver""Hydra Egg""Hydra Head""Iced Soil""Jewelled Belt""Key to the Drowned Library""Kollos Shell""Kongra's Shoulderpad""Lancer Beetle Shell""Legionnaire Flags""Lion's Mane""Lizard Essence""Lizard Leather""Lizard Scale""Lost Basher's Spike""Lost Bracers""Lost Husher's Staff""Luminous Orb""Lump of Dirt""Lump of Earth""Mad Froth""Magma Clump""Mammoth Tusk""Mantassin Tail""Marsh Stalker Beak""Marsh Stalker Feather""Maxilla""Metal Spike""Midnight Shard""Mind Stone""Minotaur Horn""Minotaur Leather""Miraculum""Mother Soil""Mr. Punish's Handcuffs""Mutated Bat Ear""Mutated Flesh""Mutated Rat Tail""Mystical Hourglass""Nail""Natural Soil""Necromantic Robe""Nettle Blossom""Nettle Spit""Noble Turban""Orc Leather""Orc Tooth""Orcish Gear""Orshabaal's Brain""Panther Head""Panther Paw""Pelvis Bone""Perfect Behemoth Fang""Petrified Scream""Piece of Archer Armor""Piece of Crocodile Leather""Piece of Dead Brain""Piece of Hellfire Armor""Piece of Massacre's Shell""Piece of Scarab Shell""Piece of Swampling Wood""Piece of Warrior Armor""Pig Foot""Pile of Grave Earth""Poison Spider Shell""Poisonous Slime""Polar Bear Paw""Protective Charm""Pulverized Ore""Pure Energy""Purple Robe""Quara Bone""Quara Eye""Quara Pincers""Quara Tentacle""Rabbit's Foot""Red Dragon Leather""Red Dragon Scale""Red Hair Dye""Rope Belt""Rotten Piece of Cloth""Sabretooth""Safety Pin""Sandcrawler Shell""Scale of Corruption""Scarab Pincers""Scorpion Tail""Scroll of Heroic Deeds""Scythe Leg""Sea Serpent Scale""Shaggy Tail""Shamanic Hood""Shard""Shiny Stone""Silky Fur""Skull Belt""Skull Shatterer""Skunk Tail""Small Flask of Eyedrops""Small Notebook""Small Pitchfork""Snake Skin""Soul Orb""Spellsinger's Seal""Spider Fangs""Spider Silk""Spidris Mandible""Spiked Iron Ball""Spitter Nose""Spooky Blue Eye""Stampor Horn""Stampor Talons""Stone Nose""Stone Wing""Strand of Medusa Hair""Striped Fur""Sulphurous Stone""Swamp Grass""Swampling Moss""Swarmer Antenna""Tail of Corruption""Tarantula Egg""Tattered Piece of Robe""Tentacle Piece""Terramite Legs""Terramite Shell""Terrorbird Beak""The Handmaiden's Protector""The Imperor's Trident""The Plasmother's Remains""Thick Fur""Thorn""Trollroot""Turtle Shell""Tusk""Undead Heart""Unholy Bone""Vampire Dust""Vampire Teeth""Vein of Ore""War Crystal""Warmaster's Wristguards""Warwolf Fur""Waspoid Claw""Waspoid Wing""Weaver's Wandtip""Werewolf Fur""White Deer Antlers""White Deer Skin""Widow's Mandibles""Wimp Tooth Chain""Winged Tail""Winter Wolf Fur""Witch Broom""Wolf Paw""Wood""Wool""Wyrm Scale""Wyvern Talisman""Yielocks""Yielowax""Zaogun Flag""Zaogun Shoulderplates"
    Lista de Preçoes (Verificado e Ordem está igual aos itens acima)
    PHP Code:
    local LootPrice = {1100102005012015305521016050290100200019030061032011010020025150190150802101801203802103034018010020800035120230753080050352000550285015015000800201511045150700500003521044028015050032055252048904302303608018029030010001000100080120205000080001751005504308001304015000150905045200036050001506503903751503050008001603028090200500801207009060950380305002000252030201001003505585701155050047551055013040016090405408050060020001803304201008050060300150120280140250100010130805701002806550250320100017075806050005000042050150700102000250752543030150851200075030030250250201542055050000453050102510503060400500011050035041014050200200406630400120206802802523045052025452000500358017050954807040025280101004501003409528015059012060050100202013024080120500060170955000050000500001501005090100200480100275330460200303201902503804002451101208002060705015400265600600600150
    Action pra mostrar no HUD
    PHP Code:
       setfontcolor("white"
       
    addtext('-----------------------------------------'0y
       
    setfontcolor("yellow"
       
    10 
       addtext
    ('         [ Items Looted ]'15y
       
    10 
       setfontcolor
    ("white"
       
    addtext('-----------------------------------------'0y
       
    setfontcolor("white"
       
    10 
       local loots 
    getitems(unpack(LootItems)) 
       
    local qtdl loots.count-
       
    for i=0,qtdl do 
          if (
    loots[i].loot 0then 
             
    if (string.len(loots[i].name) > 17then 
                addtext
    (string.sub((loots[i].name), 1sub).."..."xy
             else 
                
    addtext(loots[i].namexy
             
    end 
             addtext
    ("- "..loots[i].loot.." ("..(math.floor(loots[i].loot*LootPrice[i+1] / 100)/10).."k)"120y
             
    totall totall loots[i].loot*LootPrice[i+1
             
    15 
          end 
       end 
       addtext
    ("Total"xy
       
    addtext("-"120y
       
    addtext(totall.." GPs"130y
       
    10 
    O problema é que o ibot não "acha corretamente" as posições do vetor por que ele mostra os preços errados em alguns itens! (não está errado o vetor criado por que eu ja verifiquei a ordem e tamanho tres vezes).
    Verifica por favor...
    Last edited by caioedut; 12-14-2012 at 11:29 AM.

  2. #2
    Normal User
    Join Date
    Mar 2012
    Location
    www.lucksstore.com
    Posts
    966
    Mentioned
    17 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    24 Post(s)
    Reputation
    59
    Rep Power
    6
    basta você usa a hud do sirmate..

    usando bot free use ? o.o

    http://www.tibiaibot.com/forum/showt...Library-v1-1-1


    Vendo Tibia coin a 34,00 reais cada 250
    Entre em contato via facebook Link na foto acima

  3. #3
    Normal User
    Join Date
    Mar 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    O script é pro meu amigo, eu parei de jogar tibia faz uns meses.
    E me explica sobre esse arquivo ai que vc postou...

  4. #4
    Normal User
    Join Date
    Mar 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    algum moderador por favor?!!???!?!?

  5. #5
    iBot User Pifafa's Avatar
    Join Date
    Jul 2012
    Posts
    149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    11
    Rep Power
    5
    Free use .... .........
    Não deixa de visitar!
    Projeto Alpha

    Comprei muitos fazendo isso e está dando certo, caso queira tenta!
    Ganhando dólar, pra compra Script

    Compro Char Veja já!

  6. #6
    Normal User
    Join Date
    Mar 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    algum moderador por favor?!!???!?!?

Posting Permissions

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