Code Monkey home page Code Monkey logo

rsitemfinder's Introduction

RSItemFinder

Adds methods for finding RS items.

function TRSInventory.FindAll(Identifers: TStringArray): TIntegerArray; overload;
function TRSInventory.FindAll(Identifer: String): TIntegerArray; overload; 
function TRSInventory.Find(Identifers: TStringArray): Int32; overload;
function TRSInventory.Find(Identifer: String): Int32; overload;
function TRSInventory.Count(Identifers: TStringArray): Int32; overload;
function TRSInventory.Count(Identifer: String): Int32; overload;
function TRSInventory.CountStack(Identifer: String): Int32;
function TRSInventory.Click(Identifers: TStringArray; Option: String = ''): Boolean; overload;
function TRSInventory.Click(Identifer: String; Option: String = ''): Boolean; overload;
function TRSBankScreen.Find(Identifers: TStringArray): Int32; overload;
function TRSBankScreen.Find(Identifer: String): Int32; overload;
function TRSBankScreen.Withdraw(Identifier: String; Amount: Int32; UpText:TStringArray=[]; Mode: EBankButton = bbItem): Boolean; overload;
function TRSBankScreen.Count(Identifer: String): Int32;
function TRSBankScreen.CountStack(Identifer: String): Int32;
  • Identifer can be either the item ID or name.
  • Item images can be found in item-images/
  • Item names can be found in item-images/items.txt

rsitemfinder's People

Contributors

ollydev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rsitemfinder's Issues

edge case issue. might take a while to reproduce

hey :)

so edge case, it appears that while interacting with inventory you can throw

Runtime error: "The Points you passed to DrawATPA exceed the bitmap's bounds" at line 117, column 20 in file "C:\simba\Includes\RSItemFinder\itemfinder.simba" Successfully executed in [00:02:51:156] . The following bitmaps were not freed: [0, Minimap mask, 2, 3, 46]

I think this was thrown during a call to Inventory.Count(item_name) while i was in the middle of interacting with the client by hand.

doubt this will be thrown in a fully autonomous bot, but thought i should bring it up anyway.

can has release with osrsbox images?

I downloaded the branch and extracted to the include, but being able to use the wonderful
, glorious
and
magnificent
package manager right in Simba would be nice ;)

<3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.