Master Control Daemon setup

From HEWIKI
Jump to: navigation, search

He server.png Documentation on this page is intended for customers of HeroEngine managing their own server(s).

How to setup a Master Control Daemon

1. Install FireStormDaemons.
2. Create a file named 1.cfg in the FireStormDaemons directory.

Example:

<FireStorm>
  <masterControlTransport>tcp:localhost:62455</masterControlTransport>
  <minimumCycleTime>20</minimumCycleTime>
  <PostOfficeLogRate>200</PostOfficeLogRate>
  <defaultInactivityLimitMillis>2001000</defaultInactivityLimitMillis>
  <defaultWriteTimeoutMillis>60000</defaultWriteTimeoutMillis>
  <accesscontrolUsername>he_access@database.company.com/hedb.world</accesscontrolUsername>
  <accesscontrolPassword>he_access</accesscontrolPassword>
  <uaccessProductID>HE</uaccessProductID>
  <uaccessTransport>tcp:heuaccess.company.com:7561</uaccessTransport>
  <serviceUsername>FS_SERVICE@database.company.com/hedb.world</serviceUsername>
  <servicePassword>fs_service</servicePassword>
</FireStorm>

3. Create a file named loopDaemon.bat in the FireStormDaemons directory with the following contents.

@rem do it this way so the window stays after the application terminates
@echo off
:loop
%1 %2 %3 %4 %5 %6 %7 %8 %9
goto loop

4. Create a file named startHeroEngine.bat in the FireStormDaemons directory.

Example:

start "Fireup Daemon" "loopFireup.bat"
start "Master Control Daemon" loopDaemon "_MasterControlDaemon.exe" "--application-uname=1"

Now rather then running loopFireup.bat you run startHeroEngine.bat.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox