Results 1 to 7 of 7

Thread: RSPS powerminer full inventory issue

  1. #1
    Join Date
    Mar 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default RSPS powerminer full inventory issue

    Hello, i am new to this community. i found this 60 players rsps and no one had 99 mining in it. so i thought i would be the first guy to do so by powermining.
    i edited/wrote this script

    Simba Code:
    Program MineCoals;
    {$I RSPS/srlRSPS.Simba}
    {$I RSPS/core/prayer.Simba}

    var
      _myServer:_rsps_server;

    Procedure MineRock;
    var
      i, x, y : integer;
      begin
         if FindColorSpiralTolerance(x, y, 1383709, 1, 1, 511, 336, 1) or
            FindColorSpiralTolerance(x, y, 2241588, 1, 1, 511, 336, 1) or
            FindColorSpiralTolerance(x, y, 2109231, 1, 1, 511, 336, 1) then
         begin
            moveMouse(x, y);
            if _myServer.WaitUpText('ine', 200) then
            begin
              Mouse(x, y);
              wait(6000);
            end else
              Writeln('no rock found');
         end;
      end;

    begin
      _myServer.init(317, '317 server');
      repeat
      if (InvCount < 28) then
      begin
        MineRock;
      end;
    end.

    I want it when it gets full inventory it banks or stops .. banking was super hard to doat this stage of my experince, so i went to drop inventory. to drop, first i need to know if the inventory is full or not. how to do so?

    now it says

    Code:
    Error: Unknown declaration "InvCount" at line 29
    ty

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

  3. #3
    Join Date
    Mar 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    I guess you are using that rsps include rj made?

    if rsps_inventory.full() then ...
    okay, i did this

    Simba Code:
    Program MineCoals;
    {$I RSPS/srlRSPS.Simba}
    {$I RSPS/core/prayer.Simba}

    var
      _myServer:_rsps_server;

    Procedure MineRock;
    var
      i, x, y : integer;
      begin
      if rsps_inventory.full() then
      begin
         Writeln('full inventory!');
      end else
         if FindColorSpiralTolerance(x, y, 1383709, 1, 1, 511, 336, 1) or
            FindColorSpiralTolerance(x, y, 2241588, 1, 1, 511, 336, 1) or
            FindColorSpiralTolerance(x, y, 2109231, 1, 1, 511, 336, 1) then
         begin
            moveMouse(x, y);
            if _myServer.WaitUpText('ine', 200) then
            begin
              Mouse(x, y);
              wait(6000);
            end else
              Writeln('no rock found');
         end;
      end;

    begin
      _myServer.init(317, '317 server');
      repeat
        MineRock;
        Until(false)
    end.

    now i get
    Code:
     Error: Access violation at line 162
    Execution failed.

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

  5. #5
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    The RSPS include is old and I don't maintain or use it so i'm not sure what the error comes from

  6. #6
    Join Date
    Mar 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by rj View Post
    The RSPS include is old and I don't maintain or use it so i'm not sure what the error comes from
    is there a new RSPS include?

  7. #7
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Ahmedo0o View Post
    is there a new RSPS include?
    no.

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
  •