Gameobject respawn

From OregonCore Wiki
Revision as of 18:35, 6 January 2015 by Zaffy (Talk | contribs) (Created page with "{| align="right" | __TOC__ |} Category: OregonCore World database tables Back to world database list of tables. <big>'''The `gameobject_res...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to world database list of tables.


The `gameobject_respawn` table

This table holds the re-spawn time when game objects should be re spawned in the world. In case of a server crash, this table holds the re-spawn data so that the game objects don't re-spawn immediately on server restart. How often the re-spawn time is saved for game objects can be controlled in oregoncore.conf at SaveRespawnTimeImmediately. Usually the only objects that despawn and need to be re-spawned are chests and doors.

Schema Last Modified: TC1-1828 - Schema Verified: Rev 665


Structure

Field Type Attributes Key Null Default Extra Comment
guid int(10) unsigned PRI NO 0 Global Unique Identifier
respawntime bigint(20) signed NO 0
instance mediumint(8) unsigned PRI NO 0


Description of the fields

guid

The GUID of the game object. See gameobject.guid

respawntime

The time when the game object should be respawned in Unix time.

instance

If the game object belonged in an instance, this field holds the instance ID where this game object should be respawned. Each instance is different depending on the group so this field is vital in keeping track of which game objects should be respawned for which players at what time.