 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Mon Jul 20, 2009 7:44 am
[3.09 Pro] In Mapper DB, ExitTbl field ExitIdTo is sometimes incorrect |
I've been looking around in the file working on reclaiming record numbers and also sorting the ZoneTbl (because default listing in Cmud is not alphabetical...).
I've found that in a newly created map ExitIdTo will faithfully point to the ExitId record that contains the reverse path. In my 4+ year old map I've found that many times the ExitIdTo field is pointing off to an ExitId field that doesn't exist.
My impression from playing around with this is that the ExitIdTo field is essentially ignored. It really is superfluous information since you only really need to load the FromID and ToID fields to know what your return link would be. I've seen that I can set this field to '-1' and Cmud still graphs all the correct exits in the map.
Zugg: Can you confirm if I have correctly assessed the disuse of the ExitIdTo field? |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jul 20, 2009 5:19 pm |
That would take a fair amount of work to confirm since I'd need to go through all of the code to look for references to this field. It's certainly possible that it was something that was only needed in the old mapper, but it might also be used in unusual circumstances, such as with one-way exits or something. So I certainly wouldn't just assume that it isn't be used anymore.
|
|
|
 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Mon Jul 20, 2009 5:24 pm |
In my working map I've seen that I have hundreds of ExitIdTo fields that are invalid (points to a number that doesn't exist) and the map works. If I change them all to -1 nothing changes. I can correct them in many cases, but I'm also running into duplicates which is a trickier problem to solve since I don't know what to set the ExitIdTo field to if there are two identical reverse exits that it could possibly point to.
|
|
|
 |
|
|