summaryrefslogtreecommitdiff
path: root/docs/instance_reset.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/instance_reset.md')
-rw-r--r--docs/instance_reset.md83
1 files changed, 77 insertions, 6 deletions
diff --git a/docs/instance_reset.md b/docs/instance_reset.md
index d16ab39..1c118dd 100644
--- a/docs/instance_reset.md
+++ b/docs/instance_reset.md
@@ -1,7 +1,78 @@
-[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [instance_reset](instance_reset)
+# instance\_reset
-Column | Type | Description
---- | --- | ---
-Mapid | smallint(5) unsigned |
-Difficulty | tinyint(3) unsigned |
-Resettime | int(10) unsigned |
+`Back-to:Characters`
+
+**The \`instance\_reset\` table**
+
+Date and time when heroic and raid instances will be reset (i.e. instances which have a fix reset interval, which is independent of the time, when some player(s) entered the instance). If Rate.InstanceResetTime is changed in the worldserver config, erase all data in this table and restart the server in order to repopulate it with the updated "resettime".
+
+**Structure**
+
+<table>
+<colgroup>
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+</colgroup>
+<tbody>
+<tr class="odd">
+<td><p><strong>Field</strong></p></td>
+<td><p><strong>Type</strong></p></td>
+<td><p><strong>Attributes</strong></p></td>
+<td><p><strong>Key</strong></p></td>
+<td><p><strong>Null</strong></p></td>
+<td><p><strong>Default</strong></p></td>
+<td><p><strong>Extra</strong></p></td>
+<td><p><strong>Comment</strong></p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#instance_reset-mapid">mapid</a></p></td>
+<td><p>smallint(5)</p></td>
+<td><p>unsigned</p></td>
+<td><p>PRI</p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#instance_reset-difficulty">difficulty</a></p></td>
+<td><p>tinyint(3)</p></td>
+<td><p>unsigned</p></td>
+<td><p>PRI</p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#instance_reset-resettime">resettime</a></p></td>
+<td><p>int(10)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+</tbody>
+</table>
+
+**Description of the fields**
+
+### mapid
+
+The map ID the instance is in. See Map.dbc
+
+### difficulty
+
+Dungeon difficulty
+
+### resettime
+
+The date/time when this instance (map) will be reset, in Unix time.