1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bug WebPath returning null

Discussion in 'Developer Support' started by younggsus, Jun 17, 2020.

  1. screamopancakes

    Joined:
    Apr 19, 2018
    Messages:
    14
    Likes Received:
    3

    Ill try to keep the ladder stuff in mind, right now im headed to bed.
    Got the doors in lumbridge mostly working, except when a door is already open while its being mapped. https://i.imgur.com/7KwzCx9.png

    Given most of the open doors are only 1 ID number off of the original door would grabbing the closed version of the door by ID work?
     
  2. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,212
    Likes Received:
    1,042
    Yeah, I had that issue too when grabbing flags from the game. Is there any chance you could work out what the closed door would be based on the open door and add the collision flag?
     
  3. Aidden

    Aidden Author of MaxiBots

    Joined:
    Dec 3, 2013
    Messages:
    6,600
    Likes Received:
    990
    When i was writing my web builder i had to do that. If i remember correctly you can use the orientation of the closed door to determine the direction it will swing. However, some cities swing the opposite direction for some reason. Not sure if there's a better way to do it.
     
    awesome123man likes this.
  4. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    Can you use the orientation of the Door GameObject and based off the orientation, figure out which way you can go thru it, then remove the inputs and outputs of the Vertex where the Door is, and add a Bidirectional Edge on both sides of the Door? Just a thought.
     
  5. generalsensei

    Joined:
    Apr 21, 2019
    Messages:
    43
    Likes Received:
    9
    Is this still an issue? Seems like my path only returns whenever the local player is already standing very near/directly next to the last point. @Cloud
     
  6. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    It frequently still is but some solutions are being experimented with.
     

Share This Page

Loading...