Log in

View Full Version : Smart problem



mastah
02-11-2012, 09:59 AM
Hi,

When i add smart to my script the functions MouseClick doesn't seem to work. It also clicks outside of the smart client which is quite weird :(


{$DEFINE SMART}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := 'lolz';
Players[0].Pass := 'wofl';
Players[0].Active := True;

end;

begin
Smart_Server := 69;
Smart_Members:= true;
Smart_Signed := true;
Smart_SuperDetail := false;
SetupSRL;
DeclarePlayers;
end;

This is what I added to the script until now.
Please help meeeeeeeeeeeee:confused:

YoHoJo
02-11-2012, 10:31 AM
I see no mouse clicks in the script?
What Function are you using to click?
'ClickMouse'?

mastah
02-11-2012, 01:38 PM
yeah clickmouse, it should work though?
this is the smart part:garfield: i added, is it right?

riwu
02-11-2012, 01:44 PM
Try add this
{$i SRL/srl.simba}

below your
{$DEFINE SMART}

also where did u put your ClickMouse?

mastah
02-11-2012, 02:12 PM
I had that already, the clickmouse is here:

begin
Smart_Server := 69;
Smart_Members:= true;
Smart_Signed := true;
Smart_SuperDetail := false;
SetupSRL;
DeclarePlayers;
login etc.
ClickMouse
rest script
end.

YoHoJo
02-11-2012, 02:18 PM
Can you just copy/paste us the entire script... we can help a lot better that way.
And use SIMBA tags, not quote tags.