Download here BrowserFix.zip
Usage
1) Edit User.ini file.
2) Replace the default RulesListBoxClass with "BrowserFix.BrowserFix" class. Example
[GUI2K4.UT2k4Browser_ServerListPageInternet]
;RulesListBoxClass=GUI2K4.UT2K4Browser_RulesListBox
RulesListBoxClass=BrowserFix.BrowserFix
[GUI2K4.UT2k4Browser_ServerListPageFavorites]
;RulesListBoxClass=GUI2K4.UT2K4Browser_RulesListBox
RulesListBoxClass=BrowserFix.BrowserFix
[GUI2K4.UT2k4Browser_ServerListPageLAN]
;RulesListBoxClass=GUI2K4.UT2K4Browser_RulesListBox
RulesListBoxClass=BrowserFix.BrowserFix
[GUI2K4.UT2k4Browser_ServerListPageBuddy]
;RulesListBoxClass=GUI2K4.UT2K4Browser_RulesListBox
RulesListBoxClass=BrowserFix.BrowserFix
Since this is adding an unknown class, it will probably get flagged by antitcc. Hopefully we can get this whitelisted.
here is the code
Code: Select all
// work around netspeed > 10000 issue with server list
class BrowserFix extends UT2K4Browser_RulesListBox;
var int SavedNetSpeed;
function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
Super.Initcomponent(MyController, MyOwner);
SavedNetSpeed=class'Engine.Player'.default.ConfiguredInternetSpeed;
PlayerOwner().ConsoleCommand("netspeed 9999");
}
event Free()
{
PlayerOwner().ConsoleCommand("netspeed "$SavedNetSpeed);
super.Free();
}
defaultproperties
{
}