Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug WebPath returning null

Joined
Apr 19, 2018
Messages
14
Also ladders and stairs aren't always as simple as Z +/- 1, in some cases they can lead to a location on another plane a long way away.
I think I used to do something like, if a staircase/ladder exists on coordinate z+/-1 and the name matches, and it has an action that corresponds with the staircase/ladder I'm currently looking at.

The one thing I struggled with most was minimization, since having a 1:1 graph isn't exactly feasible for the RuneMate Web format, but I can't say that I spend too much time dealing with it and settled for something that just worked.


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?
 
Joined
Dec 10, 2014
Messages
3,255
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?

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?
 
Author of MaxiBots
Joined
Dec 3, 2013
Messages
6,774
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?
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.
 
Go check out new bots and give helpful feedback.
Joined
Jan 31, 2016
Messages
5,413
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?
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.
 
Joined
Apr 21, 2019
Messages
40
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
 
Top