SRL Archive - S.M.A.R.T. Questions and Answers.

Ways to rotate screen inside SMART?


da scripter

2009-04-16 05:16:02

I use (used to use before smart added to my script) SendArrowSilentWait to move my screen randomly, I just added SMART to my script and the screen seems not to rotate, What other ways can I make the screen rotate?

Thanks, scripter

chewgun

2009-04-16 05:27:10

From: da scripter
I use (used to use before smart added to my script) SendArrowSilentWait to move my screen randomly, I just added SMART to my script and the screen seems not to rotate, What other ways can I make the screen rotate?

Thanks, scripter


If I'm right,at times when the script is say,mining,you could disable SMART and try moving with arrows. I do the same to type in the chatbox. However, for some reason,this doesn't seem to work all the time. Also,pausing the script,disabling SMART could work for you. Once done, enable SMART,and resume your script. Hope this helped ;)

senrath

2009-04-16 05:27:46

Try using KeyDown and KeyUp with the following codes:
VK_Left
VK_Right
VK_Up
VK_Down

An example to just barely move the screen would be this:

KeyDown(VK_Left);
Wait(Random(100) + 10); //presses the left arrow and holds it in for 10 to 109 milliseconds
KeyUp(VK_Left); //releases the left arrow

da scripter

2009-04-16 06:03:27

thanks senrath, it worked.

senrath

2009-04-16 06:16:49

No problem. Glad to have helped.

Blumblebee

2009-04-16 19:53:13

MakeCompass(Dir:Variant) …

ex.

MakeCompass('n');

or MakeCompass(IntToStr(Random(360)));

Floor66

2009-04-16 20:55:05

This is my own AntiBan procedure:

Procedure PivotCamera(HoldTime, Angle: Integer);
Var
Side : Byte;
Begin
If Random(2) = 1 Then
Begin
KeyDown(VK_LEFT);
Side := VK_LEFT;
End Else
Begin
KeyDown(VK_RIGHT);
Side := VK_RIGHT;
End;
Wait(HoldTime);
KeyUp(Side);
Wait(250 + Random(150));
MakeCompass(IntToStr(Angle));
End;

Use it like:

PivotCamera(1500 + Random(500), 0)); //Will keep either left or right pressed for 1500 + Random(500) ms, and will go back to 0 (North) after turning.

Smarter Child

2009-04-17 02:11:59

Or just use a series of …SetAngle(PARAM-iforgotlol) and makecompass

nickrules

2009-08-11 04:59:19

From: da scripter
I use (used to use before smart added to my script) SendArrowSilentWait to move my screen randomly, I just added SMART to my script and the screen seems not to rotate, What other ways can I make the screen rotate?

Thanks, scripter


MakeCompass('N');

N can be swapped out with 'N' 'S' 'E' 'W'