Log in

View Full Version : SRL 4 player array problems



HairyDuncan2
09-01-2007, 10:05 PM
Hi!

Well, I have been using Fatakawis 'Gobbiez' script, with the new SRL update. It work's fine until it comes to the logging out and back in part. It log's out and then when it tries to enter the username and password, nothiong get's typed. Even when the cursor is in those boxes, and I press key's on the keyboard, nothing happen's. I noticed that when it click's 'Existing User', Internet Explorer (7), becomes inactive. By that I mean the topmost bar (where it say's Window's Internet Explorer) becomes a lighter shade of color. This means that it is inactive and you cannot type there. This means that the player login is doing something wrong (I think.)



Function Callibrate(How: string): Boolean; Forward;

Procedure DeclarePlayers;
begin
NumberOfPlayers(3);
CurrentPlayer := 0;
Players[0].Name :='Hairyduncan3';
Players[0].Pass :='';
Players[0].Nick :='Hry';
Players[0].Active :=True;
Players[0].Skill := 'auto';

Players[1].Name :='Hairyduncan4';
Players[1].Pass :='';
Players[1].Nick :='Hry';
Players[1].Active :=True;
Players[1].Skill := 'auto';

Players[2].Name :='Hairyduncan5';
Players[2].Pass :='';
Players[2].Nick :='Hry';
Players[2].Active :=True;
Players[2].Skill := 'auto';

end;


That is what i've been using.

HyperSecret
09-01-2007, 11:03 PM
dont make it a function, then you have to do more with it, delete the calibrate part of it, also you have to put multiplayer things into your mainloop to make it run correctly

TOB
09-01-2007, 11:19 PM
It's not the player array, something is tweaking with either Fakawi's script or SRL is just messing for you.

HairyDuncan2
09-02-2007, 12:35 AM
It's not the player array, something is tweaking with either Fakawi's script or SRL is just messing for you.

Anything I can do?

Rikje
09-02-2007, 09:16 AM
http://www.srl-forums.com/forum/showthread.php?t=17777&highlight=focus
i hope that helps ;)