Go Back   The Gamer Planet Forums > Game / Server Forums > Other Multi-Player Games > SWAT Series
Reply
 
Thread Tools Display Modes

Community Server Admin Document.
  #1  
Old 04-18-2005, 10:11 AM
Frijole
 
Posts: n/a
Community Server Admin Document.

There's a few admins on the VU SWAT boards that have been pooling together resources to develop an admin doc for SWAT 4.

Guy that goes by [:FI:]FlimFlam is the distributer, and he was looking for mirrors, so I'm going to try and keep it updated in this thread. As new versions come out, I'll update here.



Swat4 Server Resource and Information

Updated: 04-17-2005

This document is collected from the Swat 4 official forums and individual Swat 4 Server Admin contributions. Itís meant to be a collection of information, trick and tips to aid admins in setting up and managing their servers. Some of this information is from the Multiplayer Beta, other is extrapolated from Unreal Engine management tricks. Not everything in here has been tested and guaranteed to work. But it is the best that the community has come up with so far. If you find something that isnít in here please let us know and weíll be glad to add it. Likewise if you find something that doesnít work let us know. If itís verified that it does not it will be removed as invalid information. Thanks, [:FI:]FlimFlam.

I. Server Setup


Server Ports

From Swat4 Readme.txt
outgoing UDP and TCP traffic must be
enabled without restriction, and all UDP traffic (incoming and outgoing) on
ports 10480, 10481, 10482, and 10483 must be forwarded through to the hosting
computer.

Many commercial firewalls have an option to place particular computers in the
"DMZ", which disables network filtering and meets these requirements. If you are
having problems hosting behind a firewall, it is suggested that you try placing
your computer in the DMZ while hosting.

Users running Windows XP with Service Pack 2 may experience a warning from the
Windows XP software firewall when hosting a server. If given the option,
they must tell Windows XP NOT to block traffic for SWAT4.exe, or else they will
not be able to host a network game.

Dedicated Server Setup

http://community.vugames.com/WebX?14...9249@.1dd984ff
FI_FlimFlam - 03:35pm Apr 10, 2005 PST
Essentially all you have to do is go into your local copy of the swat game and then choose host. Set up the server you want. Choose your server name, the gametype, maps, time limits, adminlogin, and such. Unless you like waiting along time between maps waiting on people to ready up you might want to reduce the time between rounds and the Mission Ready Time to under 1:00. Also unless you are setting this up for a LAN, then you want to change the "LAN/Internet" to "Internet". Then click on the "Launch As Dedicated Server" box. When you have everything set how you like, launch the dedicated server. This will save the configuration you have set and actually start the dedicated server. You will see a SWAT4 icon in the bottom right of the screen by the timeclock. You can right click on it and open the server console, or open the advanced options, or shutdown the dedicated server.
If you are launching the server on your local box, then all you have to do is foward the ports that are listed in the readme.txt file to that cpu. Otherwise shut down the dedicated server (see above), and copy/upload the entire SWAT install directory to your hosting box. This will be easier if you compress it to a .zip or .rar file - it's only about 800MB.

Finally on the remote box, launch the dedcated server .exe file to start the dedicated server. To change server setup, I think you can just login from the settings in game and change the server to however you want.

If you want to change the gametypes, then you will have to change the settings locally and then upload the files that have changed. Probably the DedicatedServer.ini and the SwatGUIState.ini and the Swat4.ini but there may be more. Just go into Windows Explorer in the install directory under Content\System and sort by date time and look for the modified files. Then upload those to your dedicated server. I have made addittional directories under the toplevel swat directory that contain configs for each gameplay type (VIP, COOP, Barricaded Sus, and Rapid Dep) and if I want to change modes, I just shutdown the dedicated server, copy the configs out of those into the system directory, and restart.

Another thing to keep in mind if you want to run multiple servers you need to do a couple of things. Copy or extract all the files into a second SWAT4 directory like "SWAT4 DS2". Next you need set the server ports at least 4 ports apart. For example the dedicated server default port in the Swat4DedicatedServer.ini under the [url] section from 10480 to 10484 for the second server. Then you should be good to go for the second server.

Setting Dedcated Server Admin Password

http://community.vugames.com/WebX?14...9270@.1dd98df8
FI_FlimFlam - 06:43am Apr 12, 2005 PST
SwatGUIState.ini. Open it in a text editor and hit ctrl-F for search and look for "password" should be near the end of the document.

