Log in

View Full Version : Antiban Problems



karter50
12-31-2011, 05:28 PM
[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]
12-31-2011, 06:05 PM
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
12-31-2011, 07:58 PM
Delete it, or add it to your global Variables.