PDA

View Full Version : Quick Gm command question


mastajon
12-18-2009, 03:51 PM
First off I apologize if this is in the wrong spot.

When reading #spawnstatus, i assume that it is showing every npc that the zone contians correct? I am reading the list as the npcid#, then the location, then the respawn timer. I am stuck at how to read the respawn timer. for instance how would i read 35132.07. Or if I am reading it completely wrong how do i go about reading it.

Derision
12-18-2009, 04:12 PM
I've never actually used this command before, but looking at the source, the format is:


<ID from spawn2 table> <X, Y, Z> <Time in seconds before mob respawns or 'disabled' if mob is currently spawned>


So in your example, 35132.07 will mean the mob will respawn in about 9.75 hours.

mastajon
12-18-2009, 04:18 PM
thanks for the fast reply. also what is the spawn2 table?

Derision
12-18-2009, 04:36 PM
thanks for the fast reply. also what is the spawn2 table?

It's a table in the database.

Basically the spawn2 row describes a spawn point (location) and references an entry in the spawngroup table.

For each spawngroup, there are rows in the spawnentry table, listing what NPCIDs can spawn in this spawngroup and with what chance. This is how you setup a a Named/Place Holder rotation.

mastajon
12-18-2009, 05:01 PM
ah okay thanks again.