Adblock breaks this site

My first autoer...Owned...-.-

Discussion in 'Scar/Simba Help' started by mistikman, Sep 24, 2008.

  1. mistikman

    mistikman Active Member
    Banned

    Joined:
    Sep 23, 2008
    Posts:
    139
    Referrals:
    0
    Sythe Gold:
    0
    My first autoer...Owned...-.-

    So... I tried to make my first autoer... I got screwed over man...
    Code:
    {Xx-MistiKmaN's Noob Bone Burier-xX}
    { !1_Proj3ct Bon3R_1! }
    {Version 1.0}
    {Will almost never be updated...}
    
    
    {Xx---Steps---xX}
    {1. Setup your players.}
    {2. setup bones in bank. East Side of the Grand exchange. Must be in the lower tile right next to the banker.}
    {3. Compile and run.}
    {4. Go have a wank or something...}
    
    
    program Boner;
    {.include srl/srl//misc/smart.scar}
    {.include/srl/srl.scar}
    
    var
    x,y: Integer;
    
    begin
    
    procedure DeclarePlayers
    begin
       howmanyplayers:=1   //How many players you want.
       numberofplayers(howmanyplayers);
       players[0].name:='';  //RS Username
       players[0].pass:='';  //RS Pass
       players[0].nick:='';  //A few letters of your username. Correct capitals needed.
       players[0].active:=true;
       players[0].worked:=0;
    end;
    makecompass('n');
    
    end.
    Okay, so when I go to compile it, this is the error I get;
    Failed when compiling
    Code:
    Line 23: [Error] (129:1): Identifier expected in script C:\Program Files\SCAR 3.15\Scripts\Boner.scar
    NNNNOOOO Idea what's going on...
    I'm a newb. :'(
     
  2. Markuss

    Markuss Active Member

    Joined:
    Aug 13, 2008
    Posts:
    209
    Referrals:
    4
    Sythe Gold:
    0
    My first autoer...Owned...-.-

    lol er you really didn't write this properly, sigh ill fix it up one second.

    there,

    Code:
    {Xx-MistiKmaN's Noob Bone Burier-xX}
    { !1_Proj3ct Bon3R_1! }
    {Version 1.0}
    {Will almost never be updated...}
    
    
    {Xx---Steps---xX}
    {1. Setup your players.}
    {2. setup bones in bank. East Side of the Grand exchange. Must be in the lower tile right next to the banker.}
    {3. Compile and run.}
    {4. Go have a wank or something...}
    
    
    program Boner;
    {.include srl/srl//misc/smart.scar}
    {.include/srl/srl.scar}
    
    var
    x,y: Integer;
    
    procedure DeclarePlayers
    begin
      howmanyplayers:=1   //How many players you want.
      numberofplayers(howmanyplayers);
    
      players[0].name:='';  //RS Username
      players[0].pass:='';  //RS Pass
      players[0].nick:='';  //A few letters of your username. Correct capitals needed.
      players[0].active:=true;
      players[0].worked:=0;
    end;
    
    begin
      DeclarePlayers;
      makecompass('n');
    end.
    you cant have a procedure written between your main begin end. you have to have it made before, then loaded into the begin end. An easier way to do this is make another procedure called "mainloop" and have everything stored in there, then only call on that function. Kinda confusing I know, Er PM me if you want more help, then i can give you some more advice/help.

    -Markuss
     
  3. mistikman

    mistikman Active Member
    Banned

    Joined:
    Sep 23, 2008
    Posts:
    139
    Referrals:
    0
    Sythe Gold:
    0
    My first autoer...Owned...-.-

    Oh ok man thanks. Lol I had no idea. ^_^
     
  4. mistikman

    mistikman Active Member
    Banned

    Joined:
    Sep 23, 2008
    Posts:
    139
    Referrals:
    0
    Sythe Gold:
    0
    My first autoer...Owned...-.-

    when I do your I get,
    Failed when compiling
    Line 22: [Error] (128:1): Semicolon (';') expected in script C:\Program Files\SCAR 3.15\Scripts\Boner.scar
    So I add a semi-colon and I get this.
    Line 23: [Error] (129:1): Unknown identifier 'howmanyplayers' in script C:\Program Files\SCAR 3.15\Scripts\Boner.scar
    Failed when compiling
    All I do is add a semi-colon then a space before begin.
     
  5. Markuss

    Markuss Active Member

    Joined:
    Aug 13, 2008
    Posts:
    209
    Referrals:
    4
    Sythe Gold:
    0
    My first autoer...Owned...-.-

    ...you wrote include srl wrong in your first one and i didn't realise, this should be the fixed version, the hints that pop up when you compile is becasue you never use the integers x and y, enjoy and sorry for messing you up a bit

    this works, i acutally tested it to see if it compiles :p
     
  6. mistikman

    mistikman Active Member
    Banned

    Joined:
    Sep 23, 2008
    Posts:
    139
    Referrals:
    0
    Sythe Gold:
    0
    My first autoer...Owned...-.-

    That's kewl, just glad you could help. :)
     
< im new to this and need help. | Need help with improvements. >


 
 
Adblock breaks this site