dorukanji 0 Share 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 Link to comment Share on other sites More sharing options...
Pandemic 2703 Share Posted November 28, 2016 Why without a sleep until? That's what it was made for Link to comment Share on other sites More sharing options...
DARN 0 Share 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 Link to comment Share on other sites More sharing options...
Cardozz 46 Share 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); ? Link to comment Share on other sites More sharing options...
dorukanji 0 Author Share 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. Link to comment Share on other sites More sharing options...
Pandemic 2703 Share Posted November 28, 2016 Just add a normal if statement in the loop. Link to comment Share on other sites More sharing options...
dorukanji 0 Author Share Posted November 28, 2016 . Just add a normal if statement in the loop. How would I check if I am combining items? Link to comment Share on other sites More sharing options...
Pandemic 2703 Share Posted November 28, 2016 . How would I check if I am combining items? getLocalPlayer().getAnimation() maybe? Link to comment Share on other sites More sharing options...
dorukanji 0 Author Share 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. Link to comment Share on other sites More sharing options...
dorukanji 0 Author Share Posted November 28, 2016 Thanks everyone Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.