ID:85607
 
BYOND Version:457
Operating System:Windows Vista Home Premium
Web Browser:Firefox 3.5.5
Status: Deferred

This issue may be low priority or very difficult to fix, and has been put on the back burner for the time being.
Descriptive Problem Summary:
When given the path of a proc or verb, ispath always returns 0.

Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
client/verb/Test()
var
type1=/mob/proc
type2=/mob/proc/A
usr<<"[type1] is a path: [ispath(type1)]"
usr<<"[type2] is a path: [ispath(type2)]"
usr<<"[type2] derives from [type1]: [ispath(type2, type1)]"
mob/proc
A()
return


Expected Results:
All the ispath calls above should return 1.
Actual Results:
They all return 0.
Does the problem occur:
Every time? Or how often? Every time.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
I'd assume it's always been this way.

Workarounds:
Converting the paths to text and parsing it may help check if one path derives from another, but that wouldn't be nearly as robust or be able to check if a given path is valid or not.