diff --git a/src/TibiaDataUtils.go b/src/TibiaDataUtils.go index 99aeace8..95159e59 100644 --- a/src/TibiaDataUtils.go +++ b/src/TibiaDataUtils.go @@ -37,7 +37,19 @@ func TibiaDataDatetime(date string) string { loc, _ := time.LoadLocation("Europe/Berlin") // format used in datetime on html: Jan 02 2007, 19:20:30 CET - formatting := "Jan 02 2006, 15:04:05 MST" + var formatting string + + // parsing and setting format of return + switch dateLength := len(date); { + case dateLength > 19: + // format used in datetime on html: Jan 02 2007, 19:20:30 CET + formatting = "Jan 02 2006, 15:04:05 MST" + case dateLength == 19: + // format used in datetime on html: 03.06.2023 01:19:00 + formatting = "02.01.2006 15:04:05" + default: + log.Printf("Weird format detected: %s", date) + } // parsing html in time with location set in loc returnDate, err = time.ParseInLocation(formatting, date, loc) @@ -329,3 +341,19 @@ func TibiaDataGetNewsType(data string) string { return "unknown" } } + +// TibiaDataForumNameValidator func - return valid forum string +func TibiaDataForumNameValidator(name string) string { + switch strings.ToLower(name) { + case "world boards", "world", "worldboards": + return "worldboards" + case "trade boards", "trade", "tradeboards": + return "tradeboards" + case "community boards", "community", "communityboards": + return "communityboards" + case "support boards", "support", "supportboards": + return "supportboards" + default: + return "worldboards" + } +} diff --git a/src/TibiaDataUtils_test.go b/src/TibiaDataUtils_test.go index 50754faf..c0df3ee5 100644 --- a/src/TibiaDataUtils_test.go +++ b/src/TibiaDataUtils_test.go @@ -18,6 +18,10 @@ func TestTibiaUTCDateFormat(t *testing.T) { assert.Equal(t, "2021-12-24T09:52:16Z", TibiaDataDatetime("Dec 24 2021, 09:52:16 UTC")) } +func TestTibiaForumDateFormat(t *testing.T) { + assert.Equal(t, "2023-06-20T13:55:36Z", TibiaDataDatetime("20.06.2023 15:55:36")) +} + func TestEnvFunctions(t *testing.T) { assert := assert.New(t) @@ -72,6 +76,28 @@ func TestTibiaDataGetNewsType(t *testing.T) { assert.Equal("unknown", TibiaDataGetNewsType("TibiaData")) } +func TestTibiaDataForumNameValidator(t *testing.T) { + assert := assert.New(t) + + assert.Equal("worldboards", TibiaDataForumNameValidator("world boards")) + assert.Equal("worldboards", TibiaDataForumNameValidator("world")) + assert.Equal("worldboards", TibiaDataForumNameValidator("worldboards")) + + assert.Equal("tradeboards", TibiaDataForumNameValidator("trade boards")) + assert.Equal("tradeboards", TibiaDataForumNameValidator("trade")) + assert.Equal("tradeboards", TibiaDataForumNameValidator("tradeboards")) + + assert.Equal("communityboards", TibiaDataForumNameValidator("community boards")) + assert.Equal("communityboards", TibiaDataForumNameValidator("community")) + assert.Equal("communityboards", TibiaDataForumNameValidator("communityboards")) + + assert.Equal("supportboards", TibiaDataForumNameValidator("support boards")) + assert.Equal("supportboards", TibiaDataForumNameValidator("support")) + assert.Equal("supportboards", TibiaDataForumNameValidator("supportboards")) + + assert.Equal("worldboards", TibiaDataForumNameValidator("def")) +} + func TestHTMLLineBreakRemover(t *testing.T) { const str = "a\nb\nc\nd\ne\nf\ng\nh\n" diff --git a/src/TibiaForumSection.go b/src/TibiaForumSection.go new file mode 100644 index 00000000..34750b77 --- /dev/null +++ b/src/TibiaForumSection.go @@ -0,0 +1,116 @@ +package main + +import ( + "fmt" + "net/http" + "regexp" + "strings" + + "github.com/PuerkitoBio/goquery" +) + +type SectionBoardLastPost struct { + ID int `json:"id"` + PostedAt string `json:"posted_at"` + CharacterName string `json:"character_name"` +} + +type SectionBoard struct { + ID int `json:"id"` + Name string `json:"name"` + Description string `json:"description"` + Posts int `json:"posts"` + Threads int `json:"threads"` + LastPost SectionBoardLastPost `json:"last_post"` +} + +type ForumSectionResponse struct { + Boards []SectionBoard `json:"boards"` + Information Information `json:"information"` +} + +var ( + boardInformationRegex = regexp.MustCompile(`.*boardid=(.*)">(.*)<\/a>(.*)<\/font><\/td>(.*)<\/td>(.*)<\/td>`) + lastPostIdRegex = regexp.MustCompile(`.*postid=(.*)#post`) + lastPostPostedAtRegex = regexp.MustCompile(`.*height="9"\/><\/a>(.*)<\/span>`) + lastPostCharacterNameRegex = regexp.MustCompile(`.*subtopic=characters&name=.*\">(.*)<\/a><\/span>`) +) + +// TibiaForumSectionImpl func +func TibiaForumSectionImpl(BoxContentHTML string) (*ForumSectionResponse, error) { + // Loading HTML data into ReaderHTML for goquery with NewReader + ReaderHTML, err := goquery.NewDocumentFromReader(strings.NewReader(BoxContentHTML)) + if err != nil { + return nil, fmt.Errorf("[error] TibiaForumSectionImpl failed at goquery.NewDocumentFromReader, err: %s", err) + } + + var ( + BoardsData []SectionBoard + LastPostId int + LastPostPostedAt, LastPostCharacterName string + + insideError error + ) + + // Running query over each div + ReaderHTML.Find(".TableContentContainer .TableContent tbody tr:not(.LabelH)").EachWithBreak(func(index int, s *goquery.Selection) bool { + // Storing HTML into CreatureDivHTML + BoardsDivHTML, err := s.Html() + if err != nil { + insideError = fmt.Errorf("[error] TibiaForumSectionImpl failed at BoardsDivHTML, err := s.Html(), err: %s", err) + return false + } + + subma1 := boardInformationRegex.FindAllStringSubmatch(BoardsDivHTML, -1) + if len(subma1) == 0 { + return false + } + + subma2 := lastPostIdRegex.FindAllStringSubmatch(BoardsDivHTML, -1) + if len(subma2) > 0 { + LastPostId = TibiaDataStringToInteger(subma2[0][1]) + } + + subma3 := lastPostPostedAtRegex.FindAllStringSubmatch(BoardsDivHTML, -1) + if len(subma3) > 0 { + LastPostPostedAt = TibiaDataDatetime(strings.Trim(TibiaDataSanitizeStrings(subma3[0][1]), " ")) + } + + subma4 := lastPostCharacterNameRegex.FindAllStringSubmatch(BoardsDivHTML, -1) + if len(subma4) > 0 { + LastPostCharacterName = TibiaDataSanitizeStrings(subma4[0][1]) + } + + BoardsData = append(BoardsData, SectionBoard{ + ID: TibiaDataStringToInteger(subma1[0][1]), + Name: subma1[0][2], + Description: TibiaDataSanitizeEscapedString(subma1[0][3]), + Posts: TibiaDataStringToInteger(subma1[0][4]), + Threads: TibiaDataStringToInteger(subma1[0][5]), + LastPost: SectionBoardLastPost{ + ID: LastPostId, + PostedAt: LastPostPostedAt, + CharacterName: LastPostCharacterName, + }, + }) + + return true + }) + + if insideError != nil { + return nil, insideError + } + + // + // Build the data-blob + return &ForumSectionResponse{ + Boards: BoardsData, + Information: Information{ + APIDetails: TibiaDataAPIDetails, + Timestamp: TibiaDataDatetime(""), + Status: Status{ + HTTPCode: http.StatusOK, + }, + }, + }, nil +} diff --git a/src/TibiaForumSection_test.go b/src/TibiaForumSection_test.go new file mode 100644 index 00000000..85023c7e --- /dev/null +++ b/src/TibiaForumSection_test.go @@ -0,0 +1,171 @@ +package main + +import ( + "github.com/TibiaData/tibiadata-api-go/src/static" + "github.com/stretchr/testify/assert" + "io" + "testing" +) + +func TestForumsSectionWorldBoard(t *testing.T) { + file, err := static.TestFiles.Open("testdata/forums/section/worldboard.html") + if err != nil { + t.Fatalf("file opening error: %s", err) + } + defer file.Close() + + data, err := io.ReadAll(file) + if err != nil { + t.Fatalf("File reading error: %s", err) + } + + boardsJson, err := TibiaForumSectionImpl(string(data)) + if err != nil { + t.Fatal(err) + } + + assert := assert.New(t) + + assert.Equal(90, len(boardsJson.Boards)) + + adra := boardsJson.Boards[0] + assert.Equal(146482, adra.ID) + assert.Equal("Adra", adra.Name) + assert.Equal("This board is for general discussions related to the game world Adra.", adra.Description) + assert.Equal(388, adra.Threads) + assert.Equal(1158, adra.Posts) + assert.Equal(39395612, adra.LastPost.ID) + assert.Equal("Rcdohl", adra.LastPost.CharacterName) + assert.Equal("2023-06-02T23:19:00Z", adra.LastPost.PostedAt) + + alumbra := boardsJson.Boards[1] + assert.Equal(147016, alumbra.ID) + assert.Equal("Alumbra", alumbra.Name) + assert.Equal("This board is for general discussions related to the game world Alumbra.", alumbra.Description) + assert.Equal(563, alumbra.Threads) + assert.Equal(1011, alumbra.Posts) + assert.Equal(39395777, alumbra.LastPost.ID) + assert.Equal("Mad Mustazza", alumbra.LastPost.CharacterName) + assert.Equal("2023-06-04T15:51:13Z", alumbra.LastPost.PostedAt) +} + +func TestForumsSectionSupportBoards(t *testing.T) { + file, err := static.TestFiles.Open("testdata/forums/section/supportboards.html") + if err != nil { + t.Fatalf("file opening error: %s", err) + } + defer file.Close() + + data, err := io.ReadAll(file) + if err != nil { + t.Fatalf("File reading error: %s", err) + } + + boardsJson, err := TibiaForumSectionImpl(string(data)) + if err != nil { + t.Fatal(err) + } + + assert := assert.New(t) + + assert.Equal(3, len(boardsJson.Boards)) + + paymentSupport := boardsJson.Boards[0] + assert.Equal(20, paymentSupport.ID) + assert.Equal("Payment Support", paymentSupport.Name) + assert.Equal("Here you can ask questions on orders, payments and other payment issues.", paymentSupport.Description) + assert.Equal(14468, paymentSupport.Threads) + assert.Equal(56032, paymentSupport.Posts) + assert.Equal(39400410, paymentSupport.LastPost.ID) + assert.Equal("Dorieta", paymentSupport.LastPost.CharacterName) + assert.Equal("2023-06-29T11:24:33Z", paymentSupport.LastPost.PostedAt) + + technicalSupport := boardsJson.Boards[1] + assert.Equal(13, technicalSupport.ID) + assert.Equal("Technical Support", technicalSupport.Name) + assert.Equal("Here you can ask for help if you have a technical problem that is related to Tibia.", technicalSupport.Description) + assert.Equal(64722, technicalSupport.Threads) + assert.Equal(301828, technicalSupport.Posts) + assert.Equal(39400354, technicalSupport.LastPost.ID) + assert.Equal("Dio Sorcer", technicalSupport.LastPost.CharacterName) + assert.Equal("2023-06-29T01:47:59Z", technicalSupport.LastPost.PostedAt) + + help := boardsJson.Boards[2] + assert.Equal(113174, help.ID) + assert.Equal("Help", help.Name) + assert.Equal("Here you can ask other players all kind of questions about Tibia. Note that members of the CipSoft team will usually not reply here.", help.Description) + assert.Equal(22788, help.Threads) + assert.Equal(106713, help.Posts) + assert.Equal(39400248, help.LastPost.ID) + assert.Equal("Dekraken durinars", help.LastPost.CharacterName) + assert.Equal("2023-06-28T17:17:45Z", help.LastPost.PostedAt) +} + +func TestForumsSectionCommunityBoards(t *testing.T) { + file, err := static.TestFiles.Open("testdata/forums/section/communityboards.html") + if err != nil { + t.Fatalf("file opening error: %s", err) + } + defer file.Close() + + data, err := io.ReadAll(file) + if err != nil { + t.Fatalf("File reading error: %s", err) + } + + boardsJson, err := TibiaForumSectionImpl(string(data)) + if err != nil { + t.Fatal(err) + } + + assert := assert.New(t) + + assert.Equal(6, len(boardsJson.Boards)) + + gameplay := boardsJson.Boards[0] + assert.Equal(120835, gameplay.ID) + assert.Equal("Gameplay (English Only)", gameplay.Name) + assert.Equal("Here is the place to talk about quests, achievements and the general gameplay of Tibia.", gameplay.Description) + assert.Equal(35364, gameplay.Threads) + assert.Equal(335328, gameplay.Posts) + assert.Equal(39400492, gameplay.LastPost.ID) + assert.Equal("Dreamsphere", gameplay.LastPost.CharacterName) + assert.Equal("2023-06-29T19:59:41Z", gameplay.LastPost.PostedAt) + + auditorium := boardsJson.Boards[5] + assert.Equal(89516, auditorium.ID) + assert.Equal("Auditorium (English Only)", auditorium.Name) + assert.Equal("Meet Tibia's community managers and give feedback on news articles and Tibia related topics. State your opinion and see what others think and have to say.", auditorium.Description) +} + +func TestForumsSectionTradeBoards(t *testing.T) { + file, err := static.TestFiles.Open("testdata/forums/section/tradeboards.html") + if err != nil { + t.Fatalf("file opening error: %s", err) + } + defer file.Close() + + data, err := io.ReadAll(file) + if err != nil { + t.Fatalf("File reading error: %s", err) + } + + boardsJson, err := TibiaForumSectionImpl(string(data)) + if err != nil { + t.Fatal(err) + } + + assert := assert.New(t) + + assert.Equal(90, len(boardsJson.Boards)) + + adra := boardsJson.Boards[0] + assert.Equal(146485, adra.ID) + assert.Equal("Adra - Trade", adra.Name) + assert.Equal("Use this board to make Tibia related trade offers on the game world Adra. Note that all trades must conform to the Tibia Rules.", adra.Description) + assert.Equal(540, adra.Threads) + assert.Equal(599, adra.Posts) + assert.Equal(39400121, adra.LastPost.ID) + assert.Equal("Arge Reotona", adra.LastPost.CharacterName) + assert.Equal("2023-06-28T09:15:31Z", adra.LastPost.PostedAt) +} diff --git a/src/static/testdata/forums/section/communityboards.html b/src/static/testdata/forums/section/communityboards.html new file mode 100644 index 00000000..e308d9f2 --- /dev/null +++ b/src/static/testdata/forums/section/communityboards.html @@ -0,0 +1,780 @@ + + + +Tibia - Free Multiplayer Online Role Playing Game - Forum + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
NO - internet explorer
+
NEW - internet explorer
+
OLD - internet explorer
+
+
+ + +
+
+Monster Pedestal Box
Boosted CreatureBoosted Boss
+
+
+
+
+
Contentbox headline +
+
+
+

You are not logged in.
Log in to post on the forum.

Current Time: 23:05 CEST

Boards
+ +
BoardPostsThreadsLast PostBoard
Gameplay (English Only)
Here is the place to talk about quests, achievements and the general gameplay of Tibia.
335,32835,364 29.06.2023 21:59:41
by Dreamsphere
Gameplay (English Only)
Here is the place to talk about quests, achievements and the general gameplay of Tibia.
Last Post:  29.06.2023 21:59:41
by Dreamsphere
Threads: 35,364 Posts: 335,328
Role Playing
Write tales about your adventures in Tibia and read stories created by other characters.
30,4402,196 21.06.2023 07:58:05
by Wizzen Do oor
Role Playing
Write tales about your adventures in Tibia and read stories created by other characters.
Last Post:  21.06.2023 07:58:05
by Wizzen Do oor
Threads: 2,196 Posts: 30,440
Real Life
Everything about your private interests which has nothing to do with Tibia.
693,6759,032 29.06.2023 16:26:27
by Steeve Lillywhite
Real Life
Everything about your private interests which has nothing to do with Tibia.
Last Post:  29.06.2023 16:26:27
by Steeve Lillywhite
Threads: 9,032 Posts: 693,675
Conventions
Share your thoughts about real life meetings and conventions.
14,587495 28.05.2022 23:11:15
by End Yahumem
Conventions
Share your thoughts about real life meetings and conventions.
Last Post:  28.05.2022 23:11:15
by End Yahumem
Threads: 495 Posts: 14,587
Proposals (English Only)
Help us to make Tibia a better place! Propose and discuss ideas on how to improve the game.
658,31859,710 29.06.2023 22:01:49
by Sophisticated Tuts
Proposals (English Only)
Help us to make Tibia a better place! Propose and discuss ideas on how to improve the game.
Last Post:  29.06.2023 22:01:49
by Sophisticated Tuts
Threads: 59,710 Posts: 658,318
Auditorium (English Only)
Meet Tibia's community managers and give feedback on news articles and Tibia related topics. State your opinion and see what others think and have to say.
285,6781,321 29.06.2023 22:54:43
by Shawtay
Auditorium (English Only)
Meet Tibia's community managers and give feedback on news articles and Tibia related topics. State your opinion and see what others think and have to say.
Last Post:  29.06.2023 22:54:43
by Shawtay
Threads: 1,321 Posts: 285,678
All times are CEST
New Posts
Closed Board
+
+
+
+
+
+
+ +
+
+
+

Become Premium!

+
+
go to postJun 27 2023 13:53:00
go to postJun 26 2023 10:28:20
go to postJun 21 2023 12:59:59
go to postJun 20 2023 12:41:58
+
+
+ +
+
+ +
+ +
+
+
+
+ +
Our website makes use of cookies (sadly not the delicious, crumbly ones) and similar technologies. If you accept them, we share information with our partners for social media, advertising and analysis.

Please let us know which cookies we can use.
Manage Cookies
Accept All
Manage Cookies

Necessary

These cookies are required in order for our website to function (e.g. logging in). If you set your browser to block or alert you about these cookies, some parts of the website might not work.

Targeting and Advertising

Advertisers and other content providers that may appear on our website may also use cookies that are not sent by us. Such advertisements or content may use cookies to help track and target the interests of users of the website to present customised and personalised advertisements or other messages that the user might find interesting. We also use these cookies and so-called Tracking Pixels of our partners to measure and improve the effectiveness of marketing campaigns. (Facebook Tracking Pixel)

Social Media

These cookies enable the website to provide enhanced functionality and personalisation. They may be set by third-party providers (like social networks or streaming platforms) whose services we use on the website. If you do not allow these cookies, some or all of these services may not function properly. (Twitter, YouTube, Facebook)

Close
Save Settings
Accept All

+ diff --git a/src/static/testdata/forums/section/supportboards.html b/src/static/testdata/forums/section/supportboards.html new file mode 100644 index 00000000..15f850a4 --- /dev/null +++ b/src/static/testdata/forums/section/supportboards.html @@ -0,0 +1,780 @@ + + + + Tibia - Free Multiplayer Online Role Playing Game - Forum + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
NO - internet explorer
+
NEW - internet explorer
+
OLD - internet explorer
+
+
+ + +
+
+ Monster Pedestal Box
Boosted CreatureBoosted Boss
+
+
+
+
+
Contentbox headline +
+
+
+

You are not logged in.
Log in to post on the forum.

Current Time: 22:59 CEST

Boards
+ +
BoardPostsThreadsLast PostBoard
Payment Support
Here you can ask questions on orders, payments and other payment issues.
56,03214,468 29.06.2023 13:24:33
by Dorieta
Payment Support
Here you can ask questions on orders, payments and other payment issues.
Last Post:  29.06.2023 13:24:33
by Dorieta
Threads: 14,468 Posts: 56,032
Technical Support
Here you can ask for help if you have a technical problem that is related to Tibia.
301,82864,722 29.06.2023 03:47:59
by Dio Sorcer
Technical Support
Here you can ask for help if you have a technical problem that is related to Tibia.
Last Post:  29.06.2023 03:47:59
by Dio Sorcer
Threads: 64,722 Posts: 301,828
Help
Here you can ask other players all kind of questions about Tibia. Note that members of the CipSoft team will usually not reply here.
106,71322,788 28.06.2023 19:17:45
by Dekraken durinars
Help
Here you can ask other players all kind of questions about Tibia. Note that members of the CipSoft team will usually not reply here.
Last Post:  28.06.2023 19:17:45
by Dekraken durinars
Threads: 22,788 Posts: 106,713
All times are CEST
New Posts
Closed Board
+
+
+
+
+
+
+ +
+
+
+

Become Premium!

+
+
go to postJun 27 2023 13:53:00
go to postJun 26 2023 10:28:20
go to postJun 21 2023 12:59:59
go to postJun 20 2023 12:41:58
+
+
+ +
+
+ +
+ +
+
+
+
+ +
Our website makes use of cookies (sadly not the delicious, crumbly ones) and similar technologies. If you accept them, we share information with our partners for social media, advertising and analysis.

Please let us know which cookies we can use.
Manage Cookies
Accept All
Manage Cookies

Necessary

These cookies are required in order for our website to function (e.g. logging in). If you set your browser to block or alert you about these cookies, some parts of the website might not work.

Targeting and Advertising

Advertisers and other content providers that may appear on our website may also use cookies that are not sent by us. Such advertisements or content may use cookies to help track and target the interests of users of the website to present customised and personalised advertisements or other messages that the user might find interesting. We also use these cookies and so-called Tracking Pixels of our partners to measure and improve the effectiveness of marketing campaigns. (Facebook Tracking Pixel)

Social Media

These cookies enable the website to provide enhanced functionality and personalisation. They may be set by third-party providers (like social networks or streaming platforms) whose services we use on the website. If you do not allow these cookies, some or all of these services may not function properly. (Twitter, YouTube, Facebook)

Close
Save Settings
Accept All

+ diff --git a/src/static/testdata/forums/section/tradeboards.html b/src/static/testdata/forums/section/tradeboards.html new file mode 100644 index 00000000..6a2e277d --- /dev/null +++ b/src/static/testdata/forums/section/tradeboards.html @@ -0,0 +1,780 @@ + + + +Tibia - Free Multiplayer Online Role Playing Game - Forum + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
NO - internet explorer
+
NEW - internet explorer
+
OLD - internet explorer
+
+
+ + +
+
+Monster Pedestal Box
Boosted CreatureBoosted Boss
+
+
+
+
+
Contentbox headline +
+
+
+

You are not logged in.
Log in to post on the forum.

Current Time: 23:12 CEST

Boards
+ +
BoardPostsThreadsLast PostBoard
Adra - Trade
Use this board to make Tibia related trade offers on the game world Adra. Note that all trades must conform to the Tibia Rules.
599540 28.06.2023 11:15:31
by Arge Reotona
Adra - Trade
Use this board to make Tibia related trade offers on the game world Adra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 11:15:31
by Arge Reotona
Threads: 540 Posts: 599
Alumbra - Trade
Use this board to make Tibia related trade offers on the game world Alumbra. Note that all trades must conform to the Tibia Rules.
294273 28.06.2023 11:16:18
by Wolframowy grzejnik
Alumbra - Trade
Use this board to make Tibia related trade offers on the game world Alumbra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 11:16:18
by Wolframowy grzejnik
Threads: 273 Posts: 294
Antica - Trade
Use this board to make Tibia related trade offers on the game world Antica. Note that all trades must conform to the Tibia Rules.
165,29836,090 29.06.2023 21:40:24
by Mariiya
Antica - Trade
Use this board to make Tibia related trade offers on the game world Antica. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 21:40:24
by Mariiya
Threads: 36,090 Posts: 165,298
Ardera - Trade
Use this board to make Tibia related trade offers on the game world Ardera. Note that all trades must conform to the Tibia Rules.
197186 28.06.2023 11:18:05
by Wolframowy grzejnik
Ardera - Trade
Use this board to make Tibia related trade offers on the game world Ardera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 11:18:05
by Wolframowy grzejnik
Threads: 186 Posts: 197
Astera - Trade
Use this board to make Tibia related trade offers on the game world Astera. Note that all trades must conform to the Tibia Rules.
44,19113,169 29.06.2023 18:25:40
by Memiarz Pepe
Astera - Trade
Use this board to make Tibia related trade offers on the game world Astera. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 18:25:40
by Memiarz Pepe
Threads: 13,169 Posts: 44,191
Axera - Trade
Use this board to make Tibia related trade offers on the game world Axera. Note that all trades must conform to the Tibia Rules.
7572 28.06.2023 11:21:07
by Wolframowy grzejnik
Axera - Trade
Use this board to make Tibia related trade offers on the game world Axera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 11:21:07
by Wolframowy grzejnik
Threads: 72 Posts: 75
Bastia - Trade
Use this board to make Tibia related trade offers on the game world Bastia. Note that all trades must conform to the Tibia Rules.
151141 28.06.2023 11:23:11
by Wolframowy grzejnik
Bastia - Trade
Use this board to make Tibia related trade offers on the game world Bastia. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 11:23:11
by Wolframowy grzejnik
Threads: 141 Posts: 151
Batabra - Trade
Use this board to make Tibia related trade offers on the game world Batabra. Note that all trades must conform to the Tibia Rules.
157148 28.06.2023 11:33:25
by Wolframowy grzejnik
Batabra - Trade
Use this board to make Tibia related trade offers on the game world Batabra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 11:33:25
by Wolframowy grzejnik
Threads: 148 Posts: 157
Belobra - Trade
Use this board to make Tibia related trade offers on the game world Belobra. Note that all trades must conform to the Tibia Rules.
3,5952,410 29.06.2023 01:11:53
by Tard Euto
Belobra - Trade
Use this board to make Tibia related trade offers on the game world Belobra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:11:53
by Tard Euto
Threads: 2,410 Posts: 3,595
Bombra - Trade
Use this board to make Tibia related trade offers on the game world Bombra. Note that all trades must conform to the Tibia Rules.
7170 28.06.2023 11:42:17
by Wolframowy grzejnik
Bombra - Trade
Use this board to make Tibia related trade offers on the game world Bombra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 11:42:17
by Wolframowy grzejnik
Threads: 70 Posts: 71
Bona - Trade
Use this board to make Tibia related trade offers on the game world Bona. Note that all trades must conform to the Tibia Rules.
4,9252,956 29.06.2023 01:12:29
by Tard Euto
Bona - Trade
Use this board to make Tibia related trade offers on the game world Bona. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:12:29
by Tard Euto
Threads: 2,956 Posts: 4,925
Cadebra - Trade
Use this board to make Tibia related trade offers on the game world Cadebra. Note that all trades must conform to the Tibia Rules.
159149 28.06.2023 11:46:34
by Wolframowy grzejnik
Cadebra - Trade
Use this board to make Tibia related trade offers on the game world Cadebra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 11:46:34
by Wolframowy grzejnik
Threads: 149 Posts: 159
Calmera - Trade
Use this board to make Tibia related trade offers on the game world Calmera. Note that all trades must conform to the Tibia Rules.
44,43814,144 29.06.2023 01:13:09
by Tard Euto
Calmera - Trade
Use this board to make Tibia related trade offers on the game world Calmera. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:13:09
by Tard Euto
Threads: 14,144 Posts: 44,438
Castela - Trade
Use this board to make Tibia related trade offers on the game world Castela. Note that all trades must conform to the Tibia Rules.
8278 28.06.2023 11:53:29
by Wolframowy grzejnik
Castela - Trade
Use this board to make Tibia related trade offers on the game world Castela. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 11:53:29
by Wolframowy grzejnik
Threads: 78 Posts: 82
Celebra - Trade
Use this board to make Tibia related trade offers on the game world Celebra. Note that all trades must conform to the Tibia Rules.
1,6481,313 29.06.2023 01:13:43
by Tard Euto
Celebra - Trade
Use this board to make Tibia related trade offers on the game world Celebra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:13:43
by Tard Euto
Threads: 1,313 Posts: 1,648
Celesta - Trade
Use this board to make Tibia related trade offers on the game world Celesta. Note that all trades must conform to the Tibia Rules.
43,06012,363 29.06.2023 10:43:06
by Princess of Lorien
Celesta - Trade
Use this board to make Tibia related trade offers on the game world Celesta. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 10:43:06
by Princess of Lorien
Threads: 12,363 Posts: 43,060
Collabra - Trade
Use this board to make Tibia related trade offers on the game world Collabra. Note that all trades must conform to the Tibia Rules.
198188 29.06.2023 01:14:52
by Tard Euto
Collabra - Trade
Use this board to make Tibia related trade offers on the game world Collabra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:14:52
by Tard Euto
Threads: 188 Posts: 198
Damora - Trade
Use this board to make Tibia related trade offers on the game world Damora. Note that all trades must conform to the Tibia Rules.
2,6621,780 29.06.2023 01:15:26
by Tard Euto
Damora - Trade
Use this board to make Tibia related trade offers on the game world Damora. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:15:26
by Tard Euto
Threads: 1,780 Posts: 2,662
Descubra - Trade
Use this board to make Tibia related trade offers on the game world Descubra. Note that all trades must conform to the Tibia Rules.
1,2181,013 29.06.2023 01:17:28
by Tard Euto
Descubra - Trade
Use this board to make Tibia related trade offers on the game world Descubra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:17:28
by Tard Euto
Threads: 1,013 Posts: 1,218
Dia - Trade
Use this board to make Tibia related trade offers on the game world Dia. Note that all trades must conform to the Tibia Rules.
10583 29.06.2023 13:27:37
by Kaos Brur
Dia - Trade
Use this board to make Tibia related trade offers on the game world Dia. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 13:27:37
by Kaos Brur
Threads: 83 Posts: 105
Dibra - Trade
Use this board to make Tibia related trade offers on the game world Dibra. Note that all trades must conform to the Tibia Rules.
534488 28.06.2023 14:09:24
by Wolframowy grzejnik
Dibra - Trade
Use this board to make Tibia related trade offers on the game world Dibra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 14:09:24
by Wolframowy grzejnik
Threads: 488 Posts: 534
Epoca - Trade
Use this board to make Tibia related trade offers on the game world Epoca. Note that all trades must conform to the Tibia Rules.
1,6151,094 28.06.2023 14:12:22
by Wolframowy grzejnik
Epoca - Trade
Use this board to make Tibia related trade offers on the game world Epoca. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 14:12:22
by Wolframowy grzejnik
Threads: 1,094 Posts: 1,615
Esmera - Trade
Use this board to make Tibia related trade offers on the game world Esmera. Note that all trades must conform to the Tibia Rules.
7472 28.06.2023 14:19:41
by Wolframowy grzejnik
Esmera - Trade
Use this board to make Tibia related trade offers on the game world Esmera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 14:19:41
by Wolframowy grzejnik
Threads: 72 Posts: 74
Etebra - Trade
Use this board to make Tibia related trade offers on the game world Etebra. Note that all trades must conform to the Tibia Rules.
2626 29.06.2023 01:18:08
by Tard Euto
Etebra - Trade
Use this board to make Tibia related trade offers on the game world Etebra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:18:08
by Tard Euto
Threads: 26 Posts: 26
Famosa - Trade
Use this board to make Tibia related trade offers on the game world Famosa. Note that all trades must conform to the Tibia Rules.
235213 28.06.2023 14:26:35
by Wolframowy grzejnik
Famosa - Trade
Use this board to make Tibia related trade offers on the game world Famosa. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 14:26:35
by Wolframowy grzejnik
Threads: 213 Posts: 235
Fera - Trade
Use this board to make Tibia related trade offers on the game world Fera. Note that all trades must conform to the Tibia Rules.
218200 28.06.2023 14:27:36
by Wolframowy grzejnik
Fera - Trade
Use this board to make Tibia related trade offers on the game world Fera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 14:27:36
by Wolframowy grzejnik
Threads: 200 Posts: 218
Ferobra - Trade
Use this board to make Tibia related trade offers on the game world Ferobra. Note that all trades must conform to the Tibia Rules.
1,151967 29.06.2023 01:18:49
by Tard Euto
Ferobra - Trade
Use this board to make Tibia related trade offers on the game world Ferobra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:18:49
by Tard Euto
Threads: 967 Posts: 1,151
Firmera - Trade
Use this board to make Tibia related trade offers on the game world Firmera. Note that all trades must conform to the Tibia Rules.
705579 28.06.2023 14:44:06
by Wolframowy grzejnik
Firmera - Trade
Use this board to make Tibia related trade offers on the game world Firmera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 14:44:06
by Wolframowy grzejnik
Threads: 579 Posts: 705
Gentebra - Trade
Use this board to make Tibia related trade offers on the game world Gentebra. Note that all trades must conform to the Tibia Rules.
3,9972,444 29.06.2023 01:19:28
by Tard Euto
Gentebra - Trade
Use this board to make Tibia related trade offers on the game world Gentebra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:19:28
by Tard Euto
Threads: 2,444 Posts: 3,997
Gladera - Trade
Use this board to make Tibia related trade offers on the game world Gladera. Note that all trades must conform to the Tibia Rules.
3,0561,929 29.06.2023 01:20:10
by Tard Euto
Gladera - Trade
Use this board to make Tibia related trade offers on the game world Gladera. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:20:10
by Tard Euto
Threads: 1,929 Posts: 3,056
Gravitera - Trade
Use this board to make Tibia related trade offers on the game world Gravitera. Note that all trades must conform to the Tibia Rules.
66 28.06.2023 14:49:41
by Wolframowy grzejnik
Gravitera - Trade
Use this board to make Tibia related trade offers on the game world Gravitera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 14:49:41
by Wolframowy grzejnik
Threads: 6 Posts: 6
Harmonia - Trade
Use this board to make Tibia related trade offers on the game world Harmonia. Note that all trades must conform to the Tibia Rules.
49,23713,853 29.06.2023 01:20:52
by Tard Euto
Harmonia - Trade
Use this board to make Tibia related trade offers on the game world Harmonia. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:20:52
by Tard Euto
Threads: 13,853 Posts: 49,237
Havera - Trade
Use this board to make Tibia related trade offers on the game world Havera. Note that all trades must conform to the Tibia Rules.
180164 28.06.2023 14:52:04
by Wolframowy grzejnik
Havera - Trade
Use this board to make Tibia related trade offers on the game world Havera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 14:52:04
by Wolframowy grzejnik
Threads: 164 Posts: 180
Honbra - Trade
Use this board to make Tibia related trade offers on the game world Honbra. Note that all trades must conform to the Tibia Rules.
1,2741,008 28.06.2023 15:02:26
by Wolframowy grzejnik
Honbra - Trade
Use this board to make Tibia related trade offers on the game world Honbra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:02:26
by Wolframowy grzejnik
Threads: 1,008 Posts: 1,274
Illusera - Trade
Use this board to make Tibia related trade offers on the game world Illusera. Note that all trades must conform to the Tibia Rules.
105100 28.06.2023 15:04:32
by Wolframowy grzejnik
Illusera - Trade
Use this board to make Tibia related trade offers on the game world Illusera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:04:32
by Wolframowy grzejnik
Threads: 100 Posts: 105
Impulsa - Trade
Use this board to make Tibia related trade offers on the game world Impulsa. Note that all trades must conform to the Tibia Rules.
121115 28.06.2023 15:07:47
by Wolframowy grzejnik
Impulsa - Trade
Use this board to make Tibia related trade offers on the game world Impulsa. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:07:47
by Wolframowy grzejnik
Threads: 115 Posts: 121
Inabra - Trade
Use this board to make Tibia related trade offers on the game world Inabra. Note that all trades must conform to the Tibia Rules.
1,046851 29.06.2023 19:25:43
by Xolorian
Inabra - Trade
Use this board to make Tibia related trade offers on the game world Inabra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 19:25:43
by Xolorian
Threads: 851 Posts: 1,046
Issobra - Trade
Use this board to make Tibia related trade offers on the game world Issobra. Note that all trades must conform to the Tibia Rules.
8275 28.06.2023 15:16:36
by Wolframowy grzejnik
Issobra - Trade
Use this board to make Tibia related trade offers on the game world Issobra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:16:36
by Wolframowy grzejnik
Threads: 75 Posts: 82
Jacabra - Trade
Use this board to make Tibia related trade offers on the game world Jacabra. Note that all trades must conform to the Tibia Rules.
66 28.06.2023 15:23:29
by Wolframowy grzejnik
Jacabra - Trade
Use this board to make Tibia related trade offers on the game world Jacabra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:23:29
by Wolframowy grzejnik
Threads: 6 Posts: 6
Kalibra - Trade
Use this board to make Tibia related trade offers on the game world Kalibra. Note that all trades must conform to the Tibia Rules.
2,2431,671 29.06.2023 01:21:32
by Tard Euto
Kalibra - Trade
Use this board to make Tibia related trade offers on the game world Kalibra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:21:32
by Tard Euto
Threads: 1,671 Posts: 2,243
Kardera - Trade
Use this board to make Tibia related trade offers on the game world Kardera. Note that all trades must conform to the Tibia Rules.
3028 28.06.2023 15:31:40
by Wolframowy grzejnik
Kardera - Trade
Use this board to make Tibia related trade offers on the game world Kardera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:31:40
by Wolframowy grzejnik
Threads: 28 Posts: 30
Karna - Trade
Use this board to make Tibia related trade offers on the game world Karna. Note that all trades must conform to the Tibia Rules.
556471 28.06.2023 15:32:12
by Wolframowy grzejnik
Karna - Trade
Use this board to make Tibia related trade offers on the game world Karna. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:32:12
by Wolframowy grzejnik
Threads: 471 Posts: 556
Libertabra - Trade
Use this board to make Tibia related trade offers on the game world Libertabra. Note that all trades must conform to the Tibia Rules.
392362 28.06.2023 15:41:50
by Wolframowy grzejnik
Libertabra - Trade
Use this board to make Tibia related trade offers on the game world Libertabra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:41:50
by Wolframowy grzejnik
Threads: 362 Posts: 392
Lobera - Trade
Use this board to make Tibia related trade offers on the game world Lobera. Note that all trades must conform to the Tibia Rules.
1,5821,118 28.06.2023 15:44:40
by Wolframowy grzejnik
Lobera - Trade
Use this board to make Tibia related trade offers on the game world Lobera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:44:40
by Wolframowy grzejnik
Threads: 1,118 Posts: 1,582
Luminera - Trade
Use this board to make Tibia related trade offers on the game world Luminera. Note that all trades must conform to the Tibia Rules.
24,3838,637 29.06.2023 18:27:26
by Memiarz Pepe
Luminera - Trade
Use this board to make Tibia related trade offers on the game world Luminera. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 18:27:26
by Memiarz Pepe
Threads: 8,637 Posts: 24,383
Lutabra - Trade
Use this board to make Tibia related trade offers on the game world Lutabra. Note that all trades must conform to the Tibia Rules.
774641 28.06.2023 15:47:50
by Wolframowy grzejnik
Lutabra - Trade
Use this board to make Tibia related trade offers on the game world Lutabra. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:47:50
by Wolframowy grzejnik
Threads: 641 Posts: 774
Marbera - Trade
Use this board to make Tibia related trade offers on the game world Marbera. Note that all trades must conform to the Tibia Rules.
145136 28.06.2023 15:49:16
by Wolframowy grzejnik
Marbera - Trade
Use this board to make Tibia related trade offers on the game world Marbera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:49:16
by Wolframowy grzejnik
Threads: 136 Posts: 145
Marcia - Trade
Use this board to make Tibia related trade offers on the game world Marcia. Note that all trades must conform to the Tibia Rules.
190173 28.06.2023 15:51:02
by Wolframowy grzejnik
Marcia - Trade
Use this board to make Tibia related trade offers on the game world Marcia. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:51:02
by Wolframowy grzejnik
Threads: 173 Posts: 190
Menera - Trade
Use this board to make Tibia related trade offers on the game world Menera. Note that all trades must conform to the Tibia Rules.
22,1767,654 28.06.2023 15:53:14
by Wolframowy grzejnik
Menera - Trade
Use this board to make Tibia related trade offers on the game world Menera. Note that all trades must conform to the Tibia Rules.
Last Post:  28.06.2023 15:53:14
by Wolframowy grzejnik
Threads: 7,654 Posts: 22,176
Monza - Trade
Use this board to make Tibia related trade offers on the game world Monza. Note that all trades must conform to the Tibia Rules.
4,4242,421 26.06.2023 10:21:10
by Daip Kion
Monza - Trade
Use this board to make Tibia related trade offers on the game world Monza. Note that all trades must conform to the Tibia Rules.
Last Post:  26.06.2023 10:21:10
by Daip Kion
Threads: 2,421 Posts: 4,424
Mudabra - Trade
Use this board to make Tibia related trade offers on the game world Mudabra. Note that all trades must conform to the Tibia Rules.
209191 01.06.2023 18:18:12
by Spring Druid
Mudabra - Trade
Use this board to make Tibia related trade offers on the game world Mudabra. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 18:18:12
by Spring Druid
Threads: 191 Posts: 209
Mykera - Trade
Use this board to make Tibia related trade offers on the game world Mykera. Note that all trades must conform to the Tibia Rules.
8175 01.06.2023 18:26:24
by Spring Druid
Mykera - Trade
Use this board to make Tibia related trade offers on the game world Mykera. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 18:26:24
by Spring Druid
Threads: 75 Posts: 81
Nadora - Trade
Use this board to make Tibia related trade offers on the game world Nadora. Note that all trades must conform to the Tibia Rules.
9285 01.06.2023 18:32:43
by Spring Druid
Nadora - Trade
Use this board to make Tibia related trade offers on the game world Nadora. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 18:32:43
by Spring Druid
Threads: 85 Posts: 92
Nefera - Trade
Use this board to make Tibia related trade offers on the game world Nefera. Note that all trades must conform to the Tibia Rules.
2,7271,758 21.06.2023 23:53:48
by Frank Anhalt
Nefera - Trade
Use this board to make Tibia related trade offers on the game world Nefera. Note that all trades must conform to the Tibia Rules.
Last Post:  21.06.2023 23:53:48
by Frank Anhalt
Threads: 1,758 Posts: 2,727
Nossobra - Trade
Use this board to make Tibia related trade offers on the game world Nossobra. Note that all trades must conform to the Tibia Rules.
455412 01.06.2023 18:18:55
by Spring Druid
Nossobra - Trade
Use this board to make Tibia related trade offers on the game world Nossobra. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 18:18:55
by Spring Druid
Threads: 412 Posts: 455
Ocebra Trade
Use this board to make Tibia related trade offers on the game world Ocebra. Note that all trades must conform to the Tibia Rules.
9590 01.06.2023 19:01:03
by Spring Druid
Ocebra Trade
Use this board to make Tibia related trade offers on the game world Ocebra. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 19:01:03
by Spring Druid
Threads: 90 Posts: 95
Olima - Trade
Use this board to make Tibia related trade offers on the game world Olima. Note that all trades must conform to the Tibia Rules.
151140 01.06.2023 18:22:53
by Spring Druid
Olima - Trade
Use this board to make Tibia related trade offers on the game world Olima. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 18:22:53
by Spring Druid
Threads: 140 Posts: 151
Ombra - Trade
Use this board to make Tibia related trade offers on the game world Ombra. Note that all trades must conform to the Tibia Rules.
628549 01.06.2023 19:05:20
by Spring Druid
Ombra - Trade
Use this board to make Tibia related trade offers on the game world Ombra. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 19:05:20
by Spring Druid
Threads: 549 Posts: 628
Optera - Trade
Use this board to make Tibia related trade offers on the game world Optera. Note that all trades must conform to the Tibia Rules.
242221 01.06.2023 19:19:31
by Spring Druid
Optera - Trade
Use this board to make Tibia related trade offers on the game world Optera. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 19:19:31
by Spring Druid
Threads: 221 Posts: 242
Ousabra - Trade
Use this board to make Tibia related trade offers on the game world Ousabra. Note that all trades must conform to the Tibia Rules.
2522 01.06.2023 19:25:08
by Spring Druid
Ousabra - Trade
Use this board to make Tibia related trade offers on the game world Ousabra. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 19:25:08
by Spring Druid
Threads: 22 Posts: 25
Pacera - Trade
Use this board to make Tibia related trade offers on the game world Pacera. Note that all trades must conform to the Tibia Rules.
42,04010,654 29.06.2023 18:55:58
by Chukitito
Pacera - Trade
Use this board to make Tibia related trade offers on the game world Pacera. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 18:55:58
by Chukitito
Threads: 10,654 Posts: 42,040
Peloria - Trade
Use this board to make Tibia related trade offers on the game world Peloria. Note that all trades must conform to the Tibia Rules.
3,5161,894 16.06.2023 22:24:09
by Aervax
Peloria - Trade
Use this board to make Tibia related trade offers on the game world Peloria. Note that all trades must conform to the Tibia Rules.
Last Post:  16.06.2023 22:24:09
by Aervax
Threads: 1,894 Posts: 3,516
Premia - Trade
Use this board to make Tibia related trade offers on the game world Premia. Note that all trades must conform to the Tibia Rules.
37,0929,873 29.06.2023 19:27:02
by Xolorian
Premia - Trade
Use this board to make Tibia related trade offers on the game world Premia. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 19:27:02
by Xolorian
Threads: 9,873 Posts: 37,092
Quelibra - Trade
Use this board to make Tibia related trade offers on the game world Quelibra. Note that all trades must conform to the Tibia Rules.
1,000843 16.06.2023 22:25:00
by Aervax
Quelibra - Trade
Use this board to make Tibia related trade offers on the game world Quelibra. Note that all trades must conform to the Tibia Rules.
Last Post:  16.06.2023 22:25:00
by Aervax
Threads: 843 Posts: 1,000
Quintera - Trade
Use this board to make Tibia related trade offers on the game world Quintera. Note that all trades must conform to the Tibia Rules.
827668 01.06.2023 23:18:01
by Spring Druid
Quintera - Trade
Use this board to make Tibia related trade offers on the game world Quintera. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 23:18:01
by Spring Druid
Threads: 668 Posts: 827
Refugia - Trade
Use this board to make Tibia related trade offers on the game world Refugia. Note that all trades must conform to the Tibia Rules.
54,50714,409 29.06.2023 21:18:41
by Wolframowy grzejnik
Refugia - Trade
Use this board to make Tibia related trade offers on the game world Refugia. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 21:18:41
by Wolframowy grzejnik
Threads: 14,409 Posts: 54,507
Reinobra - Trade
Use this board to make Tibia related trade offers on the game world Reinobra. Note that all trades must conform to the Tibia Rules.
273251 29.06.2023 01:23:55
by Tard Euto
Reinobra - Trade
Use this board to make Tibia related trade offers on the game world Reinobra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:23:55
by Tard Euto
Threads: 251 Posts: 273
Seanera - Trade
Use this board to make Tibia related trade offers on the game world Seanera. Note that all trades must conform to the Tibia Rules.
10597 14.06.2023 21:25:47
by Fofomenon
Seanera - Trade
Use this board to make Tibia related trade offers on the game world Seanera. Note that all trades must conform to the Tibia Rules.
Last Post:  14.06.2023 21:25:47
by Fofomenon
Threads: 97 Posts: 105
Secura - Trade
Use this board to make Tibia related trade offers on the game world Secura. Note that all trades must conform to the Tibia Rules.
120,18227,638 29.06.2023 21:23:31
by Wolframowy grzejnik
Secura - Trade
Use this board to make Tibia related trade offers on the game world Secura. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 21:23:31
by Wolframowy grzejnik
Threads: 27,638 Posts: 120,182
Serdebra - Trade
Use this board to make Tibia related trade offers on the game world Serdebra. Note that all trades must conform to the Tibia Rules.
1,020843 16.06.2023 22:26:55
by Aervax
Serdebra - Trade
Use this board to make Tibia related trade offers on the game world Serdebra. Note that all trades must conform to the Tibia Rules.
Last Post:  16.06.2023 22:26:55
by Aervax
Threads: 843 Posts: 1,020
Solidera - Trade
Use this board to make Tibia related trade offers on the game world Solidera. Note that all trades must conform to the Tibia Rules.
1,346962 16.06.2023 22:27:29
by Aervax
Solidera - Trade
Use this board to make Tibia related trade offers on the game world Solidera. Note that all trades must conform to the Tibia Rules.
Last Post:  16.06.2023 22:27:29
by Aervax
Threads: 962 Posts: 1,346
Suna - Trade
Use this board to make Tibia related trade offers on the game world Suna. Note that all trades must conform to the Tibia Rules.
132121 10.06.2023 12:58:06
by Choroszczanski
Suna - Trade
Use this board to make Tibia related trade offers on the game world Suna. Note that all trades must conform to the Tibia Rules.
Last Post:  10.06.2023 12:58:06
by Choroszczanski
Threads: 121 Posts: 132
Syrena - Trade
Use this board to make Tibia related trade offers on the game world Syrena. Note that all trades must conform to the Tibia Rules.
3635 01.06.2023 23:46:07
by Spring Druid
Syrena - Trade
Use this board to make Tibia related trade offers on the game world Syrena. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 23:46:07
by Spring Druid
Threads: 35 Posts: 36
Talera - Trade
Use this board to make Tibia related trade offers on the game world Talera. Note that all trades must conform to the Tibia Rules.
1,193916 16.06.2023 22:28:07
by Aervax
Talera - Trade
Use this board to make Tibia related trade offers on the game world Talera. Note that all trades must conform to the Tibia Rules.
Last Post:  16.06.2023 22:28:07
by Aervax
Threads: 916 Posts: 1,193
Tembra - Trade
Use this board to make Tibia related trade offers on the game world Tembra. Note that all trades must conform to the Tibia Rules.
184164 21.06.2023 00:27:39
by Maximus Creed
Tembra - Trade
Use this board to make Tibia related trade offers on the game world Tembra. Note that all trades must conform to the Tibia Rules.
Last Post:  21.06.2023 00:27:39
by Maximus Creed
Threads: 164 Posts: 184
Thyria - Trade
Use this board to make Tibia related trade offers on the game world Thyria. Note that all trades must conform to the Tibia Rules.
474350 25.06.2023 12:40:07
by Zejlo
Thyria - Trade
Use this board to make Tibia related trade offers on the game world Thyria. Note that all trades must conform to the Tibia Rules.
Last Post:  25.06.2023 12:40:07
by Zejlo
Threads: 350 Posts: 474
Trona - Trade
Use this board to make Tibia related trade offers on the game world Trona. Note that all trades must conform to the Tibia Rules.
9589 01.06.2023 23:43:28
by Spring Druid
Trona - Trade
Use this board to make Tibia related trade offers on the game world Trona. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 23:43:28
by Spring Druid
Threads: 89 Posts: 95
Utobra - Trade
Use this board to make Tibia related trade offers on the game world Utobra. Note that all trades must conform to the Tibia Rules.
275248 15.06.2023 15:40:03
by Utobiano
Utobra - Trade
Use this board to make Tibia related trade offers on the game world Utobra. Note that all trades must conform to the Tibia Rules.
Last Post:  15.06.2023 15:40:03
by Utobiano
Threads: 248 Posts: 275
Venebra - Trade
Use this board to make Tibia related trade offers on the game world Venebra. Note that all trades must conform to the Tibia Rules.
573526 29.06.2023 01:25:17
by Tard Euto
Venebra - Trade
Use this board to make Tibia related trade offers on the game world Venebra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:25:17
by Tard Euto
Threads: 526 Posts: 573
Versa - Trade
Use this board to make Tibia related trade offers on the game world Versa. Note that all trades must conform to the Tibia Rules.
10597 01.06.2023 23:22:57
by Spring Druid
Versa - Trade
Use this board to make Tibia related trade offers on the game world Versa. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 23:22:57
by Spring Druid
Threads: 97 Posts: 105
Visabra - Trade
Use this board to make Tibia related trade offers on the game world Visabra. Note that all trades must conform to the Tibia Rules.
188172 01.06.2023 23:36:49
by Spring Druid
Visabra - Trade
Use this board to make Tibia related trade offers on the game world Visabra. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 23:36:49
by Spring Druid
Threads: 172 Posts: 188
Vitera - Trade
Use this board to make Tibia related trade offers on the game world Vitera. Note that all trades must conform to the Tibia Rules.
1212 01.06.2023 23:35:22
by Spring Druid
Vitera - Trade
Use this board to make Tibia related trade offers on the game world Vitera. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 23:35:22
by Spring Druid
Threads: 12 Posts: 12
Vunira - Trade
Use this board to make Tibia related trade offers on the game world Vunira. Note that all trades must conform to the Tibia Rules.
5,8882,893 29.06.2023 16:28:22
by Farlig Healer
Vunira - Trade
Use this board to make Tibia related trade offers on the game world Vunira. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 16:28:22
by Farlig Healer
Threads: 2,893 Posts: 5,888
Wintera - Trade
Use this board to make Tibia related trade offers on the game world Wintera. Note that all trades must conform to the Tibia Rules.
1,6641,164 16.06.2023 22:38:49
by Aervax
Wintera - Trade
Use this board to make Tibia related trade offers on the game world Wintera. Note that all trades must conform to the Tibia Rules.
Last Post:  16.06.2023 22:38:49
by Aervax
Threads: 1,164 Posts: 1,664
Wizera - Trade
Use this board to make Tibia related trade offers on the game world Wizera. Note that all trades must conform to the Tibia Rules.
258237 01.06.2023 23:24:09
by Spring Druid
Wizera - Trade
Use this board to make Tibia related trade offers on the game world Wizera. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 23:24:09
by Spring Druid
Threads: 237 Posts: 258
Xandebra - Trade
Use this board to make Tibia related trade offers on the game world Xandebra. Note that all trades must conform to the Tibia Rules.
403373 01.06.2023 23:30:59
by Spring Druid
Xandebra - Trade
Use this board to make Tibia related trade offers on the game world Xandebra. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 23:30:59
by Spring Druid
Threads: 373 Posts: 403
Yonabra - Trade
Use this board to make Tibia related trade offers on the game world Yonabra. Note that all trades must conform to the Tibia Rules.
992795 29.06.2023 01:26:38
by Tard Euto
Yonabra - Trade
Use this board to make Tibia related trade offers on the game world Yonabra. Note that all trades must conform to the Tibia Rules.
Last Post:  29.06.2023 01:26:38
by Tard Euto
Threads: 795 Posts: 992
Zenobra - Trade
Use this board to make Tibia related trade offers on the game world Zenobra. Note that all trades must conform to the Tibia Rules.
330305 15.06.2023 15:40:52
by Utobiano
Zenobra - Trade
Use this board to make Tibia related trade offers on the game world Zenobra. Note that all trades must conform to the Tibia Rules.
Last Post:  15.06.2023 15:40:52
by Utobiano
Threads: 305 Posts: 330
Zuna - Trade
Use this board to make Tibia related trade offers on the game world Zuna. Note that all trades must conform to the Tibia Rules.
529414 01.06.2023 23:27:45
by Spring Druid
Zuna - Trade
Use this board to make Tibia related trade offers on the game world Zuna. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 23:27:45
by Spring Druid
Threads: 414 Posts: 529
Zunera - Trade
Use this board to make Tibia related trade offers on the game world Zunera. Note that all trades must conform to the Tibia Rules.
419358 01.06.2023 23:26:10
by Spring Druid
Zunera - Trade
Use this board to make Tibia related trade offers on the game world Zunera. Note that all trades must conform to the Tibia Rules.
Last Post:  01.06.2023 23:26:10
by Spring Druid
Threads: 358 Posts: 419
All times are CEST
New Posts
Closed Board
+
+
+
+
+
+
+ +
+
+
+

Trade Tibia Coins!

+
+
go to postJun 27 2023 13:53:00
go to postJun 26 2023 10:28:20
go to postJun 21 2023 12:59:59
go to postJun 20 2023 12:41:58
+
+
+ +
+
+ +
+ +
+
+
+
+ +
Our website makes use of cookies (sadly not the delicious, crumbly ones) and similar technologies. If you accept them, we share information with our partners for social media, advertising and analysis.

Please let us know which cookies we can use.
Manage Cookies
Accept All
Manage Cookies

Necessary

These cookies are required in order for our website to function (e.g. logging in). If you set your browser to block or alert you about these cookies, some parts of the website might not work.

Targeting and Advertising

Advertisers and other content providers that may appear on our website may also use cookies that are not sent by us. Such advertisements or content may use cookies to help track and target the interests of users of the website to present customised and personalised advertisements or other messages that the user might find interesting. We also use these cookies and so-called Tracking Pixels of our partners to measure and improve the effectiveness of marketing campaigns. (Facebook Tracking Pixel)

Social Media

These cookies enable the website to provide enhanced functionality and personalisation. They may be set by third-party providers (like social networks or streaming platforms) whose services we use on the website. If you do not allow these cookies, some or all of these services may not function properly. (Twitter, YouTube, Facebook)

Close
Save Settings
Accept All

+ diff --git a/src/static/testdata/forums/section/worldboard.html b/src/static/testdata/forums/section/worldboard.html new file mode 100644 index 00000000..1beeade0 --- /dev/null +++ b/src/static/testdata/forums/section/worldboard.html @@ -0,0 +1,780 @@ + + + + Tibia - Free Multiplayer Online Role Playing Game - Forum + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
NO - internet explorer
+
NEW - internet explorer
+
OLD - internet explorer
+
+
+ + +
+
+ Monster Pedestal Box
Boosted CreatureBoosted Boss
+
+
+
+
+
Contentbox headline +
+
+
+

You are not logged in.
Log in to post on the forum.

Current Time: 01:28 CEST

Boards
+ +
BoardPostsThreadsLast PostBoard
Adra
This board is for general discussions related to the game world Adra.
1,158388 03.06.2023 01:19:00
by Rcdohl
Adra
This board is for general discussions related to the game world Adra.
Last Post:  03.06.2023 01:19:00
by Rcdohl
Threads: 388 Posts: 1,158
Alumbra
This board is for general discussions related to the game world Alumbra.
1,011563 04.06.2023 17:51:13
by Mad Mustazza
Alumbra
This board is for general discussions related to the game world Alumbra.
Last Post:  04.06.2023 17:51:13
by Mad Mustazza
Threads: 563 Posts: 1,011
Antica
This board is for general discussions related to the game world Antica.
343,44134,184 05.06.2023 21:57:40
by Verel Yugu
Antica
This board is for general discussions related to the game world Antica.
Last Post:  05.06.2023 21:57:40
by Verel Yugu
Threads: 34,184 Posts: 343,441
Ardera
This board is for general discussions related to the game world Ardera.
13284 31.05.2023 16:15:45
by Triggered Maioral
Ardera
This board is for general discussions related to the game world Ardera.
Last Post:  31.05.2023 16:15:45
by Triggered Maioral
Threads: 84 Posts: 132
Astera
This board is for general discussions related to the game world Astera.
86,8809,119 05.06.2023 05:01:50
by Aeloir
Astera
This board is for general discussions related to the game world Astera.
Last Post:  05.06.2023 05:01:50
by Aeloir
Threads: 9,119 Posts: 86,880
Axera
This board is for general discussions related to the game world Axera.
4231 14.05.2023 00:40:21
by Xosmium
Axera
This board is for general discussions related to the game world Axera.
Last Post:  14.05.2023 00:40:21
by Xosmium
Threads: 31 Posts: 42
Bastia
This board is for general discussions related to the game world Bastia.
1,877377 05.06.2023 23:10:59
by Gant Aylynix
Bastia
This board is for general discussions related to the game world Bastia.
Last Post:  05.06.2023 23:10:59
by Gant Aylynix
Threads: 377 Posts: 1,877
Batabra
This board is for general discussions related to the game world Batabra.
248156 31.05.2023 20:17:32
by Estronda Retro
Batabra
This board is for general discussions related to the game world Batabra.
Last Post:  31.05.2023 20:17:32
by Estronda Retro
Threads: 156 Posts: 248
Belobra
This board is for general discussions related to the game world Belobra.
8,3201,832 05.06.2023 03:16:55
by Teddy Mayer
Belobra
This board is for general discussions related to the game world Belobra.
Last Post:  05.06.2023 03:16:55
by Teddy Mayer
Threads: 1,832 Posts: 8,320
Bombra
This board is for general discussions related to the game world Bombra.
14774 28.05.2023 15:51:55
by Eltom Borolo
Bombra
This board is for general discussions related to the game world Bombra.
Last Post:  28.05.2023 15:51:55
by Eltom Borolo
Threads: 74 Posts: 147
Bona
This board is for general discussions related to the game world Bona.
9,6821,735 05.06.2023 08:48:05
by Merveilleux Alva
Bona
This board is for general discussions related to the game world Bona.
Last Post:  05.06.2023 08:48:05
by Merveilleux Alva
Threads: 1,735 Posts: 9,682
Cadebra
This board is for general discussions related to the game world Cadebra.
8963 26.05.2023 00:08:59
by Axe Iron
Cadebra
This board is for general discussions related to the game world Cadebra.
Last Post:  26.05.2023 00:08:59
by Axe Iron
Threads: 63 Posts: 89
Calmera
This board is for general discussions related to the game world Calmera.
138,57811,916 28.05.2023 11:30:47
by Leviatahan
Calmera
This board is for general discussions related to the game world Calmera.
Last Post:  28.05.2023 11:30:47
by Leviatahan
Threads: 11,916 Posts: 138,578
Castela
This board is for general discussions related to the game world Castela.
549154 05.06.2023 16:58:38
by Zahar Smith
Castela
This board is for general discussions related to the game world Castela.
Last Post:  05.06.2023 16:58:38
by Zahar Smith
Threads: 154 Posts: 549
Celebra
This board is for general discussions related to the game world Celebra.
1,558590 27.05.2023 23:55:14
by Aldor Kryn
Celebra
This board is for general discussions related to the game world Celebra.
Last Post:  27.05.2023 23:55:14
by Aldor Kryn
Threads: 590 Posts: 1,558
Celesta
This board is for general discussions related to the game world Celesta.
94,3099,451 05.06.2023 22:21:10
by Lidera Lucifer Morningstar
Celesta
This board is for general discussions related to the game world Celesta.
Last Post:  05.06.2023 22:21:10
by Lidera Lucifer Morningstar
Threads: 9,451 Posts: 94,309
Collabra
This board is for general discussions related to the game world Collabra.
331128 04.06.2023 01:21:24
by Sane Insaneavel
Collabra
This board is for general discussions related to the game world Collabra.
Last Post:  04.06.2023 01:21:24
by Sane Insaneavel
Threads: 128 Posts: 331
Damora
This board is for general discussions related to the game world Damora.
3,2291,080 03.06.2023 23:53:52
by Leik Dwer
Damora
This board is for general discussions related to the game world Damora.
Last Post:  03.06.2023 23:53:52
by Leik Dwer
Threads: 1,080 Posts: 3,229
Descubra
This board is for general discussions related to the game world Descubra.
2,340809 02.06.2023 08:39:52
by Sheskabow
Descubra
This board is for general discussions related to the game world Descubra.
Last Post:  02.06.2023 08:39:52
by Sheskabow
Threads: 809 Posts: 2,340
Dia
This board is for general discussions related to the game world Dia.
24586 04.06.2023 10:58:56
by Jobiee
Dia
This board is for general discussions related to the game world Dia.
Last Post:  04.06.2023 10:58:56
by Jobiee
Threads: 86 Posts: 245
Dibra
This board is for general discussions related to the game world Dibra.
2,8651,112 30.05.2023 19:04:28
by Delito Fearless
Dibra
This board is for general discussions related to the game world Dibra.
Last Post:  30.05.2023 19:04:28
by Delito Fearless
Threads: 1,112 Posts: 2,865
Epoca
This board is for general discussions related to the game world Epoca.
8,9401,390 05.06.2023 20:32:52
by Ibrahiveshenko
Epoca
This board is for general discussions related to the game world Epoca.
Last Post:  05.06.2023 20:32:52
by Ibrahiveshenko
Threads: 1,390 Posts: 8,940
Esmera
This board is for general discussions related to the game world Esmera
5630 11.04.2023 01:39:50
by The Red Wyrm
Esmera
This board is for general discussions related to the game world Esmera
Last Post:  11.04.2023 01:39:50
by The Red Wyrm
Threads: 30 Posts: 56
Etebra
This board is for general discussions related to the game world Etebra.
2218 23.05.2023 13:18:36
by Ze Melinha
Etebra
This board is for general discussions related to the game world Etebra.
Last Post:  23.05.2023 13:18:36
by Ze Melinha
Threads: 18 Posts: 22
Famosa
This board is for general discussions related to the game world Famosa.
222114 16.05.2023 12:03:21
by Doomsday Week
Famosa
This board is for general discussions related to the game world Famosa.
Last Post:  16.05.2023 12:03:21
by Doomsday Week
Threads: 114 Posts: 222
Fera
This board is for general discussions related to the game world Fera.
1,581263 05.06.2023 01:53:23
by Planetary Dome
Fera
This board is for general discussions related to the game world Fera.
Last Post:  05.06.2023 01:53:23
by Planetary Dome
Threads: 263 Posts: 1,581
Ferobra
This board is for general discussions related to the game world Ferobra.
9,1342,693 04.06.2023 21:14:10
by Geber Dall
Ferobra
This board is for general discussions related to the game world Ferobra.
Last Post:  04.06.2023 21:14:10
by Geber Dall
Threads: 2,693 Posts: 9,134
Firmera
This board is for general discussions related to the game world Firmera.
4,7691,429 02.05.2023 03:17:17
by Trenizon
Firmera
This board is for general discussions related to the game world Firmera.
Last Post:  02.05.2023 03:17:17
by Trenizon
Threads: 1,429 Posts: 4,769
Gentebra
This board is for general discussions related to the game world Gentebra.
8,0231,432 05.06.2023 14:31:53
by Lemonene
Gentebra
This board is for general discussions related to the game world Gentebra.
Last Post:  05.06.2023 14:31:53
by Lemonene
Threads: 1,432 Posts: 8,023
Gladera
This board is for general discussions related to the game world Gladera.
2,880792 05.06.2023 13:57:14
by Idiossincrasia
Gladera
This board is for general discussions related to the game world Gladera.
Last Post:  05.06.2023 13:57:14
by Idiossincrasia
Threads: 792 Posts: 2,880
Gravitera
This board is for general discussions related to the game world Gravitera.
139 04.06.2023 20:40:09
by Dawaj Czopke
Gravitera
This board is for general discussions related to the game world Gravitera.
Last Post:  04.06.2023 20:40:09
by Dawaj Czopke
Threads: 9 Posts: 13
Harmonia
This board is for general discussions related to the game world Harmonia.
85,9008,047 04.06.2023 00:04:31
by Grem
Harmonia
This board is for general discussions related to the game world Harmonia.
Last Post:  04.06.2023 00:04:31
by Grem
Threads: 8,047 Posts: 85,900
Havera
This board is for general discussions related to the game world Havera.
357169 10.05.2023 23:04:00
by Baleia Inevitavel
Havera
This board is for general discussions related to the game world Havera.
Last Post:  10.05.2023 23:04:00
by Baleia Inevitavel
Threads: 169 Posts: 357
Honbra
This board is for general discussions related to the game world Honbra.
14,0623,240 06.06.2023 00:31:47
by Nogueirinha Milfenjoyer
Honbra
This board is for general discussions related to the game world Honbra.
Last Post:  06.06.2023 00:31:47
by Nogueirinha Milfenjoyer
Threads: 3,240 Posts: 14,062
Illusera
This board is for general discussions related to the game world Illusera.
13469 15.05.2023 01:01:45
by We Ledor
Illusera
This board is for general discussions related to the game world Illusera.
Last Post:  15.05.2023 01:01:45
by We Ledor
Threads: 69 Posts: 134
Impulsa
This board is for general discussions related to the game world Impulsa.
942246 05.06.2023 11:32:52
by Kyorian Dok
Impulsa
This board is for general discussions related to the game world Impulsa.
Last Post:  05.06.2023 11:32:52
by Kyorian Dok
Threads: 246 Posts: 942
Inabra
This board is for general discussions related to the game world Inabra.
22,5816,853 05.06.2023 13:24:45
by Derre Utobra Bombcinco
Inabra
This board is for general discussions related to the game world Inabra.
Last Post:  05.06.2023 13:24:45
by Derre Utobra Bombcinco
Threads: 6,853 Posts: 22,581
Issobra
This board is for general discussions related to the game world Issobra
8046 10.05.2023 22:53:23
by Baleia Inevitavel
Issobra
This board is for general discussions related to the game world Issobra
Last Post:  10.05.2023 22:53:23
by Baleia Inevitavel
Threads: 46 Posts: 80
Jacabra
This board is for general discussions related to the game world Jacabra.
44 04.06.2023 05:36:57
by Natim Aran
Jacabra
This board is for general discussions related to the game world Jacabra.
Last Post:  04.06.2023 05:36:57
by Natim Aran
Threads: 4 Posts: 4
Kalibra
This board is for general discussions related to the game world Kalibra.
2,938930 02.06.2023 14:48:09
by Fire of Zoy
Kalibra
This board is for general discussions related to the game world Kalibra.
Last Post:  02.06.2023 14:48:09
by Fire of Zoy
Threads: 930 Posts: 2,938
Kardera
This board is for general discussions related to the game world Kardera.
1311 25.04.2023 17:01:34
by Dakayx
Kardera
This board is for general discussions related to the game world Kardera.
Last Post:  25.04.2023 17:01:34
by Dakayx
Threads: 11 Posts: 13
Karna
This board is for general discussions related to the game world Karna.
1,228340 03.06.2023 23:57:07
by Leik Dwer
Karna
This board is for general discussions related to the game world Karna.
Last Post:  03.06.2023 23:57:07
by Leik Dwer
Threads: 340 Posts: 1,228
Libertabra
This board is for general discussions related to the game world Libertabra.
615314 03.05.2023 12:34:24
by Lavadnia Daraedin
Libertabra
This board is for general discussions related to the game world Libertabra.
Last Post:  03.05.2023 12:34:24
by Lavadnia Daraedin
Threads: 314 Posts: 615
Lobera
This board is for general discussions related to the game world Lobera.
10,8581,883 06.06.2023 00:38:06
by Chinese Fighting
Lobera
This board is for general discussions related to the game world Lobera.
Last Post:  06.06.2023 00:38:06
by Chinese Fighting
Threads: 1,883 Posts: 10,858
Luminera
This board is for general discussions related to the game world Luminera.
72,2268,206 05.06.2023 16:00:25
by Sir'Munfa
Luminera
This board is for general discussions related to the game world Luminera.
Last Post:  05.06.2023 16:00:25
by Sir'Munfa
Threads: 8,206 Posts: 72,226
Lutabra
This board is for general discussions related to the game world Lutabra.
5,0031,649 31.05.2023 16:53:01
by Bwby
Lutabra
This board is for general discussions related to the game world Lutabra.
Last Post:  31.05.2023 16:53:01
by Bwby
Threads: 1,649 Posts: 5,003
Marbera
This board is for general discussions related to the game world Marbera.
10754 12.05.2023 02:18:07
by King Povik
Marbera
This board is for general discussions related to the game world Marbera.
Last Post:  12.05.2023 02:18:07
by King Povik
Threads: 54 Posts: 107
Marcia
This board is for general discussions related to the game world Marcia.
405142 04.06.2023 02:29:01
by King Nexxave
Marcia
This board is for general discussions related to the game world Marcia.
Last Post:  04.06.2023 02:29:01
by King Nexxave
Threads: 142 Posts: 405
Menera
This board is for general discussions related to the game world Menera.
55,6876,683 22.05.2023 23:47:22
by Majestic Avatar
Menera
This board is for general discussions related to the game world Menera.
Last Post:  22.05.2023 23:47:22
by Majestic Avatar
Threads: 6,683 Posts: 55,687
Monza
This board is for general discussions related to the game world Monza.
6,3861,264 05.06.2023 08:30:31
by Zbiore Gwizdek
Monza
This board is for general discussions related to the game world Monza.
Last Post:  05.06.2023 08:30:31
by Zbiore Gwizdek
Threads: 1,264 Posts: 6,386
Mudabra
This board is for general discussions related to the game world Mudabra.
202138 23.05.2023 13:33:35
by Danezi (traded)
Mudabra
This board is for general discussions related to the game world Mudabra.
Last Post:  23.05.2023 13:33:35
by Danezi (traded)
Threads: 138 Posts: 202
Mykera
This board is for general discussions related to the game world Mykera.
190110 30.04.2023 11:03:46
by Mario Arfe
Mykera
This board is for general discussions related to the game world Mykera.
Last Post:  30.04.2023 11:03:46
by Mario Arfe
Threads: 110 Posts: 190
Nadora
This board is for general discussions related to the game world Nadora
18391 17.04.2023 15:04:12
by Nyge
Nadora
This board is for general discussions related to the game world Nadora
Last Post:  17.04.2023 15:04:12
by Nyge
Threads: 91 Posts: 183
Nefera
This board is for general discussions related to the game world Nefera.
5,077844 22.05.2023 04:30:46
by Arkangel Hades muerte
Nefera
This board is for general discussions related to the game world Nefera.
Last Post:  22.05.2023 04:30:46
by Arkangel Hades muerte
Threads: 844 Posts: 5,077
Nossobra
This board is for general discussions related to the game world Nossobra.
1,049568 10.05.2023 22:58:56
by Baleia Inevitavel
Nossobra
This board is for general discussions related to the game world Nossobra.
Last Post:  10.05.2023 22:58:56
by Baleia Inevitavel
Threads: 568 Posts: 1,049
Ocebra
This board is for general discussions related to the game world Ocebra.
8567 27.04.2023 19:37:17
by Taary (traded)
Ocebra
This board is for general discussions related to the game world Ocebra.
Last Post:  27.04.2023 19:37:17
by Taary (traded)
Threads: 67 Posts: 85
Olima
This board is for general discussions related to the game world Olima.
23194 04.06.2023 00:02:10
by Leik Dwer
Olima
This board is for general discussions related to the game world Olima.
Last Post:  04.06.2023 00:02:10
by Leik Dwer
Threads: 94 Posts: 231
Ombra
This board is for general discussions related to the game world Ombra.
2,8351,238 06.06.2023 01:28:04
by Guerade
Ombra
This board is for general discussions related to the game world Ombra.
Last Post:  06.06.2023 01:28:04
by Guerade
Threads: 1,238 Posts: 2,835
Optera
This board is for general discussions related to the game world Optera.
217103 28.05.2023 15:17:00
by Robb Sio
Optera
This board is for general discussions related to the game world Optera.
Last Post:  28.05.2023 15:17:00
by Robb Sio
Threads: 103 Posts: 217
Ousabra
This board is for general discussions related to the game world Ousabra.
2623 31.05.2023 20:18:17
by Natim Aran
Ousabra
This board is for general discussions related to the game world Ousabra.
Last Post:  31.05.2023 20:18:17
by Natim Aran
Threads: 23 Posts: 26
Pacera
This board is for general discussions related to the game world Pacera.
107,8607,984 01.06.2023 17:54:12
by Zethum Troll
Pacera
This board is for general discussions related to the game world Pacera.
Last Post:  01.06.2023 17:54:12
by Zethum Troll
Threads: 7,984 Posts: 107,860
Peloria
This board is for general discussions related to the game world Peloria.
27,3813,254 05.06.2023 21:57:35
by Reaper Gofer
Peloria
This board is for general discussions related to the game world Peloria.
Last Post:  05.06.2023 21:57:35
by Reaper Gofer
Threads: 3,254 Posts: 27,381
Premia
This board is for general discussions related to the game world Premia.
205,50717,670 05.06.2023 00:22:16
by Jalapenow
Premia
This board is for general discussions related to the game world Premia.
Last Post:  05.06.2023 00:22:16
by Jalapenow
Threads: 17,670 Posts: 205,507
Quelibra
This board is for general discussions related to the game world Quelibra.
58,63315,256 30.05.2023 19:00:04
by Alika Fearless
Quelibra
This board is for general discussions related to the game world Quelibra.
Last Post:  30.05.2023 19:00:04
by Alika Fearless
Threads: 15,256 Posts: 58,633
Quintera
This board is for general discussions related to the game world Quintera.
20,5238,153 28.05.2023 15:45:01
by Juana Patricia
Quintera
This board is for general discussions related to the game world Quintera.
Last Post:  28.05.2023 15:45:01
by Juana Patricia
Threads: 8,153 Posts: 20,523
Refugia
This board is for general discussions related to the game world Refugia.
91,7899,417 05.06.2023 17:24:04
by Xavi Lion
Refugia
This board is for general discussions related to the game world Refugia.
Last Post:  05.06.2023 17:24:04
by Xavi Lion
Threads: 9,417 Posts: 91,789
Reinobra
This board is for general discussions related to the game world Reinobra.
239156 29.05.2023 02:44:40
by Royal Solix
Reinobra
This board is for general discussions related to the game world Reinobra.
Last Post:  29.05.2023 02:44:40
by Royal Solix
Threads: 156 Posts: 239
Seanera
This board is for general discussions related to the game world Seanera.
491172 19.05.2023 21:35:14
by Anonymous Saint
Seanera
This board is for general discussions related to the game world Seanera.
Last Post:  19.05.2023 21:35:14
by Anonymous Saint
Threads: 172 Posts: 491
Secura
This board is for general discussions related to the game world Secura.
252,66317,363 05.06.2023 22:27:36
by Bzzito
Secura
This board is for general discussions related to the game world Secura.
Last Post:  05.06.2023 22:27:36
by Bzzito
Threads: 17,363 Posts: 252,663
Serdebra
This board is for general discussions related to the game world Serdebra.
41,6919,033 10.05.2023 23:01:25
by Baleia Inevitavel
Serdebra
This board is for general discussions related to the game world Serdebra.
Last Post:  10.05.2023 23:01:25
by Baleia Inevitavel
Threads: 9,033 Posts: 41,691
Solidera
This board is for general discussions related to the game world Solidera.
31,0799,780 03.06.2023 13:49:17
by Du Cris
Solidera
This board is for general discussions related to the game world Solidera.
Last Post:  03.06.2023 13:49:17
by Du Cris
Threads: 9,780 Posts: 31,079
Suna
This board is for general discussions related to the game world Suna.
353102 02.06.2023 02:00:10
by Dawid Walasiak
Suna
This board is for general discussions related to the game world Suna.
Last Post:  02.06.2023 02:00:10
by Dawid Walasiak
Threads: 102 Posts: 353
Syrena
This board is for general discussions related to the game world Syrena.
35776 04.06.2023 15:39:17
by Phantaseyro
Syrena
This board is for general discussions related to the game world Syrena.
Last Post:  04.06.2023 15:39:17
by Phantaseyro
Threads: 76 Posts: 357
Talera
This board is for general discussions related to the game world Talera.
23,7098,240 28.05.2023 15:53:08
by Brayan tata
Talera
This board is for general discussions related to the game world Talera.
Last Post:  28.05.2023 15:53:08
by Brayan tata
Threads: 8,240 Posts: 23,709
Tembra
This board is for general discussions related to the game world Tembra.
201113 18.05.2023 18:13:57
by Mad Tribe Trance
Tembra
This board is for general discussions related to the game world Tembra.
Last Post:  18.05.2023 18:13:57
by Mad Tribe Trance
Threads: 113 Posts: 201
Thyria
This board is for general discussions related to the game world Thyria.
2,267514 04.06.2023 20:11:19
by Jamakabi
Thyria
This board is for general discussions related to the game world Thyria.
Last Post:  04.06.2023 20:11:19
by Jamakabi
Threads: 514 Posts: 2,267
Trona
This board is for general discussions related to the game world Trona.
14269 17.04.2023 15:02:56
by Mirunga
Trona
This board is for general discussions related to the game world Trona.
Last Post:  17.04.2023 15:02:56
by Mirunga
Threads: 69 Posts: 142
Utobra
This board is for general discussions related to the game world Utobra.
514241 30.05.2023 03:12:04
by Oceana Gihani
Utobra
This board is for general discussions related to the game world Utobra.
Last Post:  30.05.2023 03:12:04
by Oceana Gihani
Threads: 241 Posts: 514
Venebra
This board is for general discussions related to the game world Venebra.
1,255429 31.05.2023 00:01:18
by Srbotelho
Venebra
This board is for general discussions related to the game world Venebra.
Last Post:  31.05.2023 00:01:18
by Srbotelho
Threads: 429 Posts: 1,255
Versa
This board is for general discussions related to the game world Versa.
13253 17.05.2023 19:30:00
by Nozer
Versa
This board is for general discussions related to the game world Versa.
Last Post:  17.05.2023 19:30:00
by Nozer
Threads: 53 Posts: 132
Visabra
This board is for general discussions related to the game world Visabra.
151110 09.05.2023 06:30:31
by Palesta Yuya
Visabra
This board is for general discussions related to the game world Visabra.
Last Post:  09.05.2023 06:30:31
by Palesta Yuya
Threads: 110 Posts: 151
Vitera
This board is for general discussions related to the game world Vitera.
1710 02.04.2023 04:05:02
by Siir Carrito
Vitera
This board is for general discussions related to the game world Vitera.
Last Post:  02.04.2023 04:05:02
by Siir Carrito
Threads: 10 Posts: 17
Vunira
This board is for general discussions related to the game world Vunira.
30,7623,854 05.06.2023 23:48:57
by Mathias Bynens
Vunira
This board is for general discussions related to the game world Vunira.
Last Post:  05.06.2023 23:48:57
by Mathias Bynens
Threads: 3,854 Posts: 30,762
Wintera
This board is for general discussions related to the game world Wintera.
20,5893,719 06.06.2023 00:35:34
by Blu grooves
Wintera
This board is for general discussions related to the game world Wintera.
Last Post:  06.06.2023 00:35:34
by Blu grooves
Threads: 3,719 Posts: 20,589
Wizera
This board is for general discussions related to the game world Wizera.
681339 13.05.2023 21:58:44
by King Pibe
Wizera
This board is for general discussions related to the game world Wizera.
Last Post:  13.05.2023 21:58:44
by King Pibe
Threads: 339 Posts: 681
Xandebra
This board is for general discussions related to the game world Xandebra.
2,774949 28.05.2023 15:43:47
by Maria iguana
Xandebra
This board is for general discussions related to the game world Xandebra.
Last Post:  28.05.2023 15:43:47
by Maria iguana
Threads: 949 Posts: 2,774
Yonabra
This board is for general discussions related to the game world Yonabra.
1,367402 20.05.2023 19:18:30
by Fulkory
Yonabra
This board is for general discussions related to the game world Yonabra.
Last Post:  20.05.2023 19:18:30
by Fulkory
Threads: 402 Posts: 1,367
Zenobra
This board is for general discussions related to the game world Zenobra.
1,479675 26.05.2023 18:17:44
by Forck
Zenobra
This board is for general discussions related to the game world Zenobra.
Last Post:  26.05.2023 18:17:44
by Forck
Threads: 675 Posts: 1,479
Zuna
This board is for general discussions related to the game world Zuna.
806319 03.04.2023 03:23:23
by Siir Carrito
Zuna
This board is for general discussions related to the game world Zuna.
Last Post:  03.04.2023 03:23:23
by Siir Carrito
Threads: 319 Posts: 806
Zunera
This board is for general discussions related to the game world Zunera.
2,277538 22.05.2023 17:04:10
by King Povik
Zunera
This board is for general discussions related to the game world Zunera.
Last Post:  22.05.2023 17:04:10
by King Povik
Threads: 538 Posts: 2,277
All times are CEST
New Posts
Closed Board
+
+
+
+
+
+
+ +
+
+
+

Get Supplies Anywhere!

+
+
go to postJun 05 2023 10:32:27
go to postJun 05 2023 08:50:37
go to postJun 02 2023 15:47:04
go to postJun 02 2023 10:49:20
+
+
+ +
+
+ +
+ +
+
+
+
+ +
Our website makes use of cookies (sadly not the delicious, crumbly ones) and similar technologies. If you accept them, we share information with our partners for social media, advertising and analysis.

Please let us know which cookies we can use.
Manage Cookies
Accept All
Manage Cookies

Necessary

These cookies are required in order for our website to function (e.g. logging in). If you set your browser to block or alert you about these cookies, some parts of the website might not work.

Targeting and Advertising

Advertisers and other content providers that may appear on our website may also use cookies that are not sent by us. Such advertisements or content may use cookies to help track and target the interests of users of the website to present customised and personalised advertisements or other messages that the user might find interesting. We also use these cookies and so-called Tracking Pixels of our partners to measure and improve the effectiveness of marketing campaigns. (Facebook Tracking Pixel)

Social Media

These cookies enable the website to provide enhanced functionality and personalisation. They may be set by third-party providers (like social networks or streaming platforms) whose services we use on the website. If you do not allow these cookies, some or all of these services may not function properly. (Twitter, YouTube, Facebook)

Close
Save Settings
Accept All

+ \ No newline at end of file diff --git a/src/webserver.go b/src/webserver.go index bb84c5a1..75c4d1e6 100644 --- a/src/webserver.go +++ b/src/webserver.go @@ -200,6 +200,9 @@ func runWebServer() { // Tibia worlds v4.GET("/world/:name", tibiaWorldsWorld) v4.GET("/worlds", tibiaWorldsOverview) + + // Tibia forums + v4.GET("/forum/section/:name", tibiaForumSection) } // Container version details endpoint @@ -1063,6 +1066,36 @@ func tibiaWorldsWorld(c *gin.Context) { "TibiaWorldsWorld") } +// Forum godoc +// @Summary Show one section +// @Description Show all information about one section +// @Tags forums +// @Accept json +// @Produce json +// @Param name path string true "The name of section" extensions(x-example=worldboards) +// @Success 200 {object} ForumSectionResponse +// @Failure 400 {object} Information +// @Failure 404 {object} Information +// @Failure 503 {object} Information +// @Router /v4/forum/section/{name} [get] +func tibiaForumSection(c *gin.Context) { + // getting params from URL + name := c.Param("name") + + tibiadataRequest := TibiaDataRequestStruct{ + Method: resty.MethodGet, + URL: "https://www.tibia.com/forum/?subtopic=" + TibiaDataForumNameValidator(name), + } + + tibiaDataRequestHandler( + c, + tibiadataRequest, + func(BoxContentHTML string) (interface{}, error) { + return TibiaForumSectionImpl(BoxContentHTML) + }, + "TibiaForumSectionImpl") +} + func TibiaDataErrorHandler(c *gin.Context, err error, httpCode int) { if err == nil { panic(errors.New("TibiaDataErrorHandler called with nil err")) diff --git a/src/webserver_test.go b/src/webserver_test.go index f8a22407..8cf6059d 100644 --- a/src/webserver_test.go +++ b/src/webserver_test.go @@ -1,283 +1,286 @@ -package main - -import ( - "errors" - "net/http" - "net/http/httptest" - "testing" - - "github.com/TibiaData/tibiadata-api-go/src/validation" - "github.com/gin-gonic/gin" - "github.com/stretchr/testify/assert" -) - -var _ = func() bool { - testing.Init() - return true -}() - -func TestFakeToUpCodeCoverage(t *testing.T) { - gin.SetMode(gin.TestMode) - - // adding support for proxy for tests - if isEnvExist("TIBIADATA_PROXY") { - TibiaDataProxyDomain = "https://" + getEnv("TIBIADATA_PROXY", "www.tibia.com") + "/" - } - - w := httptest.NewRecorder() - c, _ := gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "name", - Value: "Durin", - }, - } - - assert := assert.New(t) - - tibiaBoostableBosses(c) - assert.Equal(http.StatusOK, w.Code) - - tibiaCharactersCharacter(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - tibiaCreaturesOverview(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "race", - Value: "demon", - }, - } - - tibiaCreaturesCreature(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - tibiaFansites(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "name", - Value: "pax", - }, - } - - tibiaGuildsGuild(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "world", - Value: "antica", - }, - } - - tibiaGuildsOverview(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "world", - Value: "antica", - }, - { - Key: "category", - Value: "experience", - }, - { - Key: "vocation", - Value: "sorcerer", - }, - { - Key: "page", - Value: "4", - }, - } - - tibiaHighscores(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "world", - Value: "antica", - }, - { - Key: "house_id", - Value: "59054", - }, - } - - tibiaHousesHouse(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "world", - Value: "antica", - }, - { - Key: "town", - Value: "venore", - }, - } - - tibiaHousesOverview(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "world", - Value: "antica", - }, - } - - tibiaKillstatistics(c) - assert.Equal(http.StatusOK, w.Code) - - assert.False(false, tibiaNewslistArchive()) - assert.False(false, tibiaNewslistArchiveDays()) - assert.False(false, tibiaNewslistLatest()) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "days", - Value: "90", - }, - } - - tibiaNewslist(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "news_id", - Value: "6607", - }, - } - - tibiaNews(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "vocation", - Value: "sorcerer", - }, - } - - tibiaSpellsOverview(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "spell_id", - Value: "exori", - }, - } - - tibiaSpellsSpell(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - tibiaWorldsOverview(c) - assert.Equal(http.StatusOK, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - c.Params = []gin.Param{ - { - Key: "name", - Value: "antica", - }, - } - - tibiaWorldsWorld(c) - assert.Equal(http.StatusOK, w.Code) - - assert.Equal("TibiaData-API/v4 (release/unknown; build/manual; commit/-; edition/open-source; unittest.example.com)", TibiaDataUserAgentGenerator(TibiaDataAPIversion)) - - healthz(c) - assert.Equal(http.StatusOK, w.Code) - - readyz(c) - assert.Equal(http.StatusOK, w.Code) - - type test struct { - T string `json:"t"` - } - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - - TibiaDataAPIHandleResponse(c, "", test{T: "abc"}) - assert.Equal(http.StatusOK, w.Code) -} - -func TestErrorHandler(t *testing.T) { - assert := assert.New(t) - w := httptest.NewRecorder() - c, _ := gin.CreateTestContext(w) - TibiaDataErrorHandler(c, errors.New("test error"), http.StatusBadRequest) - assert.Equal(http.StatusBadRequest, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - TibiaDataErrorHandler(c, validation.ErrorAlreadyRunning, 0) - assert.Equal(http.StatusInternalServerError, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - TibiaDataErrorHandler(c, validation.ErrorCharacterNameInvalid, 0) - assert.Equal(http.StatusBadRequest, w.Code) - - w = httptest.NewRecorder() - c, _ = gin.CreateTestContext(w) - TibiaDataErrorHandler(c, errors.New("test error"), 0) - assert.Equal(http.StatusBadGateway, w.Code) -} +package main + +import ( + "errors" + "net/http" + "net/http/httptest" + "testing" + + "github.com/TibiaData/tibiadata-api-go/src/validation" + "github.com/gin-gonic/gin" + "github.com/stretchr/testify/assert" +) + +var _ = func() bool { + testing.Init() + return true +}() + +func TestFakeToUpCodeCoverage(t *testing.T) { + gin.SetMode(gin.TestMode) + + // adding support for proxy for tests + if isEnvExist("TIBIADATA_PROXY") { + TibiaDataProxyDomain = "https://" + getEnv("TIBIADATA_PROXY", "www.tibia.com") + "/" + } + + w := httptest.NewRecorder() + c, _ := gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "name", + Value: "Durin", + }, + } + + assert := assert.New(t) + + tibiaBoostableBosses(c) + assert.Equal(http.StatusOK, w.Code) + + tibiaCharactersCharacter(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + tibiaCreaturesOverview(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "race", + Value: "demon", + }, + } + + tibiaCreaturesCreature(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + tibiaFansites(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "name", + Value: "pax", + }, + } + + tibiaGuildsGuild(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "world", + Value: "antica", + }, + } + + tibiaGuildsOverview(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "world", + Value: "antica", + }, + { + Key: "category", + Value: "experience", + }, + { + Key: "vocation", + Value: "sorcerer", + }, + { + Key: "page", + Value: "4", + }, + } + + tibiaHighscores(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "world", + Value: "antica", + }, + { + Key: "house_id", + Value: "59054", + }, + } + + tibiaHousesHouse(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "world", + Value: "antica", + }, + { + Key: "town", + Value: "venore", + }, + } + + tibiaHousesOverview(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "world", + Value: "antica", + }, + } + + tibiaKillstatistics(c) + assert.Equal(http.StatusOK, w.Code) + + assert.False(false, tibiaNewslistArchive()) + assert.False(false, tibiaNewslistArchiveDays()) + assert.False(false, tibiaNewslistLatest()) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "days", + Value: "90", + }, + } + + tibiaNewslist(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "news_id", + Value: "6607", + }, + } + + tibiaNews(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "vocation", + Value: "sorcerer", + }, + } + + tibiaSpellsOverview(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "spell_id", + Value: "exori", + }, + } + + tibiaSpellsSpell(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + tibiaWorldsOverview(c) + assert.Equal(http.StatusOK, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + c.Params = []gin.Param{ + { + Key: "name", + Value: "antica", + }, + } + + tibiaWorldsWorld(c) + assert.Equal(http.StatusOK, w.Code) + + tibiaForumSection(c) + assert.Equal(http.StatusOK, w.Code) + + assert.Equal("TibiaData-API/v4 (release/unknown; build/manual; commit/-; edition/open-source; unittest.example.com)", TibiaDataUserAgentGenerator(TibiaDataAPIversion)) + + healthz(c) + assert.Equal(http.StatusOK, w.Code) + + readyz(c) + assert.Equal(http.StatusOK, w.Code) + + type test struct { + T string `json:"t"` + } + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + + TibiaDataAPIHandleResponse(c, "", test{T: "abc"}) + assert.Equal(http.StatusOK, w.Code) +} + +func TestErrorHandler(t *testing.T) { + assert := assert.New(t) + w := httptest.NewRecorder() + c, _ := gin.CreateTestContext(w) + TibiaDataErrorHandler(c, errors.New("test error"), http.StatusBadRequest) + assert.Equal(http.StatusBadRequest, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + TibiaDataErrorHandler(c, validation.ErrorAlreadyRunning, 0) + assert.Equal(http.StatusInternalServerError, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + TibiaDataErrorHandler(c, validation.ErrorCharacterNameInvalid, 0) + assert.Equal(http.StatusBadRequest, w.Code) + + w = httptest.NewRecorder() + c, _ = gin.CreateTestContext(w) + TibiaDataErrorHandler(c, errors.New("test error"), 0) + assert.Equal(http.StatusBadGateway, w.Code) +}