Jump to content
Wanted

New Banking and Map stuff 12/22/11

Recommended Posts

https://github.com/OSI1/OSI1/commit/46c2db558bc7fa8c21a45a2d2d905f774c0b4b20

 

Well I finally finished NPC Banking and created Open Bank and OpenBankEx.

 

 * function OpenBankNPC(Loc: Integer): Boolean;
    By: Wanted
* function OpenBankEx(Loc: Integer; AllowNPC, AllowBooth, TryBoothFirst: Boolean): Boolean;
    By: Wanted
* function OpenBank(Loc: Integer): Boolean;
    By: Wanted

 

A lot of the bankers in RS2 are the same, so if you need them for other than F2p banks right now you can probably guess at what loc they look like. These all use the same globals as Booth

 

{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
const Bank locations
Contributors: Wanted
Description: Index handles for Banking locations.
Date Created: December 14th, 2011. By Wanted. RS2 Build 688.
Last Modification: December 14th, 2011. By Wanted. RS2 Build 688.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}

const
 Loc_LBC = 0; // Lumbridge Castle Bank
 Loc_AKB = 1; // Al-Karid Bank
 Loc_FEB = 2; // Fallador East Bank
 Loc_FWB = 3; // Fallador West Bank
 Loc_DYB = 4; // Draynor Bank
 Loc_VEB = 5; // Varrock East Bank
 Loc_VWB = 6; // Varrock West Bank
 Loc_EVB = 7; // Edgville Bank
 Loc_GEB = 8; // Grand Exchange Bank

 

I've also added some new map stuff

 

 * function MMOnMS(MM: TPoint): Boolean;
    By: Wanted
* function MMsToMSs(TPA: TPointArray): TPointArray;
    By: Wanted
* function FilterMMPointsMS(TPA: TPointArray): TPointArray;
    By: Wanted

 

and moved

 

 * function FindMMDotsExOverlap(ColorDiffs: TIntegerArray): T2DPointArray;
    By: Wanted

 

into core because it's used in OpenBankNPC... and I also removed those files from OSI while they are empty https://github.com/OSI1/OSI1/commit/6fe0fc305016bd3f69e71d8b8783b225620bfaed

 

The data bases for the NPCs are there next to the booths.

 

I'm going to be looking at the annoying tool belt and CoinPouch next then idk probably Random developments... Planning on starting a remake of my abyss rune crafter and essence miner scripts soon.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...