Results 1 to 2 of 2

Thread: Need help with first script

  1. #1
    Join Date
    Mar 2010
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need help with first script

    Alright lets me first start off by saying im 100% a complete noob at scripting. I have tried reading/watching all of the newbie guides but none of them have really helped.

    Anyone up for the task of helping me write my first script? Im trying to make a script for runite mining in the mining guild resource dung but dont really know were to start with the script. Basically all ive got is the constats for logging in an account etc.

    What should I start with first the world hopping/walking and entering the resource dung/finding and mining the runite??


    inb4 OMG LEECHER JUST WANTS RUNITE SCRIPT ETC im not asking for someone to write me a script. Just to teach me how to do some basics like walking from a bank to an area with a ladder and a door etc. The only reason ive chosen a runite miner is because this way it will give me an interest into actually finishing it. and is relativly comlex so im going to have to figure out world hopping, opening doors, banking etc.


    Code:
    Program RuniteMiner;
    {$DEFINE SMART}
    {.include SRL\SRL.simba}
    {.Include SRL\SRL\Misc\Debug.simba}
    
    Const
     SERVER  = 61;     // Enter "0" to pick a random server.
     MEMBERS = False; // Set to True if using a RS-Members account. False if F2P.
     SRLStats_Username = ''; // Your SRL Stats Username
     SRLStats_Password = ''; // Your SRL Stats Password
     NumbOfPlayers= 1;     //How many players are you using
     StartPlayer=   0;     //Player to start auoting with! (0 means first char)
     Version=       '1.0'; //
    
     procedure DeclarePlayers;
    var i:integer;
    begin
      NumberOfPlayers(NumbOfPlayers);
      CurrentPlayer := StartPlayer;
      for i := 0 to NumbOfPlayers-1 do
        Players[i].BoxRewards  := ['mote', 'ostume', 'XP', 'Gem', 'oins'];
    
      with Players[0] do
      begin
        Name        := '';     //Player username.
        Pass        := '';     //Player password.
        Nick        := ''; //Player nickname - 3-4 letters of Player username.
        Active      := True;
      end;
    
    end;
    
    begin
    Smart_Server := 1;
    Smart_Members := True;
    Smart_Signed := True;
    Smart_SuperDetail := False;
    SetupSRL;
    DeclarePlayers;
    LoginPlayer; //  Logging in...
    end.

  2. #2
    Join Date
    Dec 2011
    Location
    Kosovo
    Posts
    831
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    You should watch tutorials, indeed. If you would have watched them you would have a procedure.
    Goals:
    Understanding TPAs
    Making Proggy for fighting
    Getting on SRL members
    Get 500 posts

Thread Information

Users Browsing this Thread

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

Posting Permissions

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