Hi All.
I've read a ton of guides on how to set up multiple realms but I'm still missing something.
I'm trying to get two realms running and having some issues. I'm using Arcemu for 3.3.3 and my os is CentOS.
Let's call these two realms Realm A and Realm B for this post. I start up arcemu-logonserver with no problems. I then start up arcemu-world for Realm A with no problems. When I start up arcemu-world for Realm B it starts fine BUT causes arcemu-world from Realm A to terminate. So I cant get multiple arcemu-world processes running at the same time. Starting one always cause the other to terminate.
When the world process is terminated the console just says:
Waiting for console thread to terminate....
[screen is terminating]
I've created the Realm B DBs and changed the ports for Realm B as well. I've also moved the world server executables/configs for Realm B to a seperate folder than Realm A.
Below are my config files. Any help would be greatly appreciated!
logonserver config:
Code:
/***********************************************************************
* ArcEmu Logonserver Configuration File
* Last edited: 7/18/09
***********************************************************************
* Configure the logonserver to connect to the accounts database below *
***********************************************************************
* LogonDatabase.Host - The hostname that the database is located on
* LogonDatabase.Username - The username used for the mysql connection
* LogonDatabase.Password - The password used for the mysql connection
* LogonDatabase.Name - The database name
* LogonDatabase.Port - Port that MySQL listens on. Usually 3306.
* LogonDatabase.Type - Client to use. 1 = MySQL
* Not supported: - 2 = PostgreSQL (Partly implemented)
* Not Supported: - 3 = SQLite (unimplemented)
***********************************************************************/
<LogonDatabase Hostname = "178.122.244.207"
Username = "root"
Password = ""
Name = "onslaught_logon"
Port = "3306"
Type = "1">
/* Host Directive
*
* This is the address that the realmlist will listen on.
* To listen on all addresses, set it to 0.0.0.0
* Default: 127.0.0.1 (localhost)
*
* Note: ISHost is the interserver communication listener.
*/
<Listen Host = "0.0.0.0"
ISHost = "0.0.0.0"
RealmListPort = "3724"
ServerPort = "8093">
/* Server console logging level
*
* This directive controls how much output the server will
* display in it's console. Set to 0 for none.
* 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug
* Default: 3
*/
<LogLevel Screen = "3"
File = "-1">
/* Account Refresh Time
*
* This controls on which time interval accounts gets
* refreshed. (In seconds)
* Default = 600
* 600 seconds = 10 minutes - 1 second = 0.0166666667 minutes 300 seconds = 5 minutes, 150 seconds = 2.5minutes
*
*/
<Rates AccountRefresh = "600">
/* WorldServer Setup
*
* RemotePassword
* This directive controls the password used to authenticate with the worldserver.
* It must be the same between the two configs. If it is not, your server will
* not register.
*
* Default: "change_me_logon"
*
* AllowedIPs
* This section MUST be completed, otherwise all attempts to link your servers will fail.
* These "Allowed" fields are a space-seperated list of CIDR-form IP addresses that are allowed
* to make server connections to your logonserver, and register realms.
* For example, everything in the 127.0.0.* range would be:
* 127.0.0.0/24, as 24 of the bits must match the 127.0.0.0
*
* To allow a single IP,
* 1.3.3.7/32, would allow only 1.3.3.7 to connect as 32 of the bits must match.
*
* AllowedModIPs
* In the same form as AllowedIPs, these are the IPs that are allowed to modify the database
* (adding bans, GMs, account permissions, etc)
*/
<LogonServer RemotePassword = ""
AllowedIPs = "127.0.0.1/24"
AllowedModIPs = "127.0.0.1/24">
Realm A realms.conf
Code:
/***********************************************************************
* ArcEmu Realms Configuration File
* Last edited: 7/18/09
*
* Configure ArcEmu's Realms below
***********************************************************************/
/******************************************************
* LogonServer Section
*
* Address:
* The address (no port) of the server.
*
* Port:
* The port on which the logon server listens. (*** NOT 3724 ***)
*
* Name:
* Not really relavant, but name the logon.
*
* RealmCount:
* The number of realms in the next section.
*
******************************************************/
<LogonServer Address = "127.0.0.1"
Port = "8093"
Name = "Default Logon"
RealmCount = "1">
/******************************************************
* Realm Section
*
* Name:
* The name of the realm.
*
* Address:
* The address (and port) of that realm.
*
* Icon:
* The type of realm (PVP, Normal, RPPVP, RP)
*
* TimeZone:
* The location of the server (1=Development, 2=United States, 3=Oceanic, 4=Latin America,
* 5=Tournament, 6=Korean, 8=English, 9=German, 10=French)
*
* Population:
* (0 = low, 1 = medium, 2 = high)
*
* Important information below
*
* change 127.0.0.1 to your EXTERNAL ip if you wish to have a PUBLIC server.
* This issues come up a lot!
*
* Timezone values :
* 0=Korean 16=China
* 1=Development 17=CN1
* 2=United States 18=CN2
* 3=Oceanic 19=CN3
* 4=Latin America 20=CN4
* 5=Tournament 21=CN5
* 6=Korean 22=CN6
* 8=English 23=CN7
* 9=German 24=CN8
* 10=French 25=Tournament
* 11=Spanish 26=Test Server
* 12=Russian 27=Tournament
* 13=Tournament 28=QA Server
* 14=Taiwan 29=CN9
* 15=Tournament 30=TestServer2
******************************************************/
<Realm1 Name = "Onslaught Instant 80 Realm"
Address = "178.122.244.207:8129"
Icon = "PVP"
Population = "1.0"
TimeZone = "1">
Realm A world config
Code:
/***********************************************************************
* ArcEmu Configuration File
* Last edited: 7/18/09
*
* Configure ArcEmu's world server below.
***********************************************************************
***********************************************************************
* Database Section
*
* Database.Host - The hostname that the database is located on
* Database.Username - The username used for the mysql connection
* Database.Password - The password used for the mysql connection
* Database.Name - The database name
* Database.Port - Port that MySQL listens on. Usually 3306.
* Database.Type - Client to use. 1 = MySQL
* Not supported: - 2 = PostgreSQL (Partly implemented)
* Not Supported: - 3 = SQLite (unimplemented)
*******************************************************/
<WorldDatabase Hostname = "178.122.244.207" Username = "root" Password = "" Name = "instant80_world" Port = "3306" Type = "1">
<CharacterDatabase Hostname = "178.122.244.207" Username = "root" Password = "" Name = "instant80_char" Port = "3306" Type = "1">
<Listen Host = "0.0.0.0"
WorldServerPort = "8129">
<LogonServer DisablePings = "0"
RemotePassword = "">
Realm B world config:
Code:
/***********************************************************************
* ArcEmu Configuration File
* Last edited: 7/18/09
*
* Configure ArcEmu's world server below.
***********************************************************************
***********************************************************************
* Database Section
*
* Database.Host - The hostname that the database is located on
* Database.Username - The username used for the mysql connection
* Database.Password - The password used for the mysql connection
* Database.Name - The database name
* Database.Port - Port that MySQL listens on. Usually 3306.
* Database.Type - Client to use. 1 = MySQL
* Not supported: - 2 = PostgreSQL (Partly implemented)
* Not Supported: - 3 = SQLite (unimplemented)
*******************************************************/
<WorldDatabase Hostname = "178.122.244.207" Username = "root" Password = "" Name = "fun_world" Port = "3306" Type = "1">
<CharacterDatabase Hostname = "178.122.244.207" Username = "root" Password = "" Name = "fun_char" Port = "3306" Type = "1">
<Listen Host = "0.0.0.0"
WorldServerPort = "8130">
<LogonServer DisablePings = "0"
RemotePassword = "">
Ream B realms.conf:
Code:
/***********************************************************************
* ArcEmu Realms Configuration File
* Last edited: 7/18/09
*
* Configure ArcEmu's Realms below
***********************************************************************/
/******************************************************
* LogonServer Section
*
* Address:
* The address (no port) of the server.
*
* Port:
* The port on which the logon server listens. (*** NOT 3724 ***)
*
* Name:
* Not really relavant, but name the logon.
*
* RealmCount:
* The number of realms in the next section.
*
******************************************************/
<LogonServer Address = "127.0.0.1"
Port = "8093"
Name = "Default Logon"
RealmCount = "1">
/******************************************************
* Realm Section
*
* Name:
* The name of the realm.
*
* Address:
* The address (and port) of that realm.
*
* Icon:
* The type of realm (PVP, Normal, RPPVP, RP)
*
* TimeZone:
* The location of the server (1=Development, 2=United States, 3=Oceanic, 4=Latin America,
* 5=Tournament, 6=Korean, 8=English, 9=German, 10=French)
*
* Population:
* (0 = low, 1 = medium, 2 = high)
*
* Important information below
*
* change 127.0.0.1 to your EXTERNAL ip if you wish to have a PUBLIC server.
* This issues come up a lot!
*
* Timezone values :
* 0=Korean 16=China
* 1=Development 17=CN1
* 2=United States 18=CN2
* 3=Oceanic 19=CN3
* 4=Latin America 20=CN4
* 5=Tournament 21=CN5
* 6=Korean 22=CN6
* 8=English 23=CN7
* 9=German 24=CN8
* 10=French 25=Tournament
* 11=Spanish 26=Test Server
* 12=Russian 27=Tournament
* 13=Tournament 28=QA Server
* 14=Taiwan 29=CN9
* 15=Tournament 30=TestServer2
******************************************************/
<Realm1 Name = "Onslaught Insane Run Realm"
Address = "178.122.244.207:8130"
Icon = "PVP"
Population = "1.0"
TimeZone = "1">