SRL Archive - OSR Help

Click to Continue


void_hatred

2010-02-15 05:28:55

Hey guys,
so I'm just finishing my little script, fixing the little flaws

i'd like to know how I can get SCAR to press "Click to Continue", talking with YoHoJo he said that there used to be SRLClickToContinue but he couldn't find it any more

it's just that I need to press Click to Continue every time the bot grows a cooking level :)

thanks in advance,
void_hatred

jimmy_mac

2010-02-15 05:33:42

use this:
LevelUp;
it checks for a level up and clicks continue button

void_hatred

2010-02-15 05:35:45

thanks jimmy_mac!


while FindDTM(ChickenDTM, x, y, MIX1, MIY1, MIX2, MIY2) do
begin
LevelUp;
end;

void_hatred

Frement

2010-02-15 05:38:16

And i thought the function was ClickToContinue; not SRLClickToContinue;

void_hatred

2010-02-15 06:16:13

From: Frement
And i thought the function was ClickToContinue; not SRLClickToContinue;


it may well have been, it was like 2am yesterday when I asked YoHoJo so I maybe added an SRL onto the front by mistake :)

void_hatred

WT-Fakawi

2010-02-15 12:38:59

Therre is one: ClickContinue


function ClickContinue(Click, Wait: Boolean): Boolean; 
By: Nielsie95
Description:
Returns true if ClickToContinue was found.



I always look in the .chm Manual! located in here: SRL/SRL Manual.chm. There is a handy search available too :)

void_hatred

2010-02-15 13:25:06

thanks WT-Fakawi! will save many questions :)


void_hatred

Bionicle

2010-02-15 14:21:40

Cant you just use:
FindNPCChatText('Click To Continue', click);
That's what I use.