Results 1 to 4 of 4

Thread: pretty basic (i think)

  1. #1
    Join Date
    Jul 2008
    Posts
    907
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default pretty basic (i think)

    well i was thinking of making a draynor woodcutting script wth some nice antirandoms and antiban but i was just wondering like how you can get a script to use antirandoms search for a tree and use antiban all at the same time just in the main loop it really confuses me :P it is really basic but if anyone could just tell me how i works i would be very grateful i've had look over some scripts but i'm kinda new to scripting and stuff so i don't know what most of it means


  2. #2
    Join Date
    Oct 2007
    Location
    If (Online) then Loc := ('On comp') else Loc := ('Somewhere else!');
    Posts
    2,020
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    different procedures calling em at different times i advise looking at some tutorials

  3. #3
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    You would generally have a main loop consisting of a repeat ... until false that would run until all players are logged out and unable to continue. What you would place in your main loop would be continuously repeated, so that's where you would put the bit that finds the tree, clicks the tree, searches for randoms, maybe does some antiban stuff then goes back to the top (with probably a check to make sure you're still running and if not, go on to the next person). A pseudocode version of this script would be something like:
    SCAR Code:
    begin
      SetupSRL;
      DeclarePlayers;
      SetupPlayers;
      repeat
        FindTheTree;
        ChopTheTree;
        FindNormalRandoms;
        PerformAntibans;
        CheckPlayerStatus;
      until false;
    end;
    Then you would just need to go through and create procedures or functions to do each of those steps - except antirandoms as FindNormalRandoms does just about all the randoms there are, with a couple of exceptions.
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  4. #4
    Join Date
    Jul 2008
    Posts
    907
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    right so the script will repeat itself over and over again until your player becomes inactive (false) if you set it to do that and you just include all the antiban and antirandoms in the main loop which goes oer until stopped or until the amount of loads are done right...that explained it i think ill go and look through some tutorials and scan through some basic woodcutting scripts to see what i find


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sockets, pretty please? :(
    By Jason2gs in forum C/C++ Help and Tutorials
    Replies: 4
    Last Post: 03-01-2008, 11:27 PM
  2. Pretty new here
    By Mackenzie in forum RuneScape News and General
    Replies: 3
    Last Post: 07-20-2007, 05:44 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
  •