XenoBot Forums - Powered by vBulletin

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Backpack Minimizer

  1. #11
    Senior Member Eion's Avatar
    Join Date
    Dec 2011
    Posts
    558
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Considering that making a LUA to minimize BP's needs very little skill, I doubt you have even tried. It really is not that difficult.

    What is so hard about this?

    lua code:

    GoldBp = "red backpack"

    Self.OpenMainBackpack(true)
    wait(750,1000)
    Container.GetFirst():OpenChildren(GoldBp)
    wait(300,800)
    Container.GetByName(GoldBp):Minimize()
    wait(200,400)

  2. #12
    Super Moderator Infernal Bolt's Avatar
    Join Date
    Dec 2011
    Location
    Skellefteċ, Sweden
    Posts
    2,880
    Mentioned
    217 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by Eion View Post
    Considering that making a LUA to minimize BP's needs very little skill, I doubt you have even tried. It really is not that difficult.
    you can even do it like this.
    lua code:

    GoldBp = "red backpack"
    Self.OpenMainBackpack(true):OpenChildren({GoldBp,true})

  3. #13
    Lifetime Subscriber Sspanky's Avatar
    Join Date
    Jan 2012
    Location
    Singapore
    Posts
    762
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Was just a suggestion that would have made my life easier, wasn't trying to say you couldn't do it with .lua
    Anyways, I have made my suggestion and thats that. Up to Darkstar whether or not it should be implemented.

    No Biggie either way
    @Eion Yes that may need very little skill but when you have no skill in the subject it's not so easy.



  4. #14
    Banned
    Join Date
    Sep 2013
    Location
    Poland
    Posts
    333
    Mentioned
    21 Post(s)
    Tagged
    0 Thread(s)
    Code:
    for i = 0, 15 do
    Container.Minimize(i) wait(500, 800)
    end

  5. #15

    Join Date
    Dec 2011
    Location
    New Zealand
    Posts
    152
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    If you cannot write it yourself, copy it from someone else lua file that knows what they are doing . Its not hard to identify the code that actually minimizes backpacks.
    A little practice goes a long way!

  6. #16

    Join Date
    Oct 2013
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What if it looks like this in the lua:

    Self.SayToNpc({"hi", "deposit all", "yes", "withdraw "..WA, "yes", "balance"}, 70, 5)
    sleep(math.random(700,900))
    resetBackpacks()
    setWalkerEnabled(true)

    Where do i put the Minimizer? Might be a stupid question but i really suck at this kinda things.

  7. #17
    Super Moderator Infernal Bolt's Avatar
    Join Date
    Dec 2011
    Location
    Skellefteċ, Sweden
    Posts
    2,880
    Mentioned
    217 Post(s)
    Tagged
    2 Thread(s)
    i'd change the backpack resetter out completely and make my own one.

  8. #18

    Join Date
    Mar 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thought similar

  9. #19

    Join Date
    Apr 2013
    Posts
    314
    Mentioned
    65 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by discontinued View Post
    What if it looks like this in the lua:

    Self.SayToNpc({"hi", "deposit all", "yes", "withdraw "..WA, "yes", "balance"}, 70, 5)
    sleep(math.random(700,900))
    resetBackpacks()
    setWalkerEnabled(true)

    Where do i put the Minimizer? Might be a stupid question but i really suck at this kinda things.
    Hi,

    resetBackpacks() is a function found somewhere in the script (usually after your walker label function at the end of the script). This is where you would find / edit the backpack opener to minimize them.

    Regards,
    O4T

  10. #20
    sudobudo's Avatar
    Join Date
    Jun 2012
    Posts
    34
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello, im edit lua mi self to minimise containers using Container:Minimize() and just minimise frist one, how can do for it minimise all?

Posting Permissions

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