Results 1 to 9 of 9

Thread: Help with Theiver

  1. #1
    Join Date
    Apr 2007
    Location
    Laguna Beach, California
    Posts
    231
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with Theiver

    Hi I'm making a bread theiver in ardougne and I can't get the script to repeat theiving(it only theives once). I have looked over the whole thing and can't find the problem. Would someone be willing to look over or test the script and find the problem. The script is very basic still; just the bones. Thank You.

  2. #2
    Join Date
    Oct 2006
    Posts
    585
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i would say .... make bread thiever function boolean


    somthing like....

    procedure BreadTheiver : Boolean; i think that should work.. but youll have to change the bottom one to....

    begin
    SetupSrl;
    ActivateClient;
    NickNameBMP := CreateBitmapMaskFromText(Nick, UpChars);
    //NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
    BreadTheiver : Boolean;
    end.

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  3. #3
    Join Date
    Apr 2007
    Location
    Laguna Beach, California
    Posts
    231
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm sorry I don't understand what you mean. I understand that you are telling me to make it a function the would return a boolean but i don't understand how that would help.

  4. #4
    Join Date
    Oct 2006
    Posts
    585
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    make it do it over and over .....

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  5. #5
    Join Date
    Apr 2007
    Location
    Laguna Beach, California
    Posts
    231
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That doesn't help. I tell it to do it over and over. That is the problem. I need to find the problem in the script.

  6. #6
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    if thats ur main procedure then do that

    SCAR Code:
    begin
    SetupSrl;
    ActivateClient;
    NickNameBMP := CreateBitmapMaskFromText(Nick, UpChars);
    //NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
    repeat
    BreadTheiver ;
    until(timestothieve=Thief)
    end.
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  7. #7
    Join Date
    Oct 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    also, your loads, keeps going up with every load, it will never stop, you should get rid of the loads +1 , or it'll never stop, you have the loads:=loadstodo, that is your constant.
    if you just have until theif:= loadstodo , that is all you will need for your repeat loop to tell it when to stop.

  8. #8
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    358
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I fixed it up.
    I added the loop in the main line, not the procedure.
    And I added a WriteLn for when it doesnt find the stall.

    I think it works now.
    Give it a wirl and tell me what happens.

  9. #9
    Join Date
    Apr 2007
    Location
    Laguna Beach, California
    Posts
    231
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok I clean up the script a lot, I attached the new one.
    But I am still having the same problem it only steals once can someone look through the whole script and try to find the problem.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Universal Chest Theiver
    By yanix in forum RS3 Outdated / Broken Scripts
    Replies: 7
    Last Post: 01-20-2008, 04:46 PM
  2. Important-auto Theiver!
    By faster789 in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 12-15-2007, 05:14 AM
  3. Chest Theiver
    By rscheater13 in forum RS3 Outdated / Broken Scripts
    Replies: 18
    Last Post: 06-14-2007, 02:15 AM
  4. Auto Theiver Set Up..
    By Thick As Blood in forum News and General
    Replies: 2
    Last Post: 04-04-2007, 08:48 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
  •