Viston Posted June 24, 2017 Posted June 24, 2017 (edited) I've created this area array of 95 % of the banks in RS. I've been using it, and it works flawlessly. I've ordered the custom banks in an alphabetical order starting from A to Z. This is useful when you are using an AIO script and want to use the closest bank to you. I usually use getWalking.webWalk(banking); webWalk will then calculate the real distance to the closest bank to you. Real distance = Actual walkable tiles to reach your destination. I haven't included some of the banks that are underground, such as Burthorpe. I might update this thread with them later. Feel free to use it //Closest Bank public static Area[] banking = { Banks.AL_KHARID, Banks.ARCEUUS_HOUSE, Banks.ARDOUGNE_NORTH, Banks.ARDOUGNE_SOUTH, Banks.CAMELOT, Banks.CANIFIS, Banks.CASTLE_WARS, Banks.CATHERBY, Banks.DRAYNOR, Banks.DUEL_ARENA, Banks.EDGEVILLE, Banks.FALADOR_EAST, Banks.FALADOR_WEST, Banks.GNOME_STRONGHOLD, Banks.GRAND_EXCHANGE, Banks.HOSIDIUS_HOUSE, Banks.LOVAKENGJ_HOUSE, Banks.LOVAKITE_MINE, Banks.LUMBRIDGE_LOWER, Banks.LUMBRIDGE_UPPER, Banks.PEST_CONTROL, Banks.PISCARILIUS_HOUSE, Banks.SHAYZIEN_HOUSE, Banks.TZHAAR, Banks.VARROCK_EAST, Banks.VARROCK_WEST, Banks.YANILLE, new Area(2534, 3576, 2537, 3572), //Barbarian Assault Bank new Area(3496, 3213, 3499, 3210), //Burgh de Rott Bank new Area(2933, 3284, 2936, 3281), //Crafting Guild Bank new Area(2618, 3896, 2620, 3893), //Etceteria Bank new Area(2661, 3162, 2665, 3160), //Fishing Trawler Bank new Area(2584, 3422, 2588, 3418), //Fishing Guild Bank new Area(2440, 3489, 2442, 3487).setPlane(1), //Grand Tree West new Area(2448, 3482, 2450, 3479).setPlane(1), //Grand Tree South new Area(2415, 3803, 2418, 3801), //Jatiszo Bank new Area(1610, 3683, 1613, 3680).setPlane(2), //Kingdom of Great Kourend Bank new Area(2350, 3163, 2354, 3162), //Lletya Bank new Area(2097, 3919, 2102, 3917), //Lunar Isle Bank new Area(1508, 3423, 1511, 3419), //Lands End Bank new Area(3424, 2892, 3430, 2889), //Nardah Bank new Area(2335, 3808, 2337, 3805), //Neitiznot Bank new Area(3686, 3471, 3691, 3463), //Port Phasmatys Bank new Area(2327, 3690, 2332, 3687), //Piscatoris Bank new Area(2849, 2955, 2855, 2953), //Shilo Village Bank new Area(1717, 3466, 1722, 3463), //Sandcrabs Bank new Area(3305, 3123, 3308, 3119), //Shantay Pass Bank new Area(1453, 3859, 1458, 3856), //Sulphur Mine new Area(3120, 3124, 3123, 3120), //Tutorial Island Bank new Area(2444, 3427, 2446, 3422).setPlane(1), //Tree Gnome Stronghold Bank new Area(1802, 3571, 1808, 3571), //Vinery Bank new Area(2843, 3544, 2846, 3539), //Warriors Guild Bank new Area(1589, 3480, 1593, 3476), //Woodcutting Guild Bank new Area(1653, 3613, 1658, 3607), //Zeah Cooking Bank }; Edited November 5, 2017 by Viston 7
Mumble Posted June 24, 2017 Posted June 24, 2017 There's already a list of banks in the API https://osbot.org/api/ under banks...
Muffins Posted June 24, 2017 Posted June 24, 2017 7 minutes ago, Mumble said: There's already a list of banks in the API https://osbot.org/api/ under banks... This is, for as he stated, grabbing the closest bank to the player (You can see he uses the list of banks in his array)
Viston Posted June 24, 2017 Author Posted June 24, 2017 29 minutes ago, Mumble said: There's already a list of banks in the API https://osbot.org/api/ under banks... Yeah, but these are also not all the banks in RS. I've included custom banks which covers most banks in RS everywhere. Just have to add the banks that are underground. 1
Mumble Posted June 24, 2017 Posted June 24, 2017 1 hour ago, Muffins said: This is, for as he stated, grabbing the closest bank to the player (You can see he uses the list of banks in his array) you're not wrong
Prismo Posted June 25, 2017 Posted June 25, 2017 whats the diffrence between using this and Area currentBank = closestTo(myPlayer()); private enum Bank { *bank list* i am learning ............ slowly
thatguycalledrob Posted September 14, 2017 Posted September 14, 2017 On 6/25/2017 at 3:08 AM, Prismo said: whats the diffrence between using this and Area currentBank = closestTo(myPlayer()); private enum Bank { *bank list* i am learning ............ slowly Not sure where this closestTo method lives in the API, unless it's custom written?
TiPPeX Posted September 20, 2017 Posted September 20, 2017 (edited) Sorry for being rude here, But Are any of the banks added have any restriction(quests, items... etc) Sorry for being RS newb. Edit: NVM stupid question, I see plane and lunar so I guess I'll have to filter them. Thanks for the great idea! Edited September 20, 2017 by TiPPeX
Zappster Posted September 20, 2017 Posted September 20, 2017 1 minute ago, TiPPeX said: Sorry for being rude here, But Are any of the banks added have any restriction(quests, items... etc) Sorry for being RS newb. new Area(2534, 3576, 2537, 3572), //Barbarian Assault Bank - Members new Area(3496, 3213, 3499, 3210), //Burgh de Rott Bank - Members, started In Aid of the Myreque new Area(2933, 3284, 2936, 3281), //Crafting Guild Bank - F2P, crafting level 40 + brown apron new Area(2618, 3896, 2620, 3893), //Etceteria Bank - Members, Fremmy Trials finished new Area(2661, 3162, 2665, 3160), //Fishing Trawler Bank - Members new Area(2584, 3422, 2588, 3418), //Fishing Guild Bank - Members, 63 fishing (with boost) or 68 new Area(2440, 3489, 2442, 3487).setPlane(1), //Grand Tree West - Members, requires one time door minigame? or tele via grand seed pod new Area(2448, 3482, 2450, 3479).setPlane(1), //Grand Tree South - Members, requires one time door minigame? or tele via grand seed pod new Area(2415, 3803, 2418, 3801), //Jatiszo Bank - Members, Fremmy Trials finished, fremmy isle started new Area(1610, 3683, 1613, 3680).setPlane(2), //Kingdom of Great Kourend Bank - Members new Area(2350, 3163, 2354, 3162), //Lletya Bank - Members, started Mourning's Ends Part I new Area(2097, 3919, 2102, 3917), //Lunar Isle Bank - Members, about half way into Lunar Diplomacy new Area(1508, 3423, 1511, 3419), //Lands End Bank - Members new Area(3424, 2892, 3430, 2889), //Nardah Bank - Members, requires getting into desert new Area(2335, 3808, 2337, 3805), //Neitiznot Bank - Members, Fremmy trials finished new Area(3686, 3471, 3691, 3463), //Port Phasmatys Bank - Members, requires Priest in Peril (can charter or use ecoto tokens to enter) new Area(2327, 3690, 2332, 3687), //Piscatoris Bank - Members, Swan Song finished new Area(2849, 2955, 2855, 2953), //Shilo Village Bank - Members, Shilo Villlage finished new Area(1717, 3466, 1722, 3463), //Sandcrabs Bank - Members, located in Zeah new Area(3305, 3123, 3308, 3119), //Shantay Pass Bank - F2P new Area(1453, 3859, 1458, 3856), //Sulphur Mine - Members, located in Zeah new Area(3120, 3124, 3123, 3120), //Tutorial Island Bank - F2P new Area(2444, 3427, 2446, 3422).setPlane(1), //Tree Gnome Stronghold Bank - Members, requires one time door minigame? or tele via grand seed pod new Area(1802, 3571, 1808, 3571), //Vinery Bank - Members, located in Zeah, requires no favour to use new Area(2843, 3544, 2846, 3539), //Warriors Guild Bank - Members, Attack + Strength >= 130 new Area(1589, 3480, 1593, 3476), //Woodcutting Guild Bank - Members, requires 60 wc + 75% hosidius house favour new Area(1653, 3613, 1658, 3607), //Zeah Cooking Bank - Members, located on Zeah 3
TiPPeX Posted September 20, 2017 Posted September 20, 2017 55 minutes ago, Zappster said: new Area(2534, 3576, 2537, 3572), //Barbarian Assault Bank - Members new Area(3496, 3213, 3499, 3210), //Burgh de Rott Bank - Members, started In Aid of the Myreque new Area(2933, 3284, 2936, 3281), //Crafting Guild Bank - F2P, crafting level 40 + brown apron new Area(2618, 3896, 2620, 3893), //Etceteria Bank - Members, Fremmy Trials finished new Area(2661, 3162, 2665, 3160), //Fishing Trawler Bank - Members new Area(2584, 3422, 2588, 3418), //Fishing Guild Bank - Members, 63 fishing (with boost) or 68 new Area(2440, 3489, 2442, 3487).setPlane(1), //Grand Tree West - Members, requires one time door minigame? or tele via grand seed pod new Area(2448, 3482, 2450, 3479).setPlane(1), //Grand Tree South - Members, requires one time door minigame? or tele via grand seed pod new Area(2415, 3803, 2418, 3801), //Jatiszo Bank - Members, Fremmy Trials finished, fremmy isle started new Area(1610, 3683, 1613, 3680).setPlane(2), //Kingdom of Great Kourend Bank - Members new Area(2350, 3163, 2354, 3162), //Lletya Bank - Members, started Mourning's Ends Part I new Area(2097, 3919, 2102, 3917), //Lunar Isle Bank - Members, about half way into Lunar Diplomacy new Area(1508, 3423, 1511, 3419), //Lands End Bank - Members new Area(3424, 2892, 3430, 2889), //Nardah Bank - Members, requires getting into desert new Area(2335, 3808, 2337, 3805), //Neitiznot Bank - Members, Fremmy trials finished new Area(3686, 3471, 3691, 3463), //Port Phasmatys Bank - Members, requires Priest in Peril (can charter or use ecoto tokens to enter) new Area(2327, 3690, 2332, 3687), //Piscatoris Bank - Members, Swan Song finished new Area(2849, 2955, 2855, 2953), //Shilo Village Bank - Members, Shilo Villlage finished new Area(1717, 3466, 1722, 3463), //Sandcrabs Bank - Members, located in Zeah new Area(3305, 3123, 3308, 3119), //Shantay Pass Bank - F2P new Area(1453, 3859, 1458, 3856), //Sulphur Mine - Members, located in Zeah new Area(3120, 3124, 3123, 3120), //Tutorial Island Bank - F2P new Area(2444, 3427, 2446, 3422).setPlane(1), //Tree Gnome Stronghold Bank - Members, requires one time door minigame? or tele via grand seed pod new Area(1802, 3571, 1808, 3571), //Vinery Bank - Members, located in Zeah, requires no favour to use new Area(2843, 3544, 2846, 3539), //Warriors Guild Bank - Members, Attack + Strength >= 130 new Area(1589, 3480, 1593, 3476), //Woodcutting Guild Bank - Members, requires 60 wc + 75% hosidius house favour new Area(1653, 3613, 1658, 3607), //Zeah Cooking Bank - Members, located on Zeah You are a god 1
Coolst0rybr0 Posted September 20, 2017 Posted September 20, 2017 Niftyyyyy as hell ty for the pic aswell legend