Results 1 to 11 of 11

Thread: Help with walking

  1. #1
    Join Date
    Dec 2011
    Posts
    733
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default Help with walking

    I am writing a script that fishes west of the fishers guild, then sells to Rasolo who is nearby. It is faster than power fishing and you catch fish faster at this spot.

    The feathers pay for themselves this way so there is no need to make more money getting new feathers.

    Because there is no road between the fishing spot and Rasolo, I'm having trouble walking.

    I have been using 3 DTMs, each with a backup if the first isn't found, but it never finds any of them. I assume that the area value for the points is an area tolerance, and have been setting that to three.

    When searching for the DTM i have it start it pi/3 and end at 2pi/3, incrementing by pi/100;

  2. #2
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Post a screenshot of the Minimap if you can?
    I wear my scars like the rings on a pimp
    I live life like the captain of a sinking ship
    Always sell your product for ATLEAST mid to ensure that the market doesn't drop.

  3. #3
    Join Date
    Dec 2011
    Posts
    733
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default



    The North most NPC on the mini map is Rasolo

  4. #4
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Search for Euph's ObjectDTM Include and use that. It's perfect for this.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  5. #5
    Join Date
    Dec 2011
    Posts
    733
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    I used euphs gen objectdtm function, made sure compass was north first, and the include found no mini map objects?

    Code:
    program new;
    {$i srl/srl/misc/smart.scar}
    {$i srl/srl.scar}
    {$i objectdtm/objdtminclude.simba}
    
    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
      with Players[0] do
      begin
        Name := '';
        Pass := '';
        Active := true;
        Member := true
      end;
    end;
    
    var p:TPoint;box : TBox; fish:LongInt;
    begin
      Smart_Members := true;
      Smart_Server := 83;
      Smart_Signed := true;
      Smart_SuperDetail := false;
      SetupSRL;
      DeclarePlayers;
      if not LoggedIn then LogInPlayer;
    
      GenerateObjDTM([MM_TREE,MM_TREE,MM_TREE],625,85,false,true);
    end.
    Last edited by m34tcode; 12-23-2011 at 02:48 AM.

  6. #6
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Add a wait between your if statement and the Generate function.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  7. #7
    Join Date
    Dec 2011
    Posts
    733
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    i ran this after being logged in so that that wouldnt have been a prob. Ill retry that though.

    EDIT: yea same error. ran in lumbridge behind castle with toooons of trees.
    Last edited by m34tcode; 12-22-2011 at 10:51 PM.

  8. #8
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by m34tcode View Post
    i ran this after being logged in so that that wouldnt have been a prob. Ill retry that though.

    EDIT: yea same error. ran in lumbridge behind castle with toooons of trees.
    Remember that time you didn't call "LoadObjects;" at the beginning of your script before using functions from the include? I remember that time.
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

  9. #9
    Join Date
    Dec 2011
    Posts
    733
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    Wow. I even read that

    Ty dude =]

    EDIT: Success. Rep++ for your object DTM idea. Its amazing.

    posted my pass again -.-

    Not the first time. Recovering now haha.

    EDIT again:

    Haha my char is standing outside a bank box now. Dude realized I was poor as shit and logged out. Only made the acc few days ago.
    Last edited by m34tcode; 12-23-2011 at 02:53 AM.

  10. #10
    Join Date
    Dec 2011
    Location
    Ontario, Canada
    Posts
    1,735
    Mentioned
    5 Post(s)
    Quoted
    89 Post(s)

    Default

    Quote Originally Posted by m34tcode View Post
    I used euphs gen objectdtm function, made sure compass was north first, and the include found no mini map objects?

    Code:
    program new;
    {$i srl/srl/misc/smart.scar}
    {$i srl/srl.scar}
    {$i objectdtm/objdtminclude.simba}
    
    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
      with Players[0] do
      begin
        Name := '';
        Pass := '';
        Active := true;
        Member := true
      end;
    end;
    
    var p:TPoint;box : TBox; fish:LongInt;
    begin
      Smart_Members := true;
      Smart_Server := 83;
      Smart_Signed := true;
      Smart_SuperDetail := false;
      SetupSRL;
      DeclarePlayers;
      if not LoggedIn then LogInPlayer;
    
      GenerateObjDTM([MM_TREE,MM_TREE,MM_TREE],625,85,false,true);
    end.
    Change your password for your rs account right away you left it in.

  11. #11
    Join Date
    Dec 2011
    Posts
    733
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    Yea I'm on that. Realized that it was in here when i kept getting incorrect pass error

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
  •