SRL Archive - Help

Smart problem


mastah

2012-02-11 04:59:08

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

2012-02-11 05:31:41

I see no mouse clicks in the script?
What Function are you using to click?
'ClickMouse'?

mastah

2012-02-11 08:38:26

yeah clickmouse, it should work though?
this is the smart part:garfield: i added, is it right?

riwu

2012-02-11 08:44:58

Try add this
{$i SRL/srl.simba}

below your
{$DEFINE SMART}

also where did u put your ClickMouse?

mastah

2012-02-11 09:12:39

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

2012-02-11 09:18:05

Can you just copy/paste us the entire script… we can help a lot better that way.
And use SIMBA tags, not quote tags.