Autodownload Activation
http://community.vugames.com/WebX?14...9261@.1dd9879a
[icarus_uk] 11:32am Apr 7, 2005
I'm told there is a bug in the ini files that stops the server map download from working. The following changes should re-activated the autodownload feature so clients can download custom maps from a server;
In SWAT4.ini
[IpDrv.TcpNetDriver] AllowDownloads=False
Needs to be changed to;
[IpDrv.TcpNetDriver] AllowDownloads=True
This needs to be done on the client as well, so you can autodownload maps.
Those running a dedicated server, the fix should be applied to the Swat4DedicatedServer.ini file as well.
These simple fixes should activate autodownload, let me know if they work.
Thanks go to Neo, who made me aware of the problem. Hopefully this can get set true as default in a upcoming patch.

8 to 10 man Coop servers (and higher adver player count)

http://community.vugames.com/WebX?14...9252@.1dd9907a
Tactical Gamerz, quoted from www.swat-4.com
Here is the process: Edit your SwatGUIState.ini file by changing all the necessary settings for cooperative gameplay and choose your maps. Next you must set the MaxPlayers=10 and then change the properties of the file to READ ONLY.

Custom Missions Online

http://community.vugames.com/WebX?14...9247@.1dd98cf2
C06alt - 06:10am Apr 11, 2005 PST
There is a method of playing a custom mission in coop. There are some drawbacks though. First This method only works on a listen server (as in not dedicated). Second You can only play one map in rotation at a time. For this exsample we will use SP-Foodwall as the map or "Food Wall Restaurant".
∑ 1.Make a quick mission using "Food Wall Restaurant" as the map.
∑ 2.Save the mission and return to the main menu.
∑ 3. Go to the Host screen and set up a coop game with only SP-Foodwall in the Map rotation list.
∑ 4. Dont start the game at this point, Click the Main Menu button.
∑ 5. Go to Play Quick Mission.
∑ 6. Click Load mission Pack.
∑ 7. Click on the Mission you made for "Food Wall Restaurant"
∑ 8. Do NOT Click Start.
∑ 9. Open the console with the "'" key or the "`" key
∑ 10.type Start SP-FoodWall?Listen
The game will load and If you have no problems hosting before your game will apper in the GameSpy Browser. When the Round ends the game will reload your custom mission. If you make changes to the rotation or play any other map your custom settings will be gone until you repeat all steps other then making the mission. Just two things I would like people to note at this point. Its more chalenging and enjoyabil to play AI with high moral then high skill or both. Dont ever complain about performance issues either on these forums or to tech support while using this method. Although ive played levels with 35 bad guys 2 clients connected and i only have 128Kb upload. No significent change in ping. Finaly this method has never crashed my game. The Client does not need to have the map or need to allowdownloads.In fact anyone can connect by default. Here is a list of Map names to go with the map file names which you must match up correctly to start your level.
∑ MissionName="SP-FoodWall"
∑ FriendlyName="Food Wall Restaurant"
∑ MissionName="SP-FairfaxResidence"
∑ FriendlyName="Fairfax Residence"
∑ MissionName="SP-ConvenienceStore"
∑ FriendlyName="Qwik Fuel Convenience Store"
∑ MissionName="SP-ABomb"
∑ FriendlyName="A-Bomb Nightclub"
∑ MissionName="SP-AutoGarage"
∑ FriendlyName="Victory Imports Auto Center"
∑ MissionName="SP-RedLibrary"
∑ FriendlyName="Red Library Offices"
∑ MissionName="SP-Casino"
∑ FriendlyName="Northside Vending and Amusements"
∑ MissionName="SP-JewelryHeist"
∑ FriendlyName="DuPlessis Wholesale Diamond Center"
∑ MissionName="SP-Tenement"
∑ FriendlyName="Children of Taronne Tenement"
∑ MissionName="SP-Hospital"
∑ FriendlyName="St. Michael's Medical Center"
∑ MissionName="SP-ArmsDeal"
∑ FriendlyName="The Wolcott Projects"
∑ MissionName="SP-Hotel"
∑ FriendlyName="Old Granite Hotel"
∑ MissionName="SP-DNA"
∑ FriendlyName="Mt. Threshold Research Center"

Changing Server Text Color in Server Browser
http://community.vugames.com/WebX?14...a.11@.1dd9928c
L etranger - 03:56am Apr 16, 2005 PST
[c=RRGGBB]
in front of text, its text format code like [ u ][ b ][ i ] (no spaces)
ccnemrod - 08:31am Apr 16, 2005 PST
in the server name in the swatguistate.ini file
FI_FlimFlam - 12:48pm Apr 16, 2005 PST
You use the hexidecimal color number. For example in Swatguistate.ini under [SwatGame.ServerSettings] in the line for ServerName=, add the [c=00ff00] in front of your server name to make your server name appear green in the ingame Browser. Yellow would be ffff00, blue is 0000ff, and red is ff0000. You can use different shades by finding the corresponding hex color number you want from just about any graphics program that supports hexidecimal color numbers such as photoshop or paintshop pro. Likewise for underline you would add a [u] infront of the section you want to underline.

