Ranqers Posted December 16, 2012 Share Posted December 16, 2012 How can I get scar to read numbers on a screen? I need to to detect if HP is < 40. (TOP number) What can I do, any ideas? Quote Link to comment Share on other sites More sharing options...
Toby1 Posted December 16, 2012 Share Posted December 16, 2012 You need OCR for that (Optical character recognition). Quote Link to comment Share on other sites More sharing options...
Janilabo Posted December 16, 2012 Share Posted December 16, 2012 SCAR used to be able to detect these (not sure if its anymore, could be though!) from RuneScape 2 back then. Maybe someone still has that font? Then you could use it. I am not into playing nor scripting RS2 though, so I can't help you with it. -Jani Quote Link to comment Share on other sites More sharing options...
Ranqers Posted December 16, 2012 Author Share Posted December 16, 2012 sadface:( Quote Link to comment Share on other sites More sharing options...
Janilabo Posted December 16, 2012 Share Posted December 16, 2012 Remember, you can always create your own font, just like I have created for RuneScape Classic / RSCEmulation / Project RSC / Shadow Worlds. ..but! I am sure someone has font for that client version! -Jani Quote Link to comment Share on other sites More sharing options...
LordJashin Posted December 16, 2012 Share Posted December 16, 2012 (edited) If you use OSI, you can try using the GetSkillLevel function. [scar] function GetSkillLevelEx(Skill: Integer; BottomNumber, CheckST: Boolean): Integer; [/scar] CheckST will check if the skills game tab is even open, and if its not it will switch to it. I guess BottomNumber is a Boolean, so you can choose for it to return the bottom or top number there on the skill. Skill is the number of the skill you want to check. But you should use the constants: [scar] {=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= const Skill_ Indexes Contributors: Wanted Description: Index handles for various RS2 skills. Date Created: November 3rd, 2011. By Wanted. RS2 Build 674. Last Modified: November 3rd, 2011. By Wanted. RS2 Build 674. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=} const Skill_Count = 25; Skill_Attack = 0; Skill_Hitpoints = 1; Skill_HP = 1; Skill_Constitution = 1; Skill_Mining = 2; Skill_Strength = 3; Skill_Agility = 4; Skill_Run = 4; Skill_Energy = 4; Skill_Smithing = 5; Skill_Defense = 6; Skill_Defence = 6; Skill_Herblore = 7; Skill_Fishing = 8; Skill_Range = 9; Skill_Thieving = 10; Skill_Cooking = 11; Skill_Prayer = 12; Skill_Crafting = 13; Skill_Firemaking = 14; Skill_Magic = 15; Skill_Fletching = 16; Skill_Woodcutting = 17; Skill_Runecrafting = 18; Skill_Slayer = 19; Skill_Farming = 20; Skill_Construction = 21; Skill_Hunter = 22; Skill_Summoning = 23; Skill_Dungeoneering = 24; [/scar] Edited December 16, 2012 by LordJashin Quote Link to comment Share on other sites More sharing options...
Ranqers Posted December 22, 2012 Author Share Posted December 22, 2012 Thanks, will give it a try. Quote Link to comment Share on other sites More sharing options...