SRL Archive - SRL Suggestions

Magic.scar Fix


Cigue

2010-08-08 15:01:52

Just remove 563-570 and replace with

  if InStrArrEx('enchant crossbow bolt', t_spArr, II)then
if (P > II)then
begin
CTS := GetColorToleranceSpeed;
GetToleranceSpeed2Modifiers(H, S);
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 0.70);
if (CountColorTolerance(1147846, MIX1, MIY1, MIX2, MIY2, 13) < 14) then
Dec(P);
ColorToleranceSpeed(CTS);
SetToleranceSpeed2Modifiers(H, S);
end;

There, fixed :) (Tested on F2P and P2P accounts, cast function works)

EvilChicken!

2010-08-08 17:14:48

Two minor things: next time, just post the entire function, regardless of how big it is. It's more important to avoid confusion than to save a few lines of space on the forums.
And the second thing; "resolved" means that the issue is resolved by such means that it was sorted out and everything turned out to be fine; that there was no error in the first place ;)

But, committed nevertheless! Nice job!
(This better work .. *clenches fist*)

Cigue

2010-08-08 17:20:49

Thank you for the advice EC :D