Gameobject respawn

Материал из YTDB DataBase

Версия от 10:04, 3 февраля 2010; KiriX (Обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Содержание

Back to world database list of tables.


The `gameobject_respawn` table

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


Structure

Field Type Null Key Default Extra
guid int(11) unsigned NO PRI 0
respawntime bigint(40) NO 0
instance int(11) unsigned NO PRI 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.

Личные инструменты