Alek Posted June 12, 2015 Posted June 12, 2015 This update really experiments with some new functionality and attempts to correct some issues concerning evaluations. Although my previous update corrected EntityDestinations because they get transformed into PointDestinations (for visibility purposes), it left others (namely widgets) without a fix. Simply put, we create an "end point" by evaluation of an object's shape (it could be a simple rectangle or the outline of an NPC). When the mouse would move toward that end point, it would immediately return as soon as it hit the shape of the object instead of it reaching the destination. This update aims to patch this behavior by setting a threshold of the mouse distance to the destination instead of evaluating if we are inside the shape itself. This is a Development Build and will not be forced. With that said, I need as much input as possible. Please download this version from the new Control Panel sidebar: Changelog: -Patched InteractionEvent to accept null actions --If actions are null, the event will use the first action found -Improved Settings setRunning(boolean) failsafe -Deleted Chatbox isValid() method -Deprecated toggleRoofs(boolean) until it can be re-written -Deprecated areRoofsEnabled() until it can be re-written -Patched Trade "enter amount" dialogues -Confirmed Random Events are working -Patched MainScreenTileDestination null pointer in InteractionEvent -Improved speed of InteractionEvent --Issue with re-evaluation of points which have moved from EntityDestination conversions -Deprecated World class for internal use only -EXPERIMENTAL: Found a potential conflict between getting a suitable point and evaluation --Evaluation checked to see if mouse was inside a shape disregarding the endPoint (except PointDestination) --MoveMouseEvent checks if distance to endPoint is less than 2 instead of evaluation 14 June 2015 - 2.3.75 has been accepted as a Stable Build. -The OSBot Staff 12
RServiceGeeks Posted June 12, 2015 Posted June 12, 2015 (edited) 1st. 5 star 10/10 will check it out for you glad to see dev's trying new approaches, were gaining ground GL and GJ. Edited June 12, 2015 by RServiceGeeks
Kittens Posted June 12, 2015 Posted June 12, 2015 Secondie!!! Thanks for all your hard work Aleky ;) 1
Alek Posted June 12, 2015 Author Posted June 12, 2015 Niscu. Will mirror be updated anytime soon as well? This is an OSBot core update, the changes here affect mirror mode as well. 1
Framble Posted June 12, 2015 Posted June 12, 2015 This is an OSBot core update, the changes here affect mirror mode as well. You made me like core updates sir ;) Everything that can fix the ''shaking'' mouse problem when hovering over next object is highly appriciated. 1
kushad Posted June 13, 2015 Posted June 13, 2015 Well played... A different approach 5/5 Thank you devs
bdzero Posted June 13, 2015 Posted June 13, 2015 Sounds great, just as every update, lookin forward to try it out . 1