SRL Archive - SRL Archives

GameTab.scar fix.


Timer

2010-01-30 19:47:14

EDIT:

Bebe committed it, thanks! ^^

YoHoJo

2010-01-30 19:55:54

What the sht did you change? :]

Timer

2010-01-30 19:57:00

From: YoHoJo
What the sht did you change? :]


Did you have the new srl to see what was going wrong? :3

YoHoJo

2010-01-30 19:57:46

I'm asking, what code did you change in order to fix it poopface!

Timer

2010-01-30 19:59:21

  if (VarType(Skill) = VarType(0)) then
SkillS := IntToStr(Skill)
and
  if (GetNumbers(SkillS) = SkillS) and (InRange(StrToIntDef(GetNumbers(SkillS), 0), 1, Length(SkillArr))) then
skNo := StrToInt(SkillS) - 1

Wanted

2010-01-30 20:51:55

Someone please commit this or change something ASAP almost all scripts are breaking because of this.

Timer

2010-01-30 23:14:01

Commit this alreadyy!

code841

2010-01-31 02:34:56

[Runtime Error] : Exception: Canvas does not allow drawing in line 510 in script C:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\GameTab.scar

Line 510
Result := StrToIntDef(GetNumbers(GetTextAtEx(B.X1 - 1 , B.Y1 - 1, 30, statChars,
False, False, 0, 0, Colors[i], 20, False, tr_Digits)), -1);

Anyone else?

Wanted

2010-01-31 02:38:25

From: code841
[Runtime Error] : Exception: Canvas does not allow drawing in line 510 in script C:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\GameTab.scar

Line 510
Result := StrToIntDef(GetNumbers(GetTextAtEx(B.X1 - 1 , B.Y1 - 1, 30, statChars,
False, False, 0, 0, Colors[i], 20, False, tr_Digits)), -1);

Anyone else?


Get SCAR 3.23 and use SRL Rev 352 (you'll have to use update to rev to get 352 since 357 is the latest)

Timer

2010-01-31 11:47:56

Anyone having issues, please update to the latest reversion. Problem is now solved.

Wizzup?

2010-01-31 11:54:03

So why did you edit out the change… lol?

Timer

2010-01-31 11:55:07

From: Wizzup?
So why did you edit out the change… lol?


Hmmm….. I don't know….