SRL Archive - SRL Suggestions

New InMordaut


mormonman

2011-12-20 06:51:04

function InMordaut: Boolean;
var
dots: TPointArray;
pBlack: Integer;
midP: Tpoint;
Begin
dots := GetMiniMapDots('npc');
pBlack := PercentBlackMM;
Result := (Length(dots) = 7) and ((pBlack > 60) and (pBlack < 70));
if Result then
begin
midP := MiddleTPA(dots);
//writeln(Distance(midP.x, midP.y, MMCX, MMCY));
Result := (Distance(midP.x, midP.y, MMCX, MMCY) < 38);
end;
end;

Nava2

2011-12-20 10:56:12

Pushed to SRL5.

Just make a pull request next time! :)

Claymore

2011-12-20 11:06:48

I dunno this sounds a bit risky to use. Just use the check missing gametabs :/

Nava2

2011-12-20 11:22:23

From: Deathscytex
I dunno this sounds a bit risky to use. Just use the check missing gametabs :/


This is called after the tabs and music is checked. :)

Checkout FindTeleportRandoms in antirandoms/antirandoms.simba.

footballjds

2011-12-20 11:38:32

From: Nava2
This is called after the tabs and music is checked. :)

Checkout FindTeleportRandoms in antirandoms/antirandoms.simba.


are not all randoms teleport randoms?

marpis

2011-12-20 13:36:12

From: footballjds
are not all randoms teleport randoms?


The names are from the times when there were evil chicken, zombie, drunked dwarf, mystery box and those things.
Just like FindNormalRandoms, what's an unnormal random these days? And FindNonInventoryRandoms

footballjds

2011-12-20 13:42:34

From: marpis
The names are from the times when there were evil chicken, zombie, drunked dwarf, mystery box and those things.
Just like FindNormalRandoms, what's an unnormal random these days? And FindNonInventoryRandoms


I'd like to see names cleaned up, especially in srl5? is that possible?
Sure, we'd drop support for scripts, but a simple find/replace would solve this and we'd have significantly more intuitive names.

God i remember that stupid drunk dwarf…

NCDS

2011-12-20 15:42:25

From: footballjds
I'd like to see names cleaned up, especially in srl5? is that possible?
Sure, we'd drop support for scripts, but a simple find/replace would solve this and we'd have significantly more intuitive names.

God i remember that stupid drunk dwarf…


Would fit better in srl6 as we're trying not to break any more compatibility with srl5.