SRL Archive - OSR Help

I have questions.


Sin

2012-01-14 18:27:40

First One:
Why doesn't "ChooseOption()" work?

I have everything correct, it doesn't work :L

Second One:
Can someone teach me about Case statements?
Here are my if's:
if FindObjCustom(x2, y2, ['Smelt'], [6055530], 5) then
begin
MouseItem(1, True);
Mouse(x2,y2,0,0,True);
wait(2000);
end;
if FindObjCustom(x3,y3,['Make'], [2347505,2279913,2346735,1874882,2279398], 3) then
begin
Mouse(x3,y3,0,0,False);
wait(1000);
ChooseOption('ll');
end;

Third One:
Can someone show me how to use PixelShift?
It'd be very helpful in my scripts.

YoHoJo

2012-01-14 18:39:58

ll might be weird to find, also instead of a wait and then chooseoption just use waitoption
Try
WaitOption('Al', 2000);

PatDuffy

2012-01-14 18:46:01

I've used ChooseOption('ll) before, and it worked for me…

Sin

2012-01-14 19:29:25

Not anymore, its all messed up :s

I tried -
'Make All'
'All'
'ake All'
'e All'


which none worked :(

Nebula

2012-01-14 19:33:15

Make sure at the beginning of your script, SRL is followed by .simba not .scar. That was my problem when choose option didn't work for me earlier today. it was changed to .simba for srl 5.

Sin

2012-01-14 20:36:50

Im still on SRL4 lul..

cause

2012-01-15 17:09:23

You should definitely update to SRL 5, then tell us if it works for you or not.