Page History
This page provides information about the command-line application, or spawner, of Chaos Arena.
Overview
...
The spawner is a command-line application which that can be started from either Windows Explorer or from a Windows Command Prompt. Alternatively, you can run the spawner via a batch script (*.bat).
Go to "..\Chaos_Arena\arena_server\" and double-click on "arena_spawner.exe".
It provides you with useful information about:
Fancy Bullets | ||
---|---|---|
| ||
|
...
|
The spawner can be started before or after the server. It acts like a service that can be started once and left running indefinitely until the current user is logged off, or Windows is restarted.
Windows Command Line options
...
In case "arena_spawner.exe" is started from the Windows Command Line, or through a batch file, there are a few command-line options that have to be passed to the spawner on each machine:
-server host[:port] [optional] - specifies the server address with an optional port. The default port is 20710. If the Server Auto Discovery is set, the spawners don't need to specify the server address, they can listen for the auto-discovery broadcast messages from the server and automatically determine its IP address.
-id id [optional] - the string ID of the spawner and the render instance. It must be a non-empty string and it must match the one in the server configuration. If this parameter is not provided, the spawner will be assigned an automatic ID containing the spawner IP address, as seen from the server when the spawner connects.
...
Examplecommand line for running the spawner with ID “center” and a server running on IP address 10.0.0.5 (assuming that your "Chaos_Arena" folder structure is located in the root of drive "C:\")
Infocode |
---|
arena_spawner.exe -id center -server 10.0.0.5 -vantage C:\Chaos_Arena\arena_renderer\vantage.exe |
Optionally you can set up a script or a configuration file for easy startup of the spawner with the server IP (or auto-discovery), renderer ID, and the path to the installed renderer (vantage.exe).
...
To use this option make a copy of the file and rename it to "arena_spawner.json" (remove the " .template" extension). In this case the configuration file will be used automatically when the arena_spawner.exe is started.
...