Results 1 to 9 of 9

Thread: How many of a color in client.

  1. #1
    Join Date
    Feb 2006
    Location
    Australia, NSW.
    Posts
    1,461
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default How many of a color in client.

    Simple. Insert a color into the constance and press play. Tells you how many of that color are in the client.

    Code:
    Const
      Color = 0;
    
    function HowManyColor(Color, xs, ys, xe, ye, Tol: Integer): Integer;
    var Points: TPointarray;
    begin
      FindColorsTolerance(Points, Color, xs, ys, xe, ye, Tol);
     result:= GetArrayLength(Points);
    end;
    
    function HowManyColorClient(Color, Tol: Integer): Integer;
    var w, h: Integer;
    begin
      Getclientdimensions(w, h);
     result:= HowManyColor(Color, 0, 0, w, h, Tol);
    end;
    
    begin
      ClearDebug;
      Writeln('Found color '+inttostr(Color)+' in client, '+inttostr(HowManyColorClient(Color, 0))+' times.');
    end.
    Made by XxKanexX

  2. #2
    Join Date
    Feb 2006
    Location
    California-Foster City
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    ARrggh! More strange function o.O :P Great job kane
    The Welcoming Party
    Don't be a Fakawi! Get 25 hours of sleep a day!

  3. #3
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wishes to jack y00r skillz.

  4. #4
    Join Date
    Feb 2006
    Location
    Las Vegas, NV
    Posts
    939
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    cool.. now i can find out how many of the srl blue backround thing color there is.. just what i needed
    Busy with real life. I'll still be around occasionally.
    Current Mood:


  5. #5
    Join Date
    Feb 2006
    Location
    Australia, NSW.
    Posts
    1,461
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by WhiteShadow
    Wishes to jack y00r skillz.
    =O

    -Hides in closet-

  6. #6
    Join Date
    Feb 2006
    Posts
    1,022
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Found color 0 in client, 16818 times.
    Found color 16777215 in client, 316285 times.

    :O

  7. #7
    Join Date
    Feb 2006
    Location
    California-Foster City
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Found color 0 in client, 209175 times.
    Successfully executed


    <3 5000*5000 pixel MS paint
    The Welcoming Party
    Don't be a Fakawi! Get 25 hours of sleep a day!

  8. #8
    Join Date
    Feb 2006
    Posts
    1,022
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think your avatar should say "Can we auto it? YES WE CAN !", SDcit.

  9. #9
    Join Date
    Feb 2006
    Location
    California-Foster City
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Done , also added someof my own touch to it


    Found color 0 in client, 15916 times.
    Successfully executed
    The Welcoming Party
    Don't be a Fakawi! Get 25 hours of sleep a day!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [G-Client] My Runescape Client Made In Visual Basic 6
    By shaunthasheep in forum News and General
    Replies: 34
    Last Post: 10-16-2009, 11:37 PM
  2. Replies: 5
    Last Post: 07-31-2007, 07:23 PM
  3. Useing grass color as road color??????
    By ronny.m.p in forum OSR Help
    Replies: 7
    Last Post: 04-28-2007, 09:42 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
  •