Alek Posted February 10, 2018 Share Posted February 10, 2018 This version is intended for scripters/script writers to update their scripts prior to the stable release on Tuesday, 13 February 2018. Do NOT download this version if you are a botter. Download Link: Click here Please ensure you compile your scripts against this version, your scripts will most likely break on the Stable release date if you do not do this. The API Docs have been updated, please read them! Changelog: [Major] Complete overhaul of mouse/key listener system -Fixes issue with "clicking with input disabled" -Fixes StackOverflow with mouse wheel Bot addMouseListener now accepts BotMouseListener instead of MouseListener Added BotKeyListener Added Bot addKeyListener(BotKeyListener) Prevented adding listeners to WrappedCanvas Updated BotMouseListener API docs [Minor] Updated client UI to look similar on both Nix/Windows Fixed proxy list adding null host/port bug Patched exception on creating local files first time Patched error on first time webwalking download Removed Combat getCombatLevel() -Duplicate method, myPlayer().getCombatLevel() Removed Mouse isWithinCanvas() -Duplicate method, Mouse isOnScreen() Removed ItemContainer getAmount(List<Item>) -Doesnt match ItemContainer continuity, largely unused Removed Skills hoverSkill() -Relied on static interface id, used purely for antiban Removed experience tracking from script executor -Unused by scripts on the SDN -Removed Bot getLastGainedXPTimeThreshold() -Removed Bot setLastGainedXPTimeThreshold() -Removed getTotalExperience() Removed Widget getRectangle() -Duplicate method, Widget getBounds() Updated API Docs for Widget getPoint() -Incorrectly stated that method returns null if not visible, returns (-1, -1) Exhausted DPI aware resolution bug fixes Fixed NPE in ScriptSelector Various large code cleanupsMore information to come shortly... 17 1 2 Link to comment
Vilius Posted February 10, 2018 Share Posted February 10, 2018 (edited) Edited February 10, 2018 by Vilius Link to comment
IDontEB Posted February 10, 2018 Share Posted February 10, 2018 Alek no believe in the checking WC exp :(???? Link to comment
Signatures Posted February 10, 2018 Share Posted February 10, 2018 *cough* new break handler *cough* 1 Link to comment
Molly Posted February 10, 2018 Share Posted February 10, 2018 (edited) So with 2.5.0 we need to use BotMouseListener, however the checkMouseEvent method does not seem to function in the live client version, though it does in 2.5.0. Using the live client version we also must implement the other methods associated with the listener. In 2.5.0 however these other methods throw errors and won't allow the script to start. This means that while we can update our scripts ahead of time to address this change they will break when 2.5.0 goes live because of the methods that must be implemented to run on the current live version. Edited February 10, 2018 by Molly Link to comment
Severide Posted February 10, 2018 Share Posted February 10, 2018 Nice Alek, I’m glad whoever stopped you from walking away did because you’re on top of it lately, good job man. 1 Link to comment
Alek Posted February 10, 2018 Author Share Posted February 10, 2018 9 minutes ago, Molly said: So with 2.5.0 we need to use BotMouseListener, however the checkMouseEvent method does not seem to function in the live client version, though it does in 2.5.0. Using the live client version we also must implement the other methods associated with the listener. In 2.5.0 however these other methods throw errors and won't allow the script to start. This means that while we can update our scripts ahead of time to address this change they will break when 2.5.0 goes live because of the methods that must be implemented to run on the current live version. Correct, you must wait until 2.5.0 becomes a stable release until you push the updates for it. 1 Link to comment
Molly Posted February 10, 2018 Share Posted February 10, 2018 20 minutes ago, Alek said: Correct, you must wait until 2.5.0 becomes a stable release until you push the updates for it. Ah I misunderstood what the intent was here, I thought you had wanted us to push updates now to prevent breaking when a bunch of stuff is removed in 2.5.0. 1 Link to comment
talltell Posted February 10, 2018 Share Posted February 10, 2018 2 hours ago, Mio said: very goos job Link to comment