- GameServer
- UT2004 (Windows or Linux)
- WebServer
- Relevant WebSpace
- PHPMyAdmin
- (Optional) FileZilla (an FTP client)
Follow these steps to generate a working instance of Equalizer on the server:
-
Extract the
.zipfile to some safe place. Look out forSystemfolder and drop its contents (UPackage, meta, and ini files) in the game server'sSystemfolder. -
Open the
Server.inifile (containing all the information about game server configuration and operations) and add the following line in the section[Engine.GameEngine]like soServerPackages=Equalizer<UPackageIS>where
<UPackageIS>is the identifier string of Equalizer package (basicallyVersion + BuildNumber) that you extracted from the.zipfile. For instance, "020158" in the UPackage "Equalizer020158.u". For rest of the part of this document, we shall assume theVersion = 020andBuildNumber = 158Note: In this case the line to be added isServerPackages=Equalizer020158without "<>".
-
Now you need to tell game server to load relevant class
Equalizer. It is usually done in two ways-
To load relevant class
Equalizeras a mutator by the following command line (in the case we are considering)ucc server CTF-Magma?Game=XGame.XCTFGame?Mutator=Equalizer020158.EqualizerIf done the right way, Equalizer shall be loaded at the start of every map! Consult UnrealAdmin. Note: You may wanna use the relevant identifier string (IS) whilst writing the command.
-
In this context, we add the following line in the section
Engine.GameEnginelike soServerActors=Equalizer020158.Equalizer
Please note you need to follow either Equalizer for Mutator or Equalizer for ServerActor. Also note that the oder of loading the Equalizer class matters. Based on the dependencies (for instance UniqueIdentifier) you may need to deduce the right order. Please always ask if you got no clue about what to do! Or, the very least, admit it! Moving on...
-
-
Look out for
WebScriptsfolder and extract the contents (theEqualizerBE) in the relevant directory on WebServer. You may wanna use some super duper FTP client, for instance FileZilla. -
Now you wanna modify the following fields in the script
main.phplike so$servername = "localhost"; // Usually you don't wanna modify this $username = "cowboy"; // The name of the database user $password = "BWxFPjNuIYBPxxg0"; // The password of the user $database = "CowboysTestDatabase"; // The name of the database -
Once that is done, open the
Equalizer.inifile and modify (if needed) the following fieldsQueryServerHost="localhost" QueryServerFilePath="/EqualizerBE/eqquery.php" // the relative path of the eqquery.php file QueryServerPort=80For the description of other fields, refer the ReadMe's configuration section!
-
Finally, if you want to have web access to Equalizer, modify the section
[UWeb.WebServer]inUT2004.inilike soApplications[0]=xWebAdmin.UTServerAdmin // Make sure this order is maintained with UTServerAdmin at top ApplicationPaths[0]=/ServerAdmin Applications[1]=xWebAdmin.UTImageServer // UTImage server is essential for displaying the relevant images ApplicationPaths[1]=/images Applications[2]=Equalizer020158.EQWebAdminServer // Finally we provide room to our own EQWebAdmin ApplicationPaths[2]=/Equalizer bEnabled=True // Should be set to true ListenPort=8080 // Generally you won't need to change this until there is some faliure to bind at the default portMake sure to extract the contents of
Equalizer-0.2.0/Webto/Webof UT2k4 installation.