Creature respawn

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

(Различия между версиями)
Перейти к: навигация, поиск
Строка 14: Строка 14:
|'''Field'''
|'''Field'''
|'''Type'''
|'''Type'''
 +
|'''Attributes'''
|'''Null'''
|'''Null'''
|'''Key'''
|'''Key'''
|'''Default'''
|'''Default'''
-
|'''Extra'''
+
|'''Comments'''
|-
|-
|[[#guid|guid]]
|[[#guid|guid]]
-
|int(10) unsigned
+
|int(10)
 +
|unsigned
|NO
|NO
|PRI
|PRI
|0
|0
-
|
+
|Global Unique Identifier
|-
|-
|[[#respawntime|respawntime]]
|[[#respawntime|respawntime]]
|bigint(20)
|bigint(20)
 +
|
|NO
|NO
|
|
Строка 34: Строка 37:
|-
|-
|[[#instance|instance]]
|[[#instance|instance]]
-
|mediumint(8) unsigned
+
|mediumint(8)
 +
|unsigned
|NO
|NO
|PRI
|PRI
Строка 44: Строка 48:
<big>'''Описание полей'''</big>
<big>'''Описание полей'''</big>
====guid====
====guid====
-
Глобальный номер (GUID) существа. Смотри[[creature#guid|creature.guid]]
+
Глобальный номер (GUID) существа. Смотри [[creature#guid|creature.guid]].
====respawntime====
====respawntime====
Время, когда существо должно переродиться в Unix формате.
Время, когда существо должно переродиться в Unix формате.
 +
====instance====
====instance====
If the creature was killed in an instance, this field holds the instance ID where this creature should be respawned. Each instance is different depending on the group so this field is vital in keeping track of which creatures should be respawned for which players at what time.
If the creature was killed in an instance, this field holds the instance ID where this creature should be respawned. Each instance is different depending on the group so this field is vital in keeping track of which creatures should be respawned for which players at what time.

Версия 14:00, 17 августа 2010

Содержание

К описанию таблиц базы данных mangos.


Таблица `creature_respawn`

Эта таблица содержит время, когда существо должно переродиться в мире. В случае краша сервера, данные в этой таблице заполняются так, что существа не возраждается сразу после перезапуска сервера. Сохранения время перерождения для существ после падения сервера, можно отключить в mangosd.conf (SaveRespawnTimeImmediately).


Структура

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


Описание полей

guid

Глобальный номер (GUID) существа. Смотри creature.guid.

respawntime

Время, когда существо должно переродиться в Unix формате.

instance

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

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