2 include_once("conf.php");
3 include_once("include/gameobject_table.php");
4 include_once("include/info_table_generator.php");
5 include_once("include/report_generator.php");
8 Script show GO data by its entry
10 - Show simple GO table tooltip
14 - How can possible open it (lock info)
15 - Required for quest list
20 $entry = intval(@$_REQUEST['object']);
21 $page = intval(@$_REQUEST['page']);
22 $mark = @$_REQUEST['mark'];
24 $obj=getGameobject($entry);
27 RenderError($lang['go_not_found']);
31 $baseLink = '?object='.$entry;
34 if ($lang['www_gameobject'])
35 echo "<a href=\"".sprintf($lang['www_gameobject'], $entry)."\" target=\"_blank\"\">".sprintf($lang['www_gameobject'], $entry)."</a><br>";
36 echo "<table cellspacing=0 cellpadding=0 width=500>";
39 // $icon = "--";//getObjIcon($obj[displayId]);
40 // echo "<td valign=top align=right width=20><br><a href=\"#\"><IMG height=64 width=64 border=0 src='$icon'></a></td>";
41 echo "<td align=center>";generateGameobjectTable($obj);echo "</td>";
43 if ($obj['mingold']) echo "<td align=center><b><FONT color=#000000>$lang[Rew_money]</b> ".money($obj['mingold']);
44 if (($obj['maxgold']) && ($obj['maxgold']>$obj['mingold'])) echo " - ".money($obj['maxgold']);
45 echo "<tr><td colspan=2 align=center><a href=\"?map&obj=$obj[entry]\">$lang[show_map] (".getGameobjectCount($obj['entry']).")</a></td></tr>";
46 echo "</tbody></table>";
48 if ($config['show_go_details'])
50 echo "<br><table class=details width=600>";
52 echo "<tr><td colspan=4 class=head>$lang[detail_info]</td></tr>";
53 // echo "<tr><th width=100px></th><th></th></tr>";
54 echo "<tr><th>Type</th><td colspan=3>".getGameobjectType($obj['type'])."</td></tr>";
55 echo "<tr><th>ScriptName</th><td colspan=3>".$obj['ScriptName']."</td></tr>";
56 echo "<tr><th>Flags</th><td colspan=3>";
57 if ($flag = $obj['flags'])
59 if ($flag & GO_FLAG_IN_USE
) echo "GO_FLAG_IN_USE<br>";
60 if ($flag & GO_FLAG_LOCKED
) echo "GO_FLAG_LOCKED<br>";
61 if ($flag & GO_FLAG_INTERACT_COND
)echo "GO_FLAG_INTERACT_COND<br>";
62 if ($flag & GO_FLAG_TRANSPORT
) echo "GO_FLAG_TRANSPORT<br>";
63 if ($flag & GO_FLAG_UNK1
) echo "GO_FLAG_UNK1<br>";
64 if ($flag & GO_FLAG_NODESPAWN
) echo "GO_FLAG_NODESPAWN<br>";
65 if ($flag & GO_FLAG_TRIGGERED
) echo "GO_FLAG_TRIGGERED<br>";
66 if ($flag & GO_FLAG_UNK2
) echo "GO_FLAG_UNK2<br>";
73 case GAMEOBJECT_TYPE_DOOR
:
74 echo "<tr><th>startOpen</th><td>".($obj['data0']?
"opened":"closed")."</td>";
75 echo "<th>lockId</th><td>".($obj['data1'])."</td></tr>";
76 echo "<tr><th>autoCloseTime</th><td>".($obj['data2']/1000)." sec</td>";
77 echo "<th>noDamageImmune</th><td>".$obj['data3']."</td></tr>";
78 echo "<tr><th>openTextID</th><td>".$obj['data4']."</td>";
79 echo "<th>closeTextID</th><td>".$obj['data5']."</td></tr>";
81 case GAMEOBJECT_TYPE_BUTTON
:
82 echo "<tr><th>startOpen</th><td>".($obj['data0']?
"opened":"closed")."</td>";
83 echo "<th>lockId</th><td>".($obj['data1'])."</td></tr>";
84 echo "<tr><th>autoCloseTime</th><td>".($obj['data2']/1000)." sec</td>";
85 echo "<th>linkedTrap</th><td>".($obj['data3']?
getGameobjectName($obj['data3']):"n/a")."</td></tr>";
86 echo "<tr><th>noDamageImmune</th><td>".$obj['data4']."</td>";
87 echo "<th>large</th><td>".$obj['data5']."</td></tr>";
88 echo "<tr><th>openTextID</th><td>".$obj['data6']."</td>";
89 echo "<th>closeTextID</th><td>".$obj['data7']."</td></tr>";
90 echo "<tr><th>losOK</th><td>".$obj['data8']."</td><td colspan=3></td></tr>";
92 case GAMEOBJECT_TYPE_QUESTGIVER
:
93 echo "<tr><th>lockId</th><td>".$obj['data0']."</td>";
94 echo "<th>questList</th><td>".$obj['data1']."</td></tr>";
95 echo "<tr><th>pageMaterial</th><td>".$obj['data2']."</td>";
96 echo "<th>gossipID</th><td>".$obj['data3']."</td></tr>";
97 echo "<tr><th>customAnim</th><td>".$obj['data4']."</td>";
98 echo "<th>noDamageImmune</th><td>".$obj['data5']."</td></tr>";
99 echo "<tr><th>openTextID</th><td>".$obj['data6']."</td>";
100 echo "<th>losOK</th><td>".$obj['data7']."</td></tr>";
101 echo "<tr><th>allowMounted</th><td>".$obj['data8']."</td>";
102 echo "<th>large</th><td>".$obj['data9']."</td></tr>";
104 case GAMEOBJECT_TYPE_CHEST
:
105 echo "<tr><th>lockId</th><td>".$obj['data0']."</td>";
106 echo "<th>lootId</th><td>".$obj['data1']."</td></tr>";
107 echo "<tr><th>chestRestockTime</th><td>".$obj['data2']."</td>";
108 echo "<th>consumable</th><td>".$obj['data3']."</td></tr>";
109 echo "<tr><th>minSuccessOpens</th><td>".$obj['data4']."</td>";
110 echo "<th>maxSuccessOpens</th><td>".$obj['data5']."</td></tr>";
111 echo "<tr><th>eventId</th><td>".$obj['data6']."</td>";
112 echo "<th>linkedTrapId</th><td>".($obj['data7']?
getGameobjectName($obj['data7']):"n/a")."</td></tr>";
113 echo "<tr><th>questId</th><td>".($obj['data8']?
getQuestName($obj['data8']):"n/a")."</td>";
114 echo "<th>level</th><td>".$obj['data9']."</td></tr>";
115 echo "<tr><th>losOK</th><td>".$obj['data10']."</td>";
116 echo "<th>leaveLoot</th><td>".$obj['data11']."</td></tr>";
117 echo "<tr><th>notInCombat</th><td>".$obj['data12']."</td>";
118 echo "<th>logLoot</th><td>".$obj['data13']."</td></tr>";
119 echo "<tr><th>openTextID</th><td>".$obj['data14']."</td>";
120 echo "<th>groupLootRules</th><td>".$obj['data15']."</td></tr>";
122 case GAMEOBJECT_TYPE_BINDER
:
124 case GAMEOBJECT_TYPE_GENERIC
:
125 echo "<tr><th>floatingTooltip</th><td>".$obj['data0']."</td>";
126 echo "<th>highlight</th><td>".$obj['data1']."</td></tr>";
127 echo "<tr><th>serverOnly</th><td>".$obj['data2']."</td>";
128 echo "<th>large</th><td>".$obj['data3']."</td></tr>";
129 echo "<tr><th>floatOnWater</th><td>".$obj['data4']."</td>";
130 echo "<th>questID</th><td>".($obj['data5']?
getQuestName($obj['data5']):"n/a")."</td></tr>";
132 case GAMEOBJECT_TYPE_TRAP
:
133 echo "<tr><th>lockId</th><td>".$obj['data0']."</td>";
134 echo "<th>level</th><td>".$obj['data1']."</td></tr>";
135 echo "<tr><th>radius</th><td>".$obj['data2']."</td>";
136 echo "<th>spellId</th><td>".($obj['data3']?
getSpellNameFromId($obj['data3']):"n/a")."</td></tr>";
137 echo "<tr><th>charges</th><td>".$obj['data4']."</td>";
138 echo "<th>cooldown</th><td>".$obj['data5']." sec</td></tr>";
139 echo "<tr><th>autoCloseTime</th><td>".($obj['data6']/1000)." sec</td>";
140 echo "<th>startDelay</th><td>".$obj['data7']." sec</td></tr>";
141 echo "<tr><th>serverOnly</th><td>".$obj['data8']."</td>";
142 echo "<th>stealthed</th><td>".$obj['data9']."</td></tr>";
143 echo "<tr><th>large</th><td>".$obj['data10']."</td>";
144 echo "<th>stealthAffected</th><td>".$obj['data11']."</td></tr>";
145 echo "<tr><th>openTextID</th><td>".$obj['data12']."</td>";
146 echo "<th>closeTextID</th><td>".$obj['data13']."</td></tr>";
148 case GAMEOBJECT_TYPE_CHAIR
:
149 echo "<tr><th>slots</th><td>".$obj['data0']."</td></tr>";
150 echo "<tr><th>height</th><td>".$obj['data1']."</td></tr>";
151 echo "<tr><th>onlyCreatorUse</th><td>".$obj['data2']."</td></tr>";
153 case GAMEOBJECT_TYPE_SPELL_FOCUS
:
154 echo "<tr><th>focusId</th><td>".($obj['data0']?
getSpellFocusName($obj['data0'], 1):"n/a")."</td>";
155 echo "<th>dist</th><td>".$obj['data1']."</td></tr>";
156 echo "<tr><th>linkedTrapId</th><td>".($obj['data2']?
getGameobjectName($obj['data2']):"n/a")."</td>";
157 echo "<th>serverOnly</th><td>".$obj['data3']."</td></tr>";
158 echo "<tr><th>questID</th><td>".($obj['data4']?
getQuestName($obj['data4']):"n/a")."</td>";
159 echo "<td colspan=2></td></tr>";
161 case GAMEOBJECT_TYPE_TEXT
:
162 echo "<tr><th>pageID</th><td>".$obj['data0']."</td></tr>";
163 echo "<tr><th>language</th><td>".$obj['data1']."</td></tr>";
164 echo "<tr><th>pageMaterial</th><td>".$obj['data2']."</td></tr>";
165 echo "<tr><th>allowMounted</th><td>".$obj['data3']."</td></tr>";
167 case GAMEOBJECT_TYPE_GOOBER
:
168 echo "<tr><th>lockId</th><td>".$obj['data0']."</td>";
169 echo "<th>questId</th><td>".($obj['data1']?
getQuestName($obj['data1']):"n/a")."</td></tr>";
170 echo "<tr><th>eventId</th><td>".$obj['data2']."</td>";
171 echo "<th>autoCloseTime</th><td>".($obj['data3']/1000)." sec</td></tr>";
172 echo "<tr><th>customAnim</th><td>".$obj['data4']."</td>";
173 echo "<th>consumable</th><td>".$obj['data5']."</td></tr>";
174 echo "<tr><th>cooldown</th><td>".$obj['data6']."</td>";
175 echo "<th>pageId</th><td>".$obj['data7']."</td></tr>";
176 echo "<tr><th>language</th><td>".$obj['data8']."</td>";
177 echo "<th>pageMaterial</th><td>".$obj['data9']."</td></tr>";
178 echo "<tr><th>spellId</th><td>".($obj['data10']?
getSpellNameFromId($obj['data10']):"n/a")."</td>";
179 echo "<th>noDamageImmune</th><td>".$obj['data11']."</td></tr>";
180 echo "<tr><th>linkedTrapId</th><td>".($obj['data12']?
getGameobjectName($obj['data12']):"n/a")."</td>";
181 echo "<th>large</th><td>".$obj['data13']."</td></tr>";
182 echo "<tr><th>openTextID</th><td>".$obj['data14']."</td>";
183 echo "<th>closeTextID</th><td>".$obj['data15']."</td></tr>";
184 echo "<tr><th>losOK</th><td>".$obj['data16']."</td>";
185 echo "<th>allowMounted</th><td>".$obj['data17']."</td></tr>";
187 case GAMEOBJECT_TYPE_TRANSPORT
:
189 case GAMEOBJECT_TYPE_AREADAMAGE
:
191 case GAMEOBJECT_TYPE_CAMERA
:
192 echo "<tr><th>lockId</th><td>".$obj['data0']."</td></tr>";
193 echo "<tr><th>cinematicId</th><td>".$obj['data1']."</td></tr>";
194 echo "<tr><th>eventID</th><td>".$obj['data2']."</td></tr>";
195 echo "<tr><th>openTextID</th><td>".$obj['data3']."</td></tr>";
197 case GAMEOBJECT_TYPE_MAP_OBJECT
:
199 case GAMEOBJECT_TYPE_MO_TRANSPORT
:
200 echo "<tr><th>taxiPathId</th><td>".$obj['data0']."</td></tr>";
201 echo "<tr><th>moveSpeed</th><td>".$obj['data1']."</td></tr>";
202 echo "<tr><th>accelRate</th><td>".$obj['data2']."</td></tr>";
203 echo "<tr><th>startEventID</th><td>".$obj['data3']."</td></tr>";
204 echo "<tr><th>stopEventID</th><td>".$obj['data4']."</td></tr>";
205 echo "<tr><th>transportPhysics</th><td>".$obj['data5']."</td></tr>";
206 echo "<tr><th>mapID</th><td>".getMapName($obj['data6'])."</td></tr>";
208 case GAMEOBJECT_TYPE_DUEL_ARBITER
:
210 case GAMEOBJECT_TYPE_FISHINGNODE
:
211 echo "<tr><th>_data0</th><td>".$obj['data0']."</td></tr>";
212 echo "<tr><th>lootId</th><td>".$obj['data1']."</td></tr>";
214 case GAMEOBJECT_TYPE_SUMMONING_RITUAL
:
215 echo "<tr><th>reqParticipants</th><td>".$obj['data0']."</td></tr>";
216 echo "<tr><th>spellId</th><td>".($obj['data1']?
getSpellNameFromId($obj['data1']):"n/a")."</td></tr>";
217 echo "<tr><th>animSpell</th><td>".$obj['data2']."</td></tr>";
218 echo "<tr><th>ritualPersistent</th><td>".$obj['data3']."</td></tr>";
219 echo "<tr><th>casterTargetSpell</th><td>".$obj['data4']."</td></tr>";
220 echo "<tr><th>casterTargetSpellTargets</th><td>".$obj['data5']."</td></tr>";
221 echo "<tr><th>castersGrouped</th><td>".$obj['data6']."</td></tr>";
222 echo "<tr><th>ritualNoTargetCheck</th><td>".$obj['data7']."</td></tr>";
224 case GAMEOBJECT_TYPE_MAILBOX
:
226 case GAMEOBJECT_TYPE_AUCTIONHOUSE
:
227 echo "<tr><th>data0</th><td>".$obj['data0']."</td></tr>";
229 case GAMEOBJECT_TYPE_GUARDPOST
:
231 case GAMEOBJECT_TYPE_SPELLCASTER
:
232 echo "<tr><th>spellId</th><td>".($obj['data0']?
getSpellNameFromId($obj['data0']):"n/a")."</td></tr>";
233 echo "<tr><th>charges</th><td>".$obj['data1']."</td></tr>";
234 echo "<tr><th>partyOnly</th><td>".$obj['data2']."</td></tr>";
236 case GAMEOBJECT_TYPE_MEETINGSTONE
:
237 echo "<tr><th>minLevel</th><td>".$obj['data0']."</td></tr>";
238 echo "<tr><th>maxLevel</th><td>".$obj['data1']."</td></tr>";
239 echo "<tr><th>areaID</th><td>".getAreaName($obj['data2'])."</td></tr>";
241 case GAMEOBJECT_TYPE_FLAGSTAND
:
242 echo "<tr><th>data0</th><td>".$obj['data0']."</td>";
243 echo "<th>data1</th><td>".$obj['data1']."</td></tr>";
244 echo "<tr><th>data2</th><td>".$obj['data2']."</td>";
245 echo "<th>data3</th><td>".$obj['data3']."</td></tr>";
246 echo "<tr><th>data4</th><td>".$obj['data4']."</td>";
247 echo "<th>data5</th><td>".$obj['data5']."</td></tr>";
249 case GAMEOBJECT_TYPE_FISHINGHOLE
:
250 echo "<tr><th>radius</th><td>".$obj['data0']."</td></tr>";
251 echo "<tr><th>lootId</th><td>".$obj['data1']."</td></tr>";
252 echo "<tr><th>minSuccessOpens</th><td>".$obj['data2']."</td></tr>";
253 echo "<tr><th>maxSuccessOpens</th><td>".$obj['data3']."</td></tr>";
254 echo "<tr><th>lockId</th><td>".$obj['data4']."</td></tr>";
256 case GAMEOBJECT_TYPE_FLAGDROP
:
257 echo "<tr><th>data0</th><td>".$obj['data0']."</td>";
258 echo "<th>data1</th><td>".$obj['data1']."</td></tr>";
259 echo "<tr><th>data2</th><td>".$obj['data2']."</td>";
260 echo "<th>data3</th><td>".$obj['data3']."</td></tr>";
262 case GAMEOBJECT_TYPE_MINI_GAME
:
263 echo "<tr><th>gameId</th><td>".$obj['data0']."</td></tr>";
265 case GAMEOBJECT_TYPE_LOTTERY_KIOSK
:
267 case GAMEOBJECT_TYPE_CAPTURE_POINT
:
268 echo "<tr><th>data0</th><td>".$obj['data0']."</td>";
269 echo "<th>data1</th><td>".$obj['data1']."</td></tr>";
270 echo "<tr><th>data2</th><td>".$obj['data2']."</td>";
271 echo "<th>data3</th><td>".$obj['data3']."</td></tr>";
272 echo "<tr><th>data4</th><td>".$obj['data4']."</td>";
273 echo "<th>data5</th><td>".$obj['data5']."</td></tr>";
274 echo "<tr><th>data6</th><td>".$obj['data6']."</td>";
275 echo "<th>data7</th><td>".$obj['data7']."</td></tr>";
276 echo "<tr><th>data8</th><td>".$obj['data8']."</td>";
277 echo "<th>data9</th><td>".$obj['data9']."</td></tr>";
278 echo "<tr><th>data10</th><td>".$obj['data10']."</td>";
279 echo "<th>data11</th><td>".$obj['data11']."</td></tr>";
280 echo "<tr><th>data12</th><td>".$obj['data12']."</td>";
281 echo "<th>data13</th><td>".$obj['data13']."</td></tr>";
282 echo "<tr><th>data14</th><td>".$obj['data14']."</td>";
283 echo "<th>data15</th><td>".$obj['data15']."</td></tr>";
284 echo "<tr><th>data16</th><td>".$obj['data16']."</td>";
285 echo "<th>data17</th><td>".$obj['data17']."</td></tr>";
286 echo "<tr><th>data18</th><td>".$obj['data18']."</td>";
287 echo "<td colspan=2></td></tr>";
289 case GAMEOBJECT_TYPE_AURA_GENERATOR
:
290 echo "<tr><th>data0</th><td>".$obj['data0']."</td></tr>";
291 echo "<tr><th>data1</th><td>".$obj['data1']."</td></tr>";
292 echo "<tr><th>spellId1</th><td>".($obj['data2']?
getSpellNameFromId($obj['data2']):"n/a")."</td></tr>";
293 echo "<tr><th>spellId2</th><td>".($obj['data3']?
getSpellNameFromId($obj['data3']):"n/a")."</td></tr>";
295 case GAMEOBJECT_TYPE_DUNGEON_DIFFICULTY
:
296 echo "<tr><th>data0</th><td>".$obj['data0']."</td></tr>";
297 echo "<tr><th>data1</th><td>".$obj['data1']."</td></tr>";
299 case GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING
:
301 case GAMEOBJECT_TYPE_BARBER_CHAIR
:
303 case GAMEOBJECT_TYPE_GUILDBANK
:
305 case GAMEOBJECT_TYPE_TRAPDOOR
:
311 echo "</tbody></table><br>";
315 //********************************************************************************
317 //********************************************************************************
318 $summoned_by = new SpellReportGenerator
;
319 $fields = array('SPELL_REPORT_ICON','SPELL_REPORT_NAME');
320 if ($summoned_by->Init($fields, $baseLink, 'summonLIST', $config['fade_limit'], 'name'))
322 $summoned_by->summonGO($entry);
323 $summoned_by->createReport($lang['go_summoned_by']);
325 //********************************************************************************
327 //********************************************************************************
328 $cast_spell = new SpellReportGenerator
;
329 $fields = array('SPELL_REPORT_ICON','SPELL_REPORT_NAME');
330 if ($cast_spell->Init($fields, $baseLink, 'castLIST', $config['fade_limit'], 'name'))
333 if ($obj['type'] == GAMEOBJECT_TYPE_TRAP
) $spellid = $obj['data3'];
334 else if ($obj['type'] == GAMEOBJECT_TYPE_GOOBER
) $spellid = $obj['data10'];
335 else if ($obj['type'] == GAMEOBJECT_TYPE_SUMMONING_RITUAL
) $spellid = $obj['data1'];
336 else if ($obj['type'] == GAMEOBJECT_TYPE_SPELLCASTER
) $spellid = $obj['data0'];
339 $cast_spell->doRequirest('`id` = ?d', $spellid);
340 $cast_spell->createReport($lang['go_cast_spell']);
343 //********************************************************************************
344 // How can possible open it (lock info)
345 //********************************************************************************
346 $locked = new LockReportGenerator();
347 $fields = array('LOCK_REPORT_ID', 'LOCK_REPORT_KEY');
348 if ($locked->Init($fields, $baseLink, 'lockLIST', $config['fade_limit'], ''))
351 if ($obj['type'] == GAMEOBJECT_TYPE_DOOR
) $lockid = $obj['data1'];
352 else if ($obj['type'] == GAMEOBJECT_TYPE_BUTTON
) $lockid = $obj['data1'];
353 else if ($obj['type'] == GAMEOBJECT_TYPE_QUESTGIVER
) $lockid = $obj['data0'];
354 else if ($obj['type'] == GAMEOBJECT_TYPE_CHEST
) $lockid = $obj['data0'];
355 else if ($obj['type'] == GAMEOBJECT_TYPE_TRAP
) $lockid = $obj['data0'];
356 else if ($obj['type'] == GAMEOBJECT_TYPE_GOOBER
) $lockid = $obj['data0'];
357 else if ($obj['type'] == GAMEOBJECT_TYPE_CAMERA
) $lockid = $obj['data0'];
360 $locked->doRequirest('`id` = ?d', $lockid);
361 $locked->createReport($lang['go_locked']);
365 //********************************************************************************
366 // Required for quest list
367 //********************************************************************************
368 $reqForQuest = new QuestReportGenerator();
369 $fields = array('QUEST_REPORT_LEVEL', 'QUEST_REPORT_NAME', 'QUEST_REPORT_GIVER', 'QUEST_REPORT_GIVER_END', 'QUEST_REPORT_REWARD');
370 if ($reqForQuest->Init($fields, $baseLink, 'qreqLIST', $config['fade_limit'], 'name'))
372 $reqForQuest->requireGO($entry);
373 $reqForQuest->createReport($lang['req_for_quest']);
375 //********************************************************************************
377 //********************************************************************************
378 $giveQuest = new QuestReportGenerator('go_giver');
379 $fields = array('QUEST_REPORT_LEVEL', 'QUEST_REPORT_NAME', 'QUEST_REPORT_REWARD');
380 if ($giveQuest->Init($fields, $baseLink, 'qgLIST', $config['fade_limit'], 'name'))
382 $giveQuest->getGiveTakeList($entry);
383 $giveQuest->createReport($lang['give_quest']);
385 //********************************************************************************
387 //********************************************************************************
388 $takeQuest = new QuestReportGenerator('go_take');
389 $fields = array('QUEST_REPORT_LEVEL', 'QUEST_REPORT_NAME', 'QUEST_REPORT_REWARD');
390 if ($takeQuest->Init($fields, $baseLink, 'qtLIST', $config['fade_limit'], 'name'))
392 $takeQuest->getGiveTakeList($entry);
393 $takeQuest->createReport($lang['take_quest']);
395 //********************************************************************************
397 //********************************************************************************
400 if ($obj['type']==GAMEOBJECT_TYPE_CHEST
OR $obj['type']==GAMEOBJECT_TYPE_FISHINGHOLE
)
402 $page_seek = init_pagePerMark($mark, "g_lootLIST", $page);
403 $rows = getLootList($obj['data1'], "gameobject_loot_template", $totalRecords, $page_seek, $config['fade_limit']);
404 renderLootTableList($rows, $lang['can_loot'], $page_seek, $totalRecords, $baseLink, "g_lootLIST");