Hi
I'm really excited to try out your script. But once I filled everything in, I got this error:
This is where the error brings me in the script:Code:Successfully compiled (2231 ms)
SRL Compiled in 15 msec
STATS: "ERROR(1): Wrong username or password!"
[Runtime Error] : Out Of Range in line 116 in script C:\Users\xxxxxxx\Documents\SCAR 3.23 Beta\Scripts\RS Stuff\YoHoJos PMS Release 1.04.scar
I know how to write code in pascal a little bit, but I don't understand this error. I'm only using one player, so the part in the declare section looks like this:Code:with Players[0] do
begin
Name := ''; //Player username.
Pass := ''; //Player password.
Nick := 'head'; //Player nickname - 3-4 letters of Player username.
Active := True;
Integers[1] := 4; //1=BrightCopper,2=DarkCopper,3=Tin,4=Iron.
Integers[2] := 5; //Seconds to try mining rock before clicking another.
end;
with Players[1] do
begin
{{BRINGS ME HERE}} Name := ''; //Player username.
Pass := ''; //Player password.
Nick := ''; //Player nickname - 3-4 letters of Player username.
Active := False;
Integers[1] := 4; //1=BrightCopper,2=DarkCopper,3=Tin,4=Iron.
Integers[2] := 5; //Seconds to try mining rock before clicking another.
end;
Hopefully you can figure it out :pCode:NumbOfPlayers= 1; //How many players are you using
StartPlayer= 0; //Player to start auoting with! (0 means first char)

