Results 1 to 3 of 3

Thread: Change Weapon action with problem

  1. #1
    iBot User jcs1990's Avatar
    Join Date
    Jun 2012
    Location
    RS - Brasil
    Posts
    403
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    17 Post(s)
    Reputation
    2
    Rep Power
    0

    Question Change Weapon action with problem

    its not working, i saw only the bot pushing the strong weapon but not the other one for train
    so, whats wrong there?

    -- setup
    strongweapon = 'magic sword'
    trainweapon = 'spike sword'

    if maround(1, 'Monk') > 2 then moveitems(strongweapon, mainbp, weapon, 1) end
    wait(500)
    if maround(1, 'Monk') < 3 then moveitems(trainweapon, mainbp, weapon, 1) end


    ps: the bot try it, he searches the weapon in the backpack and he find it but he just dont push it
    ps2:i tried right now to use ID instead of name at setup, but happens same thing :/

    anyone got suggestions ?? thanks
    Last edited by jcs1990; 07-12-2012 at 04:08 PM. Reason: observation
    ex-NG user, ex-Elf user, ex-Neo user
    Blesses keep 110k, losses of death keep high, cipsoft keep with trash servers, then i keep botting
    Tibian since 2004, thanks for all histories and friends

    I helped? Rep + plz;
    Ajudei? Rep + plz

  2. #2
    iBot User Vigilante Alert's Avatar
    Join Date
    Jun 2012
    Posts
    218
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Quote Originally Posted by jcs1990 View Post
    its not working, i saw only the bot pushing the strong weapon but not the other one for train
    so, whats wrong there?

    -- setup
    strongweapon = 'magic sword'
    trainweapon = 'spike sword'

    if maround(1, 'Monk') > 2 then moveitems(strongweapon, mainbp, weapon, 1) end
    wait(500)
    if maround(1, 'Monk') < 3 then moveitems(trainweapon, mainbp, weapon, 1) end


    ps: the bot try it, he searches the weapon in the backpack and he find it but he just dont push it
    ps2:i tried right now to use ID instead of name at setup, but happens same thing :/

    anyone got suggestions ?? thanks
    same problem with this action

    local iTarget = "wyvern"
    local iWeapon = {default = "springsprout rod", elemental = "underworld rod"}

    if (target.name == iTarget and weapon ~= itemid(iWeapon.elemental)) then
    setlooting("no")
    wait(500)
    moveitems(iWeapon.elemental, "weapon", "all", 100)
    wait(1000)
    setlooting("yes")
    else
    if (weapon ~= itemid(iWeapon.default)) then
    setlooting("no")
    wait(500)
    moveitems(iWeapon.default, "weapon", "all", 100)
    wait(1000)
    setlooting("yes")
    end
    The action work, I helped you, so thank doing:
    Rep +
    A action funcionou, eu ajudei vc, então agradeça fazendo:
    Rep +
    Its to increase my reputation as helper.

  3. #3
    Normal User ToadZ's Avatar
    Join Date
    Jul 2012
    Location
    Tarantula Caves - Tiquanda
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    26
    Rep Power
    5
    Quote Originally Posted by Vigilante Alert View Post
    same problem with this action
    Yo, change:

    Code:
    local iTarget = "wyvern"
    To:

    Code:
    local iTarget = "Wyvern"
    Quote Originally Posted by jcs1990 View Post
    its not working, i saw only the bot pushing the strong weapon but not the other one for train
    so, whats wrong there?

    -- setup
    strongweapon = 'magic sword'
    trainweapon = 'spike sword'

    if maround(1, 'Monk') > 2 then moveitems(strongweapon, mainbp, weapon, 1) end
    wait(500)
    if maround(1, 'Monk') < 3 then moveitems(trainweapon, mainbp, weapon, 1) end


    ps: the bot try it, he searches the weapon in the backpack and he find it but he just dont push it
    ps2:i tried right now to use ID instead of name at setup, but happens same thing :/

    anyone got suggestions ?? thanks
    Code:
    moveitems(strongweapon, mainbp, "weapon", 1)
    Location of weapon is "weapon", weapon without "" is your actual weapon ID
    Last edited by ToadZ; 07-20-2012 at 12:09 PM.

Posting Permissions

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