Results 1 to 4 of 4

Thread: what does this mean

  1. #1
    Join Date
    Dec 2006
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default what does this mean

    Line 432: [Hint] (10376:1): Variable 'OLDMS' never used in script C:\Program Files\SCAR 3.14\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar

  2. #2
    Join Date
    Jun 2007
    Location
    Ohio
    Posts
    341
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it means pretty much nothing, your script will still run fine without it, but in the antirandoms in srl rev 11, there is a variable (oldms) that is never used in the script. it shouldn't effect it at all, but if you want to change it, change antirandoms.scar by doing this:

    -open up antirandoms.scar
    -find line 432 or search for OLDMS
    -delete the variable OLDMS
    -should look like this:

    SCAR Code:
    {*******************************************************************************
    function SolvePinball: Boolean;
    by: Wizzup?
    Description: Attempts to solve the Pinball random.
    *******************************************************************************}


    Function SolvePinball: Boolean;

    Var
       PilDTM, cts, Time, dx, dy, Time2: Integer;
       Angle: Extended;

    Begin
      LogOut;
      Exit;
      While ClickContinue(True, True) Do
      Begin
        Wait(100);
      End;
      Time := GetSystemTime;
      While (p_GetScore = -1) Do
      Begin
        Wait(500);
        If GetSystemTime - Time > 10000 Then
        Begin
          LogOut;
          Exit;
        End;
      End;
      Wait(5000);
      cts := GetColorToleranceSpeed;
      PilDTM := DTMFromString('78DA63E460646070604001BE27E3188481342' +
           '394CF08526385AA26EA6426A61A1F543589E78B50D50800596AA8' +
           '6AC236A7C0D5FC07020022820B78');
      Time := GetSystemTime;
      Time2 := GetSystemTime;
      WriteLn('Starting the actual solving');
      repeat
        If GetSystemTime - Time2 > 60000 Then
        Begin
          Time2 := GetSystemTime;
          Mouse(MSCX, MSCY, 5, 5, True);
          Wait(1000);
        End;
        If TrollsInGoodPos Then
        Begin
          ColorToleranceSpeed(0);
          If finddtmrotated(PilDTM, dx, dy, MSX1, MSY1, MSX2, MSY2,
           -Radians(90), Radians(90), 0.05, Angle) Then
          Begin
            mouse(dx, dy, 0, 0, True);
            WriteLn('Found a Pillar.');
            Wait(5000);
          End;
        End;
        wait(50);
        If Not LoggedIn Then
          Break;
      until (p_GetScore = 10) Or (GetSystemTime - Time > 240000);
      WriteLn('Done with pinball');
      Result := GetOutOfHere;
      FreeDTM(PilDTM);
      ColorToleranceSpeed(cts);
      If Result = False Then
      Begin
        LogOut;
        Players[CurrentPlayer].Rand := 'No Pinball';
        Players[CurrentPlayer].Active := False;
        Exit;
      End;
      Pinball := Pinball + 1;
      WriteLn('Done with pinball.');
    End;

  3. #3
    Join Date
    Sep 2006
    Location
    My Computer
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Take a look at this GUIDE TO FIX OLDMS and folow the guide, you should be fine after that

  4. #4
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    It means that we forgot to take away an unused variable, so nothing important.
    Closed.
    Hup Holland Hup!

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
  •