Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 60

Thread: Ideas for my amazing mining script?

  1. #26
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OK, im in rs2 right now, in the guild.

    What is a very successful way of finding ore, but not clicking the black and not clicking the ground? Is it possible to use a 2 point dtm and find a point to the side of the black line?

  2. #27
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yea, your probably right, that talking is a big way to alert people I'm botting
    Last edited by RedIce; 03-17-2010 at 08:01 PM.

  3. #28
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Use a TPA to find the color of the vein

  4. #29
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i just searched forum tuts, no tpa, but im sure i have heard of it and it is something i should know, lol. Where can i learn it?

  5. #30
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    There used to be something meaningful here.

  6. #31
    Join Date
    Jan 2010
    Location
    Finland
    Posts
    49
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Auto coloring with FindObjTPA ftw. http://villavu.com/forum/showpost.ph...53&postcount=3

  7. #32
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you both

  8. #33
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ...I looked at both those, and i have learned that a TPA is an array of points, so whats the difference between a DTM and TPA? I searched the whole site and got no hits for tpa...

  9. #34
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by RedIce View Post
    ...I looked at both those, and i have learned that a TPA is an array of points, so whats the difference between a DTM and TPA? I searched the whole site and got no hits for tpa...
    Well, DTM has many other values in the points too, TPA has just the points.

    For example, heres my AttackGuard function.
    SCAR Code:
    function AttackGuard( GuardColor: Integer ): Boolean;
    var GuardTP: TPoint;
        GuardTPA: TPointArray;
        GuardATPA: T2DPointArray;
        i, GuardHigh: Integer;
    begin
      if ( FindColorsSpiralTolerance( x, y, GuardTPA, GuardColor, MSX1, MSY1, MSX2, MSY2, 3 ) ) then
      begin
        SortTPAFrom( GuardTPA, Point( MSCX, MSCY ) );
        GuardATPA := TPAtoATPAEx( GuardTPA, 20, 20 );
        GuardHigh := High( GuardATPA );
        for i := 0 to GuardHigh do
        begin
          GuardTP := MiddleTPA( GuardATPA[i] );
          MMouse( GuardTP.X, GuardTP.Y, 3, 3 );
          if ( IsUpTextMultiCustom( ['ttack', 'uard', 'ck Gu'] ) ) then
          begin
            GetMousePos( x, y );
            if not ( IsFightAt( x, y ) ) then begin
              Mouse( x, y, 0, 0, True );
              Flag;
              Wait( 200 + Random( 500 ) );
              Result := True;
              Break;
            end else begin
              Result := False;
              Break;
            end;
          end;
        end;
      end;
    end;
    There used to be something meaningful here.

  10. #35
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh, OK. I have been thinking of DTMs as TPAs. haha. that makes sense, but how would i click the brwn part of a coal rock... since with shadows and camera movement the rocks colors change

  11. #36
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    There are several things you should have the basic idea of, TPoint, TPointArray, T2DPointArray, TIntegerArray, TStringArray. Prefer using those instead of "Array of String" or "Array of Integer".

    For the color i would recommend getting all the colors with some tolerance, lets say 5-10 and store them into TPA. And work with that, the tutorial i already linked here will teach you on that and you can check my function for guidance.
    There used to be something meaningful here.

  12. #37
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How do I find a point perpendicular to a DTM?( so i can click beside the color line in a rock instead of on it)

  13. #38
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    I dont understand what you want exactly.
    There used to be something meaningful here.

  14. #39
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    A good idea would be to print out scripts that work for you to examine the flow. Some good old outdated scripts to print out maybe:

    Wizzup/Fakawi's MultiMiner

    Wizzup's Powerminer (5k downloads!)

    or perhaps even our old Mining Guild Miner (4k downloads!)

    Also: it is vital to become in sync with runescape. Once you have a script up and running you need to watch it for a loooong time and iron out all the little things that go wrong that lead to disaster. Been there many times

    Start small, dont overdo it. Make something beautiful
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  15. #40
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    For a first script, I'm making this something to be proud of, lol, thanks for the links/idea. I'll do that now. Thanks

  16. #41
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    I would recommend like making power miner or miner that banks for some place.
    There used to be something meaningful here.

  17. #42
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can I get the rotation of a dtm in the main-screen? I want this so I can click the area beside the vein after finding the direction the vein is pointing.

    This script, still in its infancy, is confined to the mining guild. I will worry about banking after I finish it as a powerminer
    Last edited by RedIce; 03-17-2010 at 09:10 PM.

  18. #43
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    A good iron miner for al kharid up north mining zone that banks would be nice
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  19. #44
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by RedIce View Post
    Can I get the rotation of a dtm in the main-screen? I want this so I can click the area beside the vein after finding the direction the vein is pointing.

    This script, still in its infancy, is confined to the mining guild. I will worry about banking after I finish it as a powerminer
    I highly doubt you're going to get a DTM to work for object finding on the main screen. If you're talking about not clicking the "vein" of ore in the rocks every time, just have it click an offset of the TPA found (i.e. increase the randomness of the MMouse procedure):
    SCAR Code:
    MMouse(x, y, 10, 10);

  20. #45
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if I use offset and if the vein color is picked at the edge of the rock then wont it move the mouse over the ground next to the vein, instead of straight to the rock?

  21. #46
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by RedIce View Post
    if I use offset and if the vein color is picked at the edge of the rock then wont it move the mouse over the ground next to the vein, instead of straight to the rock?
    Read the tutorial i linked, it really helps you on this subject.
    There used to be something meaningful here.

  22. #47
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by RedIce View Post
    if I use offset and if the vein color is picked at the edge of the rock then wont it move the mouse over the ground next to the vein, instead of straight to the rock?
    It's possible, but since you'll have an uptext check, it won't click. It will just move the mouse to the next point in the TPA.

  23. #48
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You dont think jagex will notice the mouse go near a rock then leave?

  24. #49
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by RedIce View Post
    You dont think jagex will notice the mouse go near a rock then leave?
    No, they don't track mouse movements. But even if they did, people misclick/move all the time, I wouldn't really say that it's signs of a bot. You could even make it only click with a lot of randomness once ever 10 times or something.

  25. #50
    Join Date
    Mar 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ...I like that idea. couldnt be a every 10 times though, because then its repetitive.. like every 4 + random(10) clicks.

Page 2 of 3 FirstFirst 123 LastLast

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
  •