Results 1 to 6 of 6

Thread: My attempt at a first script. Failed.

  1. #1
    Join Date
    Feb 2006
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default My attempt at a first script. Failed.

    SCAR Code:
    //  //  /////   //////  /////
                       //  //  //  //  //      //  //
                       //  //  /////   //////  /////
                       //  //  //  //  //      //  //
                       //////  /////   //////  //   //

                  //////  //////  //     //  //  //////  /////
                    //    //  //  //     // //   //      //  //
                    //    //////  //     ////    //////  /////
                    //    //  //  //     // //   //      //  //
                    //    //  //  /////  //  //  //////  //   //

    //start with pub chat on private
    //setup lines 22-25
    // V1.0 By MrHams
    // Will stop auto talking if traded until trade closed
    // This script is for educational purposes only
    program AutoTalker;
    {.include SRL/SRL.scar}
    var
    h,j,a,b,Bitmap:integer;
    const Text1 = 'trade me for 100k';//Put the text here you want it to say
          //If you need to type an apostrophe, type two.
          TC = '8388736';//Put the purpley colour of when someone trades you in chat box
          WT = '1';//Put the amount of time for the text to repeat in seconds (It won't be exact)
    procedure DeclareBMPS;
    begin
    Bitmap := BitmapFromString(32, 9, 'z78DAA593410AC0300804BF6' +
           '40B85E468A0FFFF52697B896CD6287A9020A2A359455E1BAAA369' +
           'DA0FBDFB69FC1C0F54904AF74A05469B9CC274EF7AB5C3BC7D1FE' +
           '7C73D1776BEE17769312E608BFA1FDBFC9EBD5F81319BFC0815CE' +
           'E2EF1FD818398D07B68D6CFE44F817860194603A12FD08B105B94' +
           'F15E1673B71D9B2B75FE7DF6812EFB7CEEFEAAA3E29E3C79B8A28' +
           '3CAB1F76B995CC3FF2007F598B9E');
    end;
    procedure FindTradeClosure;
    begin
    if(FindBitmap(Bitmap,a,b)=False)then
    Wait(12000+random(1000))
    if(FindBitmap(Bitmap,a,b)=True)then
    end;
    begin
      Wait(StrToInt(WT)*1000+random(1000));
      TypeSend(Text1);
    repeat
    Wait(StrToInt(WT)*1000+random(1000));
      TypeSend(Text1);
    until(findcolor(h,j,strtoint(TC),25,467,237,476)=True)end.
    begin
    repeat
    FindTradeClosure;
    until
    if(FindBitmap(Bitmap,a,b)=False)
    end;
    begin
    TalkyTalky;
    end.
    Can someone post where I went wrong? It won't recognize that the trading colour was found or something.

  2. #2
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    1,610
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Make much smaller bitmaps.

  3. #3
    Join Date
    Jun 2006
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    first, not to be rude, but how are you an SRL member if this is your first script? how did you get accepted, anyway, i suggest doing this, first, setting the pub chat setting to hide, then nothing shows up there beside trade requests, but your text is still displayed for everyone, then, just do something like this: if(findcolor(x,y,PurpleColor,choord1,choord2,choor d3,choord4))
    then mouse(x,y,true);
    for the choords, put the choords for searching just the chat box (choord1 is topleft x, choord2 is topleft y, choord 3 is bottom right x, and choord4 is bottom right y if you didnt know ) that is much simpler, and just as effictive

  4. #4
    Join Date
    Aug 2006
    Location
    London
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    He's an SRL member!?

    Omg and here I am waiting until I've made a nice miner/banker +antirandoms +antiban, and this guy's just made some half assed auto talker and been accepted?!

  5. #5
    Join Date
    Jun 2006
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why are u using String type for the color ?

  6. #6
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    ech, everyone who joined the community in the beginning got the SRL member status, including me. I never released a script.

    EDIT: you guys joined from june or later

    Creds to DannyRS for this wonderful sig!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Rune mining script attempt?
    By man slaughter in forum RS3 Outdated / Broken Scripts
    Replies: 24
    Last Post: 02-20-2008, 11:08 PM
  2. Failed to run + Unknown script
    By Bo0m in forum OSR Help
    Replies: 1
    Last Post: 06-13-2007, 04:16 PM
  3. First Script attempt, help needed
    By me_ntal in forum OSR Help
    Replies: 3
    Last Post: 04-12-2007, 07:05 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
  •