Browse files

Locations: Updated lumbridge courtyard sps_area.

Walking: Updated MSI_DeathWalk to work with the lodestone screen.
  • Loading branch information...
1 parent fe85899 commit 548b47d77fe959e8787d2970ebff8eb87e445388 @NCDS committed May 10, 2012
Showing with 14 additions and 12 deletions.
  1. +1 −1 MSI/Core/Locations.simba
  2. +13 −11 MSI/Core/Walking.simba
View
2 MSI/Core/Locations.simba
@@ -771,7 +771,7 @@ begin
with subLocs[0] do
begin
name := 'Lumbridge Courtyard';
- spsBox := intToBox(4706, 3763, 4739, 3809);
+ spsBox := intToBox(4740, 3764, 4774, 3794);
end;
end;
View
24 MSI/Core/Walking.simba
@@ -769,19 +769,21 @@ begin
// teleport home!
if (not result) then
if (MSI_ClickSpell(SPELL_TELE_HOME)) then // teleport home
- begin
- MSI_Debug('Waiting to spawn in Lumbridge');
-
- for i := 1 to 45 do // 45 seconds
- begin
- wait(1000);
- if (MSI_AtLocation(LOC_LB_SPAWN, false)) then
+ if waitFunc(@lodestoneScreen, 100, 5000) then
+ if lodestoneTeleport('Lumbridge') then
begin
- home := true;
- break;
+ MSI_Debug('Waiting to spawn in Lumbridge');
+
+ for i := 1 to 45 do // 45 seconds
+ begin
+ wait(1000);
+ if (MSI_AtLocation(LOC_LB_SPAWN, false)) then
+ begin
+ home := true;
+ break;
+ end;
+ end;
end;
- end;
- end;
// Walk back to the script's starting location
if (not result) then

0 comments on commit 548b47d

Please sign in to comment.