SRL Archive - SRL Suggestions

arnav_FixLock


NCDS

2011-01-15 21:23:54

Colors just needed to be updated.

Patch:

Index: capnarnav.scar
===================================================================
--- capnarnav.scar (revision 689)
+++ capnarnav.scar (working copy)
@@ -107,7 +107,7 @@
begin
b := IntToBox(91 + (88 * c), 45 + (88 * r), 166 + (88 * c), 112 + (88 * r));
SetColorSpeed2Modifiers(0.02, 0.22);
- FindColorsTolerance(tpa, 803162, b.x1, b.y1, b.x2, b.y2, 20);
+ FindColorsTolerance(tpa, 1070710, b.x1, b.y1, b.x2, b.y2, 20);
if (Length(tpa) > 400) then
begin
arnav_ClickArrow(c, Target - r);
@@ -115,7 +115,7 @@
Break;
end;
SetColorSpeed2Modifiers(0.02, 0.05);
- FindColorsTolerance(tpa, 2281971, b.x1, b.y1, b.x2, b.y2, 20);
+ FindColorsTolerance(tpa, 1624812, b.x1, b.y1, b.x2, b.y2, 20);
if (Length(tpa) > 400) then
begin
arnav_ClickArrow(c, Target - r - 1);

arnav_ExitPortal returns false though it works perfect. If anyone has an account in the random I'm sure it would be a quick easy fix, and I'm more than happy to do it.

TomTuff

2011-01-15 21:43:56

It's good to see color randoms being worked on.

Wanted

2011-01-16 00:12:30

The colors changed, but not the modifiers?

NCDS

2011-01-16 00:17:42

From: IceFire908
The colors changed, but not the modifiers?


That was the weird thing. I gathered the colors using ACA as always and tried it with the modifiers it gave me along with the tolerances, but it didn't work 100%. Then, I reverted back to the original modifiers and worked like a charm. :confused:

Why? I have no idea, but it works now.

I tested with all 5 tries the random allows and it never failed.

Edit: I have been, and still am, running all my accounts trying to get them into randoms so if your not comfortable committing at this point, just wait a few days and I'll hopefully have more accounts to test with.

Wanted

2011-01-16 00:26:54

This may seem elementary, but considering it's odd enough that the mods are the same, are you sure you loaded the client on safe mode?

NCDS

2011-01-16 01:28:42

From: IceFire908
This may seem elementary, but considering it's odd enough that the mods are the same, are you sure you loaded the client on safe mode?


Always do. IIRC, the last time I updated the colors the mods stayed the same too.

I understand that is a bit strange, and I can't explain why it works like that, but for whatever reason, it works like that. It worked when I updated the mods too, just not as consistently as with the original mods.

I've learned by now to thoroughly test things before I post them. The last thing I want is to post non working code right now.

I'm going to have 6 accounts running tonight while I'm sleeping so hopefully by morning I'll have another account in Arnav to be able to confirm everything, and hopefully fix the small error in arnav_ExitRandom.

Wanted

2011-01-16 01:47:39

K, I just wanted to be sure you used safe mode. It is possible the mods didn't change.