SRL Archive - OSR Help

Remove TPoint from TPA or Find Colors Tolerance in Circle ?


Neg_

2010-08-07 06:15:14

Need solution fast. As I checked there is no such function what can find colors from circle..

Edit:
Edit2: Captain slows… RemoveDistTPointArray

Shuttleu

2010-08-07 07:06:25

use something like FilterPointsPie
procedure FilterPointsPie(var Points: TPointArray; const SD, ED, MinR, MaxR: Extended; Mx, My: Integer);

you would use
procedure FilterPointsPie(ThePoints, 0, 360, 0, 70, MMCX, MMCY);

i thnk the radius of the MM is 70, it might be more or less, idk

~shut

ZephyrsFury

2010-08-07 07:38:01


{*******************************************************************************
function FindColorsPie(var Points: TPointArray; Color, Tol: Integer; StartD,
EndD, MinR, MaxR: Extended; x1, y1, x2, y2, Mx, My: Integer): Boolean;
By: Wizzup?, edit by EvilChicken!
Description: Finds all Colors with tolerance in the Pie, defined by
x1, y1, x2, y2, Mx, My, StartDegree, EndDegree, MinRadius and MaxRadius.
*******************************************************************************}

From Color.scar

x1, y1, x2, y2 are redundant so just pick the minimap bounds or something.

Neg_

2010-08-07 07:44:37

I have already found what I looked for - RemoveDistTPointArray

Shuttleu

2010-08-07 07:52:01

im assuming your making a essence miner?

~shut

Neg_

2010-08-07 08:31:25

From: Shuttleu
im assuming your making a essence miner?

~shut


Done now, runs really smooth.

—— 0 H 30 min 0 s ——
—— Banked ~504 ess ——

noidea

2010-08-07 13:02:46

Why not have your old account unbanned now that you're starting to become more active?

Neg_

2010-08-07 13:05:37

From: noidea
Why not have your old account unbanned now that you're starting to become more active?


Banned? no…

I typed some random letters, and copied it twice to password changing form.

:D

Wanted

2010-08-07 15:27:11

From: Shuttleu


i thnk the radius of the MM is 70, it might be more or less, idk

~shut


it's around 76 (77) in places, I always use 75 though.

ZephyrsFury

2010-08-07 23:04:54

From: Neg_
Banned? no…

I typed some random letters, and copied it twice to password changing form.

:D


You can ask an admin to reset it for you.

noidea

2010-08-07 23:25:49

From: Neg_
Banned? no…

I typed some random letters, and copied it twice to password changing form.

:D


Sorry, I thought you were still banned…