botelias Posted April 25, 2020 Share Posted April 25, 2020 Hi! Does anybody have a list of banks without requirements? I.e. no skills, quests, etc. Both p2p/f2p Thanks! Quote Link to comment Share on other sites More sharing options...
M A Y H E M Posted April 25, 2020 Share Posted April 25, 2020 what you mean? Quote Link to comment Share on other sites More sharing options...
BravoTaco Posted April 26, 2020 Share Posted April 26, 2020 (edited) You can access some predefined banks through the API by calling Banks EX. Area varrockWestBank = Banks.VARROCK_WEST; Area[] banks = {Banks.VARROCK_EAST, Banks.VARROCK_WEST, Banks.AL_KHARID, Banks.DRAYNOR}; It has most of the banks in that class. If you need to add banks you could create a class that extends from Banks than just add custom bank locations like so. import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.map.constants.Banks; public final class BanksExtended extends Banks { public static final Area CUSTOM_BANK = new Area(0, 0, 0, 0); } Edited April 26, 2020 by BravoTaco Quote Link to comment Share on other sites More sharing options...
Promo Posted April 26, 2020 Share Posted April 26, 2020 8 hours ago, BravoTaco said: You can access some predefined banks through the API by calling Banks EX. Area varrockWestBank = Banks.VARROCK_WEST; Area[] banks = {Banks.VARROCK_EAST, Banks.VARROCK_WEST, Banks.AL_KHARID, Banks.DRAYNOR}; It has most of the banks in that class. If you need to add banks you could create a class that extends from Banks than just add custom bank locations like so. import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.map.constants.Banks; public final class BanksExtended extends Banks { public static final Area CUSTOM_BANK = new Area(0, 0, 0, 0); } The bank class just contains some pre defined bank areas, no? So if your wanted bank is not in the class you have to define an Area constant yourself. Final area *bankname* = new Area(x1, y1, x2, y2) ; Add -*bankname* to an enum list. Correct me if im wrong please. Im currently learning to code. Quote Link to comment Share on other sites More sharing options...
BravoTaco Posted April 26, 2020 Share Posted April 26, 2020 6 hours ago, Promo said: The bank class just contains some pre defined bank areas, no? So if your wanted bank is not in the class you have to define an Area constant yourself. Final area *bankname* = new Area(x1, y1, x2, y2) ; Add -*bankname* to an enum list. Correct me if im wrong please. Im currently learning to code. Yeah for any banks not in that class you will have to create a new object that contains the area information. You can put this into an enum or you can create a class that extends from the Banks class so you don’t have to call two separate things to get all the banks. Quote Link to comment Share on other sites More sharing options...
botelias Posted April 26, 2020 Author Share Posted April 26, 2020 I know how to use and implement banks. Just need to know which banks have no reqs and which do. Got a pre-defined list of ALMOST all banks in the game, but some have requirements. Such as lumby lower, fishing guild, etc etc. Quote Link to comment Share on other sites More sharing options...