EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Database/World Building (https://www.eqemulator.org/forums/forumdisplay.php?f=625)
-   -   database relationship for spawns (https://www.eqemulator.org/forums/showthread.php?t=7250)

eq-chris 05-15-2003 05:13 AM

database relationship for spawns
 
The Apology: Excuse me if this has been answered somewhere else, i did multiple searches and couldn't find what I was looking for.

The Question: Is there a discussion somewhere on how the 5 table for NPC's relate to each other? Why 5 and not 2? How do Spawn2, npc_types, spawnentry, and spawngroup relate?

eq-chris 05-15-2003 06:35 AM

several more searches and I found what I was looking for.

Galthus 05-15-2003 07:13 AM

Since you found it, would you mind posting the link to that article(s) which explain it? I'll bet more people would like to benefit from your digging.

killspree 05-15-2003 10:04 PM

npc_types: The actual entry of the NPC. This is where the data for the npc is stored like hitpoints, level, race, and many, many other things.

spawngroup: This is the "spawn group" for a set of NPCs, spawnentry and spawn2 both use this.

spawnentry: This is where an NPC is entered into a specific spawn group, you can put multiple NPCs in the same spawn group and give them "chances" to spawn.

spawn2: This is the entry that will tell the server where to place an NPC in the world. It contains things like the NPCs location, respawn time, the zone it spawns in, and a few other things.

eq-chris 05-16-2003 03:35 AM

what he said.


All times are GMT -4. The time now is 10:36 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.