honeyhoney
2012-05-20 09:02:09
Wasn't sure where to post this, but I'm having trouble with the SRL function; "function CurrentWorld: Integer;".
I've narrowed it down (or so I believe), to this line;
IsTextInAreaEx (found in simba.simba) is unable to identify the string 'RuneSca' even when it is present. I've managed to identify it with GetTextAtWrapEx and also managed to get IsTextInAreaEx find Rune, or une, or Sca, or S but not the 'eS' string… (I may have had to twiddle a few values, not sure if the max spacing was set properly and the xs and xe values were out of whack I think).
Edit: just wondering why you couldn't use
Anyway, hoping someone can confirm or deny that this is indeed a bug and I'm not doing something stupid and address the issue.
I've narrowed it down (or so I believe), to this line;
if (IsTextInAreaEx(635, 205, 727, 226, TextX, TextY, 'RuneSca', 5,
SmallChars, False, False, 0, 0, 3381759)) then IsTextInAreaEx (found in simba.simba) is unable to identify the string 'RuneSca' even when it is present. I've managed to identify it with GetTextAtWrapEx and also managed to get IsTextInAreaEx find Rune, or une, or Sca, or S but not the 'eS' string… (I may have had to twiddle a few values, not sure if the max spacing was set properly and the xs and xe values were out of whack I think).
Edit: just wondering why you couldn't use
Result := StrToInt(GetTextAtWrapEx(xs, ys, xe, ye, 0, 5, 2, 3381759, 0, SmallChars))I'm sure there's a reason - just want to hear it :PAnyway, hoping someone can confirm or deny that this is indeed a bug and I'm not doing something stupid and address the issue.