Results 1 to 5 of 5

Thread: Walking

  1. #1
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Walking

    I'm Making a script that cuts maples behind seers, then banks, but I cant figure out how to get my script to walk to the bank. I've tried SPS, that didnt work
    Simba Code:
    program MapleChopper;
    //{$DEFINE SMART}
    {$i srl/srl.simba}
    {$i sps/sps.simba}


    Procedure Walkwherever;
    Var
      WalkW: TPointarray;  //declares that path is a TPA
    Begin
      SetAngle(SRL_ANGLE_HIGH);  //Sets the angle high, not necessary though
      MakeCompass('N');  //makes compass 'North'
      WalkW := [Point(2738, 2677)];    //this is where your points would go ex: Point[234, 238] , Point[]
      Sps_WalkPath(WalkW);   //this tells it to walk the path WalkW
    End;




    begin
    SetupSRL
    SPS_Setup(RUNESCAPE_SURFACE,['6_6']);
    Walkwherever

    end.
    I've tried a DTM of the bank symbol and of the bank building, neither of those worked. Whats the easiest way to get it to work? Its only a one click path, not that complex.
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  2. #2
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Symbol walking.

    Simba Code:
    If FindSymbol(x, y, 'Symbol_Bank') then
      mouse(x, y, 2, 2, true);
    FFlag;

  3. #3
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I tried that, got this
    Code:
    SRL Compiled in 0 msec
    ** Warning in GetSymbolColorIn: symbol_bank is not a valid name. **
    Exception in Script: The bitmap[0] does not exist
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Admin bitmap, SRL - Flag bitmap]
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  4. #4
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    Code:
    ** Warning in GetSymbolColorIn: symbol_bank is not a valid name. **
    -.- what do u think that means. hint, use 'bank'

  5. #5
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol thanks. Still dosent work though, I think its because of the 50 pixel Y offset.
    E: edited globals, works well now. Thanks for the help guys!
    Last edited by Footy; 07-17-2012 at 09:36 PM.
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

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
  •