Results 1 to 18 of 18

Thread: JAVA problem

  1. #1
    Join Date
    Apr 2013
    Posts
    57
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default JAVA problem

    Hello, when i try run this script

    program RUNME;
    {$DEFINE SMART}
    {$DEFINE WALKER}

    {$i AeroLib/AeroLib.Simba}

    begin
    initAL();
    end.

    Just basic easy script, console says this

    [AL] Checking version...
    [AL] Currently up to date.
    [AL] Loaded 2 MSObjects.
    [AL] Best world found: 66
    [AL] Error while finding default Java, searching for Java...
    Failed To Find Path: C:\Program Files (x86)\Java\
    [AL] SMART cannot spawn client
    Successfully executed.


    Any help please?

  2. #2
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,164
    Mentioned
    26 Post(s)
    Quoted
    433 Post(s)

    Default

    THe debug tells you the problem.. It cannot find a 32 bit version of java, which means that you need to install a 32 bit version of java.

  3. #3
    Join Date
    Apr 2013
    Posts
    57
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    ok, i installed java 32 bit, now scrript says that - Error: Expected variable of type "Int32", got "AnsiString" at line 669, column 17 at line 669. Its pinky range guild script for 07, any help?

  4. #4
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,164
    Mentioned
    26 Post(s)
    Quoted
    433 Post(s)

    Default

    Please post the actual script in simba tags:
    Simba Code:
    Put the script in here.

    But the script is most likely outdated.

  5. #5
    Join Date
    Apr 2014
    Posts
    96
    Mentioned
    1 Post(s)
    Quoted
    35 Post(s)

    Default

    Quote Originally Posted by StickToTheScript View Post
    Please post the actual script in simba tags:
    Simba Code:
    Put the script in here.

    But the script is most likely outdated.
    Im also having problems....
    https://gyazo.com/9b009bace341a6282abe8315790c7cf8

    [AL] Currently up to date.
    [AL] Loaded 2 MSObjects.
    [AL] Best world found: 28
    [AL] Error while finding default Java, searching for Java...
    Failed To Find Java.exe or Javaw.exe. Please add ...\JRE\Bin to your PATH environment variable.
    [AL] SMART cannot spawn client
    [14:21:17:638] [] [Status] All cached references free'd from memory
    Successfully executed.

  6. #6
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    For you who are having Java issues... did either of you have this problem with AeroLib rev 1 and/or rev 2?

    When I changed laptops and upgraded to Windows 10 I fought for a while trying to sort out this Java issue. I can't recall all the steps I took but it has a lot to do with having the right Java installed in the right place, and also having your PATH set correctly. I myself have jdk1.8.0_60 and jre1.8.0_65 installed in my 32-bit programs directory (C:/Program Files (x86)/Java/) and my path includes both of these:
    Code:
    C:\Program Files (x86)\Java\jre1.8.0_65\bin;c:\Program Files (x86)\Java\jdk1.8.0_60\bin
    ...and other things.

    If you're running a 64-bit OS try doing what I did.
    Last edited by Flight; 11-14-2015 at 07:59 PM.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  7. #7
    Join Date
    Apr 2014
    Posts
    96
    Mentioned
    1 Post(s)
    Quoted
    35 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    For you who are having Java issues... did either of you have this problem with AeroLib rev 1 and/or rev 2?

    When I changed laptops and upgraded to Windows 10 I fought for a while trying to sort out this Java issue. I can't recall all the steps I took but it has a lot to do with having the right Java installed in the right place, and also having your PATH set correctly. I myself have jdk1.8.0_60 and jre1.8.0_65 installed in my 32-bit programs directory (C:/Program Files (x86)/Java/) and my path includes both of these:
    Code:
    C:\Program Files (x86)\Java\jre1.8.0_65\bin;c:\Program Files (x86)\Java\jdk1.8.0_60\bin
    ...and other things.

    If you're running a 64-bit OS try doing what I did.
    How do i set my path correctly

  8. #8
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by madmaxman3 View Post
    How do i set my path correctly
    I can't recall how to do it on Windows 7/8, but you need to get to your Environment Variables and in your System Variables scroll down to Path. Select it and hit the 'Edit' button. Here you can add the path(s) to your Java's bin directory.

    If you're using Windows 10 you can get here by going to 'Settings > System > About > scroll down to System Info > Advanced system settings > Environment Variables'.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  9. #9
    Join Date
    Apr 2013
    Posts
    57
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Simba Code:
    program P1nkyDaviRanger
    {$DEFINE SMART}
    {$DEFINE WALKER}
    {$I AeroLib/AeroLib.simba }

    const

    ba := BitmapFromString(9, 9, 'meJyTNXaWNXZmZGDgNA5jEFcDMuBI' +
            'SscCwgBKQRjy5u7iGsZwBXAtKrb+sgZ2gvIaQLaCggFci0Fgpo5nv' +
            'CzMCmQtQCkgG2gFEEEUw21BdgmQjcZFVoNLC5DEpQXIAADr/BYQ');

    at := BitmapFromString(11, 8, 'meJzLmtOUNadp8rqduFAWWAEcYSp' +
            'IqF4JR1gV45KFI/yyRCrAI0sMAgAzII4j');

    var
    Limit, lor, minAnti, maxAnti, AntiAmount, xp, xpPerHour, tickets, x,y : Integer;
    RSW : TRSWalker;
    started, handleRandoms : Boolean;
    target : TPoint;
    DsgnForm:TForm;
    UsernameBox,PasswordBox, NickBox, PinBox,AntibanBox,AmountBox,delayminBox,delaymaxBox: TEdit;
    UsernameLabel, PasswordLabel, NickLabel, PinLabel, AntibanLabel, AmountLabel, delayLabel, typeLabel, seconds, seperator: TLabel;
    randomsBox : TCheckBox;
    PlayButton : TButton;
    lastTime : Extended;
    ticks, arrows: TItem;
    tim, tim1: Timer;

    procedure Draw(text: string);
    begin
      xpPerHour := round(xp * 3600 / (getTimeRunning / 1000));
      OS_Smart.__Graphics.Clear;
      OS_Smart.__Graphics.DrawClippedText('Made by: Davi', 'SmallChars', point(12, 278), clWhite);
      OS_Smart.__Graphics.DrawClippedText('_____________', 'SmallChars', point(12, 284), clWhite);
      OS_Smart.__Graphics.DrawClippedText('Status : ' + text, 'SmallChars', point(12, 304), clWhite);
      OS_Smart.__Graphics.DrawClippedText('Time Running : ' + TimeRunning, 'SmallChars', point(220, 278), clYellow);
      OS_Smart.__Graphics.DrawClippedText('XP : ' + inttostr(xp),'SmallChars', point(220, 292), clYellow);
      OS_Smart.__Graphics.DrawClippedText('XP per hour : ' + inttostr(xpPerHour),'SmallChars', point(220, 306), clYellow);
      OS_Smart.__Graphics.DrawClippedText('Tickets earned : ' + inttostr(tickets),'SmallChars', point(220, 320), clYellow);
    end;

    procedure OnlyPostiveNumbers(Sender: TObject; var Key:Char); native;        // Thanks ineedbot
    begin
      case toStr(key) of
        [URL=https://villavu.com/forum/usertag.php?do=list&action=hash&hash=8]#8[/URL] , '0'..'9':begin
        end;
        else begin
          Key := #0;
        end;
      end;
    end;

    procedure Start(Sender: TObject); native;
    begin
      PlayButton:begin
        started := true;
        DsgnForm.Close;
      end;
    end;

    procedure OnlyNumbers(Sender: TObject; var Key: Char); native;   // Thanks ineedbot
    begin
      case toStr(key) of
        [URL=https://villavu.com/forum/usertag.php?do=list&action=hash&hash=8]#8[/URL] , '0'..'9', '-':begin
          if(toStr(key) = '-')then begin
            if(AmountBox.getSelStart <> 0)then begin
              Key := #0;
            end;
          end;
        end;
        else begin
          Key := #0;
        end;
      end;
    end;

     procedure InitForm;
    var TempFont : TFont;
    begin
     DsgnForm.init(nil);
      with DsgnForm do
        begin
          setCaption('Davi''s Ranger');
          setBorderStyle(bsSingle);
          setLeft(25);
          setTop(25);
          setWidth(512);
          setHeight(409);
      end;
     UsernameBox.init(DsgnForm);
      with UsernameBox do
        begin
          setParent(DsgnForm);
          setText('');
          setLeft(200);
          setTop(37);
          setWidth(257);
          setHeight(23);
      end;
      UsernameLabel.init(DsgnForm);
      with UsernameLabel do
        begin
          setParent(DsgnForm);
          setCaption('Username or eMail :');
          setLeft(30);
          setTop(37);
          setWidth(150);
          setHeight(23);
      end;
     PasswordBox.init(DsgnForm);
      with PasswordBox do
        begin
          setParent(DsgnForm);
          setText('');
          setLeft(200);
          setTop(70);
          setWidth(200);
          setHeight(23);
          setPasswordChar('*');
          setMaxLength(20);
      end;
        PasswordLabel.init(DsgnForm);
      with PasswordLabel do
        begin
          setParent(DsgnForm);
          setCaption('Password :');
          setLeft(30);
          setTop(70);
          setWidth(150);
          setHeight(23);
      end;
      NickBox.init(DsgnForm);
      with NickBox do
        begin
          setParent(DsgnForm);
          setText('');
          setLeft(200);
          setTop(113);
          setWidth(80);
          setHeight(23);
      end;
      NickLabel.init(DsgnForm);
      with NickLabel do
        begin
          setParent(DsgnForm);
          setCaption('Nickname (random solving) :');
          setLeft(30);
          setTop(113);
          setWidth(150);
          setHeight(23);
      end;
     PinBox.init(DsgnForm);
      with PinBox do
        begin
          setParent(DsgnForm);
          setText('');
          setLeft(200);
          setTop(156);
          setWidth(80);
          setHeight(23);
          setMaxLength(4);
          setPasswordChar('*');
          setONKEYPRESS(OnlyPostiveNumbers);
      end;
      PinLabel.init(DsgnForm);
      with PinLabel do
        begin
          setParent(DsgnForm);
          setCaption('Pin (If you have one) :');
          setLeft(30);
          setTop(156);
          setWidth(150);
          setHeight(23);
      end;
     AntibanBox.init(DsgnForm);
      with AntibanBox do
      begin
          setParent(DsgnForm);
          setText('100');
          setLeft(200);
          setTop(199);
          setWidth(80);
          setHeight(23);
          setONKEYPRESS(OnlyPostiveNumbers);
          setMaxLength(3);
      end;
      AntibanLabel.init(DsgnForm);
      with AntibanLabel do
      begin
          setParent(DsgnForm);
          setCaption('Antiban freq (Percentage) :');
          setLeft(30);
          setTop(199);
          setWidth(150);
          setHeight(23);
      end;
      delayminBox.init(DsgnForm);
      with delayminBox do
      begin
          setParent(DsgnForm);
          setText('2');
          setLeft(200);
          setTop(242);
          setWidth(80);
          setHeight(23);
          setONKEYPRESS(OnlyPostiveNumbers);
          setMaxLength(2);
      end;
      delaymaxBox.init(DsgnForm);
      with delaymaxBox do
      begin
          setParent(DsgnForm);
          setText('8');
          setLeft(320);
          setTop(242);
          setWidth(80);
          setHeight(23);
          setONKEYPRESS(OnlyPostiveNumbers);
          setMaxLength(2);
      end;
      delayLabel.init(DsgnForm);
      with delayLabel do
      begin
          setParent(DsgnForm);
          setCaption('Minimum antiban delay :');
          setLeft(30);
          setTop(242);
          setWidth(150);
          setHeight(23);
      end;
      seconds.init(DsgnForm);
      with seconds do
        begin
          setParent(DsgnForm);
          setLeft(410);
          setTop(242);
          setWidth(100);
          setHeight(23);
          setCaption('seconds');
      end;
      seperator.init(DsgnForm);
      with seperator do
        begin
          setParent(DsgnForm);
          setLeft(295);
          setTop(242);
          setWidth(100);
          setHeight(23);
          setCaption('to');
      end;
     AmountBox.init(DsgnForm);
      with AmountBox do
        begin
          setParent(DsgnForm);
          setText('-1');
          setLeft(200);
          setTop(285);
          setWidth(80);
          setHeight(23);
          setONKEYPRESS(OnlyNumbers);
          setMaxLength(6);
      end;
      AmountLabel.init(DsgnForm);
      with AmountLabel do
        begin
          setParent(DsgnForm);
          setCaption('Limit (-1 for no limit) :');
          setLeft(30);
          setTop(285);
          setWidth(150);
          setHeight(23);
      end;
      randomsBox.init(DsgnForm);
      with randomsBox do
        begin
          setParent(DsgnForm);
          setCaption('Handle randoms');
          setState(0);
          setLeft(200);
          setTop(328);
          setWidth(90);
          setHeight(19);
      end;
     PlayButton.init(DsgnForm);
      with PlayButton do
        begin
          setParent(DsgnForm);
          setCaption('Play');
          setLeft(200);
          setTop(371);
          setWidth(75);
          setHeight(25);
          setOnClick(Start);
      end;
    end;


    procedure ShowFormModal();Native;
    begin
      InitForm;
      DsgnForm.showModal();

      ticks.BMP := at;
      ticks.Name := 'Archery ticket';
      ticks.Wieldable := False;
      ticks.BMP_TOL := 15;

      arrows.BMP := ba;
      arrows.Name := 'Bronze arrow';
      arrows.Wieldable := True;
      arrows.BMP_TOL := 15;

      Me.Name := UsernameBox.getText;
      Me.Pass := PasswordBox.getText;
      Me.Nick := NickBox.getText;
      Me.Pin := PinBox.getText;
      Me.Member := True;
      Me.Active := True;

      SMART_ShowConsole := false;
      SMART_UserAgent := 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0';

      handleRandoms := (toStr(randomsBox.getState) = 'cbChecked');

      if (Length(AmountBox.getText) > 0) then
      begin
        limit := StrToInt(AmountBox.getText)
      end else
      begin
        limit := 9999999 // Arbitrarily large
      end;

      if (Length(AntiBanBox.getText) > 0) then
      begin
        AntiAmount := StrToInt(AntiBanBox.getText)
      end else
      begin
        AntiAmount := 0;
      end;
      if (Length(delayminBox.getText) > 0) then
      begin
        minAnti := StrToInt(delayminBox.getText)
      end else
      begin
        minAnti := 0;
      end;
      if (Length(delaymaxBox.getText) > 0) then
      begin
        maxAnti := StrToInt(delaymaxBox.getText)
      end else
      begin
        maxAnti := 0;
      end;
      DsgnForm.Free;
    end;

    procedure SafeShowModal;
    begin
      sync(showFormModal);
    end;

    function checkAnti() : Boolean;
    var
    perc : Integer;
    begin
      if (AntiAmount > 0) then
      begin
        perc := AntiAmount - 1
        case random(100) of
          0..perc: Result:= True;
        end;
      end;
    end;

    procedure customAnti;
    var
    time : Extended;
    begin
      time := getTimeRunning - randomRange(minAnti*1000,maxAnti*1000);
      if lastTime < time then
      begin
        if (checkAnti) then
        begin
          waitEx(10); // to handle randoms during Anti
          draw('Performing antiban');
          case random(9) of
            0: randomMovement();
            1: boredHuman();
            2: pickUpMouse();
            3: boredHuman();
            4: hoverSkill('random', false);
            5: SleepAndMoveMouse(3000);
            6: compassMovement(40,120,False);
            7: randomFKeys(True);
            8: MMouseOffClient('rand');
          end;
        end;
      lastTime := getTimeRunning;
      end;
    end;

    procedure customMouse(point: TPoint);
    // This methodology was inspired by rj's antiban guide
    begin
      case random(200) of
        0..160: HumanMMouse(point, random(5), random(5));
        161..190: HumanMMouse(point, random(7), random(7));
        191..200: HumanMMouse(point, random(10), random(10));
      end;
    end;
    Procedure RandomWait;
    Begin
      Draw('Waiting');
      case random(1000) of
        0..700:    wait(RandomRange(400, 1000));
        701..900:  wait(RandomRange(600, 1600));
        901..1000: wait(RandomRange(800, 3800));
      End;
    End;

    function findNearestTarget(): Boolean;
    var
      TPA: TPointArray;
      ATPA: T2DPointArray;
      I: Integer;
      box: TBox;
    begin
      if not FindColorsSpiralTolerance(x, y, TPA, 5888743, MSX1, MSY1, MSX2, MSY2, 10) then
        exit;
      ATPA := SplitTPA(TPA, 5);
      SortATPAFromFirstpoint(ATPA, Point(0, 0));
      if (length(ATPA) <= 0) then
      begin
        result := False;
        exit;
      end;
      //os_smart.__Graphics.DrawATPA(ATPA);
      for I := 0 to high(ATPA) do
      begin
       if (length(ATPA[I]) >= 10) then
        begin
          //os_smart.__Graphics.DrawTPA(ATPA[I], 255); also for debugging purposes
          box := intToBox(ATPA[I].getBounds().X1, ATPA[I].getBounds().Y1 - 25, ATPA[I].getBounds().X2, ATPA[I].getBounds().Y2);
          if (box.x1 < 0) then
            box.x1 := 0;
          if (box.y1 < 0) then
            box.y1 := 0;
          target := MiddleTPA(ATPA[I]);
          result := True;
          exit;
        end;
      end;
      result := False;
    end;

    procedure startCompetition;
    var
    found, repos : boolean;
    begin
      case random(2) of
        0: lor := vk_right;
        1: lor := vk_left;
      end;
      tim.start;
      tim1.start;
      repeat
        if (RSW._GetPos.Y < 2767) or (RSW._GetPos.X < 2477) then
            RSW.blindWalk(point(2487,2777));
        if handleRandoms then
          waitEx(50);
        if not isLoggedIn() then
          break;
        if (tim.timeElapsed > 20000) then
        begin
          Writeln('Timed out: Could not find Judge - Terminating script');
          logoutPlayer;
          TerminateScript;
        end;
        if (tim1.timeElapsed > 5000) and (not found) then
        begin
          Draw('Checking under character');
          customMouse(point(MSCX,MSCY));
          fastClick(mouse_Right);
          WaitUpText('ompetition', randomrange(300, 800));
          if ChooseOptionMulti(['ompetition']) then
          begin
            found := True;
            waitChatChange;
          end;
          tim1.start;
        end;
        draw('Looking for judge');
        if(findMSObjectSimple([2180171, 1914942], ['ompetition', 'udge']) and (not found)) then
        begin
          fastClick(mouse_Right);
          WaitUpText('ompetition', randomrange(300, 400));
          if ChooseOptionMulti(['ompetition']) then
          begin
            found := True;
            waitChatChange;
          end;
        end else
        begin
          keyDown(lor);
          wait(randomRange(500,1000));
          keyUp(lor);
        end;
      until(found = true);
      DoConversation(['ure']);
      arrows.Interact(mouse_Left);
    end;

    procedure doCompetition;
    var
    tim2, tim3 : Timer;
    amount, namount, ticketsGained, count : integer;
    shooting, found : boolean;
    begin
      amount := ticks.getAmount(True);
      count := 0;
      shooting := false;
      tim.start;
      tim1.start;
      repeat
        if (RSW._GetPos.Y < 2767) or (RSW._GetPos.X < 2477) then
            RSW.blindWalk(point(2487,2777));
        if handleRandoms then
          waitEx(50);
        if not isLoggedIn() then
          break;


        if (shooting = false) then  //find target
        begin
          if (tim1.timeElapsed > 30000) and (not found) then
          begin
            Writeln('Timed out: Could not find targets - Terminating script');
            logoutPlayer;
            TerminateScript;
          end;
          setAngle(ANGLE_LOW);
          draw('Looking for targets');
          if (findNearestTarget = False) then
          begin
            keyDown(vk_left);
            wait(randomRange(500,1000));
            keyUp(vk_left);
          end else
          begin
            found := true;
            if (target.X < 475) or (target.X > 495) then
            begin
              draw('Lining up target');
              if (target.X < 475) then
              begin
                keyDown(vk_right);
                repeat
                  findNearestTarget;
                until(target.X > 465); // comp for slide
                keyUp(vk_right);
              end;
              if (target.X > 495) then
              begin
                keyDown(vk_left);
                repeat
                  findNearestTarget;
                until(target.X < 505); // comp for slide
                keyUp(vk_left);
              end;
            end else
            begin
              customMouse(target);
              if(isUptextMulti(['ire-at','Fire','arget'])) then
              begin
                draw('Target Acquired');
                found := false;
                shooting := True;
              end;
            end;
          end;
        end;

        if (shooting = true) then //shoot target
        begin
          draw('Firing at target');
          if (isUptextMulti(['ire-at','Fire','arget'])) then
          begin
            fastClick(mouse_Left);
          end else
          begin
            if (not Interfaces[TARGETSCREEN].isVisible()) then
            begin
              shooting := false;
              tim1.start;
              continue;
            end;
          end;
          tim2.start;
          repeat
            if tim2.timeElapsed > 10000 then
            begin
              Writeln('Misclicked - Trying to find targets');
              shooting := false;
              tim1.start;
              break;
            end;
            wait(randomRange(200,500));
          until(Interfaces[TARGETSCREEN].isVisible() or clickContinueEx(False));
          count := count + 1;
          if Interfaces[TARGETSCREEN].isVisible() and (not clickContinueEx(False)) then
          begin
            if(isUptextMulti(['lose'])) then
            begin
              fastClick(mouse_Left);
            end;
            tim3.start;
            repeat
              draw('Closing interface');
              if (tim3.timeElapsed() > 1500) then
              begin
                customMouse(point(485,40));
                if(isUptextMulti(['lose'])) then
                begin
                  fastClick(mouse_Left);
                end;
              end;
            until(not Interfaces[TARGETSCREEN].isVisible());
            if random(2) then
            begin
              getMousePos(x,y);
              customMouse(point(x, y));
            end;
          end;
        end;
        namount := ticks.getAmount(True);
        if count > 10 then
          break;
      until(namount > amount);
      tim.start;
      repeat
        if tim.timeElapsed > 1000 then
        begin
          Writeln('Couldn''t grab xp values - will under report');
          break;
        end;
        namount := ticks.getAmount(True);
      until(namount > amount);
      ticketsGained := namount - amount;
      xp := xp + ticketsGained * 5;
      tickets := tickets + ticketsGained;
      clickContinue(true);
      end;


    procedure FreeStuff;
    begin
      Writeln('Thanks for using Davi''s Ranger. Ran for: '+TimeRunning);
      freeBitmap(at);
      freeBitmap(ba);
      RSW.Free;
    end;

    begin
          AddOnTerminate('FreeStuff');
          SafeShowModal;
          if (Started) then
          begin
            initAL();
            RSW.Init('surface', 'WorldMap', OS_SMART.ID);
            RSW.walkStyle := wsSPS;
            RSW.anyAngle  := True;
            RSW.skipClose := 5;
            OS_Smart.__Graphics.Clear;
            repeat
              if not isLoggedIn() then
              begin
                LogInPlayer(false);
              end;
             startCompetition;
             customAnti;
             doCompetition;
             if handleRandoms then
               randomsReport;
            until (xp = limit);
            LogoutPlayer;
          end;
    end.
    Last edited by BraK; 11-14-2015 at 08:46 PM.

  10. #10
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    @fulldragons; That's a simple fix, I had already warned users that Rev.2+ would utilized an updated version of RSWalker which no longer uses a Map type parameter. You really should have read the warning (and fix) on the official thread:
    https://villavu.com/forum/showthread...93#post1361893
    Last edited by Flight; 11-14-2015 at 08:58 PM.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  11. #11
    Join Date
    Mar 2006
    Location
    Behind you
    Posts
    3,193
    Mentioned
    61 Post(s)
    Quoted
    63 Post(s)

    Default

    Please always use the simba tags when posting code. I edited it for you.
    @Flight; think you meant ; instead of :

    "Sometimes User's don't need the Answer spelled out with Code. Sometimes all they need is guidance and explanation of the logic to get where they are going."

  12. #12
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by BraK View Post
    Please always use the simba tags when posting code. I edited it for you.
    @Flight; think you meant ; instead of :
    I never knew that trick, wow!

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  13. #13
    Join Date
    Jan 2014
    Posts
    11
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    didnt want to start a new thread for this im sorry if its been answered i am just not understanding I found where to change the path and chose what i thought is the new version of java i just installed but im still getting the same error.. i dont want it to spawn a new client i want it to run through osbuddy if that makes a difference.

    This is the path i have it going to, C:\Program Files\Java\jre1.8.0_66\bin
    Last edited by teknoh420; 12-18-2015 at 06:13 PM.

  14. #14
    Join Date
    Nov 2011
    Location
    Norway
    Posts
    203
    Mentioned
    4 Post(s)
    Quoted
    100 Post(s)

    Default

    Quote Originally Posted by teknoh420 View Post
    didnt want to start a new thread for this im sorry if its been answered i am just not understanding I found where to change the path and chose what i thought is the new version of java i just installed but im still getting the same error.. i dont want it to spawn a new client i want it to run through osbuddy if that makes a difference.

    This is the path i have it going to, C:\Program Files\Java\jre1.8.0_66\bin
    That path indicates you have 64-bit Java installed. Make sure you install x86 (32-bit) Java and set the path again. It will look like this:

    C:\Program Files (x86)\Java\jre1.8.0_66\bin

  15. #15
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default

    Quote Originally Posted by teknoh420 View Post
    didnt want to start a new thread for this im sorry if its been answered i am just not understanding I found where to change the path and chose what i thought is the new version of java i just installed but im still getting the same error.. i dont want it to spawn a new client i want it to run through osbuddy if that makes a difference.

    This is the path i have it going to, C:\Program Files\Java\jre1.8.0_66\bin

    As far as i'm concerned we are using java version 7.76 build 1.7.0_76-b13

    Smart doesn't spawn reliably with other revisions; this OSRS by the way. I have never played RS3; but i presumed its loaded through smart identically.

    *** edit i completely missed the part 'i dont want it to spawn a new client i want it to run through osbuddy'

    <------------------>



  16. #16
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by teknoh420 View Post
    didnt want to start a new thread for this im sorry if its been answered i am just not understanding I found where to change the path and chose what i thought is the new version of java i just installed but im still getting the same error.. i dont want it to spawn a new client i want it to run through osbuddy if that makes a difference.

    This is the path i have it going to, C:\Program Files\Java\jre1.8.0_66\bin
    If you don't want to use SMART simply comment out the part that defines SMART near the top of the script by adding "//" in front of it:
    Simba Code:
    //{$DEFINE SMART}

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  17. #17
    Join Date
    Jan 2014
    Posts
    11
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    If you don't want to use SMART simply comment out the part that defines SMART near the top of the script by adding "//" in front of it:
    Simba Code:
    //{$DEFINE SMART}
    Thank you very much Flight! I finally got it working late last night and have been Botscaping it up ever since :P I love this community and how everyone is so willing to help and takes it easy on me even when my questions may be nooby as heck. Thanks again! I really do appreciate everything y'all have done for me!!!!!

  18. #18
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Any time my friend, we're all happy to help.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


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
  •