Track vs hidden door

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 11 months ago - 1 year 11 months ago #6323 by JTP
Track vs hidden door was created by JTP
Hi

isnt track meant to be able to track through hidden doors ?

It doesnt seem to Work for me. I have track through doors on, or what is needed, i would like ranger to be able to do it atleast ?
Last edit: 1 year 11 months ago by JTP.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #6325 by thomas
Replied by thomas on topic Track vs hidden door
It should work - there's nothing in graph.c checking for whether the door is hidden.

github.com/tbamud/tbamud/blob/2f12752373...f8a4/src/graph.c#L51

Please Log in or Create an account to join the conversation.

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 11 months ago #6326 by JTP
Replied by JTP on topic Track vs hidden door
Strange i can stand right outside the closed hidden door, and the mob im trying to track is Down then East of it...yet track keeps sending me to a mob in a connected zone to the one im in.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #6327 by thomas
Replied by thomas on topic Track vs hidden door
When you track, the algorithm marks the rooms it has gone to with a roomflag (BFS_MARK). This should apear in "stat room" as a "*" in the roomflags. Check that in the rooms between the one you're in and the expected target.

Another thing that might be your problem is that you're tracking something with a common name. When running track, these things happen:
- your input is parsed
- the argument is used to look up the target in the world. This is akin to "where guard". "track guard" would lead you to the topmost guard on that list.
- the room graph is searched for the specific mob we determined in the previous step.

To check if this is happening, try giving your test mob a strange alias ("dfghjk") and try tracking THAT (track dfghjk) and see if you're still being led astray.

Please Log in or Create an account to join the conversation.

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 11 months ago #6328 by JTP
Replied by JTP on topic Track vs hidden door
Giving it a special name helped. So it works Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 1.124 seconds