Results 1 to 13 of 13

Thread: Bitmap Help!

  1. #1
    Join Date
    Jun 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Bitmap Help!

    Last night I tried creating a script using bitmaps. I went to tools, picture to string, open(I selected my image), paste. But I couldn't click OK becuase my screen was like this:

    (see first attatchment)

    Notice how the button is cut off. And when I expanded the screen I got this:

    (see second attachment)

    Notice that the button moved over with side and is still cut off. If you know how to fix this I would appreciate if you leave a post telling me how. Thank you.

  2. #2
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    What scar are you using?
    I made a new script, check it out!.

  3. #3
    Join Date
    Jun 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Divi 3.06

    Can you help?

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

    Default

    if u can't fix it, chop the bitmap how u want it, then open up the bitmap to string program somewhere in the SRL folder

  5. #5
    Join Date
    Jun 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i found that bitmap to string thing but how do i get the bitmap there to change it to a string. i tried saving it there but it doesnt show it when i open it in scar.

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

    Default

    File -> open it. Then click dump somewhere in the menus, and at the bottom it should be in string format once its done dumping (progress bar on right)

  7. #7
    Join Date
    Jun 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ty so much... i'll +rep you

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

    Default

    Glad to help =)

  9. #9
    Join Date
    Jun 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    but should i leave the background black or white?

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

    Default

    like a bitmap mask? idk =S

  11. #11
    Join Date
    Jun 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well i have a pic of a baseball so should the space around it be black or white

    This is the bitmap:
    ___
    |----|
    |-O-| O=baseball
    |___|

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

    Default

    black

  13. #13
    Join Date
    Jun 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    im makin a script for pinch hitter on addicting games and i have the bitmap the script but it doesnt find it, it just keeps clickin in the upper left-hand corner of the screen

    heres the script:

    program PinchHitter;
    var
    x,y:Integer;
    baseball:Integer;
    procedure LoadBmps;
    begin
    baseball := BitmapFromString(28, 29,
    'z78DAED97C99284200C865F49234B7264CBFB3FD200A16B70 AC99' +
    'A65D7AFAE09F2A0FA8F0252441A7E9D6AD513924853EA668E 2C2B' +
    'F48EEFAE492C3F713B2E29927DEA7FAAEF87821E1A9BA82D0 C3C2' +
    '797B2172E4CFA4F5A8F2660967F28143BB9EAC9A0F67ED72C F7C9' +
    '62212D3CED8C62550D0DB3993F6EC390232365A21674C9CC6 B0E4' +
    'C9EE79CF3A5B9BA7E6D5B9F522BB2FF30BB9442668C366F56 43F1' +
    '2D9150BC0D0C6654422D0C887FBD8BEC848349C9E73AA8560 D9B6' +
    'ABF822247295F1E3B99A7CB19D09B7ED0932329E1BC3B91A7 431F' +
    'E570D9D89BAD8E7735255C462EF278C506C9CB3546FEE6C58 EDCF' +
    'AA7F525FE384D564F11738AB5C2826B452A77DE54AF75B557 71DE' +
    '9FBCC8AFF6FC26A686DB4F82A27514174DA8081D6736ADFEB 7BFE' +
    'F6CC1266B9DB7BB726AFBED79AEDD7B3DACC7A88D3929A174 7A44' +
    '001D1BCCC0B518992307B285E4B0446D44EDB1AE7C8010278 FECE' +
    '2BDAE8D5D39326F48844269B106EE794B53C3CB7C70B4BB68 7EF3' +
    'FE71CDFF16739705C166C66D64667E7732A99160765B55547 BEEB' +
    '6CCAD988748954504168CFFA0ABD845611D085FF478FBC3DB 0F7D' +
    '5EB77FED3C98A92FFC72BF7D6ADADBE00602236DC'
    );
    end;
    procedure StartGame;
    begin
    ClickMouse(461,293,true);
    end;
    procedure HitBall;
    begin
    repeat
    begin
    if(FindBitmap(x,y,baseball)) then;
    begin
    ClickMouse(x,y,true);
    if(not(FindBitmap(x,y,baseball))) then;
    begin
    Writeln('Did not find baseball')
    end;
    end;
    end;
    until(false)
    end;
    begin
    StartGame;
    LoadBmps;
    HitBall;
    end.

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
  •