This is a guide on how to have multiple realms on a single login server. In order to do this all you have to do is :
1. Make a copy of your server into another folder on your computer:
2. Setup your configs as so:
Realm 1, antrix.conf
Code:
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# 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, 2 = PostgreSQL, 3 = Oracle 10g
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<WorldDatabase Hostname = "127.0.0.1" Username = "USERNAME" Password = "PASSWORD" Name = "antrix1" Port = "3306" Type = "1">
<CharacterDatabase Hostname = "127.0.0.1" Username = "USERNAME" Password = "PASSWORD" Name = "char1" Port = "3306" Type = "1">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Listen Config
#
# Host
# This is the address that the server will listen on.
# To listen on all addresses, set it to 0.0.0.0
# Default: 127.0.0.1 (localhost)
#
# WorldServerPort
# This is the port that the world server listens on.
# It has to be the same as what is specified in the
# realms table in the LogonDatabase.
# Default: 8129
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<Listen Host = "0.0.0.0"
WorldServerPort = "8129">
realms.conf,realm1
Code:
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# 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 = "EXTERNAL/LAN IP:8129"
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)
#
# Colour:
# Realm colour in realm list display.
#
# TimeZone:
# Time zone the realm is in.
#
# Population:
# (0 = low, 1 = medium, 2 = high)
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<Realm1 Name = "REALM1 NAME"
Address = "SAME AS ABOVE^^"
Icon = "PVP"
Colour = "1"
Population = "1.0"
TimeZone = "1">
Realm 2,antrix.conf
Code:
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# 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, 2 = PostgreSQL, 3 = Oracle 10g
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<WorldDatabase Hostname = "127.0.0.1" Username = "USERNAME" Password = "PASSWORD" Name = "antrix2" Port = "3306" Type = "1">
<CharacterDatabase Hostname = "127.0.0.1" Username = "USERNAME" Password = "PASSWORD" Name = "char2" Port = "3306" Type = "1">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Listen Config
#
# Host
# This is the address that the server will listen on.
# To listen on all addresses, set it to 0.0.0.0
# Default: 127.0.0.1 (localhost)
#
# WorldServerPort
# This is the port that the world server listens on.
# It has to be the same as what is specified in the
# realms table in the LogonDatabase.
# Default: 8129
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<Listen Host = "0.0.0.0"
WorldServerPort = "8130">
Realms.conf,realm2
Code:
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# 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 = "EXTERNAL/LAN IP:8130"
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)
#
# Colour:
# Realm colour in realm list display.
#
# TimeZone:
# Time zone the realm is in.
#
# Population:
# (0 = low, 1 = medium, 2 = high)
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<Realm1 Name = "REALM 2 NAME"
Address = "SAME AS ABOVE^^"
Icon = "PVP"
Colour = "1"
Population = "1.0"
TimeZone = "1">
You only need to use one loginserver..
Loginserver,loginserver.conf
Code:
# LogonDatabase Section
#
# These directives are the location of the `realms` and `accounts`
# tables.
#
# 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, 2 = PostgreSQL, 3 = Oracle 10g
#
<LogonDatabase Hostname = "127.0.0.1"
Username = "USERNAME"
Password = "PASSWORD"
Name = "login"
Port = "3306"
Type = "1">
3.Now you may have noticed that it points to different database's throughout the separate configs.
You will need to make 5 separate databases, i prefer to use navicat so thats what i am going to use:
antrix1
antrix2
char1
char2
login
4.After you have created those databases,import whichever database your using(OBDB2, DatabaseEVOLVED) into antrix1 and antrix2. If you want to have one Blizz and one Funserver, execute obdb2 into antrix1 and databaseEVOLVED into antrix2
5. If using two identical databases use 5a, if using seperate databases use 5b.
5a.Then go to Tools-->Data Transfer and transfer the following tables into their databases:
char1 and char2 :
Code:
auctions
bids
characters
corpses
finished_quests
gm_tickets
guild_ranks
guilds
instances
mailbox
playercooldownitems
playercooldownsecurity
playeritems
playerpets
playerpetspells
playersummonspells
questlog
social
tutorials
login:
Code:
account_banned
accounts
banned_users
command
any forum_
forums
ipbans
realm_settings
realmlist
any Web_
5b.If you are using two separate Databases use antrix1 for char1 and login and use antrix2 for char2
/|\note: the Forums_ and Web_ are for websites!/|\
6.open up the normal ports but add 8130
7. startup the loginserver that you configured and then both antrix.exe's
Should be up and running,
To connect type in the address you put in the loginserver.conf into your realmlist as so:
Code:
set realmlist ADRESS
Then select the realm you want to play on!
found this guid, thought lets share, cuz this is needed hard here (much much people asking for this lately )
i hope this helps
note: this is probably for older ascent revs (antrix is still in instead of ascent) but the guid works with newer revs also...
grtz