SRL Archive - MSI Suggestions

Walking_Color.scar


Gu3st...

2010-04-18 14:52:08

In Function MSI_FindMMLocation, is it supposed to exit on line 122 if there is no colors? It will skip symbol searching then..
Line 121 and 122:
If (Length(Location.Colors) = 0) Then
Exit;

And MSI_Flag wont work as we want it to, because of the "if (FlagDistance <= FlagDist) then Break;". What if the character is moving but the flag goes off-screen?
Simple solution is to remove it:
procedure MSI_Flag(FlagDist: integer);
begin
if WaitFunc(@MSI_IsMoving, 1, 2500 + random(200)) then
while (MSI_IsMoving or FlagPresent) do
begin
FindNormalRandoms;
FFlag(FlagDist);
end;
end;

Sir R. M8gic1an

2010-04-18 14:59:15

From: Zyt3x
In Function MSI_FindMMLocation, is it supposed to exit on line 122 if there is no colors? It will skip symbol searching then..
Line 121 and 122:
If (Length(Location.Colors) = 0) Then
Exit;

And MSI_Flag wont work as we want it to, because of the "if (FlagDistance <= FlagDist) then Break;". What if the character is moving but the flag goes off-screen?
Simple solution is to remove it:
procedure MSI_Flag(FlagDist: integer);
begin
if WaitFunc(@MSI_IsMoving, 1, 2500 + random(200)) then
while (MSI_IsMoving or FlagPresent) do
begin
FindNormalRandoms;
FFlag(FlagDist);
end;
end;


No need for random check whil walking ;) Might as well do some antiban-ish thing (with low-ish) chance.

~RM

Gu3st...

2010-04-18 15:00:05

From: Rasta Magician
No need for random check whil walking ;) Might as well do some antiban-ish thing (with low-ish) chance.

~RM
Oh haha, can't believe I didn't notice that :p

Coh3n

2010-04-18 16:44:13

I'm pretty sure we don't even use MSI_FindMMLocation. :o

Also, you can commit the MSI_Flag thing. ;)

Gu3st...

2010-04-18 17:41:23

Added MSI_AntiBan(1, 10); instead of random-checking and committed :)

Sir R. M8gic1an

2010-04-18 17:51:43

From: Zyt3x
Added MSI_AntiBan(1, 10); instead of random-checking and committed :)


10 = hard coded value… = Not good for MSI…

http://villavu.com/forum/showthread.php?t=56132

~RM

Coh3n

2010-04-18 19:14:36

Zyt3x, did you update to revision 77 before committing? Because I committed a few things.

E: Nevermind. :)

From: Rasta Magician
10 = hard coded value… = Not good for MSI…

http://villavu.com/forum/showthread.php?t=56132

~RM

I'll add ANTI_BAN_CHANCE to globals, and an MSI_FindRandoms procedure to Anitban.scar.