SRL Archive - RS3 Outdated / Broken Scripts

Thomis' Simple Powerminer


thomis

2007-08-25 04:45:26

This is one of my first scripts and you can tell me what i can add to this script to make it better.

I'll try to improve it little by little, so don't tell me to add multiplayer and everything right away

ShowerThoughts

2007-08-25 05:06:49

good start but…(btw never use powerminers they are so botty if i playing legit you see so easy its a powerminer;))

in the clickit;
you could use findcolorspiraltolerance because its searches from the middle to the corners so it clicks the closest rock

and you could better do
if invfull
then
loads:= loads + 1
and then in the proggy
add loads:)
and remove the clicks did thats not accurate because you dont know how much they mined

edit:
ow sorry i didnt look good you got loads thingy but remove the clicks k maybe put time in it ;)

thomis

2007-08-25 07:58:18

ok i've done everything you said except for the findcolorspiraltolerance part.

I didn't find anything about a function with spiral in it, if you meant something else, please tell me the exact function or procedure name.

But still thanks

Killerdou

2007-08-25 08:06:09

function FindColorSpiralTolerance(var x, y: Integer; color, xs, ys, xe, ye: Integer; Tolerance: Integer): Boolean;
Works like the regular FindColorSpiral but with a tolerance parameter for finding any similar color. Tolerance is used to find a color in range of the color you are looking for. The greater color range you want, the higher the tolerance parameter should be.

thomis

2007-08-25 08:10:30

do i have to add an include for that cause i didnt find the function in SRL3.81 manual

btw, i added the newer version but there's still a problem:
Line 80: [Error] (15409:1): Identifier expected in script…

It would be nice if you could check that out for me.

It's something with the elses but i dont know what.

ShowerThoughts

2007-08-25 08:27:15

use srl 4.0 beta ;)

thomis

2007-08-26 02:55:57

ok thanks but do i have to specify the xs, ys, xe, ye?
and what do you suggest i put in tolerance?

Is this right?
if(FindColorSpiralTolerance(fx,fy,color,MSX1,MSY1,MSX2,MSY2,6))then

I also still have the error in line 80:
Line 80: [Error] (15409:1): Identifier expected in script…

The thing with the else

can someone help me there please?