MarkMods Forums

  • 22 September 2019
     
    Advanced search  
  • Welcome, Guest
Please login or register.         Login with username, password and session length
Pages: [1]   Go Down

Author Topic: Instruction manual install Server List Fix  (Read 4845 times)

Mark

  • Administrator
  • Active Forum Member
  • *
  • Offline Offline
  • Posts: 1.051
    • View Profile
    • MarkMods
Instruction manual install Server List Fix
« on: 09 December 2012 »

How to manually enable the MainServerList Fix.
 
1. Make sure MMServerList.u is in your Content\System directory.
2. Edit SwatGui.ini, as mentioned below:

Modify: [SwatMainMenu]
Remove lines:
Code: [Select]
MyJoinButton=GUIButton'Transient.SwatMainMenu_joinserver'
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_joinserver")

Add lines:
Code: [Select]
ControlSpecs=(ClassName="DownloadMod.DLTimeOut",ObjName="SwatMainMenu_DLTimeOut")
ControlSpecs=(ClassName="MMServerList.JoinServerBtn",ObjName="SwatMainMenu_joinserver")

Add at bottom:

Code: [Select]
[MMServerBrowserMenu]
MyQuitButton=GUIButton'Transient.SwatMainMenu_TextQuitButton'
MyMainMenuButton=GUIButton'Transient.SwatCampaignMenu_MainMenuButton'
StartButton=GUIButton'Transient.SwatServerBrowserMenu_JoinServerButton'
MyUpdateButton=GUIButton'Transient.SwatServerBrowserMenu_MP_UPDATE'
MyFiltersButton=GUIButton'Transient.SwatServerBrowserMenu_mp_filters'
MyJoinIPButton=GUIButton'Transient.SwatServerBrowserMenu_mp_joinip'
MyFilterAllButton=GUIButton'Transient.MMServerBrowserMenu_FILTER_ALL'
MyFilterBSButton=GUIButton'Transient.MMServerBrowserMenu_FILTER_BS'
MyFilterVIPButton=GUIButton'Transient.MMServerBrowserMenu_FILTER_VIP'
MyFilterSAGButton=GUIButton'Transient.MMServerBrowserMenu_FILTER_SAG'
MyFilterCOOPButton=GUIButton'Transient.MMServerBrowserMenu_FILTER_COOP'
MyFilterFFAButton=GUIButton'Transient.MMServerBrowserMenu_FILTER_FFA'
MyFilterRDButton=GUIButton'Transient.MMServerBrowserMenu_FILTER_RD'
MyNameBox=GUIEditBox'Transient.SwatServerBrowserMenu_NameBox'
MyServerListBox=GUIMultiColumnListBox'Transient.SwatServerBrowserMenu_mpserverlist'
ModLabel=GUILabel'Transient.SwatServerBrowserMenu_ModLabel'
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatCampaignMenu_MainMenuButton")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatServerBrowserMenu_JoinServerButton")
ControlSpecs=(ClassName="GUI.GUIEditBox",ObjName="SwatServerBrowserMenu_NameBox")
ControlSpecs=(ClassName="GUI.GUILabel",ObjName="SwatServerBrowserMenu_NameLabel")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatServerBrowserMenu_MP_UPDATE")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatServerBrowserMenu_mp_joinip")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatServerBrowserMenu_mp_filters")
ControlSpecs=(ClassName="GUI.GUIMultiColumnListBox",ObjName="SwatServerBrowserMenu_mpserverlist")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_TextQuitButton")
ControlSpecs=(ClassName="GUI.GUIImage",ObjName="SwatServerBrowserMenu_bottomimage")
ControlSpecs=(ClassName="GUI.GUIImage",ObjName="SwatServerBrowserMenu_topimage")
ControlSpecs=(ClassName="GUI.GUILabel",ObjName="SwatServerBrowserMenu_joingametitlelabel")
ControlSpecs=(ClassName="GUI.GUIImage",ObjName="SwatServerBrowserMenu_backgreyimage")
ControlSpecs=(ClassName="GUI.GUILabel",ObjName="SwatServerBrowserMenu_ModLabel")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="MMServerBrowserMenu_FILTER_ALL")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="MMServerBrowserMenu_FILTER_BS")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="MMServerBrowserMenu_FILTER_VIP")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="MMServerBrowserMenu_FILTER_SAG")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="MMServerBrowserMenu_FILTER_COOP")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="MMServerBrowserMenu_FILTER_FFA")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="MMServerBrowserMenu_FILTER_RD")
ControlSpecs=(ClassName="GUI.GUILabel",ObjName="MMServerBrowserMenu_powerby")
bBoundToParent=False
bScaleToParent=False

[MMServerBrowserMenu_FILTER_COOP]
Caption=CO-OP
StyleName=sty_basicbutton
WinTop=0.158855
WinLeft=0.695956
WinWidth=0.078125
WinHeight=0.026042
Hint=Display CO-OP game servers
RenderWeight=0.478261

[MMServerBrowserMenu_FILTER_BS]
Caption=Barricaded Suspects
StyleName=sty_basicbutton
WinTop=0.158855
WinLeft=0.437132
WinWidth=0.078125
WinHeight=0.026042
Hint=Display Barricaded Suspects game servers
RenderWeight=0.478261

[MMServerBrowserMenu_FILTER_VIP]
Caption=VIP Escort
StyleName=sty_basicbutton
WinTop=0.158855
WinLeft=0.523897
WinWidth=0.078125
WinHeight=0.026042
Hint=Display VIP Escort game servers
RenderWeight=0.478261

