• Log in or sign up for an account here: https://www.sythe.org/login

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

mistikman

Active Member

Banned
Joined
Sep 23, 2008
Sythe Gold
0
Messages
139
Age
33
Location
Wagga, unfortunately...:(
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. :'(
 
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
 
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.
 
...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

{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;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer:= 0;

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.

this works, i acutally tested it to see if it compiles :P
 
Runescape Gamblingrunescape gambling
Back
Top