Results 1 to 5 of 5

Thread: Problem with walking, Need help.

  1. #1
    Join Date
    Sep 2015
    Location
    The Netherlands
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default Problem with walking, Need help.

    Hello people,

    I am trying to reboot some old javascripts of mine and translate it into simba.
    I have a problem with walking to a certain point, it is inaccurate.


    Attachment 26816

    Simba Code:
    program scriptTemplate;

    {$DEFINE SMART}              // Always have this to load smart
    {$I SRL-6/SRL.simba}         // To load the SRL include files
    {$I SPS/lib/SPS-RS3.Simba}   // To load the SPS include files

    var
      can0: TSPSArea;

    procedure runToGate(); //its directed to the gate but it walks past it.
    var
        pathToGate: TpointArray;
    begin
      if not isLoggedIn() then
        exit;

      pathToGate := [Point(332, 198), Point(285, 185), Point(242, 188), Point(208, 205), Point(170, 214), Point(136, 223), Point(87, 241), Point(57, 265), Point(46, 285)]; //I think the problem might be living here, but I am not sure.

      can0.walkPath(pathToGate);

      wait(randomRange(333, 444));
      minimap.waitPlayerMoving();
      wait(randomRange(333, 444));
    end;

    begin
      clearDebug();
      setupSRL();
      can0.setup('CANIFIS_FUNGI', RUNESCAPE_SURFACE);
      runToGate();
    end;

    Thanks in advance.
    Last edited by Big Dennis; 10-18-2015 at 07:19 PM. Reason: Changed a bit of code

  2. #2
    Join Date
    Feb 2015
    Posts
    422
    Mentioned
    41 Post(s)
    Quoted
    226 Post(s)

    Default

    if you're referring to the gate at the bottom right left of the map, then you need a bigger map. Your map needs to be bigger than EVERYTHING that your character will see on the minimap during the walk.
    Last edited by fady; 10-18-2015 at 09:57 PM. Reason: Left not right

  3. #3
    Join Date
    Sep 2015
    Location
    The Netherlands
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by fady View Post
    if you're referring to the gate at the bottom right left of the map, then you need a bigger map. Your map needs to be bigger than EVERYTHING that your character will see on the minimap during the walk.
    thank you, I fixed it!

    /thread
    Last edited by Big Dennis; 10-19-2015 at 05:50 PM.

  4. #4
    Join Date
    Nov 2015
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    So basically the map should be as big as possible so that the character minimap covers the map file fully? not sure you understand what i say.

  5. #5
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

    Default

    Quote Originally Posted by shcharles View Post
    So basically the map should be as big as possible so that the character minimap covers the map file fully? not sure you understand what i say.
    Could you rephrase that? I think you typo'd a bit there

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
  •