[MMServerBrowserMenu_FILTER_SAG]
Caption=Smash And Grab
StyleName=sty_basicbutton
WinTop=0.158855
WinLeft=0.609927
WinWidth=0.078125
WinHeight=0.026042
Hint=Display Smash And Grab game servers
RenderWeight=0.478261

[MMServerBrowserMenu_FILTER_FFA]
Caption=Free For All
StyleName=sty_basicbutton
WinTop=0.158855
WinLeft=0.781986
WinWidth=0.078125
WinHeight=0.026042
Hint=Display Free For All game servers
RenderWeight=0.478261

[MMServerBrowserMenu_FILTER_RD]
Caption=Rapid Deployment
StyleName=sty_basicbutton
WinTop=0.158855
WinLeft=0.868015
WinWidth=0.078125
WinHeight=0.026042
Hint=Display Rapid Deployment game servers
RenderWeight=0.478261

[MMServerBrowserMenu_FILTER_ALL]
Caption=ALL
StyleName=sty_basicbutton
WinTop=0.158855
WinLeft=0.350368
WinWidth=0.078125
WinHeight=0.026042
Hint=Display all game servers
RenderWeight=0.478261

[MMServerBrowserMenu_powerby]
Caption=SWAT 4 Main Server List Powered by MarkMods.com Visit [url=http://www.markmods.com]www.markmods.com[/url] and download the mod to add your server to the list!
bMultiLine=True
WinTop=0.800072
WinLeft=0.637155
WinWidth=0.336443
WinHeight=0.070117
« Last Edit: 09 December 2012 by MarkieBoy »
Logged

Mark

  • Administrator
  • Active Forum Member
  • *
  • Offline Offline
  • Posts: 1.051
    • View Profile
    • MarkMods
Re: Instruction manual install Server List Fix
« Reply #1 on: 09 December 2012 »

Ah, Thanks. I missed that one indeed. Added it :)

Quote
Btw, with future updates it will be enough to update only file MMServerList.u, right?


No. Updates may be made to SwatGui.ini as well.

FoX|Mig

  • Forum Member
  • *
  • Offline Offline
  • Posts: 24
    • View Profile
Re: Instruction manual install Server List Fix
« Reply #2 on: 10 December 2012 »

I also found that when modifing section [SwatMainMenu] the order of inserted lines is important. E.g. when I placed the line
Code: [Select]
ControlSpecs=(ClassName="MMServerList.JoinServerBtn",ObjName="SwatMainMenu_joinserver")in the end of section, it did not work. So example of my working section is:
Code: [Select]
[SwatMainMenu]
MyInstantActionButton=GUIButton'Transient.SwatMainMenu_InstantActionButton'
MyTrainingButton=GUIButton'Transient.SwatMainMenu_TrainingButton'
MyCampaignButton=GUIButton'Transient.SwatMainMenu_CampaignButton'
MyPlayCustomButton=GUIButton'Transient.SwatMainMenu_playcustombutton'
MyCustomMissionButton=GUIButton'Transient.SwatMainMenu_CustomMissionButton'
MyHostButton=GUIButton'Transient.SwatMainMenu_hostserver'
MyGameSettingsButton=GUIButton'Transient.SwatMainMenu_GameSettingsButton'
MyCreditsButton=GUIButton'Transient.SwatMainMenu_CreditsButton'
MyQuitButton=GUIButton'Transient.SwatMainMenu_TextQuitButton'
CameraPositionLabel=MainMenuScene
HelpText=GUILabel'Transient.SwatHelpText'
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_TextQuitButton")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_GameSettingsButton")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_CustomMissionButton")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_CampaignButton")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_InstantActionButton")
ControlSpecs=(ClassName="MMServerList.JoinServerBtn",ObjName="SwatMainMenu_joinserver")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_hostserver")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_TrainingButton")
ControlSpecs=(ClassName="GUI.GUIImage",ObjName="SwatMainMenu_bottomblack")
ControlSpecs=(ClassName="GUI.GUIImage",ObjName="SwatMainMenu_topblack")
ControlSpecs=(ClassName="GUI.GUILabel",ObjName="SwatMainMenu_MPHeading")
ControlSpecs=(ClassName="GUI.GUIImage",ObjName="SwatMainMenu_Swat4Logo")
ControlSpecs=(ClassName="GUI.GUILabel",ObjName="SwatMainMenu_spgamelabel")
ControlSpecs=(ClassName="GUI.GUIImage",ObjName="SwatMainMenu_linebreak")
ControlSpecs=(ClassName="GUI.GUIImage",ObjName="SwatMainMenu_linebreakb")
ControlSpecs=(ClassName="GUI.GUIImage",ObjName="SwatMainMenu_linebreakc")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_playcustombutton")
ControlSpecs=(ClassName="GUI.GUILabel",ObjName="SwatMainMenu_quickmissionlabel")
ControlSpecs=(ClassName="GUI.GUIImage",ObjName="SwatMainMenu_linebreakd")
ControlSpecs=(ClassName="GUI.GUIButton",ObjName="SwatMainMenu_CreditsButton")
ControlSpecs=(ClassName="DownloadMod.DLTimeOut",ObjName="SwatMainMenu_DLTimeOut")
bBoundToParent=False
bScaleToParent=False

And one hint - maybe you could add MMServerList.u as a separate downloadable file to the web. Now everyone must first install ACM to some instance of SWAT, extract the file from it and then copy it to his ACM-free SWAT folder. Until it is added, I placed it to our host (hope u dont mind Mark - I will remove it and link to your web as soon as it is there   ;) )
Pages: [1]   Go Up