Results 1 to 2 of 2

Thread: Mismatch error

  1. #1
    Join Date
    Jan 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Unhappy Mismatch error

    Im getting [Error] E:\Simba\Scripts\PowerMiner.simba(112:40): Type mismatch at line 111
    Compiling failed. its on the MouseItem action. the procedure that im getting it on is
    Simba Code:
    Procedure DropOre;
    var
      X, Y, OreDTM, I:Integer;
      SlotBox:Tbox;
      OrePattern:TIntegerArray;

    begin
      MarkTime(TooLong)
      OreDTM := DTMFromString('mrAAAAHic42BgYLjIyMBwAIhPAvE1IL4LxJeA+DYQHwbinUA1e4D4EBAfBOJtQLwGiNcD8RYg9tFTApKMWLGRpjTDfwb8ALtOBIYBAFuEDmo=');
      OrePattern := [1, 5, 9, 13, 17, 21, 25, 2, 6, 10, 14, 18, 22, 26, 3, 7, 11, 15, 19, 23, 27, 4, 8, 12, 16, 20, 24, 28];
      For I := 0 To 27 Do
      begin
        FindNormalRandoms;
        SlotBox := InvBox(OrePattern[I]);
        if FindDTM(OreDTM, x, y, SlotBox.X1, SlotBox.Y1, SlotBox.X2, SlotBox.Y2) then
          begin
            MouseItem(OrePattern[I], false);
            ChooseOption('Dro');
          end;

      end;
      MarkTime(TooLong)
    end;

    If you need more code to help, obviously just ask. thank you so much much, im trying to make my first RS script. Some of it might be out of date or something. Not sure

  2. #2
    Join Date
    Jan 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Fixed thank you n3ss3s for finding my idiotic mistake

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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