Results 1 to 8 of 8

Thread: Herb Identifier - Know what herbs you have without identifying them

  1. #1
    Join Date
    May 2008
    Location
    Mental Hospital
    Posts
    414
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default Herb Identifier - Know what herbs you have without identifying them

    I needed to see what herbs were taking up space in my bank so I made this real quick. Nothing fancy but I figured someone else might find a use for it.

    Simba Code:
    program HerbIdentifier;
    {$DEFINE SMART8}
    {$I SRL-OSR/SRL.Simba}
    {$I SRL-OSR/SRL/Reflection/Reflection.simba}
    {$I SRL-OSR/SRL/misc/SmartGraphics.Simba}

    function identifyHerb(x: integer): string;
    begin
      case (x) of
        200..201: Result := 'Guam';
        202..203: Result := 'Marr';
        204..205: Result := 'Tarr';
        206..207: Result := 'Harr';
        208..209: Result := 'Ran';
        210..211: Result := 'Irit';
        212..213: Result := 'Avan';
        214..215: Result := 'Kwuarm';
        216..217: Result := 'Cadan';
        218..219: Result := 'Dwarf';
        220..221: Result := 'Tors';
        2486..2487: Result := 'Lant';
        2999..3051: Result := 'Toad';
      end;
    end;

    procedure paintHerbs;
    var
      herbs: TInventoryItemArray;
      i: integer;
      inv: Tbox;
    begin
      herbs := R_GetInventoryItems;
      for i := 0 to High(herbs) do
      begin
        if herbs[i].ID > 0 then
        begin
          inv := InvBox(herbs[i].Slot);
          Smart_DrawTextEx(false, inv.X1, inv.Y1 + 5, 'UpChars07', (identifyHerb(herbs[i].ID)), clwhite);
        end;
      end;
    end;

    begin
      SetupSRL;
      SetupReflection;
      AddOnTerminate('Smart_ClearCanvas');
      repeat
        Smart_ClearCanvas;
        paintHerbs;
        Wait(2000);
      until not Loggedin;
    end.
    Attached Images Attached Images
    Last edited by Noob King; 10-07-2014 at 12:10 AM.

  2. #2
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    nice!

    also support for inBank + trade (1st + 2nd window) support soon?

  3. #3
    Join Date
    May 2008
    Location
    Mental Hospital
    Posts
    414
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    nice!

    also support for inBank + trade (1st + 2nd window) support soon?
    I can add that when I get home if anyone cares for it.

    Edit: Went hunting after work. I'll try and work on it today.
    Last edited by Noob King; 10-06-2014 at 01:22 PM.

  4. #4
    Join Date
    Apr 2013
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Does the script still work? couse i cant get it to work myself.

    -edit:
    WORKS! Thanks allot

    Booper

  5. #5
    Join Date
    Feb 2013
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    It would be nice if you could develop a plugin for OSBuddy (formerly Orion, a well made OSRS client, but not a botting one) they have pretty useful overlays and what not for the legit user like in game maps, zybez integration, skill calcs, monster kill and loot tracking, etc. This would be a nice addition for it.

  6. #6
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by cyanogen View Post
    It would be nice if you could develop a plugin for OSBuddy (formerly Orion, a well made OSRS client, but not a botting one) they have pretty useful overlays and what not for the legit user like in game maps, zybez integration, skill calcs, monster kill and loot tracking, etc. This would be a nice addition for it.
    Correct me if I'm wrong but I believe a herb identifier was suggested over there several months ago.

    It was shot down on the basis that Orion is a sanctioned RS client and must abide by Jagex's rules - of which an herb identifier was deemed to give Orion users an unfair advantage.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  7. #7
    Join Date
    Feb 2013
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Quote Originally Posted by KeepBotting View Post
    Correct me if I'm wrong but I believe a herb identifier was suggested over there several months ago.
    I wouldn't know. I just got back active on the OSRS scene (I started a little bit when OSRS realeased 2 years ago and I did join this forum that time but I'm back since f2p released)

  8. #8
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by cyanogen View Post
    It would be nice if you could develop a plugin for OSBuddy (formerly Orion, a well made OSRS client, but not a botting one) they have pretty useful overlays and what not for the legit user like in game maps, zybez integration, skill calcs, monster kill and loot tracking, etc. This would be a nice addition for it.
    Only OSBuddy devs are allowed to make plugins and as keepbotting said, jagex banned that plugin.
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •