Gameobject respawn

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

(Различия между версиями)
Перейти к: навигация, поиск
(Новая страница: «{| align="right" | __TOC__ |} Back to world database list of tables. <big>'''The `gameobject_respawn` table'''</big> This table holds the resp…»)
 
(8 промежуточных версий не показаны.)
Строка 2: Строка 2:
| __TOC__
| __TOC__
|}
|}
-
Back to [[mangosdb_struct|world database]] list of tables.
+
[[Category: Mangos characters database tables]]
 +
К описанию таблиц [[Charactersdb_struct|базы данных characters]].
-
<big>'''The `gameobject_respawn` table'''</big>
+
<big>'''Таблица `gameobject_respawn`'''</big>
-
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.
+
Содержит записи о времени респавна игровых объектов. В случае крэша сервера, эта таблица содержит данные респавна объектов, что позволяет избежать немедленно респавна при перезапуске сервера.
-
<big>'''Structure'''</big>
+
<big>'''Структура'''</big>
{| border="1"
{| border="1"
|'''Field'''
|'''Field'''
|'''Type'''
|'''Type'''
 +
|'''Attributes'''
|'''Null'''
|'''Null'''
-
|'''Key'''
 
|'''Default'''
|'''Default'''
-
|'''Extra'''
+
|'''Key'''
 +
|'''Comments'''
|-
|-
|[[#guid|guid]]
|[[#guid|guid]]
-
|int(11) unsigned
+
|int(10)
 +
|unsigned
|NO
|NO
 +
|0
|PRI
|PRI
-
|0
+
|Global Unique Identifier
-
|
+
|-
|-
|[[#respawntime|respawntime]]
|[[#respawntime|respawntime]]
-
|bigint(40)
+
|bigint(20)
 +
|unsigned
|NO
|NO
-
|
 
|0
|0
 +
|
|
|
|-
|-
|[[#instance|instance]]
|[[#instance|instance]]
-
|int(11) unsigned
+
|mediumint(8)
 +
|unsigned
|NO
|NO
-
|PRI
 
|0
|0
 +
|PRI
|
|
|}
|}
-
<big>'''Description of the fields'''</big>
+
<big>'''Описание полей'''</big>
====guid====
====guid====
-
The GUID of the game object. See [[gameobject#guid|gameobject.guid]]
+
Идентификатор объекта. Смотри [[gameobject#guid|gameobject.guid]].
====respawntime====
====respawntime====
-
The time when the game object should be respawned in Unix time.
+
Время респавна объекта в формате Unix time.
====instance====
====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.
+
Если объект привязан к инсту, эта область хранит ID инста, где этот объект должен респавнуться.

Текущая версия на 16:40, 16 июля 2011

Содержание

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


Таблица `gameobject_respawn`

Содержит записи о времени респавна игровых объектов. В случае крэша сервера, эта таблица содержит данные респавна объектов, что позволяет избежать немедленно респавна при перезапуске сервера.


Структура

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


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

guid

Идентификатор объекта. Смотри gameobject.guid.

respawntime

Время респавна объекта в формате Unix time.

instance

Если объект привязан к инсту, эта область хранит ID инста, где этот объект должен респавнуться.

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