Results 1 to 8 of 8

Thread: The numbers are attacking me =S

  1. #1
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default The numbers are attacking me =S

    I wanna make my own autocoloring function for a special type of rock, but if i look in AutoColor.scar all the math scares me off =p
    King Vash sent me something with ColorToRGB, but when i have those RGB values what to do next?

    Also, i read all the TPoint, TPA T2DPoint tuts, but i still dont get em!
    The only way i can learn them is by a tutorial that creates a little script, like.. just finding a color! But then in an understandable way =p

    Cheers,

    Floor66.
    Ce ne sont que des gueux


  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use ACA2 AutoColorAid By nielsie and sumilion(let the name be corrected )
    ~Hermen

  3. #3
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  4. #4
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Thx =) ill use that
    Ce ne sont que des gueux


  5. #5
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Or....
    You can Try
    PHP Code:
     {*******************************************************************************
    function 
    AutoColorThis(BitmapMaxTolX1Y1X2Y2Integer): Integer;
    BySumilion
    Description
    Resturns exact color of a bmp with tol found on the screen.
    *******************************************************************************} 
    You get a bitmap Set the maxtolerance and then do something like this:

    SCAR Code:
    SpecialRock := AutoColorThis;
      If FindColor(x,y,SpecialRock.MMX1,MMY1,MMX2,MMY2) Then
        Result := True;

    NB: You must declare as a function/Procedure and must make a very tiny bitmap of the rock for this to work.

    Have Fun .

  6. #6
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaQ View Post
    Or....
    You can Try
    PHP Code:
     {*******************************************************************************
    function 
    AutoColorThis(BitmapMaxTolX1Y1X2Y2Integer): Integer;
    BySumilion
    Description
    Resturns exact color of a bmp with tol found on the screen.
    *******************************************************************************} 
    You get a bitmap Set the maxtolerance and then do something like this:

    SCAR Code:
    SpecialRock := AutoColorThis;
      If FindColor(x,y,SpecialRock.MMX1,MMY1,MMX2,MMY2) Then
        Result := True;

    NB: You must declare as a function/Procedure and must make a very tiny bitmap of the rock for this to work.

    Have Fun .
    You Big Fat Meany Now He Gets Confused :S

    SCAR Code:
    SpecialRock := AutoColorThis;
      If FindColor(x,y,SpecialRock.MMX1,MMY1,MMX2,MMY2) Then
        Result := True;

    must be

    SCAR Code:
    SpecialRock := AutoColorThis(TheBitmapexample,50,MSX1,MSY1,MSX2,MSY2);//IT IS JUST WERE TO AUTOCOLOR FOR MINIMAP MMX1 MMY1 ETC., SORRY FOR CAPS
      If FindColor(x,y,SpecialRock.MMX1,MMY1,MMX2,MMY2) Then
        Result := True;
    ~Hermen

  7. #7
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    I would have seen that anyway =p thx anyway

    Yeah i know what MMX, MMY, MSX, MSY, MIX, MIY etc, globals.scar huh?

    I read up to the function so now i know how it works, i can do it =o
    Ce ne sont que des gueux


  8. #8
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Yeah glad the me and and hermpie could help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 10
    Last Post: 05-17-2009, 10:23 PM
  2. attacking only with two mouse buttons
    By t4q in forum OSR Help
    Replies: 4
    Last Post: 05-20-2008, 01:54 PM
  3. Attacking problem
    By me_ntal in forum OSR Help
    Replies: 5
    Last Post: 10-18-2007, 07:42 PM
  4. Attacking??
    By blahum in forum RS3 Outdated / Broken Scripts
    Replies: 3
    Last Post: 09-09-2007, 05:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •