procedure xxxxxxx;
var T:Tpoint;
begin
if FindObject(T,1111111) or FindObject(T,111111)then
begin
mouse(T.x,T.y,5,5,true);
end;
wait(1000+random(2000));
end;
this procedures lags like hell,
can someone tell me why?
i change procedure name
and object type, else someone my recognise my script, and i get banned in RS.
Nindustries
2009-02-25 12:26:29
try to change your wait ?
n3ss3s
2009-02-25 14:46:31
From: Nindustries
try to change your wait ?
Waiting doesn't lagg…
i change procedure name
and object type, else someone my recognise my script, and i get banned in RS.
Erm, what the hell? :p
I think you should head to the Tutorial Island section and start from the beginner tutorials, get a hang of scripting and then when you can make working color scripts that work for more than 2 hours move onto reflection.
I can make working color scripts that work for more then 2 weeks.
n3ss3s
2009-02-26 15:19:35
From: fre
I can make working color scripts that work for more then 2 weeks.
Then you would know more than
i change procedure name
and object type, else someone my recognise my script, and i get banned in RS.
Unless I totally misunderstood what you meant…
The object type isn't just any random number, and your procedure names don't matter in autoing…
i knew those things u said already…
lordsaturn
2009-02-26 16:38:23
FindObject can be very very slow, for me it takes about 10 seconds. I suggest you use tiles if you can, but if you can't use FindObjectEx and restrict the MaxLength.
Ah thank you very much.
Finally i got an answer that was of use of me.
thx again.