SRL Archive - Help and Support

Benmouse?


badman1

2006-04-23 17:42:32

Line 55: [Error] (10834:4): Unknown identifier 'useBenMouse' in script C:\Program Files\SCAR 2.03\includes\srl\srl\skill\Crafting.scar

:confused:

Pwnd

2006-04-23 18:18:21

Get the new version of SRL?

badman1

2006-04-23 18:22:03

Still there….

Dankness

2006-04-23 18:31:34

From: badman1
Line 55: [Error] (10834:4): Unknown identifier 'useBenMouse' in script C:\Program Files\SCAR 2.03\includes\srl\srl\skill\Crafting.scar

:confused:


donnu why its there but goto that File, goto Line 55 and Change UseBenMouse to BenMouse

WT-Fakawi

2006-04-23 18:32:07

yes you are right.


replace openOven with this:

[php]
{*******************************************************************************
Function OpenOven:Boolean;
By: WT-Fakawi
Description: Opens oven.
*******************************************************************************}
Function OpenOven:Boolean;
begin
MarkTime(Mark);
repeat
if (not (Loggedin))then break;
if(FindColorTolerance(x,y,867959,MSX1,MSY1,MSX2,MSY2,20)) then
begin
MMouse(x,y,2,2);
if(IsUpText('ire')) then
begin
Mouse(x+Random(15),y,2,2,True);
Result:=True;
end;
end
Flag;
Wait((100)+Random(1000));
until((FindColorTolerance(x,y,9343516,33,368,33,368,20))or (TimeFromMark(Mark)>(15000)));

end;
[/php]
should do the trick
Sorry for that :cool:

Need to rewrite this using IsUpTextMulti….

Dankness

2006-04-23 18:35:43

wow you beat me to it !

badman1

2006-04-23 18:38:08

Havent played around with Scar since my fire crafter almost 4 months ago and let me tell you this is the most confusing include I have ever attempted scripting with.

Me misses Kernel Klinks Falador Anyore miner, made me so much money but now I am poor.

Dankness

2006-04-23 18:45:08

From: badman1
Havent played around with Scar since my fire crafter almost 4 months ago and let me tell you this is the most confusing include I have ever attempted scripting with.

Me misses Kernel Klinks Falador Anyore miner, made me so much money but now I am poor.


Wow how is this confusing theres a freaking Compiled HTML Manual with Almost Every Function and Procedure in it, Eveything has been sorted out into seperate files so you can find things at a glance.

Pwnd

2006-04-23 19:33:44

From: Dankness
Wow how is this confusing theres a freaking Compiled HTML Manual with Almost Every Function and Procedure in it, Eveything has been sorted out into seperate files so you can find things at a glance.

</3 HTML manuals.
;D

I always loved scrolling down the include looking at the titles.. I can't do that anymore ;(

badman1

2006-04-23 22:08:51

From: Pwnd
</3 HTML manuals.
;D

I always loved scrolling down the include looking at the titles.. I can't do that anymore ;(

Exactly

I loved the dicovering of new functions and procedures by just scrolling through it and attempting to read the code and uderstand what it did