PDA

View Full Version : Backpack Minimizer



Sspanky
01-09-2014, 06:38 PM
Would be nice to have an option in "Tools" to minimize your backpacks.
I use alot of free scripts and it seems backpacks are the main problem with them haha (they dont resize and you end up closing one or 2 backpacks when you loot)
A backpack minimizer would help alot me thinks :)

astrio123
01-09-2014, 10:01 PM
You can either use Container:Minimize() or Container.Minimize() to minimize containers.
Edit the .lua files yourself.Not everyone knows how to edit or even script in .lua, it would been much easier to just make a option in tools to minimize backpacks as Sspanky said above.

Sspanky
01-09-2014, 10:29 PM
Not everyone knows how to edit or even script in .lua, it would been much easier to just make a option in tools to minimize backpacks as Sspanky said above.

Yep im one of those that know nothing about scripting. Im sure there are a ton more like me too haha

Eion
01-10-2014, 02:26 AM
Or you guys could take the time to learn.

astrio123
01-10-2014, 06:25 AM
Or you guys could take the time to learn.One reason that ppl bot is because you dont have the TIME.

Eion
01-10-2014, 06:32 AM
You don't need much time if you have intelligence.

Austen
01-10-2014, 07:19 AM
You don't need much time if you have intelligence.

Amen to that! Haha

Sspanky
01-10-2014, 09:21 AM
You don't need much time if you have intelligence.

I'm an Engineer/Inspector so I don't think i'm stupid, but I'm not great with all things IT.
My post was just a suggestion that would make my life (and probably a few others) easier.

evultoad
01-10-2014, 10:47 AM
will Container.Minimize() minimise all BP's or do you have to specify which ones?

astrio123
01-10-2014, 12:07 PM
I'm an Engineer/Inspector so I don't think i'm stupid, but I'm not great with all things IT.
My post was just a suggestion that would make my life (and probably a few others) easier.You took the words from my mouth.

Eion
01-10-2014, 01:02 PM
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?


GoldBp = "red backpack"

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

Infernal Bolt
01-10-2014, 01:20 PM
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.

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

Sspanky
01-10-2014, 04:00 PM
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.

hugo999
01-10-2014, 05:34 PM
for i = 0, 15 do
Container.Minimize(i) wait(500, 800)
end

Austen
01-10-2014, 11:30 PM
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!

discontinued
02-19-2014, 01:43 PM
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.

Infernal Bolt
02-19-2014, 02:15 PM
i'd change the backpack resetter out completely and make my own one.

vanoron4
03-08-2014, 06:18 AM
thought similar

only4tibia
03-10-2014, 07:12 PM
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

sudobudo
03-01-2015, 01:17 AM
Hello, im edit lua mi self to minimise containers using Container:Minimize() and just minimise frist one, how can do for it minimise all?

Fatality
03-01-2015, 01:46 AM
When you open backpack just add ",true" after it.
example.
Self.OpenMainBackpack(true):OpenChildren({BPID, true}

demodra9
06-09-2015, 09:16 PM
spanky for prez <3 Feng