- Joined
- Mar 22, 2015
- Messages
- 75
- Thread Author
- #1
I wrote a bot to make Anchovy pizza for me.
It kind of works...
Sometimes it mis-clicks and then eats things, or breaks in other scary ways.
Here's a video to showcase the problem
This is the code I'm using to make the pizzas
It kind of works...
Sometimes it mis-clicks and then eats things, or breaks in other scary ways.
Here's a video to showcase the problem
This is the code I'm using to make the pizzas
PHP:
SpriteItem anchovies = Inventory.getItems("Anchovies").first();
SpriteItem pizza = Inventory.getItems("Plain pizza").first();
anchovies.interact("Use");
Execution.delay(300, 500);
pizza.click();
Execution.delayUntil(() -> Interfaces.getLoaded(Interfaces.getTextEqualsFilter("Anchovy pizza")).first() != null, 500, 1000);
InterfaceComponent ic = Interfaces.getAt(309, 6);
if (ic != null)
ic.click();
Execution.delayUntil(() -> Players.getLocal().getAnimationId() == -1, 500, 1000);