Page 1 of 1

Monsterhunt tab.

Posted: Mon Apr 19, 2021 6:30 pm
by prime
Hi all,

Using UT v469, but happened in previous versions too..... If I go to the "find internet games" click on "UT Servers" I get a big long list of servers.....however there is never anything populated in the "Monster Hunt" gametype tab even though there are mosnterhunt severs listed in the main server list.....

Is there any way to fix this?

Cheers.

Phill.

Re: Monsterhunt tab.

Posted: Wed Apr 21, 2021 6:20 am
by Eternity
This means UBrowser settings in UnrealTournament.ini are not properly edited...
Also, need to keep in mind that all UT99 versions, including v469b, have a case sensitivity issue in UBrowser... For this reason in order to make sure all the servers are listed in the servers browser, you have to specify at least 3 possible cases in the ListFactories array. For example:

[UBrowserMH]
ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=MonsterHunt,bCompatibleServersOnly=True
ListFactories[1]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=Monsterhunt,bCompatibleServersOnly=True
ListFactories[2]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=monsterhunt,bCompatibleServersOnly=True
ListFactories[3]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=MonsterHuntSB,bCompatibleServersOnly=True
ListFactories[4]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=MonsterHuntFix,bCompatibleServersOnly=True
ListFactories[5]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=MonsterHuntArena,bCompatibleServersOnly=True


Additionally can add a modifications as MonsterHuntSB, because the GameType parameter in UBrowser is a pure String type variable and has nothing to do with the class references or the names.

Re: Monsterhunt tab.

Posted: Wed Apr 21, 2021 7:46 am
by []KAOS[]Casey
sounds like the case insensitive string equality operator should be used here if that's the case

Re: Monsterhunt tab.

Posted: Wed Apr 21, 2021 8:00 am
by Eternity
[]KAOS[]Casey wrote: Wed Apr 21, 2021 7:46 am sounds like the case insensitive string equality operator should be used here if that's the case
Yes...
https://madrixis.de/undox/Source_ubrows ... ct.html#95
If there is no any specific reason to use case sensitive operator there, then it can be fixed, by replacing " GameType != L.GameType " to " !(GameType ~= L.GameType) ".