Server configuration

From ArcEmu-Wiki
(Difference between revisions)
Jump to: navigation, search
 
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
{{TocRight}}
+
{{LanguageLinks|Server_configuration|EN}}
  
== Configuration Files ==
+
__TOC__
  
* ''world.conf''
+
= Configuration Files =
* ''logon.conf''
+
* ''realms.conf''
+
* ''optional.conf''
+
  
Look for the ''.conf'' files in the '''"trunk\configs"''' folder of ArcEmu SVN trunk. Copy the entire ''configs'' folder to your '''ArcEmu Installation Folder''' in order for the server to read them.
+
* ''[[world.conf]]''
 +
* ''[[logon.conf]]''
 +
* ''[[realms.conf]]''
 +
* ''[[optional.conf]]''
  
 +
 +
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.
 
<pre>
 
<pre>
Your "installation directory" should now look somewhat like this.
 
 
 
/wherever-you-put-arcemu-/configs/world.conf
 
/wherever-you-put-arcemu-/configs/world.conf
 
/wherever-you-put-arcemu-/configs/logon.conf
 
/wherever-you-put-arcemu-/configs/logon.conf
 
/wherever-you-put-arcemu-/configs/realms.conf
 
/wherever-you-put-arcemu-/configs/realms.conf
 
/wherever-you-put-arcemu-/configs/optional.conf
 
/wherever-you-put-arcemu-/configs/optional.conf
 +
</pre>
  
 
Also please note that on linux you would put them in your prefix directory under a folder named /etc/
 
Also please note that on linux you would put them in your prefix directory under a folder named /etc/
</pre>
 
 
 
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 older and not as updated as the config files are.
 
 
  
= Basic Setup Guide =
 
  
There are three steps. The first step is to configure your ''world.conf'' file. The second step is to configure the ''logon.conf'' file. The third step is to configure the ''realm.conf'' file.
+
{{Note|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 ===
+
= Configuring world.conf =
  
 
Enter your MySQL information at the top of this file.
 
Enter your MySQL information at the top of this file.
Line 61: Line 59:
  
 
<LogonServer DisablePings = "0"
 
<LogonServer DisablePings = "0"
             RemotePassword = "change_me_world">
+
             RemotePassword = "HERE_MUST_BE_THE_SAME_PASSWORD">
 
</pre>
 
</pre>
  
  
=== Configuring logon.conf ===
+
= Configuring logon.conf =
  
 
Enter your MySQL information.
 
Enter your MySQL information.
Line 79: Line 77:
 
I hope you remembered that password. Enter it here.
 
I hope you remembered that password. Enter it here.
 
<pre>
 
<pre>
<LogonServer RemotePassword = "change_me_logon"
+
<LogonServer RemotePassword = "HERE_MUST_BE_THE_SAME_PASSWORD"
             AllowedIPs = "127.0.0.0/24"
+
             AllowedIPs = "127.0.0.1/24"
             AllowedModIPs = "127.0.0.0/24">
+
             AllowedModIPs = "127.0.0.1/24">
 
</pre>
 
</pre>
  
If your servers communicate to each other through a different ip then 127.0.0.0 change it to your IP's to allow them to communicate to each other.
+
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.
  
  
=== Configuring realms.conf and client realm list ===
+
= Next step (realms.config) =
  
[[Arcemu_Use_Cases]]
+
[[Arcemu_Use_Cases|Configuring realms.conf and client realm list]]
  
  
 
[[Category:Installation]]
 
[[Category:Installation]]

Latest revision as of 09:11, 26 February 2012

+/-
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