SRL Archive - Help

Antiban Problems


karter50

2011-12-31 12:28:30

[Error] (18:3): Unknown identifier 'UseAntiban' at line 17
Compiling failed.

Is what the log says.

procedure DeclarePlayers;
begin //FOR DETAILS, ENTER THE REQUIRED INTO THE '' MARKS
HowManyPlayers := 1; //leave
NumberOfPlayers(HowManyPlayers); //leave
CurrentPlayer := 0; //this is the current player. the first player always has 0 as their ID. leave this alone with 1 person
//leave
Players[0].Name :=''; //put your username in
Players[0].Pass :=''; //put your password in
Players[0].Active:= True; //leave
Players[0].Pin :=''; //if you have a PIN number, you need to put it in
Players[0].Strings[1] := ''; //ignore this, or remove it. Doesn't matter.

UseAntiban := True; //enter True to put antiban on. Enter False to turn it off. I suggest leaving it on, JaGex tends to spot
SetupSRL; //*censored* bots easily so the antiban WILL help.
end;

Can anyone help me with this? I'm probably being dumb and missing something completely but I haven't done scripts for a year now and I did basic reflection back then.

Thanks.

[Nathan]

2011-12-31 13:05:48

What script is this? UseAntiBan isn't an SRL variable, so if your making a script and copied that section from another script, its something they used, but if you didn't create the variable just got ahead and delete it.

HardRockers

2011-12-31 14:58:58

Delete it, or add it to your global Variables.