Signup Now
Page 45 of 65 FirstFirst ... 35434445464755 ... LastLast
Results 441 to 450 of 650
  1. #441
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by Justx View Post
    up, @Raphael
    This is how I usually do it:

    while windowcount() ~= 4 do
    closewindows()

    open(0, 'back')
    waitping()

    openitem(...)
    waitping()

    openitem(...)
    waitping()
    end
    Last edited by Raphael; 07-25-2014 at 12:32 AM.

  2. #442
    Free User Justx's Avatar
    Join Date
    Jun 2014
    Posts
    192
    Reputation
    19
    Rep Power
    20
    Quote Originally Posted by Raphael View Post
    This is how I usually do it:

    while windowcount() ~= 4 then
    closewindows()

    open(0, 'back')
    waitping()

    openitem(...)
    waitping()

    openitem(...)
    waitping()
    end
    Thanks. windowscount() only count open containers? it does not count battle and skills window?

  3. #443
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by Justx View Post
    Thanks. windowscount() only count open containers? it does not count battle and skills window?
    Ye, only containers.

  4. #444
    Free User Justx's Avatar
    Join Date
    Jun 2014
    Posts
    192
    Reputation
    19
    Rep Power
    20
    Quote Originally Posted by Raphael View Post
    Ye, only containers.
    error in Action script wptid:3:
    [" while windowcount() ~= 4 then"]:Action: :9: 'do' expected near 'then'

    using this code:

    shouldUseDwarvenRing = true
    usedoor($wptx, $wpty+1, $wptz)

    -- Open backpack
    local lootBp = getlootingdestination('rare')
    local mainBp = getlootingdestination('main')
    local supBP = getlootingdestination('supplies')
    local goldBP = getlootingdestination('gold')

    while windowcount() ~= 4 then
    closewindows()
    open(0, 'back')
    resizewindows()
    wait(700,1000)
    openitem(goldBP, mainBp, 'opennew')
    resizewindows()
    wait(700,1000)
    openitem(supBP, mainBp, 'opennew')
    resizewindows()
    wait(700,1000)
    openitem(lootBp, mainBp, 'opennew')
    resizewindows()
    wait(700,1000)
    end

  5. #445
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by Justx View Post
    error in Action script wptid:3:
    [" while windowcount() ~= 4 then"]:Action: :9: 'do' expected near 'then'

    using this code:

    shouldUseDwarvenRing = true
    usedoor($wptx, $wpty+1, $wptz)

    -- Open backpack
    local lootBp = getlootingdestination('rare')
    local mainBp = getlootingdestination('main')
    local supBP = getlootingdestination('supplies')
    local goldBP = getlootingdestination('gold')

    while windowcount() ~= 4 then
    closewindows()
    open(0, 'back')
    resizewindows()
    wait(700,1000)
    openitem(goldBP, mainBp, 'opennew')
    resizewindows()
    wait(700,1000)
    openitem(supBP, mainBp, 'opennew')
    resizewindows()
    wait(700,1000)
    openitem(lootBp, mainBp, 'opennew')
    resizewindows()
    wait(700,1000)
    end
    My bad, it's while windowcount() ... do, not then.

  6. #446
    Free User Justx's Avatar
    Join Date
    Jun 2014
    Posts
    192
    Reputation
    19
    Rep Power
    20
    Th-th-thanks!

  7. #447
    Free User
    Join Date
    Dec 2013
    Posts
    162
    Reputation
    21
    Rep Power
    21
    Quote Originally Posted by Raphael View Post
    Yes, enable looting on both chars.
    Ya ended up just being a bug. One char had a loot bug twice and then i restarted the bot a third time and it worked!

  8. #448
    Free User
    Join Date
    Mar 2014
    Posts
    61
    Reputation
    10
    Rep Power
    21
    Quote Originally Posted by Raphael View Post
    I could try if you describe what it does.
    It drags items from dead bodies to backpacks

  9. #449
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by Simona View Post
    It drags items from dead bodies to backpacks
    http://forums.tibiawindbot.com/showt...ll=1#post74789

  10. #450
    Free User Kostek's Avatar
    Join Date
    Dec 2013
    Posts
    706
    Reputation
    77
    Rep Power
    22
    Hey, could you help me create a house depositor? I'm using Bug's Goroma SS and the backpacks in depot get filled very quickly.

    They way I used to do it on the other bot is I'd create 1 persistent that gets switched on in the house that makes sure that the char stands on the specific SQM before he starts throwing the loot.
    Then in the cavebot there would be the action that has all the items and the coordinates of the house tiles of where to throw the loot. I tried converting the one I had from ibot, but it didn't seem to work.
    Would be great if you could explain how to make one. Thanks

 

 

Posting Permissions

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