Log in

View Full Version : Trying to learn scripting. Help with this line please.



SirMashew
08-16-2007, 03:54 AM
Ok. I am looking through a Auto Dummy Hitter script and found this line.

if FindColor(x,y,dummycolor,26,25,334,247)

What does the ...26,25,334,247) mean? What does that do?

dvdcrayola
08-16-2007, 03:56 AM
its the box that it searches in...

26,25 is one corner and 224,247 is the other

SirMashew
08-16-2007, 04:04 AM
its the box that it searches in...

26,25 is one corner and 224,247 is the other

Oh.

Another question.

Would Falakwi's old script still work in Runescape?

(I hope I spelt his name right. >_<)

dvdcrayola
08-16-2007, 04:05 AM
um which script? and its fakawi.

lordsaturn
08-16-2007, 05:27 AM
Take a look at this.

http://www.villavu.com/forum/showthread.php?t=15240

As explained in that tutorial, there are more effective ways of finding colors, such as FindColorSpiral, or FindColorTolerance.

rotflmfwao
08-16-2007, 04:50 PM
Yeah, but in JADummy, findcolor works fine.

The Element
08-16-2007, 08:04 PM
It makes a box around the RS client. SO that scar sees RS through full screen.

rotflmfwao
08-17-2007, 01:32 AM
It makes a box around the RS client. SO that scar sees RS through full screen.
What exactly are you talking about? I'm so lost!