reu
2014-03-25 00:49:33
This is for an RSPS and I'm now able to include SRL-6 (thanks Foundry! :))
So sadly, I was hoping for my first post to be this auto-fighter (but only for a single monster, I've only been coding for 3 days now lol), now I have to look like a retard posting what's probably a really simple issue :\
I'm having an issue with setting my CTS2 modifiers.
I've used TPA's before and I've never had this issue and have no idea how to fix it, nor do I see a logical reason why I'm getting it!
Obviously this function isn't finished yet, but I have a bad habit of testing things as I go…
Resolved: Dropped a nuke in the gopher hole by just assigning two extended variables for my h/sMods and using "GetColorSpeed2Modifiers" -.-
So sadly, I was hoping for my first post to be this auto-fighter (but only for a single monster, I've only been coding for 3 days now lol), now I have to look like a retard posting what's probably a really simple issue :\
I'm having an issue with setting my CTS2 modifiers.
I've used TPA's before and I've never had this issue and have no idea how to fix it, nor do I see a logical reason why I'm getting it!
Exception in Script: Unknown declaration "SetColorSpeed2Modifiers" at line 119, column 3function Fighting: boolean;
var
tmpCTS, i, r, counter: integer;
IceQueenTPA, HPRed, HPBlue: TPointArray;
IceQueenATPA: T2DPointArray;
IceQueenBox: TBox;
begin
tmpCTS := GetToleranceSpeed;
SetColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.04, 0.55);
if FindColorsTolerance(IceQueenTPA, 9654091, 5, 5, 510, 330, 27) then
begin
IceQueenATPA := SplitTPAEx(IceQueenTPA, 20, 20);
SortATPASize(IceQueenTPA, true);
for i := 0 to high(IceQueenATPA) do
begin
IceQueenBox := GetTPABounds(IceQueenATPA[i]);
SetColorSpeed2Modifiers(0.10, 0.44);
if FindColorsTolerance(FullIQ, 11499112, IceQueenBox.x1, IceQueenBox.y1, IceQueenBox.x2, IceQueenBox.y2, 38) then
WriteLn('Found it! Continue coding');
result := True;
break;
if i = high(IceQueenATPA) then
begin
WriteLn('you done did fuck up somewhere, check your colors!');
TerminateScript;
end;
end;
SetColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.02, 0.02);
end;
end;Obviously this function isn't finished yet, but I have a bad habit of testing things as I go…
Resolved: Dropped a nuke in the gopher hole by just assigning two extended variables for my h/sMods and using "GetColorSpeed2Modifiers" -.-