Results 1 to 14 of 14

Thread: Bitmap Help.

  1. #1
    Join Date
    Jun 2007
    Location
    Minnesota
    Posts
    773
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Bitmap Help.

    So I just started using bitmaps (woo) and whenever the mouse clicks the bitmap it clicks on the outside edge, can I make it click the middle? Any help would be greatly appreciated.

  2. #2
    Join Date
    Jul 2007
    Posts
    137
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you could always use dtms...
    Do not propose an idea of peculation without evidence of such action.

    http://cashcrate.com/704591 click here and make money!

  3. #3
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah, DTM's are better, but what you wanna do, if you're using Bmp's, is this:
    SCAR Code:
    Var x,y:Integer;
    Begin
      If(FindBitmap(TheBMP,x,y))Then
        Mouse(x+5,y+5,2,2,True);
    End

    That'll click 5 pixels down and 5 pixels to the right, if it finds the bitmap. You might wanna put it in a for to do loop, so it'll look for it more than once.
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

  4. #4
    Join Date
    Jun 2007
    Location
    Minnesota
    Posts
    773
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks, and I am pretty sure I can't use DTM's because I am looking for text.

  5. #5
    Join Date
    Jul 2007
    Posts
    137
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes i think you can... i can help you with it if you want...
    Do not propose an idea of peculation without evidence of such action.

    http://cashcrate.com/704591 click here and make money!

  6. #6
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use bitmap masks if you're lookin for text. I don't have the energy to explain it, so search it plz
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

  7. #7
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    rotflmfwao,

    SCAR Code:
    program New;
    var
      textbitmap : integer;
    begin
      DisplayDebugImgWindow(200, 200);
      textbitmap := CreateBitmapMaskFromText('Use copper', UpChars);
      SafeDrawBitmap(textbitmap, GetDebugCanvas, 0, 0);
    end.

  8. #8
    Join Date
    Jun 2007
    Location
    Minnesota
    Posts
    773
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    But I am not doing this on rs. I am making a script to create rs accounts.

  9. #9
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by The_Rs_Monkey View Post
    rotflmfwao,

    SCAR Code:
    program New;
    var
      textbitmap : integer;
    begin
      DisplayDebugImgWindow(200, 200);
      textbitmap := CreateBitmapMaskFromText('Use copper', UpChars);
      SafeDrawBitmap(textbitmap, GetDebugCanvas, 0, 0);
    end.
    Ty. Tyvm. I really needed that.
    Also, you can search for bitmap masks with any font on your computer, just change UpChars to whatever font you want to look for
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

  10. #10
    Join Date
    Jun 2007
    Location
    Minnesota
    Posts
    773
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh nice, what font is ?

  11. #11
    Join Date
    Dec 2006
    Location
    Banville
    Posts
    3,914
    Mentioned
    12 Post(s)
    Quoted
    98 Post(s)

    Default

    Wait... What are you using this for?

    I'm pretty sure you should use DTM's for almost everything... They return the position of the first (main) point also, you can place that pretty much anywhere.

    Unless, of course, you like bitmaps.


    EDIT: I just read you were using it for an account creator. I don't think you should use something to navigate through the pages, but look into SCAR's http functions.
    The jealous temper of mankind, ever more disposed to censure than
    to praise the work of others, has constantly made the pursuit of new
    methods and systems no less perilous than the search after unknown
    lands and seas.

  12. #12
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    findbitmapspiral could work probably since it searches from the middle and not the top left corner.

  13. #13
    Join Date
    Aug 2007
    Posts
    75
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You could quite easily make a script to auto creat accounts using DTMs, Infact i think i might give it a go too.

  14. #14
    Join Date
    Jun 2007
    Location
    Minnesota
    Posts
    773
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    K I will look through the functions, meanwhile y+30 worked quite well, but I have a feeling it is a bit unreliable, I will try findbitmapspiral to. Thanks!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Find Bitmap in Bitmap file
    By fORCE_wORKS in forum RS3 Outdated / Broken Scripts
    Replies: 8
    Last Post: 12-13-2007, 11:04 PM
  2. using Bitmap?
    By legendaryhero90 in forum OSR Help
    Replies: 14
    Last Post: 03-16-2007, 02:18 PM
  3. Bitmap
    By whales in forum OSR Help
    Replies: 4
    Last Post: 12-20-2006, 12:16 AM

Posting Permissions

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