blob: fb9fca3e2b3c78f67397ae2d3732a52132b6b565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# autobroadcast
[<-Back-to:Auth](database-auth.md)
**The \`autobroadcast\` table**
This table contains the autobroadcast entries for your realms. Values like it's activity, position and Timer (\*.On, \*.Center, \*.Timer) are defined within the [worldserver.conf](worldserver.conf). They are chosen randomly, based on their weight.
**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><a href="#realmid">realmid</a></td>
<td>int(11)</td>
<td>signed</td>
<td>PRI</td>
<td>NO</td>
<td>-1</td>
<td> </td>
<td> </td>
</tr>
<tr class="odd">
<td><p><a href="#id">id</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> </p></td>
<td><p>auto_increment</p></td>
<td><p> </p></td>
</tr>
<tr class="even">
<td><a href="#weight">weight</a></td>
<td>tinyint(3)</td>
<td>unsigned</td>
<td> </td>
<td>YES</td>
<td>1</td>
<td> </td>
<td> </td>
</tr>
<tr class="odd">
<td><p><a href="#text">text</a></p></td>
<td><p>longtext</p></td>
<td><p> </p></td>
<td><p> </p></td>
<td><p>NO</p></td>
<td><p>NULL</p></td>
<td><p> </p></td>
<td><p> </p></td>
</tr>
</tbody>
</table>
**Description of the fields**
### realmid
The [\`realmlist\`.\`id\`](realmlist). Defines which realm this entry belongs to. Use **-1** for all realms to load this entry.
### id
Unique identifier key per realm. Entries with same id will override each other without warnings - this can be used to replace -1 realmid entry on a specific realm.
### weight
A non-negative integer. Entries with higher weight have more chance to get picked.
### text
The text to broadcast. Color and item/spell/quest link formating codes can be used.
|