Which leads me to a thought I think I was having the first time I started thinking about this:
This is good for something we already have the server/NPCGEN for! But, as far as (like the "official" pwdb) how would we get an NPCGEN for a server we do not already have ~ like say the "live official servers" or even a "custom" "private server"?
I mean, I would think if we do not already have a "tool" to "generate" an NPCGEN that it shouldn't (in theory) be too hard to make one. I mean, NPCGEN isn't really "secret" since the server ultimately has to pass this data to client(s) anyway!
Maybe (again if one doesn't already exist) we could make a utility that "creates" an NPCGEN by logging in and "walking around"?
IDK, just a thought!
But I was thinking about this once I realized and saw the the official PWDB had/has all of the "mine" locations (like all the wood, metal, flowers, etc) - obviously that's within NPCGEN... .. .
I would actually think some kind of "BOT" so that it was automated (and calculated) rather than some random literal "walk around until it's collected" LOL
Actually, a tool like this already exists. Hopefully, there will be more in the future. I’m also trying to create one based on the information shared by the seller.
The tool generates npcgen.data and path.sev using protocol dumps from newer versions, with aipolicy.data, elements.data, dynobjects.data, and more as references.
It extracts npcgen.data and path.sev in real time as you move around the official server or run dungeons. It supports map separation, accurate object dimensions, and invisible walls aligned with the official developer specifications. It even works with random maps such as rand05 (the Tomb), and much more.
Note: The generation of npcgen.data, for example, has improved over the years. I’ve used this tool on my server for several years and have continued to refine it. Today, it can even generate triggers in npcgen based on aipolicy mechanics. It positions and rotates objects accurately, among other things.
The path.sev generator is also a clever creation. It communicates directly with aipolicy to check operators. If a mob or NPC uses a walk command, it generates the correct path based on the points. If it is simply a “default” path in npcgen.data, it adds it automatically.