Shade wrote: ↑Mon Feb 06, 2023 8:59 am
And thanks everyone else for your feedback! I cant change API related stuff on my end, but your feedback doesnt go unnoticed.
So far I fixed some visual bugs that appeared after integrating the Server Browser in UT99.org.
Behind the scenes, @Shade and I have been working on some of the bugs and unexpected behaviour that you mentioned in this thread. A quick summary of the fixes and issues so far.
- No wildcards for game type seem to be used: e.g. "MonsterhuntFix" or "MonsterhuntSB" are not listed.
They do now, as long as they have the word "Monsterhunt" in them.
- The Deathmatch tab comes up empty
DeathMatchPlus. Silly me. Same fix as MH above^
- Even on servers that are explicitly private, Requires Password is reported as Disabled (when that is obviously not the case)
This one is not fixable for now until I have more information on what servers do this. The api uses 333nw masterserver data, which means either the master missed this (different field name?) or that these servers have some 3rd party mod for this. More information required and keeping this open as bug report.
- For individual servers it does not appear possible to use the Name, Frags, Ping etc tabs to sort from highest to lowest - clicking on the tab header has no effect (unlike with the in-game UBrowser or XBrowser).
Letylove49 wrote: ↑Sat Feb 04, 2023 7:56 pm
i have a bug : look the screenshot :
When discussing how to embed this server browser with Shade, I would normally advocate that it is good practice to outline your code to be readable. In this case, that introduced spaces and newlines between html tags. Browsers ignore double spaces, but the single space can just be enough to push the UBrowser tab, frame or even map thumbnail out of the frame and force it to be newlined. This was resolved by pasting the code as one, big, unreadable blob of text, without spaces between the tags. Not nice, but function over fashion.
Some browsers cache for faster loading times. Since the html code was changed, you will need to clear your cache and reload (Ctrl+Shift+R) for those changes to be visible. Try it and let us know whether that worked.
As always, if you have questions, issues or suggestions, feel free to share them here or in either the ut99.org