Results 1 to 3 of 3

Thread: Ground Spawn Identification

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    92

    Ground Spawn Identification

    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?

  2. #2
    Registered User slartibartfast's Avatar
    Join Date
    Apr 2002
    Posts
    176
    I had a look at macroquest

    looks like they have multiple methods.

    the item number follows the it
    below 255 they have a file that includes weapons etc.

    400+ they have another file - but this lists graphic type not explict name it appears, like leaf, lava rock...

    They also have an itemDB file that gets populated from things you pickup or interact with

    If you can put something together feel free to submit it for inclusion in the source.

  3. #3
    Registered User
    Join Date
    Jul 2003
    Posts
    92
    I figured it would only be graphically what you see (forgot to make Yew Leaf more generic). But yeah, perhaps I'll throw something together once I'm done updating some other stuff I'm working on.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On