XenoBot Forums - Powered by vBulletin

User Tag List

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35

Thread: I Came From Windbot

  1. #21
    Senior Member Trykon's Avatar
    Join Date
    Nov 2014
    Location
    UK
    Posts
    952
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by duuhduuh View Post
    Thanks!

    Another one.. Now in Depositer.. I`ll explain how I do in Windbot:

    Action:
    01. Open MainBP

    02. Open LootBP (And keep going through all other bps inside with same color until no more bps available to open.. I mean he open the LootBP to the last one even if no more items on it..)

    03. Open Depot Chest

    04. Open ONE backpack inside Depot Chest with another 20 backpacks (2 stack and 18 non-stack)

    05. Then he goes through the loot backpacks from end to the begining one by one until it gets to the MainBP taking each loot for it respective category (a=stack b=nonstack)

    Any idea how I can do this? Remember i`m playing in OTSERVER and I don`t have the new depot chest (with 16 (?) other depot - 1 for each city inside)
    That will be a longer script
    You need to:
    Reach depot (in build in walker)
    Open main bp
    Open loot bp
    Open depot chest
    Start loop:
    Open first stack bp and nonstack bp
    Throw items from lootbp to given bps until:
    There is no more items in loot bp or thete is only container, if so open it
    There is no more space in item or stack bp, if so, close it and open next bp of the dame color
    And do this until loot bp is not empty, or you have not enough space in bps id depot then break and disable walker just to be sure you are not going on hunt with these
    All my full afk scripts are accessible at:
    My thread
    My store
    My project
    Looking for RL Tibia testers - RP and EK scripts for FREE. Link to info.

  2. #22

    Join Date
    Jun 2013
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Trykon View Post
    That will be a longer script
    You need to:
    Reach depot (in build in walker)
    Open main bp
    Open loot bp
    Open depot chest
    Start loop:
    Open first stack bp and nonstack bp
    Throw items from lootbp to given bps until:
    There is no more items in loot bp or thete is only container, if so open it
    There is no more space in item or stack bp, if so, close it and open next bp of the dame color
    And do this until loot bp is not empty, or you have not enough space in bps id depot then break and disable walker just to be sure you are not going on hunt with these
    Damn! What if I use the Deposit Items built in? How it works? (Obviously he deposit items) kkkk but how? He uses one backpack or chest boxes?

  3. #23
    Senior Member Trykon's Avatar
    Join Date
    Nov 2014
    Location
    UK
    Posts
    952
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Probably will use stacked bps, just stack them properly, put first bp in chest for items and second for stacks, then make sure you have one bp in another and so on... this should work... but built in depositet doesnt open next bps in loot bp, so you would need to separate items from stacks and if there is constantly dropping item then it should even have separated bp
    All my full afk scripts are accessible at:
    My thread
    My store
    My project
    Looking for RL Tibia testers - RP and EK scripts for FREE. Link to info.

  4. #24

    Join Date
    Jun 2013
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Trykon View Post
    Probably will use stacked bps, just stack them properly, put first bp in chest for items and second for stacks, then make sure you have one bp in another and so on... this should work... but built in depositet doesnt open next bps in loot bp, so you would need to separate items from stacks and if there is constantly dropping item then it should even have separated bp
    Hmm i`ll think about it and try to sketch something.. Later i`ll post if work or not

  5. #25
    Senior Member Trykon's Avatar
    Join Date
    Nov 2014
    Location
    UK
    Posts
    952
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Next time i am available on saturday, as today i work evening and tomorrow double shift so i will only answer theou phone like today anyway
    All my full afk scripts are accessible at:
    My thread
    My store
    My project
    Looking for RL Tibia testers - RP and EK scripts for FREE. Link to info.

  6. #26

    Join Date
    Jun 2013
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm going well on doing my own scripts... But today I saw that sometimes my char doesn't resupply. He just say "hi, trade" then follow to the next waypoint. So I turn walker off > go for resupply label again and then he resupply correctly.. But i'm not watching 100% of time to see when he buy or not... Any idea?

    local HealthPOT = "Ultimate Spirit Potion"
    local HealthMAX = 150
    local HealthMIN = 50
    local HealthToBuy = math.abs(HealthMAX-Self.ItemCount(HealthPOT))

    local ManaPOT = "Strong Mana Potion"
    local ManaMAX = 400
    local ManaMIN = 100
    local ManaToBuy = math.abs(ManaMAX-Self.ItemCount(ManaPOT))

    elseif (labelName == "Resupply") then
    Walker.Stop() -- Wait if 5000 because I was trying to delay some to see if it works properly.
    Self.SayToNpc({"hi", "trade"}) wait(5000)
    Self.ShopBuyItem(HealthPOT, HealthToBuy)wait(5000)
    Self.SayToNpc({"bye", "hi", "trade"}) wait(5000) -- I used this way because sometimes he skips HealthPOT and buy only ManaPOT.
    Self.ShopBuyItem(ManaPOT, ManaToBuy) wait(5000)
    Walker.Start()

  7. #27
    Senior Member Trykon's Avatar
    Join Date
    Nov 2014
    Location
    UK
    Posts
    952
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    elseif(labelName == "BuyPots")then
    Walker.Stop()
    Self.SayToNpc("hi")
    wait(200,1000)
    Self.SayToNpc("trade")
    wait(200, 1000)
    Self.ShopBuyItemsUpTo(HpPot, HpMax)
    wait(200, 1000)
    Self.ShopBuyItemsUpTo(ManaPot, ManaMax)
    wait(1000)
    Walker.Start()

    this is my that I use
    All my full afk scripts are accessible at:
    My thread
    My store
    My project
    Looking for RL Tibia testers - RP and EK scripts for FREE. Link to info.

  8. #28

    Join Date
    Jun 2013
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. I'll try that!

  9. #29

    Join Date
    Jun 2013
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No way working. I tryed different times... Char say "hi, trade" and go out.
    Edit: LOL... Just told ya and worked!
    Last edited by duuhduuh; 10-07-2016 at 09:53 PM.

  10. #30
    Senior Member Trykon's Avatar
    Join Date
    Nov 2014
    Location
    UK
    Posts
    952
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    So you r ready to make full afk scripts?
    All my full afk scripts are accessible at:
    My thread
    My store
    My project
    Looking for RL Tibia testers - RP and EK scripts for FREE. Link to info.

Posting Permissions

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