Results 1 to 12 of 12

Thread: GameTab.scar fix.

  1. #1
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default GameTab.scar fix.

    EDIT:

    Bebe committed it, thanks! ^^

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    What the sht did you change? :]

  3. #3
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    What the sht did you change? :]
    Did you have the new srl to see what was going wrong? :3

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

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

  5. #5
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  6. #6
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  7. #7
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Commit this alreadyy!

  8. #8
    Join Date
    Oct 2009
    Location
    Melb, Australia
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Code:
    [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
    SCAR Code:
    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?

  9. #9
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by code841 View Post
    Code:
    [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
    SCAR Code:
    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)

  10. #10
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  11. #11
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    So why did you edit out the change... lol?



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  12. #12
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    So why did you edit out the change... lol?
    Hmmm..... I don't know....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •