MylesMadness
2010-06-28 19:56:29
2010-06-28 19:56:29
2010-06-28 20:10:08
From: MylesMadness
Varrock autocolor doesn't work for me or ReadySteadyGo
program new;
{$i SRL/SRL.scar}
begin
SetupSRL;
Wait(RandomRange(200, 500));
RadialWalkAutoColor(srl_VarrockRoadColor, 0, 45, 70, 3, 3);
end.
** Warning in LoadAutoColor: Function Successful: Found Color = 8424071 **
2010-06-28 20:54:26
2010-06-28 20:55:38
2010-06-28 20:56:52
From: BlumblebeeI know its not, but it should still be fixed in srl…
make your own simple autocolor if that ones not working. Autocoloring is pretty simple to do :)
2010-06-28 21:02:29
2010-06-28 21:19:58
From: ReadySteadyGo
It's working for me on this login, but the last two logins it didn't find it. Weird.
2010-06-28 21:48:28
2010-06-28 22:02:33
From: MylesMadness
** Warning in LoadAutoColor: Function Successful: Found Color = 8554636 ** but the color is 9014929. A tolerance wouldn't help if the autocolor itself was giving wrong colors
2010-06-28 22:05:21
2010-06-28 22:08:03
From: MylesMadness
9014929 is the real road color.
And wouldn't a tolerance not work if the color without tolerance is on the minimap?
2010-06-28 22:11:11
2010-06-28 22:12:01
From: MylesMadness
9014929 is the real road color.
And wouldn't a tolerance not work if the color without tolerance is on the minimap?
2010-06-28 23:29:45
2010-06-29 00:04:55
From: MylesMadness
I'll screenshot it tommorow, it's not finding a color on the road. And isn't the point of autocolor to not tolerance
2010-06-29 10:19:16
2010-06-29 11:10:11
And thats with 10 tolerance.
2010-06-29 16:09:19
2010-06-29 18:42:52
program new;
{$i SRL/SRL.scar}
var
x, y: Integer;
begin
SetupSRL;
ActivateClient;
Wait(RandomRange(200, 500));
x:=MMCX;
y:=MMCY;
FindColorSpiralTolerance(x, y, AutoColor(srl_RockColor), MMX1, MMY1, MMX2, MMY2, 0);
MMouse(x, y, 0, 0);
end.
2010-06-29 19:33:01
From: MylesMadness
And thats with 10 tolerance.
From: ReadySteadyGo
** Warning in LoadAutoColor: Function Successful: Found Color = 3625809 **
Which is the white dot of my player.
Autocolor seriously needs changing.
2010-06-29 19:38:26
2010-06-30 03:08:27
2010-06-30 05:45:03
From: ReadySteadyGo
You're right about the white dot, sorry I thought I could input scar colour into the colour picker history. It just isn't finding the rock color though Coh3n no matter what tolerances I've tried.
2010-06-30 11:41:37
From: Coh3n
E: Have you tried RadialWalkAutoColour? Because it uses the proper tolerances and CTS. If that works, then you just aren't using it properly. >.<
2010-06-30 12:25:06
From: Coh3n
What Nava said, and what I said above. I thought I had picked all the colours, but I easily could have missed some. Try opening some ACA files and seeing if the colours on your minimap are in the array. If not, add them and post the new list. :)
E: Have you tried RadialWalkAutoColour? Because it uses the proper tolerances and CTS. If that works, then you just aren't using it properly. >.<

2010-06-30 17:59:57
From: ReadySteadyGo
Ok, this is the rock I'm looking for. I've checked the ACA files (srl_RockColor and srl_MineRockColor) and picked over 10 new colours. None of them have matched up with the entries already there. RadialWalkAutoColor isn't working for me so it's not something I'm doing wrong. Is this a different kind of rock or something? It's at an altar… If not I will make a new ACA file, because it seems like there is a hell of a lot more than what's in there.
2010-06-30 19:58:18
function GetMode(Arr: TIntegerArray): Integer;
var
i, count, tCount, r: Integer;
begin
QuickSort(Arr);
for i := 1 to High(Arr) do
if Arr[i] = Arr[i - 1] then
begin
tCount := tCount + 1;
if i = High(Arr) then
if Count < tCount then
begin
r := i - 1;
end;
end else
begin
if Count < tCount then
begin
r := i - 1;
Count := tCount;
end;
tCount := 0;
end;
Result := Arr[r]
end;
Function AutoColorRight(Which:Integer):Integer;
var
color:Integer;
Colors:TIntegerArray;
TPA:TPointArray;
begin
Color:=AutoColor(which);
FindColorsTolerance(TPA, Color, MMX1, MMY1, MMX2, MMY2, 15);
Colors:=GetColors(TPA);
Result:=getmode(Colors);
end;
2010-06-30 22:06:44
From: MylesMadness
RadialWalkAutoColour didn't work at all, So we(ReadySteady made the GetMode function, took him a ton of time to get that working and fast) just made a working autocolor function:function GetMode(Arr: TIntegerArray): Integer;
var
i, count, tCount, r: Integer;
begin
QuickSort(Arr);
for i := 1 to High(Arr) do
if Arr[i] = Arr[i - 1] then
begin
tCount := tCount + 1;
if i = High(Arr) then
if Count < tCount then
begin
r := i - 1;
end;
end else
begin
if Count < tCount then
begin
r := i - 1;
Count := tCount;
end;
tCount := 0;
end;
Result := Arr[r]
end;
Function AutoColorRight(Which:Integer):Integer;
var
color:Integer;
Colors:TIntegerArray;
TPA:TPointArray;
begin
Color:=AutoColor(which);
FindColorsTolerance(TPA, Color, MMX1, MMY1, MMX2, MMY2, 15);
Colors:=GetColors(TPA);
Result:=getmode(Colors);
end;
2010-06-30 22:12:04
From: Coh3n
You're probably right. I'm sure there are a lot of colours I missed (I can only do so much :p). Please make a new file. Oh, and be sure to delete the duplicates. ;)
2010-06-30 22:15:13
2010-06-30 22:50:10
2010-07-01 00:00:00
2010-07-01 04:51:41
2010-07-01 06:07:10
2010-07-01 06:32:26
2010-07-01 14:01:46
Function AutoColorRight(Which:Integer):Integer;
var
color:Integer;
Colors:TIntegerArray;
TPA:TPointArray;
begin
Color:=AutoColor(which);
FindColorsTolerance(TPA, Color, MMX1, MMY1, MMX2, MMY2, 15);
Colors:=GetColors(TPA);
Result:=getmode(Colors);
end;
Last time I checked, FindColorsTolerance uses tolerance, and what's GetMode suppose to do?2010-07-01 14:56:08
2010-07-01 15:01:31
From: ReadySteadyGo
It uses the same autocolor but returns the actual colour of the road when using tolerance. It's not actually changing anything you've already done. I think it's useful because when using radial walk if it finds a colour within the tolerance before it gets to the actual colour, it will use it.
From: ReadySteadyGo
I don't think myles was trying to undermine 'AutoColour' by calling it that. Say if I wanted open bank procedure with an extra feature, I might use the name FindBankBoothRight. There was no insult aimed with the naming of that function.
2010-07-01 15:20:47
2010-07-01 16:18:51
From: pur3b100d
lol i hope you aint making a air crafter cus i just got the walking sorted for mine and yer the autocolor's off but it works with tol as 20
2010-07-01 17:13:38
2010-07-01 17:29:14
From: Nava2RadialWalkAutoColor isn't using it right then.
No one appears to be using it right!
Use the darn TAutoColor and use the freaking tolerances!
Yep, no colors
2010-07-01 18:45:39
program new;
{$i srl/srl.scar}
{$i srl/srl/misc/debug.scar}
procedure Test;
var
TPA: TPointArray;
TACI: TAutoColorInfo;
x, y: Integer;
begin
TACI := AutoColorEx(srl_VarrockRoadColor);
x := MMCX;
y := MMCY;
SetColorToleranceSpeed(2);
SetColorspeed2Modifiers(TACI.HueMod, TACI.SatMod);
FindColorsSpiralTolerance(x, y, TPA, TACI.Color, MMX1, MMY1, MMX2, MMY2, TACI.LumTol);
DebugTPA(TPA, '');
end;
begin
SetupSRL;
ActivateClient;
Test;
FreeSRL;
end.
2010-07-01 23:24:11
From: MylesMadness
RadialWalkAutoColor isn't using it right then.
Also, SRL's autocolor without tol:Yep, no colors
My add-on to SRL's autocolor without tol:![]()
From: Sabzi
I was really curious about this so I quickly made this:program new;
{$i srl/srl.scar}
{$i srl/srl/misc/debug.scar}
procedure Test;
var
TPA: TPointArray;
TACI: TAutoColorInfo;
x, y: Integer;
begin
TACI := AutoColorEx(srl_VarrockRoadColor);
x := MMCX;
y := MMCY;
SetColorToleranceSpeed(2);
SetColorspeed2Modifiers(TACI.HueMod, TACI.SatMod);
FindColorsSpiralTolerance(x, y, TPA, TACI.Color, MMX1, MMY1, MMX2, MMY2, TACI.LumTol);
DebugTPA(TPA, '');
end;
begin
SetupSRL;
ActivateClient;
Test;
FreeSRL;
end.
Not sure if I'm using it right or not but it gave nice results(a bit too much tho).
Until I tried it with rock. It highlighted everything. When I used a lower tolerance it highlighted everything, except the rock :S. And the color wasn't even near the actual rock color.
Display mode is safe mode, right? And how should we exactly use the new AutoColoring? (I have read the Newly Added thread)
2010-07-02 03:06:42
2010-07-02 05:43:55
From: Nava2
Also, the Rick colour iirc, is really really dynamic and rather than being related to a colour the colours are all related to each other in their own ways.
2010-07-02 14:17:19
From: Sabzi
Yeah, I noticed that also when I was picking colors for one of your previous attempt to update the autocolors. Or it was something else, I don't remember :p.
It's sometimes blue, sometimes green, stupig Jagex … they can't stop us with this.
2010-07-02 14:34:00
2010-07-02 14:36:19
From: Sabzi
I was only testing the new system.
But in the future I will remember your offer if I will need it ;).
2010-07-02 15:12:17
From: Sabzi
I was only testing the new system.
But in the future I will remember your offer if I will need it ;).