Results 1 to 4 of 4

Thread: Troubles with Pathfinding

  1. #1
    Join Date
    Aug 2014
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default Troubles with Pathfinding

    Hello SRL-Community

    lately i'm experiencing alot of fails and stucks, when my script tries to run the Character to a defined location.

    I'm using operations like

    wMine := [Point(225, 79), Point(173, 111), Point(168, 179), Point(173, 248), Point(190, 313), Point(205, 350)];
    if SPS.walkPath(wMine) then
    minimap.waitPlayerMoving()

    but sometimes the walkPath stops to early without even near the mine. I'm wondering why that is.
    And i want to ask for common failsafes to prevent troubles in walking paths .

    it would be awesome if you guys could help me improve my scripting skills ^^ ... i will contribute my scripts when they are working fine !

    thanks in advance!
    Samson420

  2. #2
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    try doing this.

    while true do SPS.debugMyPos();

    and then login and run around your area and watch the little popup box to see if its detecting you in the proper position.

  3. #3
    Join Date
    Nov 2013
    Location
    North of Hell
    Posts
    271
    Mentioned
    7 Post(s)
    Quoted
    171 Post(s)

    Default

    Most likely something wrong with your SPS map.

  4. #4
    Join Date
    Aug 2014
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    Quote Originally Posted by Turpinator View Post
    try doing this.

    while true do SPS.debugMyPos();

    and then login and run around your area and watch the little popup box to see if its detecting you in the proper position.
    thx i will try this

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
  •