Server configuration

From ArcEmu-Wiki
Jump to: navigation, search
+/-
Main Page                   Other languages:   English  •   German   •   FrenchArcEmu Website     ArcEmu Forum     Bug Tracker


Contents


Configuration Files


Look for the *.conf files in the "configs" folder of ArcEmu SVN trunk. Copy the entire configs folder to your ArcEmu Installation Folder in order for the server to read them.


Your "installation directory" should now look somewhat like this.

/wherever-you-put-arcemu-/configs/world.conf
/wherever-you-put-arcemu-/configs/logon.conf
/wherever-you-put-arcemu-/configs/realms.conf
/wherever-you-put-arcemu-/configs/optional.conf

Also please note that on linux you would put them in your prefix directory under a folder named /etc/


Ico info.png These files have documentation in them that will help you to configure ArcEmu without having to refer to this page. The setup guide below is not as updated as the config files are.



Configuring world.conf

Enter your MySQL information at the top of this file.


<WorldDatabase Hostname = "localhost" Username = "root" Password = "passwd" Name = "arc_world" Port = "3306" Type = "1">
<CharacterDatabase Hostname = "localhost" Username = "root" Password = "passwd" Name = "arc_character" Port = "3306" Type = "1">

username = mysql username password = mysql password name = database name


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# LogonServer Setup
#
#    DisablePings   
#        This directive controls whether pings will be sent to the logonserver to check
#        if the connection is still "alive". Expect problems if it is disabled.
#        Default: 0
#
#    RemotePassword
#        This directive controls the password used to authenticate with the logonserver.
#        It must be the same between the two configs. If it is not, your server will
#        not register.
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#

<LogonServer DisablePings = "0"
             RemotePassword = "HERE_MUST_BE_THE_SAME_PASSWORD">


Configuring logon.conf

Enter your MySQL information.

<LogonDatabase Hostname = "localhost"
               Username = "root"
               Password = "passwd"
               Name     = "arc_logon"
               Port     = "3306"
               Type     = "1">

I hope you remembered that password. Enter it here.

<LogonServer RemotePassword = "HERE_MUST_BE_THE_SAME_PASSWORD"
             AllowedIPs = "127.0.0.1/24"
             AllowedModIPs = "127.0.0.1/24">

If your servers communicate to each other through a different ip then 127.0.0.1 change it to your IP's to allow them to communicate to each other.


Next step (realms.config)

Configuring realms.conf and client realm list

Personal tools