Jump to content

[Dev Build] OSBot 2.5.29


Patrick

Recommended Posts

  • Developer

Hi!

 

This dev build brings support for resizable mode!

DISCLAIMER:

SOME SCRIPTS / FEATURES MIGHT NOT WORK ON RESIZABLE YET. SCRIPTERS ARE AWARE OF THE CHANGES THEY NEED TO MAKE AND ARE WORKING ON IT. THIS VERSION MIGHT ALSO NOT BE FULLY STABLE, SO USE WITH CAUTION! THIS RELEASE IS MOSTLY TO FIND BUGS AND HELP SCRIPTERS SUPPORT RESIZABLE.

 

Download link: http://osbot.org/devbuilds/osbot 2.5.29.jar

 

Change log:

API CHANGES:
- Added Tab#ACCOUNT_MANAGEMENT and Tab#NONE
- Tab#IGNORES has been deprecated and now falls under Tab#FRIENDS
- Added Display#getScreenWidth() and Display#getScreenHeight()
- Tab#getInterfaceParentId() and Tab#getInterfaceChildId() have been deprecated, use Tabs#getTabWidget(Tab tab) instead

 

FIXES:
- Bank#isSlotVisible(Bot bot, int tabSlot, int absoluteSlot) has been deprecated. Use Bank#isSlotVisible(int tabSlot, int absoluteSlot) instead. This method has also been changed to ensure the slot is visible enough to interact with

 

RESIZABLE:
- added MethodProvider#getDisplay() to replace GraphicsUtilities
All static fields and methods from GraphicsUtility have been moved to this new class.
GraphicsUtility is deprecated, but for now it still supports fixed size clients.
- Entity#isVisible() has been changed to take render distance into account
- Display#isVisibleOnMainScreen(Entity entity) has been added to better reflect visibility for entities
- Display#getDisplayMode() and Display#setDisplayMode(DisplayMode mode) have been added to change between resizable and fixed mode
- Inventory#getSlotBoundingBox(int slot) has been added to replace InventorySlotDestination#getSlot(int slot)
- Store#getSlotBoundingBox(int slot) has been added to replace StoreSlotDestination#getSlot(int slot)
- Trade#getSlotBoundingBox(OfferOwner owner, int slot) has been added to replace TradeOffsetItemDestination#getSlot(OfferOwner owner, int slot)

 

MISC:
- MethodProvider#getProjectiles() has been added for consistancy
- Added Tabs#isOpen(Tab tab) for ease of use

 

FINAL NOTE:
Mirror mode and Web Walker are not yet confirmed to function fully on resizable! Some scripts also have positions hardcoded and might not work on resizable.

 

- The OSBot Team

  • Like 15
  • Boge 2
  • Heart 5
Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...