brnfhz

Results 5 comments of brnfhz

> Maybe you should wait for the window to open with the `windowOpen` event I tried it with `bot.on` but it still doesn't work, it may be because the slot...

> You should locate the item you want to click and pass `item.slot` to `windowOpen` Can you please elaborate?

I found the item with console.log and found that the slot is 11 (if there's a better way to find it tell me please), and it still didn't work, the...

> Try something like this (you can remove `await`'s if you want code to run more synced): > > ```js > bot.setQuickBarSlot(0); > bot.activateItem(); > await bot.waitForTicks(20); > > while...

Try to increase the allocated memory with -Xms2G -Xmx2G, set the number to the amount in gigabytes, and make sure that the Xmx is equal or higher than the Xms