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
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
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![]()
~Hermen
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
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.
Infractions, reputation, reflection, the dark side of scripting, they are.
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.
use srl 4.0 beta![]()
~Hermen
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?
SCAR Code: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?
There are currently 1 users browsing this thread. (0 members and 1 guests)