You need to activate it in the interface settings.
Quick find code:*15-16-122-65746594
You need to activate it in the interface settings.
Quick find code:*15-16-122-65746594
Wow, cool! Thanks for the heads up.
Additional info: http://services.runescape.com/m=foru...6,122,65746594
Players fond of the retro mouseover text in the top-left can now toggle it on in Interface Settings. The modern mouseover text option has also been migrated to Interface Settings.
You can have both enabled at once
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
This is actually pretty cool. I never really liked the RS3-style mouseover text and it would occasionally block things on the mainscreen.
This is good, sometimes that mouse text gets in the way.
How does SRL handle the old uptext?
Atm in SRL-6 there are no functions that can read it (however Simba's native functions can)
But back in the day, we used bitmap font sets to recognize the characters. I'm sure if you hacked SRL-5's UpText functions into SRL-6, it would work (at least to some degree)
Getting Tesseract reading UpText probably wouldn't be too much harder
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
Yeah. Pretty sure SRL-5's functions were mainly wrappers to rs_GetUpText
For example https://github.com/SRL/SRL-5/blob/18...ext.simba#L393
Last edited by KeepBotting; 02-09-2016 at 03:07 AM.
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
That would be quite a bit harder. Like to the extent that while at it you might just as well just write your own OCR implementation specialized to that text. The complexities comes from filtering background from the characters without also getting a notable amount of noise (tesseract wont do this for you). Once that's done, you basically have an OCR core, it's just a matter of comparing to some fontset now, Simba can do that for you at this point.
"SimpleOCR" comes shipped with SRL updates now AFAIK, it should work without any issues for this, just some basic setup is needed. Tho I would not rule out Simbas "UpText" method, if that one works as easily, then great!
Edit:
Tested with SimpleOCR - on the picture KeepBotting provided:
Output: Chop down Tree / 2 more optionspascal Code:{$loadlib SimpleOCR}
var
OCR:TSimpleOCR;
str:String;
filterRules:TCompareRules = [-1, 85, True, 55]; (* any color, 85 tolerance, Use shadow!, shadow not brighter than 55! *)
begin
OCR.Init(FontPath+'UpCharsEx');
OCR.ClientID := ExportImageTarget(); //Make sure the OCR target is up to date. Call before recognize
str := OCR.Recognize(IntToBox(7,9,500,30), filterRules); //would be [5,5,470,25] - or thereabout in RS
WriteLn(str);
end;
Last edited by slacky; 02-09-2016 at 11:21 AM.
!No priv. messages please
This is cool! mouseOverText is shitty when it blocks items in your inventory/bank when you hover over other items.
!No priv. messages please
There are currently 1 users browsing this thread. (0 members and 1 guests)