Results 1 to 3 of 3

Thread: Banking problem

  1. #1
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default Banking problem

    [Runtime Error] : Type Mismatch in line 94 in script C:\Program Files\SCAR 3.14\includes\SRL/SRL/Core/Bank.scar

    This error happens when I'm opening bank...


    SCAR Code:
    Function BankIndexToBankPoint(Ind: Integer): TPoint;

    Begin
      Result.X := Ind Mod 8;
      Result.Y := Trunc(Ind Shr 3);
    End;

  2. #2
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Trunc(Ind Shr 3);
    Remove the trunc.

  3. #3
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I was just looking in bank.scar a little while ago and it had that function -.-

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Banking problem.
    By Dr Feelgood in forum OSR Help
    Replies: 12
    Last Post: 10-03-2007, 07:46 PM
  2. Banking Problem. (First Script)
    By mat_de_b in forum OSR Help
    Replies: 0
    Last Post: 08-26-2007, 03:35 PM

Posting Permissions

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