SRL Archive - Help and Support

Corner of stupidness


Ejjman

2006-04-26 19:53:49

program New;
{.include SRL\SRL.scar}

begin
If(FindColorSpiral(x,y,870508,259,205,279,229))or
(FindColorSpiral(x,y,874883,259,205,279,229))then
If(IsUpText('Mine'))or
(Option2('Mine'))then
begin
MMouse(x,y,2,2)
wait(1000);
ClickMouse(x,y,True)
end;
end.


[Runtime Error] : Exception: Access violation at address 0065478C in module 'scar.exe'. Read of address 00000000 in line 138 in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Text.scar

Sdcit

2006-04-26 19:57:38

1. Those two find colors are the same…

2. Well… thats kinda how it does it. Use findcolorspiral2?

Ejjman

2006-04-26 20:01:58

So whats one thing I can do to help it? I don't know colorspiral2 yet…?

EDIT: Yes, I did read the colarspiral help, and yes, the mouse hovers over the object! Now, to get it to click it again….

timmyboy

2006-04-26 20:35:34

If you want is to click, use
cmouse(x,y,2,2,true);
Or instead of using the mmouse and the cmouse, just use mouse.
mouse(x,y,2,2,true);

Hope that helped.

Ejjman

2006-04-26 20:51:38

OK…I did that, and guess where the mouse went…



It went over the rock, but as soon as it hit the CMouse(x,y,2,2,True), It just freaked out and started going crazy right along that black thing.

timmyboy

2006-04-26 20:57:19

wierd…try to use the "mouse"

Sdcit

2006-04-26 20:59:42

Lower the area it searches in to only th Main screen?

Ejjman

2006-04-26 21:04:36

[Runtime Error] : Exception: Access violation at address 0065478C in module 'scar.exe'. Read of address 00000000 in line 138 in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Text.scar

Forget it, new problem!

WT-Fakawi

2006-04-27 01:26:48

SetupSRL?…..

ReFLeX

2006-04-30 00:46:34

ah i had the same problem, but SetupSRL; fixed it