SRL Archive - SRL Suggestions

PinScreen:Boolean; addition


Sin

2012-12-13 21:14:35

function PinScreen : Boolean;
begin
Result := FindTextTPA(2070783, 0, 105, 62, 150, 75, 'Please', UpCharsEx, Nothing);
if not (Result) then
if FindTextTPA(2070783,3,MBX1,MBY1,MBX2,MBY2,'set',UpCharsEx,Nothing) then
MouseBox(105,158,205,194,mouse_Left);
end;

This addition is to combat this screen, since it's screwing me over T_T


Slashed

2012-12-13 21:48:32

Silly question (or not), wasn't this already implemented? :confused:

Sin

2012-12-13 21:56:51

Nope.

NKN

2012-12-13 22:57:06

You didn't return a result afterwards, so even if it found that screen, it'd still return false?

Edit: 2k post. YAY

___

2012-12-13 22:58:33

From: NKN
You didn't return a result afterwards, so even if it found that screen, it'd still return false?

Edit: 2k post. YAY


Result := FindTextTPA(2070783, 0, 105, 62, 150, 75, 'Please', UpCharsEx, Nothing);

euphemism

2012-12-13 22:59:28

From: NKN
You didn't return a result afterwards, so even if it found that screen, it'd still return false?

Edit: 2k post. YAY


Which you would want. Otherwise, if 'PinScreen' starts returning true without there actually being the numpad on screen, scripters assuming they can use 'InPin' after 'PinScreen' returns true will be in trouble.

Sin

2012-12-13 23:09:58

As Euphenism said.