Page 1 of 29 12311 ... LastLast
Results 1 to 25 of 703

Thread: [SRL-6] The Mayors VEB Miner

  1. #1
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default [SRL-6] The Mayors VEB Miner


    Live stats since 5th July 2014

    Current Revision: 17

    Updated: 14th July 2015

    New in revision 17:

    Just changed the GitHub links for the updater. Full code difference can be found here.


    Remember to post progress reports! Don't be an ungrateful leecher!




    What this script does:
    • This mines any combination of Iron, Tin and Copper ore at Varrock East Mine.
    • Support for both powermining and banking (at Varrock East Bank).
    • Support for unlimited players.




    Features:
    • 100% Colour
    • Multiplayer (custom settings for each player).
    • Inventory management.
    • Custom rock search radius (if you want to stick to particular rocks).




    Requirements:
    1. If mining iron, a mining level of at least 15 is required.
    2. Varrock lodestone must be unlocked.
    3. Have your best pickaxe equipped to your tool-belt (or wielded).




    How to setup this script:
    1. Make sure interfaces default SRL style (Use directX if possible - see spoiler below).
    2. Have your players setup in the Rafiki Player Manager (see spoiler below).
    3. Press play and fill out the SRL Player Form (see spoiler below).


    1. Rafiki Player Manager




    2. SRL Player Form




    3. Interface Layout






    Top Progress reports:

    1st Place

    Progress Report by Grumble:
    ||--------------------------------------||
    || The Mayor's VEB Miner (Rev. 7)       ||
    ||                                      ||
    || Time running: 70h 16m 32s            ||
    || Ores mined: 51283 (730 PH)           ||
    || Iron: 51283 Tin: 0 Copper: 0         ||
    || Gems found: 1                        ||
    || Loads done: 5949 of 500000           ||
    || Experience earned: 1794905 (25541 PH)||
    || Value of ore dropped: 18974710       ||
    || Lodestone recoveries: 0              ||
    || Time until break: Breaking disabled  ||
    || Breaks taken: 0 (0 h & 0 m)          ||
    ||--------------------------------------||


    Other Progress Reports

    2nd Place
    Progress Report by Patash:
     /=========================================\
    ||     The Mayor's VEB Miner (Rev. 13)     ||
    ||                                         ||
    || Current Player: [0] snip                ||
    || Total Time: 60 hr 19 min 52 sec         ||
    || Ores mined: 19,382 (344 PH)             ||
    || Iron: 19382 Tin: 0 Copper: 0            ||
    || Experience earned: 678,370 (12,047 PH)  ||
    || Profit made: 4,981,174 (88,460 PH)      ||
    || Gems found: 28                          ||
    || Loads done: 694 of 100000               ||
    || Lodestone recoveries: 5                 ||
    || Taking a break in: 0h 27m 18s           ||
    || Switching players in: 1 active player   ||
    || Breaks taken: 55 (6 h & 42 m)           ||
     \=========================================/


    3rd Place
    Progress Report by cbrems:
     /=========================================\
    ||     The Mayor's VEB Miner (Rev. 13)     ||
    ||                                         ||
    || Current Player: [0] ironman             ||
    || Total Time: 47 hr 34 min 42 sec         ||
    || Ores mined: 19,893 (423 PH)             ||
    || Iron: 19893 Tin: 0 Copper: 0            ||
    || Experience earned: 696,255 (14,797 PH)  ||
    || Profit made: 5,112,501 (108,654 PH)     ||
    || Gems found: 48                          ||
    || Loads done: 713 of 5000                 ||
    || Lodestone recoveries: 11                ||
    || Taking a break in: 1h 42m 24s           ||
    || Switching players in: 1 active player   ||
    || Breaks taken: 4 (0 h & 39 m)            ||
     \=========================================/




    Attached Files Attached Files
    Last edited by The Mayor; 07-14-2015 at 08:49 AM. Reason: Uploaded new updater file

  2. #2
    Join Date
    Jul 2013
    Location
    An horse
    Posts
    300
    Mentioned
    9 Post(s)
    Quoted
    120 Post(s)

    Default

    Started the script and it runs great. Will add a proggy tomorrow after letting it run all night. Thanks!
    Currently lurking while messing around with dll injection. Will continue contributing after I finish my quest.

  3. #3
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Foundry View Post
    Started the script and it runs great. Will add a proggy tomorrow after letting it run all night. Thanks!
    Sweet, it needs a good stress test (I don't think the walking is 100% yet).

  4. #4
    Join Date
    May 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Screen Shot 2014-04-24 at 2.33.17 pm.jpg
    Hi Mayor, I've started using your script. The log-in is fine, but it always gets stuck after that. It does not select the "world tab" to choose the world to log in to. So i manually select the world. After that, while it's next to the rocks in VE, it just stands there and not mine. what could be wrong? Another thing to note is that every time i log in, I have to manually change the settings from safe mode to OpenGL, not sure why it can't stay as OpenGL when i relog. Other than that, everything was done as instructed, i.e the setting up of simba, the customisation, etc.

    Attached is a screenshot of my SMART client. and Below is the script i placed into samba. I would appreciate all the help i can get as i want this awesome script to work for me too. Thanks in advance



    Simba Code:
    program TheMayorsVEBMiner;
    {$DEFINE SMART}
    {$I SRL-6/SRL.Simba}
    {$I SPS/LIB/SPS-RS3.simba}
    const
      REVISION = '1';
    (*                                                               .
           .---. .-. .-..----.   .-.   .-.  .--..-.  .-..----. .----.|\.----.
          {_   _}| {_} || {_     |  `.'  | / {} \\ \/ //  {}  \| {}  }{ {__
            | |  | { } || {__    | |\ /| |/  /\  \}  { \      /| .-. \.-._} }
            `-'  `-' `-'`----'   `-' ` `-'`-'  `-'`--'  `----' `-' `-'`----'

               .-. .-..----..----.    .-.   .-..-..-. .-..----..----.
               | | | || {_  | {}  }   |  `.'  || ||  `| || {_  | {}  }
               \ \_/ /| {__ | {}  }   | |\ /| || || |\  || {__ | .-. \
                `---' `----'`----'    `-' ` `-'`-'`-' `-'`----'`-' `-'


                          Completed: 24th April 2014 for the LOLs
                          Updated:


    *)




      NICKNAME = ':spot::spot::spot:';         { Nickname of player entered into the Rafiki player manager                                     }
      PLAYER_FILE = 'default';   { The name of your player file that you made in Rafiki                                                 }

      LOADS_TO_DO = 6000;          { Stop after how namy loads                                                    }

      MINE_TIMER = 5000;          { Max time to wait for ore after clicking a rock.
                                    You would want to increase this if using a
                                    low level pickaxe (5000 = 5 seconds)                                         }



      PAINT_ON_SMART = True;      { Paint status in chatbox?                                                     }

      STATUS_COLOUR = 255;        { What colour do you want the paint to be (you can choose with color picker)   }

      ENABLE_DEBUG = False;       { Show debug output in debug box?                                                           }




    (* -------------------------------------------------------------------------- *)
    {*                     EASY UPDATE - Update colours yourself!                 *}
    (* -------------------------------------------------------------------------- *)
    {   If future RS updates change the colours, then you can easily update them
       yourself by changing the values below. See my AIO tutorial if you don't know
                              how to pick colours using ACA.                        }



    { Iron Ore }
      ROCK_COLOUR = 2242428;
      ROCK_TOL = 8;
      ROCK_HUE = 0.09;
      ROCK_SAT = 0.33;

    { Bank booth in VEB }
      BOOTH_COLOUR = 1394024;
      BOOTH_TOL = 3;
      BOOTH_HUE = 0.13;
      BOOTH_SAT = 2.11;

    { Banker NPC in VEB (purple ones) }
      BANKER_COLOUR = 5517369;
      BANKER_TOL = 12;
      BANKER_HUE = 0.20;
      BANKER_SAT = 0.48;

    (* -------------------------------------------------------------------------- *)
    {*                   DON'T TOUCH ANYTHING BELOW                               *}
    (* -------------------------------------------------------------------------- *)








    { Global Variables }
    var
      PathToBank, PathToMine: TPointArray;
      LoadsDone, OresMined, BankSymbol, MineSymbol, IronOrePrice: integer;


    procedure findRandoms();
    begin
      exitTreasure();
      claimTicket();
    end;

    procedure paintStatus(status: string);
    begin
      if PAINT_ON_SMART then
      begin
        smartImage.clear();
        smartImage.drawText('Status: ' + status, point(chatbox.X2-320,chatbox.Y2-19), SmallChars, false, STATUS_COLOUR);
      end;
    end;

    function getGEPrice(itemString: string): integer;
    var
      wikiaPage, priceString: string;
    begin
      wikiaPage := getPage('http://runescape.wikia.com/wiki/Exchange:' + itemString);
      priceString := between('GEPrice">', '</span>', wikiaPage);
      result := strToIntDef(priceString, -1);
      writeLn('-- ' + itemString + ' price: '+ toStr(result) + ' gp');
    end;

    procedure checkForImages(path, link, item: string);
    var
      progFile: longInt;
      picName: string;

    begin
      picName := AppPath + path;

      try
        if not fileExists(picName) then
        begin
          writeLn('NOTIFICATION: ' + item + ' does not exist - Downloading it now!');
          progFile := createFile(picName);
        end else
        begin
          writeLn('NOTIFICATION: ' + item + ' already exists!');
          exit;
        end;

        closeFile(progFile);

        progFile := rewriteFile(picName, false);
        writeFileString(progFile, getPage(link));
        writeLn('NOTIFICATION: ' + item + ' has been download to Simba folder!');
        writeLn('');
      finally
        if (progFile > 0) then
          closeFile(progFile);
      end;
    end;

    function antiBan(): boolean;
    var
      i: integer;
    begin
      i := random(1500);

      if i < 66 then
      begin
        paintStatus('Engaging in antiban');

        case i of
          1..4: boredHuman(false);
          5..10: begin
                   hoverSkill(SKILL_MINING);
                   wait(gaussRangeInt(1500,5000));
                 end;
          11..13: mouseMovingObject();
          14..25: sleepAndMoveMouse(randomRange(100,6000));
          26..40: begin
                    mouseOffClient(Random(4));
                    wait(randomRange(2000, 15000));
                  end;
          41..50: wait(RandomRange(1000, 2000));
          51..60: randomCameraAngle(MS_ANGLE_HIGH);
          61..65: pickUpMouse();
        end;
      end;
    end;

    procedure progressReport();
    var
      xpGained, xpPerHour, oresPerHour, profit, profitPerHour, PAD: integer;
    begin
      xpGained := OresMined * 27;
      xpPerHour := round(xpGained * (3600.0 / (GetTimeRunning / 1000.0)));
      oresPerHour := round(OresMined * (3600.0 / (GetTimeRunning / 1000.0)));

      profit := OresMined * IronOrePrice;
      profitPerHour := round(profit * (3600.0 / (GetTimeRunning / 1000.0)));

      PAD := 39;
      clearDebug();

      writeLn('||-------------------------------------||');
      writeLn(padR('||    The Mayor''s VEB Miner (Rev. ' + REVISION + ')', PAD) + '||') ;
      writeLn(padR('||', PAD) + '||');
      writeLn(padR('|| Time Running: ' + msToTime(getTimeRunning(), TIME_SHORT), PAD) + '||') ;
      writeLn(padR('|| Ores Mined: ' + toStr(oresMined) + ' (' + toStr(oresPerHour) + ' PH)', PAD) + '||');
      writeLn(padR('|| Loads Done: ' + toStr(loadsDone) + ' of ' + toStr(LOADS_TO_DO), PAD) + '||');
      writeLn(padR('|| Experience Earned: ' + toStr(xpGained) + ' (' + toStr(xpPerHour) + ' PH)', PAD) + '||');
      writeLn(padR('|| Profit Made: ' + toStr(profit) + ' (' + toStr(profitPerHour) + ' PH)', PAD) + '||');
      writeLn('||-------------------------------------||');
    end;

    procedure endScript(reason: string);
    begin
      wait(randomRange(4000, 3000));
      players[currentPlayer].exitToLobby();
      progressReport();
      writeLn('Terminated because: ' + reason);
      writeln('Thank you for using Varrock Bank and Miner, all credits to the SRL community');
      freeDTM(MineSymbol);
      freeDTM(BankSymbol);
      terminateScript();
    end;

    function mayorObjectFinder(excludeSmall: boolean; hue, sat: extended; W, H, colour, tolerance, clickType: Integer; mouseOverText, chooseOptions: array of string): boolean;
    var
      i, x, y: integer;
      p: TPoint;
      TPA: TPointArray;
      ATPA: T2DPointArray;

    begin
      if not isLoggedIn() then
        exit;

      findColorsSpiralTolerance(x, y, TPA, colour, mainScreen.getBounds(), tolerance, colorSetting(2, hue, sat));
      if (Length(TPA) < 1) then exit;

      ATPA := TPA.toATPA(W, H);
      ATPA.sortFromMidPoint(mainscreen.playerPoint);

      if PAINT_ON_SMART then
        smartImage.debugATPA(ATPA);

      for i := 0 to high(ATPA) do
      begin
        if excludeSmall then
          if length(ATPA[i]) < W then
            continue;
        mouse(MiddleTPA(ATPA[i]), MOUSE_MOVE);
        if isMouseOverText(mouseOverText, 500) then
        begin
          fastClick(ClickType);
          if clickType = MOUSE_LEFT then
          begin
            if PAINT_ON_SMART then
              smartImage.clearArea(mainscreen.getBounds());
            exit(true);
          end;
          if chooseOption.select(chooseOptions) then
          begin
            if PAINT_ON_SMART then
              smartImage.clearArea(mainscreen.getBounds());
            exit(true);
          end else
          begin
            gaussBox(p, mainscreen.getBounds());
            mouse(p, MOUSE_MOVE);
          end;
        end;
      end;
    end;

    function findBankerNPCDots(var bank: TPoint): boolean;
    var
      i: integer;
      B, gB: TPointArray;
      aTPA: T2DPointArray;

    begin
      result := false;
      B := minimap.getDots(MM_DOT_NPC, minimap.getBounds());
      aTPA := splitTPA(B, 10);
      sortATPASize(aTPA, true);
      if length(aTPA) = 0 then
        exit;
      B := aTPA[0];
      for i := 0 to high(B) - 1 do
      begin
        if (Abs(B[i].Y - B[i + 1].Y) < 15) and (Abs(B[i].X - B[i + 1].X) < 60) then
        begin
          setLength(gB, length(gB) + 1);
          gB[high(gB)] := B[i];
          if high(gB) > 3 then
          begin
            bank := middleTPA(gB);
            bank.Y := bank.Y - 5;
            exit(true);
          end;
        end else
          setLength(gB, 0);
      end;
    end;

    procedure walkToBank();
    var
      p: TPoint;
      walkTimer: TTimeMarker;
      x, y: integer;
    begin
      walkTimer.start();

      paintStatus('Walking to Varrock East Bank');

      repeat
        if not isLoggedIn() then
          exit;

        minimap.setAngle(MM_DIRECTION_NORTH);
        SPS.walkPath(PathToBank);

        if findBankerNPCDots(p) then
        begin
          mouse(p, MOUSE_LEFT);
          exit;
        end;

        if findDTM(BankSymbol, x, y, minimap.getBounds()) then
        begin
          mouse(x , y, 5, 5, MOUSE_LEFT);
          exit;
        end;
      until walkTimer.getTime() > 120000;

      endScript('failed to walk to the bank within 2 minutes');
    end;

    procedure openBank();
    var
      bankTimer: TTimeMarker;
      p: TPoint;
      angle: extended;

    begin
      bankTimer.start();

      paintStatus('Opening Varrock East Bank');

      repeat
        if (not isLoggedIn) or bankScreen.isOpen() or pinScreen.isOpen() then
          exit;

        minimap.waitFlag(5);
        minimap.waitPlayerMoving(350);

        if mayorObjectFinder(true, BOOTH_HUE, BOOTH_SAT, 45, 33, BOOTH_COLOUR, BOOTH_TOL, MOUSE_LEFT, ['ooth', 'ank boo'], ['ank Bank']) then
          if (bankScreen.isOpen(5000)) or (pinScreen.isOpen(5000)) then
            exit;

        if mayorObjectFinder(true, BANKER_HUE, BANKER_SAT, 20, 20, BANKER_COLOUR, BANKER_TOL, MOUSE_RIGHT, ['anker', 'ank Ban'], ['ank Bank']) then
          if bankScreen.isOpen(5000) or pinScreen.isOpen(5000) then
            exit;

        if findBankerNPCDots(p) then
          mouse(p, MOUSE_LEFT)
        else
          minimap.setAngle(randomRange(35, 50));

      until (bankTimer.getTime() > 120000) or (not isLoggedIn());

      endScript('we failed to open the bank within 2 minutes');
    end;

    procedure depositOre();
    var
      bankTimer: TTimeMarker;
    begin
      if bankScreen.isOpen(3000) or pinScreen.isOpen(3000)  then
      begin

        paintStatus('Depositing Iron Ore');

        if pinScreen.isOpen() then
          pinScreen.enter(Players[currentPlayer].bankPin);

        bankTimer.start();

        repeat
          if (bankscreen.getPackCount() > 0) then
          begin
            bankScreen.quickDeposit(QUICK_DEPOSIT_INVENTORY);
            wait(gaussRangeInt(1100, 1750));
          end;

          if bankscreen.getPackCount() = 0 then
          begin
            bankscreen.close();
            wait(gaussRangeInt(1100, 1750));
            inc(LoadsDone);
            exit;
          end;
        until (bankTImer.getTime() > 45000);

        endScript('something went wrong when depositing ore');
      end;
    end;

    procedure walkToMine();
    var
      p: TPoint;
      walkTimer: TTimeMarker;
      x, y: integer;
    begin
      walkTimer.start();

      paintStatus('Walking to Varrock East Mine');

      repeat
        if not isLoggedIn() then
          exit;

        minimap.setAngle(MM_DIRECTION_NORTH);
        SPS.walkPath(PathToMine);

        if findDTM(MineSymbol, x, y, minimap.getBounds()) then
        begin
          mouse(x , y, 5, 5, MOUSE_LEFT);
          wait(randomRange(1000, 1500));
          exit;
        end;
        exit; //as DTM is buggy
      until walkTimer.getTime() > 120000;

      endScript('failed to walk to the mine within 2 minutes');
    end;

    procedure mineRocks();
    var
      mineTimer: TTimeMarker;
    begin
      mineTimer.start();
      mainscreen.setAngle(MS_ANGLE_HIGH);

      repeat
        paintStatus('Mining Iron Ore');

        if mayorObjectFinder(false, ROCK_HUE, ROCK_SAT, 15, 15, ROCK_COLOUR, ROCK_TOL, MOUSE_LEFT, ['ron ore roc'], ['']) then
          if tabBackpack.waitForShift(MINE_TIMER) then
            inc(OresMined);

        findRandoms();
        antiBan();

        if random(14) = 5 then
          randomCompass(10, 300, false);

      until tabBackpack.isFull() or (mineTimer.getTime() > 300000);

    end;

    procedure mainLoop();
    begin
      if not isLoggedIn() then
        exit;

      findRandoms();

      if tabBackpack.count >= 28 then
      begin
        walkToBank();
        openBank();
        depositOre();
      end else
      begin
        walkToMine();
        mineRocks();
      end;

      progressReport();

    end;

    procedure setup();
    begin
      clearDebug();
      smartEnableDrawing := true;
      disableSRLDebug := not ENABLE_DEBUG;
      setupSRL();

      players.Setup([NICKNAME], PLAYER_FILE);
      currentPlayer := 0;

      checkForImages('Includes/SPS/img/runescape_other/VEB_01.png', 'http://i.imgur.com/8cEO9N3.png', 'SPS map');
      PathToBank := [Point(317, 346), Point(338, 312), Point(339, 278), Point(337, 222), Point(330, 180), Point(310, 136), Point(286, 100), Point(234, 99), Point(188, 99), Point(176, 111)];
      PathToMine := [Point(177, 131), Point(176, 100), Point(221, 101), Point(269, 99), Point(310, 124), Point(318, 170), Point(338, 222), Point(340, 266), Point(347, 299), Point(329, 325), Point(311, 344)];
      sps.setup('VEB_01', RUNESCAPE_OTHER);

      BankSymbol := DTMFromString('mbQAAAHicY2VgYJBkZmCQgGJBIFYE4n1A8cNAvAuIDwDxfiD+eL6EodRJiuHCgiSGiavvMiza85pBBCiOjhmxYDAAAGPyDew=');
      MineSymbol := DTMFromString('mWAAAAHicY2FgYNjOxMCwE4h3APFeIE4AikUDcQoQxwHx21OiDD/vcDCYmpgwvL0kxCAHFINhEGBEwyAAAGSsCuQ=');

      IronOrePrice := getGEPrice('Iron_ore');
      progressReport();
    end;

    begin
      setup;

      repeat
        if not isLoggedIn() then
        begin
          players[currentPlayer].login();
          mainscreen.setAngle(MS_ANGLE_HIGH);
          findRandoms();
        end;

        mainLoop();
      until LoadsDone >= LOADS_TO_DO;

      endScript('your player has finished your desired loads');
    end.
    Last edited by obradley; 04-24-2014 at 06:23 AM.

  5. #5
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by obradley View Post
    Screen Shot 2014-04-24 at 2.33.17 pm.jpg
    Hi Mayor, I've started using your script. The log-in is fine, but it always gets stuck after that. It does not select the "world tab" to choose the world to log in to. So i manually select the world. After that, while it's next to the rocks in VE, it just stands there and not mine. what could be wrong? Another thing to note is that every time i log in, I have to manually change the settings from safe mode to OpenGL, not sure why it can't stay as OpenGL when i relog. Other than that, everything was done as instructed, i.e the setting up of simba, the customisation, etc.

    Attached is a screenshot of my SMART client. and Below is the script i placed into samba. I would appreciate all the help i can get as i want this awesome script to work for me too. Thanks in advance
    Can you edit your post and put it in SIMBA tags? [SIMBA] [./SIMBA]

    Hmm, your interfaces and setup looks ok. It could be a mac thing. Is your brightness up max? Enable the debug and let me know what it says.

  6. #6
    Join Date
    May 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    I enabled the debug, didn't say anything. This time the client did not log-in for me. It got stuck at the log in page. Simba also could not detect that the client has already loaded rs, as in it still said " 3 minute(s) have passed, client is not ready yet" although the client already loaded.

    Plus side however is that this time the setting was already in openGL mode.. I didn't have to manually switch it from safe mode.
    Well i followed the set-up of wine, simba, java, etc to the latter.. Not sure why this is happening.




    EDIT: i think this was what the debug said. As in this was what appeared on the output section (bottom):

    Simba Code:
    -- setupSRL()
    ---- Setting up SRL...
    ---- initSmart():
    ------ Attempting to pair to a previously spawned client
    ------ smartPairToExistingClient():
    -------- Found 1 free client(s), attempting to pair to one...
    -------- Failed to pair to SMART[87]
    ------ smartPairToExistingClient(): result = false
    ------ Attempting to spawn a new client..
    ------ smartCreateClient():
    ---------- smartGetParameters(): Succesfully grabbed paramters
    -------- getJavaPath():
    ---------- Attempting to search for your Java path
    ---------- Found your java path @ C:\Program Files\Java\jre7\bin\java.exe
    -------- getJavaPath()
    -------- Using parameters [http://world49.runescape.com/, f785992974065651396]
    -------- Using plugins "OpenGL32.dll"
    -------- Succesfully spawned a client, attempting to target
    ---------- smartSetAsTarget(): Succesfully set SMART[22] as Simba's target
    ------ smartCreateClient(): result = true
    ------ Succesfully initialized via spawning a new client
    ---- initSmart()
    ------ smartSetupDrawing(): Succesfully setup SMART drawing
    ---- Waiting up to 5 minutes for RS to load...
    ---- 1 minute(s) have passed, client is not ready yet
    ---- 2 minute(s) have passed, client is not ready yet
    Last edited by obradley; 04-24-2014 at 06:50 AM.

  7. #7
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by obradley View Post
    I enabled the debug, didn't say anything. This time the client did not log-in for me. It got stuck at the log in page. Simba also could not detect that the client has already loaded rs, as in it still said " 3 minute(s) have passed, client is not ready yet" although the client already loaded.

    Plus side however is that this time the setting was already in openGL mode.. I didn't have to manually switch it from safe mode.
    Well i followed the set-up of wine, simba, java, etc to the latter.. Not sure why this is happening.




    EDIT: i think this was what the debug said. As in this was what appeared on the output section (bottom):

    Code:
    -- setupSRL()
    ---- Setting up SRL...
    ---- initSmart():
    ------ Attempting to pair to a previously spawned client
    ------ smartPairToExistingClient():
    -------- Found 1 free client(s), attempting to pair to one...
    -------- Failed to pair to SMART[87]
    ------ smartPairToExistingClient(): result = false
    ------ Attempting to spawn a new client..
    ------ smartCreateClient():
    ---------- smartGetParameters(): Succesfully grabbed paramters
    -------- getJavaPath():
    ---------- Attempting to search for your Java path
    ---------- Found your java path @ C:\Program Files\Java\jre7\bin\java.exe
    -------- getJavaPath()
    -------- Using parameters [http://world49.runescape.com/, f785992974065651396]
    -------- Using plugins "OpenGL32.dll"
    -------- Succesfully spawned a client, attempting to target
    ---------- smartSetAsTarget(): Succesfully set SMART[22] as Simba's target
    ------ smartCreateClient(): result = true
    ------ Succesfully initialized via spawning a new client
    ---- initSmart()
    ------ smartSetupDrawing(): Succesfully setup SMART drawing
    ---- Waiting up to 5 minutes for RS to load...
    ---- 1 minute(s) have passed, client is not ready yet
    ---- 2 minute(s) have passed, client is not ready yet
    When it says X minute(s) have passed it means it cannot recognise the login screen (because your graphics settings are not on OpenGL mode). As for standing at the mine, maybe the colours change when you run it on a Mac through wine (but I don't think so). Have any other scripts worked for you?

  8. #8
    Join Date
    May 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    None of the other scripts have worked for me thus far. the furthest they went was a successful log in, but it always got stuck on the world selection, meaning it does not click on the 'world' tab after logging in. what could be wrong? lol.

  9. #9
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by obradley View Post
    None of the other scripts have worked for me thus far. the furthest they went was a successful log in, but it always got stuck on the world selection, meaning it does not click on the 'world' tab after logging in. what could be wrong? lol.
    I'm pretty sure it's something to do with the fact you're on a Mac. I have 0 experience with Macs and Simba so I'm afraid I can't help. @King you use a Mac right?

  10. #10
    Join Date
    Jul 2013
    Location
    An horse
    Posts
    300
    Mentioned
    9 Post(s)
    Quoted
    120 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Sweet, it needs a good stress test (I don't think the walking is 100% yet).
    Code:
    ||-------------------------------------||
    ||    The Mayor's VEB Miner (Rev. 1)   ||
    ||                                     ||
    || Time Running: 05h 48m 27s           ||
    || Ores Mined: 230 (40 PH)             ||
    || Loads Done: 9 of 500                ||
    || Experience Earned: 6210 (1069 PH)   ||
    || Profit Made: 76590 (13188 PH)       ||
    ||-------------------------------------||
    Terminated because: failed to walk to the bank within 2 minutes
    Thank you for using Varrock Bank and Miner, all credits to the SRL community
    Successfully executed.
    Logged in today and had no idea where I was. Also my mining started at 25 and I only had a regular pick.
    Currently lurking while messing around with dll injection. Will continue contributing after I finish my quest.

  11. #11
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Foundry View Post
    Code:
    ||-------------------------------------||
    ||    The Mayor's VEB Miner (Rev. 1)   ||
    ||                                     ||
    || Time Running: 05h 48m 27s           ||
    || Ores Mined: 230 (40 PH)             ||
    || Loads Done: 9 of 500                ||
    || Experience Earned: 6210 (1069 PH)   ||
    || Profit Made: 76590 (13188 PH)       ||
    ||-------------------------------------||
    Terminated because: failed to walk to the bank within 2 minutes
    Thank you for using Varrock Bank and Miner, all credits to the SRL community
    Successfully executed.
    Logged in today and had no idea where I was. Also my mining started at 25 and I only had a regular pick.
    Haha yea, that's my bad. Hopefully fixed that walking in rev 3

  12. #12
    Join Date
    May 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    sorry but what does this mean?

    Simba Code:
    ---- TPlayer.loginToLobby()
    ------ Player :spot::spot::spot: is not active...
    ---- TPlayer.loginToLobby(): False
    -- TPlayer.login(): False
    -- HINT: findTicket(): Backpack is not open, consider calling tabBackpack.open() first
    -- HINT: destroyTicket(): Backpack is not open, consider calling tabBackpack.open() first
    -- TPlayer.login()
    ---- TPlayer.loginToLobby()
    ------ Player :spot::spot::spot: is not active...
    ---- TPlayer.loginToLobby(): False
    -- TPlayer.login(): False

    using your most updated one, it managed to log in but then did not click on the 'world' tab.. so it just got stuck on the page and the debug started sprouting all the above.

  13. #13
    Join Date
    Feb 2014
    Posts
    29
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    it clicks all the time on backpack and sometimes on some ore(once in a minute or two), other than that, seems it works nice

  14. #14
    Join Date
    Jun 2012
    Location
    Howell, Michigan
    Posts
    1,585
    Mentioned
    34 Post(s)
    Quoted
    553 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    I'm pretty sure it's something to do with the fact you're on a Mac. I have 0 experience with Macs and Simba so I'm afraid I can't help. @King you use a Mac right?
    Yeah whats up? Is he having problems logging in ect?

  15. #15
    Join Date
    May 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by King View Post
    Yeah whats up? Is he having problems logging in ect?

    hi king, yeah i have problems logging in, in a sense. Basically, i followed the instructed set-up of simba on mac through wine. Problem is that when settings is under openGL, SMART doesn't recognise when the client has already loaded. In this case it gets stuck on the log in page.

    On the other hand, when i put the settings under safe mode, it logs in with my details, but gets stuck after that. Meaning it doesn't select the "world" tab.. when i manually select the world and access my character, it just stays there, not doing anything. The debug will say things like Hint: backpack not open, player inactive, etc. etc.

  16. #16
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by terrmiits View Post
    it clicks all the time on backpack and sometimes on some ore(once in a minute or two), other than that, seems it works nice
    What do you mean about the backpack? How many tabs so you have open? if you set it to old school you should just have 4 tabs open so the backpack is always visible.

    Also do you mean ore on the ground?

  17. #17
    Join Date
    Jul 2013
    Location
    An horse
    Posts
    300
    Mentioned
    9 Post(s)
    Quoted
    120 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Haha yea, that's my bad. Hopefully fixed that walking in rev 3
    Works great now, thanks. Does it work past 6 hours?
    Last edited by Foundry; 04-25-2014 at 02:35 AM.
    Currently lurking while messing around with dll injection. Will continue contributing after I finish my quest.

  18. #18
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Foundry View Post
    Works great now, thanks. Does it work past 6 hours?
    Theoretically yes. The only thing that would screw it up is the minimap glitch.

  19. #19
    Join Date
    Apr 2014
    Posts
    14
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Works great, much smoother and more functional than the Varrock miner that was outdated. Thanks for the script!

  20. #20
    Join Date
    Feb 2014
    Posts
    29
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    What do you mean about the backpack? How many tabs so you have open? if you set it to old school you should just have 4 tabs open so the backpack is always visible.

    Also do you mean ore on the ground?
    Yes, i have Old school and only 4 tabs open. First one is Backpack, then Worn equipment, then Skills and fourth is Prayer. Its Oldschool by default. Backpack is visible, but i dont know why simba says this:

    " Current mouse-over text: "Mine Iron ore rocks"
    ---- Found "ron ore roc" in mouse-over string: "Mine Iron ore rocks"
    -- isMouseOverText(): True
    -- TRSGameTabs.openTab(2)
    ---- Opening tab via gametab navigation bar
    -- TRSGameTabs.openTab(2): result = False
    -- TRSGameTabs.openTab(2)
    ---- Opening tab via gametab navigation bar
    -- TRSGameTabs.openTab(2): result = False
    -- HINT: findTicket(): Backpack is not open, consider calling tabBackpack.open() first
    -- HINT: destroyTicket(): Backpack is not open, consider calling tabBackpack.open() first
    -- TRSGameTabs.openTab(2)
    ---- Opening tab via gametab navigation bar
    -- TRSGameTabs.openTab(2): result = False
    -- isMouseOverText()
    ---- Current mouse-over text: ""
    ---- Current mouse-over text: "Mine Iron ore rocks"
    ---- Found "ron ore roc" in mouse-over string: "Mine Iron ore rocks"
    -- isMouseOverText(): True
    -- TRSGameTabs.openTab(2)
    ---- Opening tab via gametab navigation bar
    -- TRSGameTabs.openTab(2): result = False
    -- TRSGameTabs.openTab(2)"

    It says that backpack is not open, but it is. In the end it ends up clicking all the time to backpack. Then it disappears from 4 tabs, then appears and thats all the time, sometimes it founds ore and mines it maybe I have done something wrong, but bonsaiFighter is working flawlessly. Only thing I need is some rsgp and now Im kinda out of it and need at least any script that can make some money to buy food to keep bonsaiFighter running

    EDIT: same thing happens with karamja fisher and fishing guild script

  21. #21
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by terrmiits View Post
    Yes, i have Old school and only 4 tabs open. First one is Backpack, then Worn equipment, then Skills and fourth is Prayer. Its Oldschool by default. Backpack is visible, but i dont know why simba says this:

    " Current mouse-over text: "Mine Iron ore rocks"
    ---- Found "ron ore roc" in mouse-over string: "Mine Iron ore rocks"
    -- isMouseOverText(): True
    -- TRSGameTabs.openTab(2)
    ---- Opening tab via gametab navigation bar
    -- TRSGameTabs.openTab(2): result = False
    -- TRSGameTabs.openTab(2)
    ---- Opening tab via gametab navigation bar
    -- TRSGameTabs.openTab(2): result = False
    -- HINT: findTicket(): Backpack is not open, consider calling tabBackpack.open() first
    -- HINT: destroyTicket(): Backpack is not open, consider calling tabBackpack.open() first
    -- TRSGameTabs.openTab(2)
    ---- Opening tab via gametab navigation bar
    -- TRSGameTabs.openTab(2): result = False
    -- isMouseOverText()
    ---- Current mouse-over text: ""
    ---- Current mouse-over text: "Mine Iron ore rocks"
    ---- Found "ron ore roc" in mouse-over string: "Mine Iron ore rocks"
    -- isMouseOverText(): True
    -- TRSGameTabs.openTab(2)
    ---- Opening tab via gametab navigation bar
    -- TRSGameTabs.openTab(2): result = False
    -- TRSGameTabs.openTab(2)"

    It says that backpack is not open, but it is. In the end it ends up clicking all the time to backpack. Then it disappears from 4 tabs, then appears and thats all the time, sometimes it founds ore and mines it maybe I have done something wrong, but bonsaiFighter is working flawlessly. Only thing I need is some rsgp and now Im kinda out of it and need at least any script that can make some money to buy food to keep bonsaiFighter running

    EDIT: same thing happens with karamja fisher and fishing guild script
    Is your brightness up max? Post a screenshot of your interfaces.

  22. #22
    Join Date
    Feb 2014
    Posts
    29
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Is your brightness up max? Post a screenshot of your interfaces.
    interface.png
    interface2.png

  23. #23
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  24. #24
    Join Date
    Feb 2014
    Posts
    29
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    And your actual screen to please
    screen.png

    as you can see that the fighting script is running fine.

  25. #25
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by terrmiits View Post
    screen.png

    as you can see that the fighting script is running fine.
    Weird, everything looks ok. I could teamview you and take a look if you wanted. Skype the.mayor.rs

Page 1 of 29 12311 ... LastLast

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
  •