dorukanji 0 Posted November 28, 2016 Hey, is there a good way to condition to sleep while combining an inventory of items (eg. 8 Pot of Flour + 8 Water) without a sleepUntil all are combined? Thanks
DARN 0 Posted November 28, 2016 Why without a sleep until? That's what it was made for I think he wants like fast combining. Like e.g Lovakengj favour at zeah. You have to combine together. The most efficient way to do that, is by clicking quickly on two items, to combine them quicker, instead of having them slowly combine - I'm not too sure, I'm not that good of a coder
Cardozz 46 Posted November 28, 2016 Hey, is there a good way to condition to sleep while combining items (eg. Pot of Flour + Water) without a sleepUntil? Thanks sleep(int); or sleep(int, int); ?
dorukanji 0 Author Posted November 28, 2016 Sorry for the confusing post. Let me clarify. I'm doing slow combining a whole inventory, except, say I want to do something else while combining. What's a good way to make the condition... if (combining) then (do something) eg. if I want to check a different Tab while I'm combining I can imagine a crude way, which is counting the inventory from the last game tick, but wondering if there's a cleaner way.
dorukanji 0 Author Posted November 28, 2016 . Just add a normal if statement in the loop. How would I check if I am combining items?
Pandemic 2853 Posted November 28, 2016 . How would I check if I am combining items? getLocalPlayer().getAnimation() maybe?
dorukanji 0 Author Posted November 28, 2016 getLocalPlayer().getAnimation() maybe? Combining/mixing items doesn't have an animation. I think I'll use sleepUntil until I can think of a better idea.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.