jag111
10-20-2003, 12:54 PM
I've noticed for a while that all of the ground spawns seem show up on the map as ITxxx_ACTORDEF where xxx is an ID of sorts and ostensibly tells your client what graphic to display for that item on the ground.
I was thinking of adding code and another config file to match those IDs to what the ground spawn actually looks like. Doing some initial research, I found that fixed tradeskill containers are actually included as ground spawns. Here's the starting list I came up with:
IT27_ACTORDEF,Book
IT63_ACTORDEF,Small Bag
IT66_ACTORDEF,Forge
IT69_ACTORDEF,Oven
IT70_ACTORDEF,Brew Barrel
IT73_ACTORDEF,Kiln
IT74_ACTORDEF,Pottery Wheel
IT128_ACTORDEF,Loom
IT403_ACTORDEF,Yew Leaf
I considered making it just another static array read at startup like BodyTypes, Races, Classes, etc. But given the highest index I've found so far is 403 and I've only matched 9 items, a lot of that array would be wasted memory. So I'll probably throw them into a hashtable or something lookup based for now.
Does anyone know if Linux SEQ does this? And if so, do they already have a larger list of matches?
I was thinking of adding code and another config file to match those IDs to what the ground spawn actually looks like. Doing some initial research, I found that fixed tradeskill containers are actually included as ground spawns. Here's the starting list I came up with:
IT27_ACTORDEF,Book
IT63_ACTORDEF,Small Bag
IT66_ACTORDEF,Forge
IT69_ACTORDEF,Oven
IT70_ACTORDEF,Brew Barrel
IT73_ACTORDEF,Kiln
IT74_ACTORDEF,Pottery Wheel
IT128_ACTORDEF,Loom
IT403_ACTORDEF,Yew Leaf
I considered making it just another static array read at startup like BodyTypes, Races, Classes, etc. But given the highest index I've found so far is 403 and I've only matched 9 items, a lot of that array would be wasted memory. So I'll probably throw them into a hashtable or something lookup based for now.
Does anyone know if Linux SEQ does this? And if so, do they already have a larger list of matches?