this is pointless, you can dump all of this information from the map data within your cache. It contains a packed value that stores the objects id, type and orientation. Also converting local x and local y is easy to do if you know what region you're in.
also you need to specify what data this is for.. e.g 317-377 use this old format, 459+ a lot of doors changed ids, and orientation, and again in old school.
Code:
// This is to display when doors are open "close" option when the door is closed "open" option.
if (door.isException()) {
// some odd doors
door.setCurrentId(door.isOpened() ? door.getId() + 2 : door.getId() - 2);
} else if (door.getId() >= 10000){
// new format
door.setCurrentId(door.isOpened() ? door.getId() + 1 : door.getId() - 1);
} else {
// old format
door.setCurrentId(door.isOpened() ? door.getId() -1 : door.getId() + 1);
}
also you should post what each number goes to. assuming you're using killamess's old system.
Code:
-id-x-y-f-z-t
Key:
- = space
id = the door Id
x = the doors x co ordinate
y = the doors y co ordinate
f = the doors current facing direction 0 = westside, 1 = northside, 2 = east side, 3 = southside
z = the doors height level
t = the doors type (normal doors are type 0 and some diagonal doors are type 9)
Spaces must be in front of every number, It will work out how to handle the door
1384 single and diagonal doors
All #317 doors dumped from the cache.
[JSON] doors - Pastebin.com
1460 single and diagonal doors
All #377 single and diagonal doors dumped from the cache
[JSON] doors - Pastebin.com
All #78 old school single and diagonal doors dumped from the cache
doors