SRL Archive - SRL Bugs

getskillinfo doesnt work


Awkwardsaw

2010-04-28 18:35:47

it always returns -1

i use it like:


case GetSkillLevel(Skill_mining) of

i beleive the error is in the gettextatex,

  Result := StrToIntDef(GetNumbers(GetTextAtEx(Box.x1 - 2, Box.y1 -1, 100,
StatChars, False, True, 0, 3,65535, 3, true, tr_Digits)), -1);


i would try to fix, but i cant use gettextatex for my life :(