I would really rather not post the code as this is the method i'm currently running but the script i made breaks working I put it into low cpu mode. It isnt something that needs a high frame rate to run but it really just will continuously hop worlds when on low cpu (its a shop buyer) it tries to open the shop but then it just hops worlds. are there any known issues with low cpu mode with known or unknown fixes?
Edit:here is the code of the buy method i made
NPC buyGuy = npcs.closest(here is the npc);
if(buyGuy != null && buyGuy.exists()) {
buyGuy.interact("Trade");
Sleep.sleepUntil(() -> store.isOpen(), 20000); //after rerererereading the code i have a feeling it is something to do with me do store.isOpen() here any ideas on what it should be
try {
sleep(random(100, 590));
sleep(random(132, 459));
getStore().buy("item", 10);
sleep(random(9, 898));
getStore().close();
Sleep.sleepUntil(() -> getStore().close(), 4000);
sleep(random(1000,2345));
if(!inventory.isFull())
getWorlds().hop(nextWorldInOrder(true));
sleep(random(100, 1523));