Results 1 to 5 of 5

Thread: Bitmap

  1. #1
    Join Date
    Dec 2006
    Location
    Ky
    Posts
    390
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Bitmap

    Simple little script im trying to get to work.. But it keeps going to the corner and not the BMP. Any help/suggestions would be great! Is the bitmap to small?

    Code:
    program gppickin;
    
    var x, y,goldbmp: Integer;
    
    procedure DeclareBMPS;
    begin
    goldbmp := BitmapFromString(3, 3, 'B19115B19115B19115FBCF36' +
           'B19115B19115826E497C6A477C6A47');
    end;
    
    procedure ClickBMPS;
    begin
    wait(300+random(32))
    movemousesmooth(x,y)
    wait(32+random(16))
    clickmouse(x,y,true)
    end;
    
    procedure Findgifts;
    begin
    
     wait(4000+random(276))
     if (findbitmap(goldbmp,x,y))  then
     writeln('holycow');
     clickBMPS;
     end;
     
    begin
    repeat
    wait(1200+random(58))
    declareBMPS;
    findgifts;
    until(false)
    end.

  2. #2
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    If it's going to the corner it's not finding the bitmap. What are you trying to find?

  3. #3
    Join Date
    Dec 2006
    Location
    Ky
    Posts
    390
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thats what I figured. Im trying to find Goldpieces
    SUMMER BREAK be back when I want to

  4. #4
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    I'm assuming Main Screen (as opposed to inventory/bank)?

    Main screen finding is harder, and I suggest you try other stuff first. (BTW using the red dot on minimap can get you close)

    Don't use this script on RS, the mouse procs are detectable.

    Get janilabos massive scar learning package (link in my tut), there are games to write scripts for in there. Don't script for RS until you know more SRL.

  5. #5
    Join Date
    Dec 2006
    Location
    Ky
    Posts
    390
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Allright, thanks a lot!
    SUMMER BREAK be back when I want to

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

Posting Permissions

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