- Joined
- Jun 8, 2017
- Messages
- 184
- Thread Author
- #1
Bug & Question:
I use a lot of code that looks somewhat like this:
This works great most of the time but I have run into a problem:
When not playing on fixed modus the bot will try to click the object that is behind the mini map and fail. The camera doesn't turn to an angle where it would be visible because it thinks it is already visible and the bot gets stuck.
Ex: if the bot would try to go up the ladder in lumbridge in this situation
Imgur: The most awesome images on the Internet
Is there any work around to force the movement of the camera to an angle where it is able to interact with the object if the object is behind the mini map?
I use a lot of code that looks somewhat like this:
if (!BankChest.isVisible()) {
Camera.turnTo(BankChest);
Execution.delayUntil(BankChest::isVisible, 100, 5000);
}
Camera.turnTo(BankChest);
Execution.delayUntil(BankChest::isVisible, 100, 5000);
}
This works great most of the time but I have run into a problem:
When not playing on fixed modus the bot will try to click the object that is behind the mini map and fail. The camera doesn't turn to an angle where it would be visible because it thinks it is already visible and the bot gets stuck.
Ex: if the bot would try to go up the ladder in lumbridge in this situation
Imgur: The most awesome images on the Internet
Is there any work around to force the movement of the camera to an angle where it is able to interact with the object if the object is behind the mini map?