Results 1 to 3 of 3

Thread: MSI Help

  1. #1
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default MSI Help

    Im trying to do the SPS


    But for some reason it walks off in some wierd direction from what I am telling it to.
    Any Help?
    I am using the Pathmaker, Im trying to add the Catherby yews. Heres some of the Add

    Simba Code:
    SCRIPT_CB_YEWS:
          with MSI_Scripts[whichScript] do
          begin
            Name          := 'Catherby Yews';
            Constant      := SCRIPT_CB_YEWS;
            SkillName     := 'Woodcutting';
            SkillConst    := SKILL_WOODCUTTING;
            BankType      := Bank;
            WhichBank     := MSI_BANK_CB;
            AutoObjects   := @MSI_ChopInvFull;
            BankObjects   := @MSI_BankStandard;
            PlayerSetup   := @MSI_SetupWoodcutting;

            Defaults.Trees := [TREE_YEW_NEW];

            with PathInfo do
            begin
              Name := 'LOC_CB_BANK to LOC_CB_YEWS';
              StartLoc := LOC_CB_BANK;
              EndLoc   := LOC_CB_YEWS;

              SPSPath := [
                TPointArray([Point(3053, 2870), Point(2853, 2912)])];


              SPSAreas   := [
                TStringArray(['7_7'])
              ];
            end;
          end;


    Any help would be much appreciated
    Luke.

  2. #2
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Instead of using the pathmaker, create a script that uses SPS's GetMyPos function to more accurately obtain points.

    This is the one I use(for MSI scripting)
    Simba Code:
    program SPSFinder;

      {$define SMART}
      {$i srl/srl.simba}
      {$i sps/sps.simba}

    procedure MainLoop;
    begin
      repeat
        writeln(toStr(SPS_GetMyPos));
        Wait(1000);
      until false;
    end;

    begin

    SetUpSRL;
      SPS_Setup(RUNESCAPE_SURFACE, ['9_7','9_8']);
      SPS_Continue := True;
    MainLoop;
    end.

    Just change the areas by getting them from the PathMaker tool, since the areas are correct.

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  3. #3
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice 1 Bud i'll have a try with it tomorrow.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •