Server configuration: Difference between revisions
No edit summary |
|||
(23 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
'''<font color="red">AUTHOR DISCLAIMER: This article is "Work in progress"!! some items are not verified..<br> | '''<font color="red">AUTHOR DISCLAIMER: This article is "Work in progress"!! some items are not verified..<br> | ||
DATE: | DATE: 8 Feb 2009<br> | ||
AUTHOR: Zapper</font>''' | AUTHOR: Zapper</font>''' | ||
==Known missing item== | ==Known missing item== | ||
*Zone game registry | *Zone game registry | ||
*Default map list | *Default map list | ||
==Known missing content== | ==Known missing content== | ||
*[[ | *[[#The Server and you|The Server and you]] | ||
* | *[[#Help others Help your self checklist:|Help others Help your self checklist:]] | ||
*[[#Q&A|Q&A]] | |||
*[[#Alleg server First aid|Alleg server First aid]] | |||
*[[#Event triggers|Event triggers]] | |||
*[[#Event viewer|Event viewer]] | |||
[ | |||
[ | |||
[ | |||
==The folder hierarchy== | ==The folder hierarchy== | ||
Line 39: | Line 19: | ||
This folder contain the server application and files associated with the server application. | This folder contain the server application and files associated with the server application. | ||
**Artwork | **Artwork | ||
This folder contain artwork and configuration files, in relation to the server, the map and core files are located here. | :This folder contain artwork and configuration files, in relation to the server, the map and core files are located here. | ||
**TAG | **TAG | ||
This folder contain TAG service, files and sub folders associated to TAG | :This folder contain TAG service, files and sub folders associated to TAG. | ||
==TAG== | |||
{{stub}} | |||
====TAG.exe.config==== | ====TAG.exe.config==== | ||
This file can be altered to give HQ message option to the server admin.<br> | This file can be altered to give HQ message option to the server admin.<br> | ||
Line 152: | Line 89: | ||
</configuration> | </configuration> | ||
</pre> | </pre> | ||
==Allsrv== | |||
File: Allsrv.exe | |||
usage is ONE of: | |||
AllSrv starts the server if registered as an exe | |||
AllSrv -RegServer install the server as an EXE | |||
AllSrv -Service [user pw] install the server as an NT Service | |||
AllSrv -UnregServer uninstall the server | |||
AllSrv -Core2Text [core_name] converts core igc to text | |||
AllSrv -Map2Text [map_name] converts map igc to text | |||
AllSrv -Text2Core [core_name] converts text core to igc | |||
AllSrv -Text2Map [map_name] converts text map igc | |||
To start this service (when installed as NT service): net start AllSrv | |||
==Default registry settings== | ===Default registry settings=== | ||
The settings listed are values which can be modified by the admin and are either mandatory or optional. | The settings listed are values which can be modified by the admin and are either mandatory or optional. | ||
Line 189: | Line 151: | ||
=====ASGS===== | =====ASGS===== | ||
Required: Mandatory<br> | Required: Mandatory<br> | ||
These settings are related to the ASGS system, by default they are set to 0, | These settings are related to the ASGS system, by default they are set to 0, they shale be set to 1 on a service installation. | ||
The Value is a HEX | |||
<pre>"ASGS_ON"=dword:00000001 | <pre>"ASGS_ON"=dword:00000001 | ||
"ASGS_RANKS_ON"=dword:00000001</pre> | "ASGS_RANKS_ON"=dword:00000001</pre> | ||
Line 218: | Line 182: | ||
=====Core[gamenumberinteger]===== | =====Core[gamenumberinteger]===== | ||
This setting set the core used for the game. | This setting set the core used for the game. | ||
The corename '''must''' be without the .igc extension, if the .igc extension is there the server application will crash!! | The corename '''must''' be without the .igc extension, if the .igc extension is there the server application will crash!! | ||
<pre>"Core1"="CORENAME"</pre> | <pre>"Core1"="CORENAME"</pre> | ||
=====LockGameOpen[gamenumberinteger]===== | =====LockGameOpen[gamenumberinteger]===== | ||
This setting set the Lock game option, It shale be set to 1 "ON". | This setting set the Lock game option, It shale be set to 1 "ON". | ||
Line 244: | Line 210: | ||
==Autonomy and syntax of the server configuration files== | ==Autonomy and syntax of the server configuration files== | ||
===Basic Syntax of the configuration files=== | ===Basic Syntax of the configuration files=== | ||
{{warn|The example are not a valid config file, it contain comments that will cause a crash in the alleg server application!!}} | {{warn|The example are not a valid config file, it contain comments that will cause a crash in the alleg server application!!}} | ||
====ranks.txt==== | ====ranks.txt==== | ||
<pre>31 <--- this number represent the total number of level/ranks in the file | <pre>31 <--- this number represent the total number of level/ranks in the file | ||
0,Newbie <--- the FIRST level/rank. The number 0 is the level, the Newbie is the name of the level | 0,Newbie <--- the FIRST level/rank. The number 0 is the level, the Newbie is the name of the level | ||
Line 279: | Line 248: | ||
30,Expert 9 | 30,Expert 9 | ||
31,Expert 9</pre> | 31,Expert 9</pre> | ||
====cores.txt==== | ====cores.txt==== | ||
<pre>7 <--- this number represent the total number of cores in the file. If the number dont | <pre>7 <--- this number represent the total number of cores in the file. If the number dont | ||
Line 317: | Line 287: | ||
Location: Server folder<br> | Location: Server folder<br> | ||
Description: The file contain the URL to the lobby server.<br> | Description: The file contain the URL to the lobby server.<br> | ||
This file is dependent to the server registry setting [[ | This file is dependent to the server registry setting [[#CfgFile|CfgFile]]<br> | ||
The file is Mandatory.<br> | The file is Mandatory.<br> | ||
<pre> | <pre> | ||
Line 426: | Line 396: | ||
</pre> | </pre> | ||
==The Server and You == | ==The Server and You == | ||
{{stub}} | |||
===Alleg server First aid=== | |||
First start trouble shoot! | |||
Can you ping the lobby server from the server! | |||
====Help others Help your self checklist:==== | |||
*Read and save the event viewer? | |||
*Which service crashed? | |||
*Last serverlog date versus last eventlog entry? | |||
*Did the server restart but did not connect to lobby? | |||
*The lobby dropped the server and players are still playing! | |||
====Q&A==== | |||
{{stub}} | |||
Q I Added a new core to the list and the server crash | |||
Q I Added a new map to the list and the server crash. | |||
Q The new game i added in the registry is missing.. | |||
===Event triggers=== | ===Event triggers=== | ||
{{stub}} | |||
===Event viewer=== | ===Event viewer=== | ||
{{stub}} | |||
===Further reading === | ===Further reading === | ||
*[http://www.freeallegiance.org/forums/index.php?showtopic=29184&st=0&p=91481&#entry91481 Server Event ID's] | *[http://www.freeallegiance.org/forums/index.php?showtopic=29184&st=0&p=91481&#entry91481 Server Event ID's] |
Latest revision as of 04:30, 16 November 2009
AUTHOR DISCLAIMER: This article is "Work in progress"!! some items are not verified..
DATE: 8 Feb 2009
AUTHOR: Zapper
Known missing item
- Zone game registry
- Default map list
Known missing content
- The Server and you
- Help others Help your self checklist:
- Q&A
- Alleg server First aid
- Event triggers
- Event viewer
The folder hierarchy
- Server
This folder contain the server application and files associated with the server application.
- Artwork
- This folder contain artwork and configuration files, in relation to the server, the map and core files are located here.
- TAG
- This folder contain TAG service, files and sub folders associated to TAG.
TAG
Stub This article is incomplete This is an article about a topic that should be covered in more detail by the FreeAllegiance Wiki, but is lacking in content.
You can help by improving it!
TAG.exe.config
This file can be altered to give HQ message option to the server admin.
Example:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="TagConfig" type="FreeAllegiance.Tag.TagConfigSectionHandler, Common" /> </configSections> <TagConfig> <TAG UpdateTime="5:00" PostTimeout="200000" /> <ReconnectTimer Interval="60" /> <Log> <XmlFile Path="SavedGames" /> </Log> <Trace Level="Verbose" Path="trace.txt" ArchiveDir="TraceFiles" Console="true" /> <ServerAdmins> <ServerAdmin>ServerAdminGameNick</ServerAdmin> </ServerAdmins> </TagConfig> </configuration>
Description of the TAG config file, this file is also located in the TAG installation folder
<?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- This section is required in order for the TAG config file to work properly --> <configSections> <section name="TagConfig" type="FreeAllegiance.Tag.TagConfigSectionHandler, Common" /> </configSections> <TagConfig> <!-- TAG: Required. Defines TAG's settings UpdateTime: Required. The time (on the 24-hour clock) TAG should check for updates each day ASGSURL: Optional. Overrides the default ASGS services URL with the one specified POSTTIMEOUT: Optional. Overrides the default ASGS posting timeout of 100000ms with the one specified --> <TAG UpdateTime="5:00" ASGSUrl="http://asgs.alleg.net/asgs/services.asmx" /> <!-- ReconnectTimer: Required. Specifies how often TAG will attempt to reconnect to Allsrv after losing the connection. Interval: Required. The number of seconds between reconnect attempts MaxRetries: Optional. Instructs TAG to stop attempting to reconnect to Allsrv after the specified amount of attempts. TAG will shutdown after this many attempts have failed.--> <ReconnectTimer Interval="60" MaxRetries="60" /> <!-- Log: Required. Specifies how TAG should log games as they finish. --> <Log> <!-- XmlFile: Optional. Specifies whether or not TAG should log games to XML files Path: Required. The path of the folder where TAG should save games --> <XmlFile Path="SavedGames" /> </Log> <!-- Trace: Optional. Specifies whether or not any tracing should occur. Level: Required. Specifies the level of trace output that should be shown [Off, Error, Warning, Info, Verbose] Path: Optional. Specifies a relative path where the trace output should be written ArchiveDir: Optional; Requires "Path". Specifies a relative path to a folder where trace files should be archived Console: Optional. Specifies that trace output should be shown onscreen. Incompatible with Service mode.--> <Trace Level="Verbose" Path="trace.txt" ArchiveDir="TraceFiles" Console="false" /> <!-- ServerAdmins: Optional. Specifies a list of callsigns who will be treated as an administrator regardless of administrative token or tag. --> <ServerAdmins> <!-- ServerAdmin: Required (at least one). Specifies the callsign of the player who will be treated as an administrator. --> <ServerAdmin>Tigereye</ServerAdmin> </ServerAdmins> </TagConfig> </configuration>
Allsrv
File: Allsrv.exe
usage is ONE of:
AllSrv starts the server if registered as an exe
AllSrv -RegServer install the server as an EXE
AllSrv -Service [user pw] install the server as an NT Service
AllSrv -UnregServer uninstall the server
AllSrv -Core2Text [core_name] converts core igc to text
AllSrv -Map2Text [map_name] converts map igc to text
AllSrv -Text2Core [core_name] converts text core to igc
AllSrv -Text2Map [map_name] converts text map igc
To start this service (when installed as NT service): net start AllSrv
Default registry settings
The settings listed are values which can be modified by the admin and are either mandatory or optional.
Altering registry setting can be done at all time, but in order for the setting to be loaded the MS Allegiance Game Server service must be restarted.
- The registry path
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Allegiance\1.0\Server]
Registry description
Server setup settings
ArtPath
Required: Mandatory
This setting set the location of the alleg artwork folder.
"ArtPath"="C:\\Allegiance\\Server\\artwork"
EXE Path
Required: Mandatory
This setting set the loacation of the alleg server folder.
"EXE Path"="C:\\Allegiance\\Server"
LocalAddress
This setting set the name displayed in the server lobby and in the create game screen.
"LocalAddress"="SERVERNAME"
Location
Required: Mandatory
This setting set the geographic location of the server.
"Location"="GEOGRAFICLOCATION"
MaxGames
Required: Mandatory
This setting set the maximum amount of servers available for creation in the create game screen in the main lobby.
The value is a HEX decimal.
All permanent games set in the registry count towards this maximum number.
"MaxGames"=dword:00000010
CfgFile
Required: Mandatory
This setting set the PATH to the allegianceserver.cfg, which contain the URL for the lobby.
"CfgFile"="C:\\Allegiance\\Server\\allegianceserver.cfg"
ASGS
Required: Mandatory
These settings are related to the ASGS system, by default they are set to 0, they shale be set to 1 on a service installation.
The Value is a HEX
"ASGS_ON"=dword:00000001 "ASGS_RANKS_ON"=dword:00000001
R3 installation registry
These are formal Registry settings and shale not be altered!!
"Version"="1" "Launched"="1" "InstalledGroup"="1" "FIRSTRUN"=dword:00000001 "MaxPlayersPerGame"=dword:000000c8 "HasTrained"=dword:00000001 "LangID"=dword:00000009 "nUpdatesPerSecond"=dword:00000014
Registry setting syntax for permanent game
Each permanent game setting is ending with a integer e.g. "Game1"
So the trailing decimal are corresponding to the same game setup!
The name is trailed with a integer ('Game1','Core1','LockGameOpen1'....)
The sequence of numbers can not skip a number, they must be set in sequence!! 'Game1','Game2','..'
These setting are optional.
These setting are dependent to each other, so if one of the following setting are set in the registry all the following permanent game setting are mandatory!!
This setting set the game name
"Game1"="SERVERNAME"
This setting set the core used for the game.
The corename must be without the .igc extension, if the .igc extension is there the server application will crash!!
"Core1"="CORENAME"
This setting set the Lock game option, It shale be set to 1 "ON". The value is a HEX.
"LockGameOpen1"=dword:00000001
This setting set the Max level/rank for players to gain access to the game!
"MaxRank1"="4"
This setting set the Minimum level/rank for a player to gain access to the game, "-1" is all level/rank below the Max level/rank set for the game.
The value must not be higher then the max value, other wise the server application will crash.
"MinRank1"="-1"
Server configuration files
These files are not included in the current installation package.
The list contain files that are to be made after or prior the installation, they contain values which is loaded by the server app.
Files located in the main server folder
- allegianceserver.cfg
Files located in the artwork folder
- ranks.txt
- cores.txt
- maps.txt
Autonomy and syntax of the server configuration files
Basic Syntax of the configuration files
Warning! The example are not a valid config file, it contain comments that will cause a crash in the alleg server application!!
ranks.txt
31 <--- this number represent the total number of level/ranks in the file 0,Newbie <--- the FIRST level/rank. The number 0 is the level, the Newbie is the name of the level 1,Novice 1 2,Novice 2 3,Novice 3 4,Novice 4 5,Novice 5 6,Novice 6 7,Novice 7 8,Inter. 1 9,Inter. 2 10,Inter. 3 11,Inter. 4 12,Inter. 5 13,Inter. 6 14,Inter. 7 15,Veteran 1 16,Veteran 2 17,Veteran 3 18,Veteran 4 19,Veteran 5 20,Veteran 6 21,Veteran 7 22,Expert 1 23,Expert 2 24,Expert 3 25,Expert 4 26,Expert 5 27,Expert 6 28,Expert 7 29,Expert 8 30,Expert 9 31,Expert 9
cores.txt
7 <--- this number represent the total number of cores in the file. If the number dont add up with the number of cores in the file it will cause a server crash!! cc_03 <--- this is name of the core WITHOUT the .igc extension, the name is case sensitive!! GoDII_05 plus15b7 RTc006a rps55 PC2_019 sw_a102
maps.txt
1 <--- the number represent the number or maps in the file, if the number dont add up with number of maps in the file it will cause a server crash. 2,Limited,m2xiblimited <--- Number of teams,Display name,Mapfile name.
Maplist explained:
The map list line | MAX. Number of teams | Map Displayname MAX 25 chars |
The mapfile name without the .igc extension MAX 13 chars |
2,Polished,m2xibpolishe | 2 | Polished | m2xibpolishe |
Autonomy of the server configuration files
allegianceserver.cfg
Filename: allegianceserver.cfg
Location: Server folder
Description: The file contain the URL to the lobby server.
This file is dependent to the server registry setting CfgFile
The file is Mandatory.
[Allegiance] PublicLobby=204.16.202.184 ; THIS IS A VALID CONFIG FILE
ranks.txt
Filename: ranks.txt
Location: artwork folder
Description: The file contain the ranks displayed in the lobby of a running game.
The file is Mandatory.
Warning! THE CONTENT IS A VALID FILE AND MUST NOT BE ALTERED.
THE LEVEL AND NAME IS GENERIC IN ALLEG, IF IT'S ALTERED THE SERVER IS REMOVED FROM THE LOBBY!!.
Content:
31 0,Newbie 1,Novice 1 2,Novice 2 3,Novice 3 4,Novice 4 5,Novice 5 6,Novice 6 7,Novice 7 8,Inter. 1 9,Inter. 2 10,Inter. 3 11,Inter. 4 12,Inter. 5 13,Inter. 6 14,Inter. 7 15,Veteran 1 16,Veteran 2 17,Veteran 3 18,Veteran 4 19,Veteran 5 20,Veteran 6 21,Veteran 7 22,Expert 1 23,Expert 2 24,Expert 3 25,Expert 4 26,Expert 5 27,Expert 6 28,Expert 7 29,Expert 8 30,Expert 9 31,Expert 9
cores.txt
Filename: cores.txt
Location: artwork folder
Description: The file contain the cores available the cores are displayed when a user creates a game in the main server lobby.
The file is Mandatory.
Warning! THE CONTENT OF THIS FILES MUST DISPLAY THE CORES WHICH IS AVAILABLE IN THE ARTWORK FOLDER, IF THE FILE CONTAIN CORES NOT AVAILABLE IN THE ARTWORK FOLDER IT WILL CAUSE A CRASH IN THE ALLEG SERVER APPLICATION.
THE CONTENT MUST REFLECT THE CORE FILES LOCATED IN THE ARTWORK FOLDER!!
7 cc_03 GoDII_05 plus15b7 RTc006a rps55 PC2_019 sw_a102
maps.txt
Filename: maps.txt
Location: artwork folder
Description: The file contain a list of maps available when a user have created a game, and are altering the game setting for this particular game.
The list of maps are only visible to a commander with game control.
The file is Optional. If this file is not present in the artwork folder, the default map list is available.
Warning! THE CONTENT OF THIS FILE MUST DISPLAY THE MAPS WHICH IS AVAILABLE IN THE ARTWORK FOLDER, IF THE FILE CONTAIN MAPS NOT AVAILABLE IN THE ARTWORK FOLDER IT WILL CAUSE A CRASH IN THE ALLEG SERVER APPLICATION.
THE CONTENT MUST REFLECT THE MAPS AVAILABLE IN THE ARTWORK FOLDER!!!.
28 2,Limited,m2xiblimited 2,Polished,m2xibpolishe 2,Blender,m2xibblender 2,Bowtie,m2xibbowtie 2,Emerald,m2xibemerald 2,Sapphire,m2xibsapphir 2,Splitmix,m2xibsplitmi 2,Starflake,m2xibstarfl 2,Chaos,m2xibchaos 2,Octagon,m2xiboctagon 2,Topaz,m2xibtopaz 2,Pentagram,m2xibpentag 2,Dual,m2xibdual 2,Ruby,m2xibruby 2,Sliver,m2xibsliver 2,Obsidian,m2xibobsidia 2,Escher,m2xibescher 2,Amethyst,m2xibamethy 2,Crush,m2xibcrush 2,Kill,m2xibkill 2,Destroy,m2xibdestroy 2,Gold,m2xibgold 2,Nova,m2xibnova 2,Jade,m2xibjade 2,Quartz,m2xibquartz 2,Rhodium,m2xibrhodium 2,Platinum,m2xibplatinu 2,Palladium,m2xibpallad
The Server and You
Stub This article is incomplete This is an article about a topic that should be covered in more detail by the FreeAllegiance Wiki, but is lacking in content.
You can help by improving it!
Alleg server First aid
First start trouble shoot!
Can you ping the lobby server from the server!
Help others Help your self checklist:
- Read and save the event viewer?
- Which service crashed?
- Last serverlog date versus last eventlog entry?
- Did the server restart but did not connect to lobby?
- The lobby dropped the server and players are still playing!
Q&A
Stub This article is incomplete This is an article about a topic that should be covered in more detail by the FreeAllegiance Wiki, but is lacking in content.
You can help by improving it!
Q I Added a new core to the list and the server crash
Q I Added a new map to the list and the server crash.
Q The new game i added in the registry is missing..
Event triggers
Stub This article is incomplete This is an article about a topic that should be covered in more detail by the FreeAllegiance Wiki, but is lacking in content.
You can help by improving it!
Event viewer
Stub This article is incomplete This is an article about a topic that should be covered in more detail by the FreeAllegiance Wiki, but is lacking in content.
You can help by improving it!