This release is a QoL (quality of life) update that ranges a small but broad spectrum. Below is a quick Q&A of common issues/questions as it pertains to interactions.
Q: What does the inventory mis-click handler do?
A: The inventory mis-click handler was re-worked this update to only handle destinations that are the same. This means that the event will automatically return as completed if your inventory destination is the same as the selected item in your inventory.
Q: Will the inventory mis-click handler deselect my items?
A: Not anymore, the scripter will have to account for all inventory situations except for the event described above.
Q: InteractionEvent is telling me "Using InteractionEvent Safety Override!". What does this mean?
A: According to the API Docs, it means that you are trying to interact with an entity which is not visible and is outside both the cameraThreshold and walkingThreshold. When the safety override is set, it ignores these thresholds. By default:
cameraThreshold = 8
walkingThreshold = 24
You may alter these thresholds or the safety override, please refer to the API Docs.
Changelog:
-Inventory mis-click handler now only checks if destinations match
-Added Menu method selectAction(String action)
-Updated LogoutTab to grab interfaces dynamically
-Removed Combat method getAttackStyle()
-Updated Combat deprecated methods to execute new methods, always returns false (this class will be undergoing some changes soon)
Have a great Sunday,
-The OSBot Staff