The downside of this is that ingame when you hit esc to see the scores or mission status, your server name will not show the color but will show the brackets and color code infront of your server name. Like this: [c=00ff00][u]Fatality Inc. Coop 1. If that doesn't bother you then run with the colors.


II. Server Management


Dedicated Server Console Commands

http://community.vugames.com/WebX?7@...9@.1dd98641/13
C06alt - 09:23am Apr 8, 2005 PST
//Change Map(Dedicated Server Only)
∑ ServerTravel MP/SP-Mapname
//Restart Map
∑ ServerTravel?Restart
//Make All Players Ready
∑ set SwatPlayerReplicationInfo PlayerIsReady True
//End CurrentRound(not coop)
∑ set SwatGameReplicationInfo ServerCountdownTime 0
A better way to quickly move on to the next round in coop and all other game modes
∑ Set SwatRepo bShouldPerformQuickRoundReset True

In-game console commands

From Swat4 Readme.txt and http://community.vugames.com/WebX?14...5@.1dd98641/14
C06alt - 12:38am Apr 9, 2005 PST
Heres all the commands availabil to a logged in admin
//Kicks a player
∑ Kick Playername
//Kicks a player and bans them
∑ KickBan Playername
//Changes map while keeping clients
∑ Switch MP-Mapname
//Makes all players ready
∑ StartGame
//Ends the current round
∑ AbortGame
//Restart the round and reset the scores?
Switch MP-WhateverMapYourPlayin
Slamelov - 02:39am Apr 14, 2005 PST
and for restart a map, type restart Ė (could not get to work- FF)
Fritze - 10:55pm Feb 19, 2005 PST
Derived from here;
http://unrealtournament2004.filefron...onsoleCommands
So far only some work in beta demo.
In console (bring up console with tilde key "~";
stat fps - gets fps in right hand corner
stat net - gets ping, etc in left hand corner
stat game - gets game stats, bunch of game related stuff.
stat all - gets , well, all the stats,lol.
stat none - turns them off.
Possible bug using switch command Ė From Agent at TWL
DO NOT use the admin commands to switch maps..thats the bug u get...use the server console to change maps..just double click on a map then hit resart...your server willg et a lag spike..but in a few sec it recovers then switches


III. Troubleshooting


Server not appearing in the server list

http://community.vugames.com/WebX?14...4218@.1dd990b4
PSX - 09:25am Apr 14, 2005 PST
(Make sure you have launched your dedicated server at least once to create the ini files mentioned below for the first time.)
My dedicated server's settings always load from the SWATGUIState.ini (NOT DefSWATGUIState.ini) and SWAT4DEDICATEDSERVER.ini. I found that when I used 'Advanced options' from the right click menu of the dedicated server icon, my changes were NOT affecting the running of the server (it probably edits DefSWATGUIState.ini, instead of SWATGUIState.ini).
My problem was the server not appearing in the server list - I fixed this by making the following two changes in SWAT4DEDICATEDSERVER.ini:
[IpDrv.UdpBeacon]
DoBeacon=false -change this to 'true'
BeaconTime=0.50
BeaconTimeout=5.0
BeaconProduct=swat4
[IpDrv.MasterServerUplink]
DoUplink=false -change this to 'true'
You will NOT be able to see the server in the Internet page of the serverlist, if you are trying to join with a computer running on the same LAN as the server. Use the LAN page to join instead.

Running a Dedicated Server for the public yet playing on the same LAN

http://community.vugames.com/WebX?14...9242@.1dd98df9
Essentially hosting and playing on the same network but yet having the Server open to external networks for others to play on. Solution use internal IP address to connect, not the WAN IP. Another possible solution is to join by Direct IP.
NERV - 01:15am Apr 12, 2005 PST
but when I connect to the server to play with others I run into problems on my client machine, after a couple of minutes juring play my character will freeze and I can move anymore although I can still type messages.. the only way to fix the problem is to end the round and start again or disconnect.. but the same thing happens next round.
NERV - 11:49pm Apr 12, 2005 PST
... when I connect using the internal ip address of the server everything is good no freezing.

Clients lose connection with host when changing maps

http://community.vugames.com/WebX?14...8114@.1dd98d14
ckline (Developer) - 08:14pm Apr 12, 2005 PST
Lead Programmer / Irrational Games Boston / SWAT4
The problem is not when the server (dedicated or non-dedicated) is slow, the problem is when the client that is trying to connect takes too long to load. On thing you could try is, on the server, telling the game to have a longer "grace period" while waiting for a player to connect. You can do this by raising the value of ConnectionTimeout in Swat4.ini. This value is in the [IpDrv.TcpNetDriver] section.
Try setting it to a larger value, like 120 or 240. The value corresponds to the number of seconds after the server finishes loading the map that the server will wait for a client to finish loading. If a client takes longer than that period to finish loading, the server will assume that the connection was lost and the client will not be able to connect.


IV. Resources


Swat4 Official Community Forums: http://community.vugames.com/WebX?13...m5X.0@.f01fa19

Community Sites:
www.10-david.com - prominent Swat4 website with a lot of die-hard fans. This site has connections with Swat4 game developers and a great source for the most current news.
www.swat-4.com - home of many mods and useful tools by Slippery Jim like the ban tool and php server query tool.
http://www.edge-clan.com/members/set/IpBanner.exe - IP banning and ban maintainence tool that works with MP-Beta server not sure about full version.


V. Customizing Clients


Change Interact and Shout Compliance Keys

http://community.vugames.com/WebX?14...6570@.1dd9920f
C06alt - 02:42pm Apr 15, 2005 PST
In coop sometimes you can end up issuing complience to the floor or too a dead suspect when you try to use them. Because your teammate just got there before you. You can seprate compliance and interact keys by typing this in the console.
//Makes button x use doors pickup weapons ect
set input x Interact
//Makes button y issue compliance only
set input y IssueCompliance
This should save to your user.ini settings on leaving the game. If it dont you could edit your user.ini directly. just mek the needed change under
[Engine.Input]
Space=Interact
This is useful also if you donít know the key name you want to use user.ini is not checked against the servers

Remove EL command sounds to speed up AI deployment

http://community.vugames.com/WebX?14...8221@.1dd991d3
DayGlow - 06:20pm Apr 15, 2005 PST
Also in the sounds folder there is the teamleader folder. I moved that to a backup directory, that way when you say a command, it doesn't repeat it in the game as well. Bonus is that the team reacts as soon as you say the command, vs them waiting for the sound loop to finish playing before reacting.

Removing or Hiding Hud elements

http://community.vugames.com/WebX?14...6279@.1dd991d3
Talus_1 - 04:33pm Apr 15, 2005 PST
I hacked the SwatGUI.ini file and edited this section and changed every entry under a heading containing 'ClassicCommandInterface' such that the window sizes and positions were all '0'. Now, none of the command interface windows come up.
C06alt - 11:36pm Apr 15, 2005 PST
Another option for people who like classic but think it takes up a little to much room is to put under
[HUDPage_ClassicCommandInterface]
bDrawstyle=False
This just leaves the text displayed.

Customized Video Resolutions and Resolutions not being retained

http://community.vugames.com/WebX?11...9832@.1dd99393
FI_FlimFlam - 10:19am Apr 17, 2005 PST
Hmm that is odd. if I change my ingame video settings and exit the game I can check my Swat4.ini and it reflects the changes I made. It's under the [WinDrv.WindowsClient] section at the values of FullscreenViewportX and FullscreenViewportY. These are changed to the new corresponding x&y resolution settings. Setting this to Read Only should prevent the game from permanently changing your resolution from a different one in the file. Although you can still change it in game if you wish to. You will get an error that it cannot write to the file when you start and exit the game. You would only lock the file if you are having issues with the game retaining your desired resolution.
I can set the resolution in the file at these 2 settings and play at 640 x 480 if I wish to. If you have a custom resolution you like to play at you might be able to add it to the line to the SwatGUIState.ini file. For example you can add the line ScreenResolutionChoices=640x480 to the file above the one that lists 800x600. Then you can choose it ingame. I tested this and it worked for me.


Sticky please? :wink:
Reply With Quote

Re: Community Server Admin Document.
  #2  
Old 04-18-2005, 02:40 PM
PARADOX
 
Posts: n/a
Re: Community Server Admin Document.

It's Stuck. :D
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Version on the way! en4rcment Americas Army 8 02-14-2006 05:00 PM
Admin Needed on DC server tych BattleField 1942 Desert Combat 3 06-04-2004 09:44 AM
Adjusting your rates - An In-Depth Guide TheAdj Natural Selection 7 05-22-2004 02:43 PM



All times are GMT -5. The time now is 09:11 PM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.