Skip to content

Commit 79ed91e

Browse files
committed
Fixed house list not parsing correctly due to Tibia.com changes
1 parent 16ea858 commit 79ed91e

File tree

6 files changed

+25
-73
lines changed

6 files changed

+25
-73
lines changed

tests/resources/house/tibiacom_list.txt

Lines changed: 2 additions & 25 deletions
Large diffs are not rendered by default.

tests/resources/house/tibiacom_list_empty.txt

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,7 @@ Here you can see the list of all available houses, flats or guildhalls. Please s
33
world of your choice. Click on any view button to get more information about a house or adjust
44
the search criteria and start a new search. See the <A HREF="https://www.tibia.com/gameguides/?subtopic=manual&section=houses">manual</A>
55
for a detailed description about renting houses.<BR><BR><BR>
6-
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%>
7-
<TR BGCOLOR=#505050><TD COLSPAN=6 CLASS=white>
8-
<B>Available Guildhalls in Edron on Antica</B></TD></TR>
9-
<TR BGCOLOR=#D4C0A1>
10-
<TD WIDTH=40%><B>Name</B></TD>
11-
<TD WIDTH=10%><B>Size</B></TD>
12-
<TD WIDTH=10%><B>Rent</B></TD>
13-
<TD WIDTH=40%><B>Status</B></TD>
14-
<TD>&#160;</TD>
15-
</TR>
16-
<TR BGCOLOR=#F1E0C6><TD COLSPAN=6>No guildhalls found.</TD></TR></TABLE><BR><BR>
17-
<FORM ACTION="https://www.tibia.com/community/?subtopic=houses" METHOD=post>
18-
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%>
19-
<TR BGCOLOR=#505050><TD COLSPAN=4 CLASS=white><B>House Search</B></TD></TR>
20-
<TR BGCOLOR=#D4C0A1><TD WIDTH=25%><B>World</B></TD><TD WIDTH=25%><B>Town</B></TD><TD WIDTH=25%><B>Status</B></TD><TD WIDTH=25%><B>Order</B></TD></TR>
21-
<TR BGCOLOR=#D4C0A1>
22-
<TD VALIGN=top>
23-
<select size="1" name="world" style="width:165px;"><option value="Adra">Adra</option><option value="Alumbra">Alumbra</option><option value="Antica" selected="selected">Antica</option><option value="Astera">Astera</option><option value="Belobra">Belobra</option><option value="Bona">Bona</option><option value="Calmera">Calmera</option><option value="Carnera">Carnera</option><option value="Celebra">Celebra</option><option value="Celesta">Celesta</option><option value="Concorda">Concorda</option><option value="Damora">Damora</option><option value="Descubra">Descubra</option><option value="Dibra">Dibra</option><option value="Emera">Emera</option><option value="Epoca">Epoca</option><option value="Estela">Estela</option><option value="Famosa">Famosa</option><option value="Fera">Fera</option><option value="Ferobra">Ferobra</option><option value="Fervora">Fervora</option><option value="Firmera">Firmera</option><option value="Garnera">Garnera</option><option value="Gentebra">Gentebra</option><option value="Gladera">Gladera</option><option value="Harmonia">Harmonia</option><option value="Honbra">Honbra</option><option value="Impera">Impera</option><option value="Inabra">Inabra</option><option value="Javibra">Javibra</option><option value="Juva">Juva</option><option value="Kalibra">Kalibra</option><option value="Karna">Karna</option><option value="Kenora">Kenora</option><option value="Libertabra">Libertabra</option><option value="Lobera">Lobera</option><option value="Luminera">Luminera</option><option value="Lutabra">Lutabra</option><option value="Marcia">Marcia</option><option value="Menera">Menera</option><option value="Mercera">Mercera</option><option value="Mitigera">Mitigera</option><option value="Monza">Monza</option><option value="Mudabra">Mudabra</option><option value="Nefera">Nefera</option><option value="Nexa">Nexa</option><option value="Nossobra">Nossobra</option><option value="Ombra">Ombra</option><option value="Optera">Optera</option><option value="Pacembra">Pacembra</option><option value="Pacera">Pacera</option><option value="Peloria">Peloria</option><option value="Premia">Premia</option><option value="Quelibra">Quelibra</option><option value="Quintera">Quintera</option><option value="Ragna">Ragna</option><option value="Refugia">Refugia</option><option value="Reinobra">Reinobra</option><option value="Relania">Relania</option><option value="Relembra">Relembra</option><option value="Secura">Secura</option><option value="Serdebra">Serdebra</option><option value="Serenebra">Serenebra</option><option value="Solidera">Solidera</option><option value="Talera">Talera</option><option value="Tembra">Tembra</option><option value="Unica">Unica</option><option value="Unisera">Unisera</option><option value="Utobra">Utobra</option><option value="Venebra">Venebra</option><option value="Visabra">Visabra</option><option value="Vunira">Vunira</option><option value="Wintera">Wintera</option><option value="Wizera">Wizera</option><option value="Xandebra">Xandebra</option><option value="Xylona">Xylona</option><option value="Yonabra">Yonabra</option><option value="Ysolera">Ysolera</option><option value="Zenobra">Zenobra</option><option value="Zuna">Zuna</option><option value="Zunera">Zunera</option></select> </TD>
24-
<TD VALIGN=top>
6+
<div class="TableContainer"> <table class="Table3" cellpadding="0" cellspacing="0"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url(https://static.tibia.com/images/global/content/table-headline-border.gif);"></span> <span class="CaptionVerticalLeft" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-vertical.gif);" /></span> <div class="Text">Available Guildhalls in Edron on Antica</div> <span class="CaptionVerticalRight" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url(https://static.tibia.com/images/global/content/table-headline-border.gif);"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer"> <table style="width:100%;"><tr><td> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"><tr class="LabelH"><td style="width: 40%;"><b>Name</b></td><td style="width: 10%;"><b>Size</b></td><td style="width: 10%;"><b>Rent</b></td><td style="width: 40%;"><b>Status</b></td><td></td></tr><TR BGCOLOR=#F1E0C6><TD COLSPAN=6>No guildhalls found.</TD></TR> </table> </div></td></tr> </table> </div> </td> </tr> </table></div><br /><br /><form action="https://www.tibia.com/community/?subtopic=houses" method="post"><div class="TableContainer"> <table class="Table3" cellpadding="0" cellspacing="0"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url(https://static.tibia.com/images/global/content/table-headline-border.gif);"></span> <span class="CaptionVerticalLeft" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-vertical.gif);" /></span> <div class="Text">House Search</div> <span class="CaptionVerticalRight" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url(https://static.tibia.com/images/global/content/table-headline-border.gif);"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url(https://static.tibia.com/images/global/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer"> <table style="width:100%;"><tr><td> <div class="TableContentContainer"> <table class="TableContent" width="100%" style="border:1px solid #faf0d7;"><tr class="LabelH"><td style="width: 25%;"><b>World</b></td><td style="width: 25%;"><b>Town</b></td><td style="width: 25%;"><b>Status</b></td><td style="width: 25%;"><b>Order</b></td></tr><tr><td class="VerticalAlignTop"><select size="1" name="world" style="width:165px;"><option value="Adra">Adra</option><option value="Alumbra">Alumbra</option><option value="Antica" selected="selected">Antica</option><option value="Ardera">Ardera</option><option value="Astera">Astera</option><option value="Belobra">Belobra</option><option value="Bona">Bona</option><option value="Cadebra">Cadebra</option><option value="Calmera">Calmera</option><option value="Carnera">Carnera</option><option value="Celebra">Celebra</option><option value="Celesta">Celesta</option><option value="Concorda">Concorda</option><option value="Damora">Damora</option><option value="Descubra">Descubra</option><option value="Dibra">Dibra</option><option value="Emera">Emera</option><option value="Epoca">Epoca</option><option value="Estela">Estela</option><option value="Famosa">Famosa</option><option value="Fera">Fera</option><option value="Ferobra">Ferobra</option><option value="Fervora">Fervora</option><option value="Firmera">Firmera</option><option value="Garnera">Garnera</option><option value="Gentebra">Gentebra</option><option value="Gladera">Gladera</option><option value="Harmonia">Harmonia</option><option value="Honbra">Honbra</option><option value="Impera">Impera</option><option value="Inabra">Inabra</option><option value="Javibra">Javibra</option><option value="Juva">Juva</option><option value="Kalibra">Kalibra</option><option value="Karna">Karna</option><option value="Kenora">Kenora</option><option value="Libertabra">Libertabra</option><option value="Lobera">Lobera</option><option value="Luminera">Luminera</option><option value="Lutabra">Lutabra</option><option value="Marcia">Marcia</option><option value="Menera">Menera</option><option value="Mercera">Mercera</option><option value="Mitigera">Mitigera</option><option value="Monza">Monza</option><option value="Mudabra">Mudabra</option><option value="Nefera">Nefera</option><option value="Nexa">Nexa</option><option value="Nossobra">Nossobra</option><option value="Ombra">Ombra</option><option value="Optera">Optera</option><option value="Pacembra">Pacembra</option><option value="Pacera">Pacera</option><option value="Peloria">Peloria</option><option value="Premia">Premia</option><option value="Quelibra">Quelibra</option><option value="Quintera">Quintera</option><option value="Ragna">Ragna</option><option value="Refugia">Refugia</option><option value="Reinobra">Reinobra</option><option value="Relania">Relania</option><option value="Relembra">Relembra</option><option value="Secura">Secura</option><option value="Serdebra">Serdebra</option><option value="Serenebra">Serenebra</option><option value="Solidera">Solidera</option><option value="Talera">Talera</option><option value="Tembra">Tembra</option><option value="Unica">Unica</option><option value="Unisera">Unisera</option><option value="Utobra">Utobra</option><option value="Venebra">Venebra</option><option value="Versa">Versa</option><option value="Visabra">Visabra</option><option value="Vunira">Vunira</option><option value="Wintera">Wintera</option><option value="Wizera">Wizera</option><option value="Xandebra">Xandebra</option><option value="Xylona">Xylona</option><option value="Yonabra">Yonabra</option><option value="Ysolera">Ysolera</option><option value="Zenobra">Zenobra</option><option value="Zuna">Zuna</option><option value="Zunera">Zunera</option></select></td> <TD VALIGN=top>
257
<INPUT TYPE=radio NAME="town" VALUE="Ab'Dendriel"> Ab'Dendriel<BR>
268
<INPUT TYPE=radio NAME="town" VALUE="Ankrahmun"> Ankrahmun<BR>
279
<INPUT TYPE=radio NAME="town" VALUE="Carlin"> Carlin<BR>
@@ -56,11 +38,6 @@ for a detailed description about renting houses.<BR><BR><BR>
5638
<INPUT TYPE=radio NAME="order" VALUE="end"> by auction end<BR>
5739
</TD>
5840
</TR>
59-
</TABLE>
60-
<BR />
61-
<CENTER>
62-
<div class="BigButton" style="background-image:url(https://static.tibia.com/images/global/buttons/button_blue.gif)"><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image:url(https://static.tibia.com/images/global/buttons/button_blue_over.gif);"></div><input class="BigButtonText" type="submit" value="Submit" /></div></div> </CENTER>
63-
</FORM>
64-
</div>
41+
</table> </div></td></tr> </table> </div> </td> </tr> </table></div><br /><center><div class="BigButton" style="background-image:url(https://static.tibia.com/images/global/buttons/button_blue.gif)"><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image:url(https://static.tibia.com/images/global/buttons/button_blue_over.gif);"></div><input class="BigButtonText" type="submit" value="Submit" /></div></div></center></form> </div>
6542
</div>
6643
</div>

0 commit comments

Comments
 (0)