<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.herc.ws/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.herc.ws/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Milamber</id>
		<title>Hercules Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Milamber"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Special:Contributions/Milamber"/>
		<updated>2026-05-01T07:35:41Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/wiki/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Main_Page"/>
				<updated>2014-01-09T20:38:14Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;width: 100%;&amp;quot; cellspacing=&amp;quot;5&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #FCFCFC; border: 1px solid #AAA; vertical-align: top;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;About Hercules&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[[Hercules]] is an [[wikipedia:Open_source|open-source]] project, revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package, emulating a [[wikipedia:Ragnarok_Online|Ragnarok Online]] [[wikipedia:Server|Server]]. Written in [[wikipedia:C_(programming_language)|C]] the program is very versatile and provides NPCs, warps and modifications. and is currently version controlled via [[wikipedia:Git_(software)|Git]]. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. Hercules is a continuation of the original Athena project.&lt;br /&gt;
&lt;br /&gt;
Hercules currently runs on most common [[wikipedia:Operating_system|Operating Systems]] currently available today. For a full list, please see the [[System Requirements]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;Editing the Wiki&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
All users must login to the wiki using their forum account. Any member can edit the wiki, but please keep in mind that the Hercules wiki is released under the [[wikipedia:GNU_Free_Documentation_License|GNU Free Documentation License]] Version 1.2. This means that the wiki and any works put on it can be edited at will. They may also be distributed, provided all history and copylefts remain intact. Please see [[Editing the wiki]] for more information.&lt;br /&gt;
&lt;br /&gt;
Don't know where to start? Check the [[Special:WantedPages]] page and create a page that is listed there!&lt;br /&gt;
&lt;br /&gt;
Please do not create pages for custom content, such as custom projects not relating to Hercules in any way. A full list of content that should not be on the wiki is listed at [[Editing the wiki]].&lt;br /&gt;
&lt;br /&gt;
Please see [[:Category:Wiki_Projects|Wiki Projects]] for any ongoing projects that you might be able to help with!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;Quick Tips&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
*Spell check your work and make sure the grammar is correct.&lt;br /&gt;
*Use English.&lt;br /&gt;
*Do not vandalize the wiki. Vandalization will come with harsh punishment.&lt;br /&gt;
*Please see [[mw:Help:Formatting|Formatting a wiki]] for tips on wiki formats and syntaxes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;background: #FCFCFC; border: 1px solid #AAA; vertical-align: top;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: 260px; background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float: right; padding: 0 20px;&amp;quot;&amp;gt;[[Image:poring1.gif]]&amp;lt;/div&amp;gt;Installation&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
; [[Getting Started]]&lt;br /&gt;
: [[System Requirements]]&lt;br /&gt;
; [[:Category:Installation|Installation]]&lt;br /&gt;
: [[Installation_(CentOS)|CentOS]]&lt;br /&gt;
: [[Installation_(Debian)|Debian Linux]]&lt;br /&gt;
: [[Installation_(FreeBSD)|FreeBSD]]&lt;br /&gt;
; [[Compiling]]&lt;br /&gt;
; [[Connecting|Connecting and Starting]]&lt;br /&gt;
; [[:Category:Configuration|Configuration]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float: right;&amp;quot;&amp;gt;[[Image:develing1.gif]]&amp;lt;/div&amp;gt;Server Side&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
; [[Scripting]]&lt;br /&gt;
: [[Basic Scripting]]&lt;br /&gt;
: [[:Category:Script_Command|Script Commands]]&lt;br /&gt;
: [[Permanent Monster Spawn]]&lt;br /&gt;
: [[Instancing]]&lt;br /&gt;
:&lt;br /&gt;
; [[Server Modification]]&lt;br /&gt;
: [[:Category:Source_Functions|Source Functions]]&lt;br /&gt;
: [[:Category:Source Snippets|Source Snippets]]&lt;br /&gt;
: [[Hercules Plugin Manager]]&lt;br /&gt;
: [[Packets]]&lt;br /&gt;
:&lt;br /&gt;
; [[:Category:Database|Database]]&lt;br /&gt;
: [[Custom Items]]&lt;br /&gt;
: [[Custom Mobs]]&lt;br /&gt;
: [[Custom weapons]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float: right;&amp;quot;&amp;gt;[[Image:angeling1.gif]]&amp;lt;/div&amp;gt;Client Side&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
; [[:Category:Data|Data]]&lt;br /&gt;
; [[Spriting]]&lt;br /&gt;
: [[Palettes]]&lt;br /&gt;
: [[Acts]]&lt;br /&gt;
:&lt;br /&gt;
; [[:Category:Mapping|Mapping]]&lt;br /&gt;
: [[Modeling]]&lt;br /&gt;
: [[Texture]]&lt;br /&gt;
:&lt;br /&gt;
; [[:Category:Client_Configuration|Client Stuff]]&lt;br /&gt;
;&lt;br /&gt;
; [[:Category:Patchers|Patchers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	<entry>
		<id>https://wiki.herc.ws/wiki/Installation_(FreeBSD)</id>
		<title>Installation (FreeBSD)</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Installation_(FreeBSD)"/>
				<updated>2014-01-09T20:17:36Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is aimed at installing and getting [[Hercules]] to run successfully on a machine running [[wikipedia:FreeBSD|FreeBSD]] 9.1-RELEASE. It is assumed that FreeBSD was installed with the ports collection and enabled Linux Threading on install. This guide will NOT teach you how to network FreeBSD, install FreeBSD or configure any additional system settings (besides the ones needed to run Hercules and its dependencies).&lt;br /&gt;
&lt;br /&gt;
=Before we Start=&lt;br /&gt;
We will primarily working from the /home/user directory. Your primary user will need to be in the 'wheel' group and be able to su into root. Remember that I will include either $ or #, depending on who you should be. $ indicates you should be your primary user, and # indicates you should be root.&lt;br /&gt;
&lt;br /&gt;
=Required software=&lt;br /&gt;
We are going to use FreeBSD's ports collection to download, install and use most of these programs. It is assumed you already installed the ports collection, if you have not, I suggest you do that now.&lt;br /&gt;
&lt;br /&gt;
==Ports Collection==&lt;br /&gt;
The Ports Collection is a set of files used to compile and install applications on FreeBSD. While this is not a guide for FreeBSD, its recommended to obtain the same as given below:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# portsnap fetch&lt;br /&gt;
Download a compressed snapshot of the Ports Collection into /var/db/portsnap.&lt;br /&gt;
&lt;br /&gt;
# portsnap extract&lt;br /&gt;
When running Portsnap for the first time, extract the snapshot into /usr/ports&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==wget==&lt;br /&gt;
wget is a download manager available on FreeBSD and can be your bread and butter while working on FreeBSD.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# whereis wget&lt;br /&gt;
wget: /usr/ports/www/wget&lt;br /&gt;
# cd /usr/ports/www/wget &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==gmake==&lt;br /&gt;
gmake, or GNUMake, is the GCC compiler used for FreeBSD. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# whereis gmake&lt;br /&gt;
gmake: /usr/ports/devel/gmake&lt;br /&gt;
# cd /usr/ports/devel/gmake &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==unrar==&lt;br /&gt;
unrar is a tool to unrar .rar's in BSD. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# whereis unrar&lt;br /&gt;
unrar: /usr/ports/archivers/unrar&lt;br /&gt;
$ cd /usr/ports/archivers/unrar&lt;br /&gt;
$ make clean&lt;br /&gt;
$ make install&lt;br /&gt;
$ rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GCC==&lt;br /&gt;
GCC is the GNU Compiler Collection and front ends for C, C++ and other languages.&lt;br /&gt;
This may not be available on the system but it can be obtained as below:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# wget http://www.netgull.com/gnu/gcc/gcc-###.tar.gz (Where ## is the version number. visit the mirror to find out)&lt;br /&gt;
# tar -xvf gcc-###.tar.gz&lt;br /&gt;
# cd gcc*&lt;br /&gt;
# make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==gdb== &lt;br /&gt;
GDB is handy tool to have on a development machine, as it can take backtraces of crashes and help you find what went wrong.&lt;br /&gt;
It is probable that this is already available on your FreeBSD, but if it's not, here's how you can install it:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# wget http://ftp.gnu.org/gnu/gdb/gdb-###.tar.gz (again, where ### is the version number, check out the mirror)&lt;br /&gt;
# tar -xvf gdb-###.tar.gz&lt;br /&gt;
# cd gdb*&lt;br /&gt;
# make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean &lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==git==&lt;br /&gt;
[[Git]] is the versioning system used for Hercules and how we will get our copy of Hercules. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# whereis git&lt;br /&gt;
git: /usr/ports/devel/git&lt;br /&gt;
# cd /usr/ports/devel/git &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, let's go ahead and download Hercules. We'll use git for this. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su root&lt;br /&gt;
# adduser //create a Hercules user&lt;br /&gt;
# exit&lt;br /&gt;
$ su hercules&lt;br /&gt;
$ cd /home/hercules&lt;br /&gt;
$ git clone https://github.com/HerculesWS/Hercules.git Hercules&lt;br /&gt;
$&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, we can populate the tables with the .sql files in Hercules. Navigate to your /sql-files/ folder in the Hercules files you just checked out.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /home/hercules/trunk/sql-files&lt;br /&gt;
$ mysql -uuser -ppassword myr-odb &amp;lt; main.sql&lt;br /&gt;
$ mysql -uuser -ppassword myro-db &amp;lt; logs.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, you'll want to follow the steps in the [[:Category:Configuration]] and [[Connecting]] pages to get your Hercules configured. Once you've made all your source changes, you can compile Hercules. While you're in the root of your Hercules folder, issue the following commands to compile your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ gmake clean&lt;br /&gt;
$ gmake sql&lt;br /&gt;
$ rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Important Note:''' If you are using a 32 bit FreeBSD you have to use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod 777 configure&lt;br /&gt;
$ ./configure --disable-64bit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
instead&lt;br /&gt;
&lt;br /&gt;
''NOTE:'' You should '''NEVER''' run Hercules as the root user!. Always setup a new user and this cannot be stressed enough on!&lt;br /&gt;
This will also prevent your from having difficulties with file permissions.&lt;br /&gt;
&lt;br /&gt;
And to start your servers, you can simply use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./athena-start &amp;lt;command&amp;gt; (start | stop | restart | status)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And that's it! You now have Hercules running on your FreeBSD machine!&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Guides]]&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	<entry>
		<id>https://wiki.herc.ws/wiki/Installation_(FreeBSD)</id>
		<title>Installation (FreeBSD)</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Installation_(FreeBSD)"/>
				<updated>2014-01-09T20:13:15Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: /* unrar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is aimed at installing and getting [[Hercules]] to run successfully on a machine running [[wikipedia:FreeBSD|FreeBSD]] 9.1-RELEASE. It is assumed that FreeBSD was installed with the ports collection and enabled Linux Threading on install. This guide will NOT teach you how to network FreeBSD, install FreeBSD or configure any additional system settings (besides the ones needed to run Hercules and its dependencies).&lt;br /&gt;
&lt;br /&gt;
=Before we Start=&lt;br /&gt;
We will primarily working from the /home/user directory. Your primary user will need to be in the 'wheel' group and be able to su into root. Remember that I will include either $ or #, depending on who you should be. $ indicates you should be your primary user, and # indicates you should be root.&lt;br /&gt;
&lt;br /&gt;
=Required software=&lt;br /&gt;
We are going to use FreeBSD's ports collection to download, install and use most of these programs. It is assumed you already installed the ports collection, if you have not, I suggest you do that now.&lt;br /&gt;
&lt;br /&gt;
==Ports Collection==&lt;br /&gt;
The Ports Collection is a set of files used to compile and install applications on FreeBSD. While this is not a guide for FreeBSD, its recommended to obtain the same as given below:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# portsnap fetch&lt;br /&gt;
Download a compressed snapshot of the Ports Collection into /var/db/portsnap.&lt;br /&gt;
&lt;br /&gt;
# portsnap extract&lt;br /&gt;
When running Portsnap for the first time, extract the snapshot into /usr/ports&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==wget==&lt;br /&gt;
wget is a download manager available on FreeBSD and can be your bread and butter while working on FreeBSD.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# whereis wget&lt;br /&gt;
wget: /usr/ports/www/wget&lt;br /&gt;
# cd /usr/ports/www/wget &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==gmake==&lt;br /&gt;
gmake, or GNUMake, is the GCC compiler used for FreeBSD. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# whereis gmake&lt;br /&gt;
gmake: /usr/ports/devel/gmake&lt;br /&gt;
# cd /usr/ports/devel/gmake &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==unrar==&lt;br /&gt;
unrar is a tool to unrar .rar's in BSD. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# whereis unrar&lt;br /&gt;
unrar: /usr/ports/archivers/unrar&lt;br /&gt;
$ cd /usr/ports/archivers/unrar&lt;br /&gt;
$ make clean&lt;br /&gt;
$ make install&lt;br /&gt;
$ rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GCC==&lt;br /&gt;
GCC is the GNU Compiler Collection and front ends for C, C++ and other languages.&lt;br /&gt;
This may not be available on the system but it can be obtained as below:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# wget http://www.netgull.com/gnu/gcc/gcc-###.tar.gz (Where ## is the version number. visit the mirror to find out)&lt;br /&gt;
# tar -xvf gcc-###.tar.gz&lt;br /&gt;
# cd gcc*&lt;br /&gt;
# make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==gdb== &lt;br /&gt;
GDB is handy tool to have on a development machine, as it can take backtraces of crashes and help you find what went wrong.&lt;br /&gt;
It is probable that this is already available on your FreeBSD, but if it's not, here's how you can install it:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# wget http://ftp.gnu.org/gnu/gdb/gdb-###.tar.gz (again, where ### is the version number, check out the mirror)&lt;br /&gt;
# tar -xvf gdb-###.tar.gz&lt;br /&gt;
# cd gdb*&lt;br /&gt;
# make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean &lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==git==&lt;br /&gt;
[[Git]] is the versioning system used for Hercules and how we will get our copy of Hercules. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# whereis git&lt;br /&gt;
git: /usr/ports/devel/git&lt;br /&gt;
# cd /usr/ports/devel/git &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, let's go ahead and download Hercules. We'll use git for this. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su root&lt;br /&gt;
# adduser //create a Hercules user&lt;br /&gt;
# exit&lt;br /&gt;
$ su hercules&lt;br /&gt;
$ cd /home/hercules&lt;br /&gt;
$ git clone https://github.com/HerculesWS/Hercules.git Hercules&lt;br /&gt;
$&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, we can populate the tables with the .sql files in Hercules. Navigate to your /sql-files/ folder in the Hercules files you just checked out.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /home/hercules/trunk/sql-files&lt;br /&gt;
$ mysql -uuser -ppassword myr-odb &amp;lt; main.sql&lt;br /&gt;
$ mysql -uuser -ppassword myro-db &amp;lt; logs.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, you'll want to follow the steps in the [[:Category:Configuration]] and [[Connecting]] pages to get your Hercules configured. Once you've made all your source changes, you can compile Hercules. While you're in the root of your Hercules folder, issue the following commands to compile your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ gmake clean&lt;br /&gt;
$ gmake sql&lt;br /&gt;
$ rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Important Note:''' If you are using a 32 bit FreeBSD you have to use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod 777 configure&lt;br /&gt;
$ ./configure --disable-64bit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
instead&lt;br /&gt;
&lt;br /&gt;
''NOTE:'' You should '''NEVER''' run Hercules as the root user!. Always setup a new user and this cannot be stressed enough on!&lt;br /&gt;
NB : Always compile as the Hercules user instead of root as that will avoid giving your difficulties with file permissions.&lt;br /&gt;
&lt;br /&gt;
And to start your servers, you can simply use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./athena-start &amp;lt;command&amp;gt; (start | stop | restart | status)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And that's it! You now have Hercules running on your FreeBSD machine!&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Guides]]&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	<entry>
		<id>https://wiki.herc.ws/wiki/Installation_(FreeBSD)</id>
		<title>Installation (FreeBSD)</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Installation_(FreeBSD)"/>
				<updated>2014-01-09T20:12:40Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: /* gmake */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is aimed at installing and getting [[Hercules]] to run successfully on a machine running [[wikipedia:FreeBSD|FreeBSD]] 9.1-RELEASE. It is assumed that FreeBSD was installed with the ports collection and enabled Linux Threading on install. This guide will NOT teach you how to network FreeBSD, install FreeBSD or configure any additional system settings (besides the ones needed to run Hercules and its dependencies).&lt;br /&gt;
&lt;br /&gt;
=Before we Start=&lt;br /&gt;
We will primarily working from the /home/user directory. Your primary user will need to be in the 'wheel' group and be able to su into root. Remember that I will include either $ or #, depending on who you should be. $ indicates you should be your primary user, and # indicates you should be root.&lt;br /&gt;
&lt;br /&gt;
=Required software=&lt;br /&gt;
We are going to use FreeBSD's ports collection to download, install and use most of these programs. It is assumed you already installed the ports collection, if you have not, I suggest you do that now.&lt;br /&gt;
&lt;br /&gt;
==Ports Collection==&lt;br /&gt;
The Ports Collection is a set of files used to compile and install applications on FreeBSD. While this is not a guide for FreeBSD, its recommended to obtain the same as given below:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# portsnap fetch&lt;br /&gt;
Download a compressed snapshot of the Ports Collection into /var/db/portsnap.&lt;br /&gt;
&lt;br /&gt;
# portsnap extract&lt;br /&gt;
When running Portsnap for the first time, extract the snapshot into /usr/ports&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==wget==&lt;br /&gt;
wget is a download manager available on FreeBSD and can be your bread and butter while working on FreeBSD.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# whereis wget&lt;br /&gt;
wget: /usr/ports/www/wget&lt;br /&gt;
# cd /usr/ports/www/wget &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==gmake==&lt;br /&gt;
gmake, or GNUMake, is the GCC compiler used for FreeBSD. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# whereis gmake&lt;br /&gt;
gmake: /usr/ports/devel/gmake&lt;br /&gt;
# cd /usr/ports/devel/gmake &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==unrar==&lt;br /&gt;
unrar is a tool to unrar .rar's in BSD. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt; # whereis unrar&lt;br /&gt;
unrar: /usr/ports/archivers/unrar&lt;br /&gt;
$ cd /usr/ports/archivers/unrar&lt;br /&gt;
$ make clean&lt;br /&gt;
$ make install&lt;br /&gt;
$ rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GCC==&lt;br /&gt;
GCC is the GNU Compiler Collection and front ends for C, C++ and other languages.&lt;br /&gt;
This may not be available on the system but it can be obtained as below:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# wget http://www.netgull.com/gnu/gcc/gcc-###.tar.gz (Where ## is the version number. visit the mirror to find out)&lt;br /&gt;
# tar -xvf gcc-###.tar.gz&lt;br /&gt;
# cd gcc*&lt;br /&gt;
# make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==gdb== &lt;br /&gt;
GDB is handy tool to have on a development machine, as it can take backtraces of crashes and help you find what went wrong.&lt;br /&gt;
It is probable that this is already available on your FreeBSD, but if it's not, here's how you can install it:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# wget http://ftp.gnu.org/gnu/gdb/gdb-###.tar.gz (again, where ### is the version number, check out the mirror)&lt;br /&gt;
# tar -xvf gdb-###.tar.gz&lt;br /&gt;
# cd gdb*&lt;br /&gt;
# make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean &lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==git==&lt;br /&gt;
[[Git]] is the versioning system used for Hercules and how we will get our copy of Hercules. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# whereis git&lt;br /&gt;
git: /usr/ports/devel/git&lt;br /&gt;
# cd /usr/ports/devel/git &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, let's go ahead and download Hercules. We'll use git for this. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su root&lt;br /&gt;
# adduser //create a Hercules user&lt;br /&gt;
# exit&lt;br /&gt;
$ su hercules&lt;br /&gt;
$ cd /home/hercules&lt;br /&gt;
$ git clone https://github.com/HerculesWS/Hercules.git Hercules&lt;br /&gt;
$&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, we can populate the tables with the .sql files in Hercules. Navigate to your /sql-files/ folder in the Hercules files you just checked out.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /home/hercules/trunk/sql-files&lt;br /&gt;
$ mysql -uuser -ppassword myr-odb &amp;lt; main.sql&lt;br /&gt;
$ mysql -uuser -ppassword myro-db &amp;lt; logs.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, you'll want to follow the steps in the [[:Category:Configuration]] and [[Connecting]] pages to get your Hercules configured. Once you've made all your source changes, you can compile Hercules. While you're in the root of your Hercules folder, issue the following commands to compile your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ gmake clean&lt;br /&gt;
$ gmake sql&lt;br /&gt;
$ rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Important Note:''' If you are using a 32 bit FreeBSD you have to use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod 777 configure&lt;br /&gt;
$ ./configure --disable-64bit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
instead&lt;br /&gt;
&lt;br /&gt;
''NOTE:'' You should '''NEVER''' run Hercules as the root user!. Always setup a new user and this cannot be stressed enough on!&lt;br /&gt;
NB : Always compile as the Hercules user instead of root as that will avoid giving your difficulties with file permissions.&lt;br /&gt;
&lt;br /&gt;
And to start your servers, you can simply use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./athena-start &amp;lt;command&amp;gt; (start | stop | restart | status)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And that's it! You now have Hercules running on your FreeBSD machine!&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Guides]]&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	<entry>
		<id>https://wiki.herc.ws/wiki/Installation_(FreeBSD)</id>
		<title>Installation (FreeBSD)</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Installation_(FreeBSD)"/>
				<updated>2014-01-09T20:07:15Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: Created page with &amp;quot;This article is aimed at installing and getting Hercules to run successfully on a machine running FreeBSD 9.1-RELEASE. It is assumed that FreeBSD was...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is aimed at installing and getting [[Hercules]] to run successfully on a machine running [[wikipedia:FreeBSD|FreeBSD]] 9.1-RELEASE. It is assumed that FreeBSD was installed with the ports collection and enabled Linux Threading on install. This guide will NOT teach you how to network FreeBSD, install FreeBSD or configure any additional system settings (besides the ones needed to run Hercules and its dependencies).&lt;br /&gt;
&lt;br /&gt;
=Before we Start=&lt;br /&gt;
We will primarily working from the /home/user directory. Your primary user will need to be in the 'wheel' group and be able to su into root. Remember that I will include either $ or #, depending on who you should be. $ indicates you should be your primary user, and # indicates you should be root.&lt;br /&gt;
&lt;br /&gt;
=Required software=&lt;br /&gt;
We are going to use FreeBSD's ports collection to download, install and use most of these programs. It is assumed you already installed the ports collection, if you have not, I suggest you do that now.&lt;br /&gt;
&lt;br /&gt;
==Ports Collection==&lt;br /&gt;
The Ports Collection is a set of files used to compile and install applications on FreeBSD. While this is not a guide for FreeBSD, its recommended to obtain the same as given below:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# portsnap fetch&lt;br /&gt;
Download a compressed snapshot of the Ports Collection into /var/db/portsnap.&lt;br /&gt;
&lt;br /&gt;
# portsnap extract&lt;br /&gt;
When running Portsnap for the first time, extract the snapshot into /usr/ports&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==wget==&lt;br /&gt;
wget is a download manager available on FreeBSD and can be your bread and butter while working on FreeBSD.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# whereis wget&lt;br /&gt;
wget: /usr/ports/www/wget&lt;br /&gt;
# cd /usr/ports/www/wget &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==gmake==&lt;br /&gt;
gmake, or GNUMake, is the GCC compiler used for FreeBSD. This is how we will create our binaries.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt; # whereis gmake&lt;br /&gt;
gmake: /usr/ports/devel/gmake&lt;br /&gt;
# cd /usr/ports/devel/gmake &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==unrar==&lt;br /&gt;
unrar is a tool to unrar .rar's in BSD. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt; # whereis unrar&lt;br /&gt;
unrar: /usr/ports/archivers/unrar&lt;br /&gt;
$ cd /usr/ports/archivers/unrar&lt;br /&gt;
$ make clean&lt;br /&gt;
$ make install&lt;br /&gt;
$ rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GCC==&lt;br /&gt;
GCC is the GNU Compiler Collection and front ends for C, C++ and other languages.&lt;br /&gt;
This may not be available on the system but it can be obtained as below:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# wget http://www.netgull.com/gnu/gcc/gcc-###.tar.gz (Where ## is the version number. visit the mirror to find out)&lt;br /&gt;
# tar -xvf gcc-###.tar.gz&lt;br /&gt;
# cd gcc*&lt;br /&gt;
# make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==gdb== &lt;br /&gt;
GDB is handy tool to have on a development machine, as it can take backtraces of crashes and help you find what went wrong.&lt;br /&gt;
It is probable that this is already available on your FreeBSD, but if it's not, here's how you can install it:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# wget http://ftp.gnu.org/gnu/gdb/gdb-###.tar.gz (again, where ### is the version number, check out the mirror)&lt;br /&gt;
# tar -xvf gdb-###.tar.gz&lt;br /&gt;
# cd gdb*&lt;br /&gt;
# make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean &lt;br /&gt;
# rehash&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==git==&lt;br /&gt;
[[Git]] is the versioning system used for Hercules and how we will get our copy of Hercules. &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;# whereis git&lt;br /&gt;
git: /usr/ports/devel/git&lt;br /&gt;
# cd /usr/ports/devel/git &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
# make clean&lt;br /&gt;
# rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, let's go ahead and download Hercules. We'll use git for this. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su root&lt;br /&gt;
# adduser //create a Hercules user&lt;br /&gt;
# exit&lt;br /&gt;
$ su hercules&lt;br /&gt;
$ cd /home/hercules&lt;br /&gt;
$ git clone https://github.com/HerculesWS/Hercules.git Hercules&lt;br /&gt;
$&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, we can populate the tables with the .sql files in Hercules. Navigate to your /sql-files/ folder in the Hercules files you just checked out.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /home/hercules/trunk/sql-files&lt;br /&gt;
$ mysql -uuser -ppassword myr-odb &amp;lt; main.sql&lt;br /&gt;
$ mysql -uuser -ppassword myro-db &amp;lt; logs.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, you'll want to follow the steps in the [[:Category:Configuration]] and [[Connecting]] pages to get your Hercules configured. Once you've made all your source changes, you can compile Hercules. While you're in the root of your Hercules folder, issue the following commands to compile your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ gmake clean&lt;br /&gt;
$ gmake sql&lt;br /&gt;
$ rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Important Note:''' If you are using a 32 bit FreeBSD you have to use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod 777 configure&lt;br /&gt;
$ ./configure --disable-64bit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
instead&lt;br /&gt;
&lt;br /&gt;
''NOTE:'' You should '''NEVER''' run Hercules as the root user!. Always setup a new user and this cannot be stressed enough on!&lt;br /&gt;
NB : Always compile as the Hercules user instead of root as that will avoid giving your difficulties with file permissions.&lt;br /&gt;
&lt;br /&gt;
And to start your servers, you can simply use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./athena-start &amp;lt;command&amp;gt; (start | stop | restart | status)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And that's it! You now have Hercules running on your FreeBSD machine!&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Guides]]&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	<entry>
		<id>https://wiki.herc.ws/wiki/Compiling</id>
		<title>Compiling</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Compiling"/>
				<updated>2014-01-09T19:21:08Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: /* Using cmake &amp;amp; make */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Unix ==&lt;br /&gt;
=== Using configure &amp;amp; make ===&lt;br /&gt;
Configure and make are commands used commonly to configure, build and install Linux applications.&lt;br /&gt;
==== Configure ====&lt;br /&gt;
{{:Configure}}&lt;br /&gt;
==== Make ====&lt;br /&gt;
 make sql&lt;br /&gt;
You should be now noticing that you have 3 new files: '''char-server_sql''', '''map-server_sql''', and '''login-server_sql'''.&lt;br /&gt;
Make install is not yet supported.&lt;br /&gt;
=== Using cmake &amp;amp; make ===&lt;br /&gt;
[http://www.vtk.org/Wiki/CMake Cmake] is a cross-platform configure.&lt;br /&gt;
&lt;br /&gt;
Start creating a new sub directory and move there&lt;br /&gt;
   mkdir build&lt;br /&gt;
   cd build&lt;br /&gt;
&lt;br /&gt;
==== Building makefiles ====&lt;br /&gt;
Generate the make files by cmake&lt;br /&gt;
   cmake -G&amp;quot;Unix Makefiles&amp;quot; -DINSTALL_TO_SOURCE=ON ..&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-- The C compiler identification is GNU&lt;br /&gt;
-- Check for working C compiler: /usr/bin/gcc&lt;br /&gt;
-- Check for working C compiler: /usr/bin/gcc -- works&lt;br /&gt;
-- Detecting C compiler ABI info&lt;br /&gt;
-- Detecting C compiler ABI info - done&lt;br /&gt;
-- Detecting system MYSQL&lt;br /&gt;
-- Found MYSQL: /usr/lib/libmysqlclient.so (found version &amp;quot;5.1.58&amp;quot;)&lt;br /&gt;
-- Detecting system MYSQL - done&lt;br /&gt;
-- Configuring for system MYSQL&lt;br /&gt;
-- Configuring for system MYSQL - done&lt;br /&gt;
-- Detecting system PCRE&lt;br /&gt;
-- Found PCRE: /usr/lib/i386-linux-gnu/libpcre.so (found version &amp;quot;8.12&amp;quot;)&lt;br /&gt;
-- Detecting system PCRE - done&lt;br /&gt;
-- Configuring for system PCRE&lt;br /&gt;
...&lt;br /&gt;
-- Creating target login-server_sql&lt;br /&gt;
-- Creating target login-server_sql - done&lt;br /&gt;
-- Creating target char-server_sql&lt;br /&gt;
-- Creating target char-server_sql - done&lt;br /&gt;
-- Creating target map-server_sql&lt;br /&gt;
-- Enabled PCRE code&lt;br /&gt;
-- Creating target map-server_sql - done&lt;br /&gt;
-- Creating target mapcache&lt;br /&gt;
-- Creating target mapcache - done&lt;br /&gt;
-- Disabled dbghelpplug plugin target (requires WIN32 and HAVE_DBGHELP_H)&lt;br /&gt;
-- Available targets:&lt;br /&gt;
-- 	common_base&lt;br /&gt;
-- 	common_sql&lt;br /&gt;
-- 	login-server_sql&lt;br /&gt;
-- 	map-server_sql&lt;br /&gt;
-- 	mapcache&lt;br /&gt;
-- Configuring done&lt;br /&gt;
-- Generating done&lt;br /&gt;
-- Build files have been written to: /home/*/Hercules/build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Compilation ====&lt;br /&gt;
Then compile&lt;br /&gt;
   make install&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning dependencies of target common_base&lt;br /&gt;
[  1%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/mt19937ar/mt19937ar.c.o&lt;br /&gt;
[  1%] Building C object src/common/CMakeFiles/common_base.dir/core.c.o&lt;br /&gt;
[  2%] Building C object src/common/CMakeFiles/common_base.dir/db.c.o&lt;br /&gt;
[  3%] Building C object src/common/CMakeFiles/common_base.dir/des.c.o&lt;br /&gt;
...&lt;br /&gt;
[ 98%] Building C object src/tool/CMakeFiles/mapcache.dir/__/common/grfio.c.o&lt;br /&gt;
[ 99%] Building C object src/tool/CMakeFiles/mapcache.dir/__/common/utils.c.o&lt;br /&gt;
[100%] Building C object src/tool/CMakeFiles/mapcache.dir/mapcache.c.o&lt;br /&gt;
...&lt;br /&gt;
-- Installing: ~/Hercules/./login-server_sql&lt;br /&gt;
-- Installing: ~/Hercules/./char-server_sql&lt;br /&gt;
-- Installing: ~/Hercules/./map-server_sql&lt;br /&gt;
-- Installing: ~/Hercules/./mapcache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You'll see nice green output progression then finally login-server_sql, map-server_sql, char-server_sql, in main folder&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
{{:Compiling/Windows}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	<entry>
		<id>https://wiki.herc.ws/wiki/Category:Data</id>
		<title>Category:Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Category:Data"/>
				<updated>2014-01-09T19:19:16Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	<entry>
		<id>https://wiki.herc.ws/wiki/Category:Data</id>
		<title>Category:Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Category:Data"/>
				<updated>2014-01-09T19:18:57Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: Created page with &amp;quot;Data&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Data&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	<entry>
		<id>https://wiki.herc.ws/wiki/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Main_Page"/>
				<updated>2014-01-09T18:53:05Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;width: 100%;&amp;quot; cellspacing=&amp;quot;5&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #FCFCFC; border: 1px solid #AAA; vertical-align: top;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;About Hercules&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[[Hercules]] is an [[wikipedia:Open_source|open-source]] project, revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package, emulating a [[wikipedia:Ragnarok_Online|Ragnarok Online]] [[wikipedia:Server|Server]]. Written in [[wikipedia:C_(programming_language)|C]] the program is very versatile and provides NPCs, warps and modifications. and is currently version controlled via [[wikipedia:Git_(software)|Git]]. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. Hercules is a continuation of the original Athena project.&lt;br /&gt;
&lt;br /&gt;
Hercules currently runs on most common [[wikipedia:Operating_system|Operating Systems]] currently available today. For a full list, please see the [[System Requirements]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;Editing the Wiki&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
All users must login to the wiki using their forum account. Any member can edit the wiki, but please keep in mind that the Hercules wiki is released under the [[wikipedia:GNU_Free_Documentation_License|GNU Free Documentation License]] Version 1.2. This means that the wiki and any works put on it can be edited at will. They may also be distributed, provided all history and copylefts remain intact. Please see [[Editing the wiki]] for more information.&lt;br /&gt;
&lt;br /&gt;
Don't know where to start? Check the [[Special:WantedPages]] page and create a page that is listed there!&lt;br /&gt;
&lt;br /&gt;
Please do not create pages for custom content, such as custom projects not relating to Hercules in any way. A full list of content that should not be on the wiki is listed at [[Editing the wiki]].&lt;br /&gt;
&lt;br /&gt;
Please see [[:Category:Wiki_Projects|Wiki Projects]] for any ongoing projects that you might be able to help with!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;Quick Tips&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
*Spell check your work and make sure the grammar is correct.&lt;br /&gt;
*Use English.&lt;br /&gt;
*Do not vandalize the wiki. Vandalization will come with harsh punishment.&lt;br /&gt;
*Please see [[mw:Help:Formatting|Formatting a wiki]] for tips on wiki formats and syntaxes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;background: #FCFCFC; border: 1px solid #AAA; vertical-align: top;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: 260px; background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float: right; padding: 0 20px;&amp;quot;&amp;gt;[[Image:poring1.gif]]&amp;lt;/div&amp;gt;Installation&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
; [[Getting Started]]&lt;br /&gt;
: [[System Requirements]]&lt;br /&gt;
; [[:Category:Installation|Installation]]&lt;br /&gt;
: [[Installation_(CentOS)|CentOS]]&lt;br /&gt;
: [[Installation_(Debian)|Debian Linux]]&lt;br /&gt;
; [[Compiling]]&lt;br /&gt;
; [[Connecting|Connecting and Starting]]&lt;br /&gt;
; [[:Category:Configuration|Configuration]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float: right;&amp;quot;&amp;gt;[[Image:develing1.gif]]&amp;lt;/div&amp;gt;Server Side&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
; [[Scripting]]&lt;br /&gt;
: [[Basic Scripting]]&lt;br /&gt;
: [[:Category:Script_Command|Script Commands]]&lt;br /&gt;
: [[Permanent Monster Spawn]]&lt;br /&gt;
: [[Instancing]]&lt;br /&gt;
:&lt;br /&gt;
; [[Server Modification]]&lt;br /&gt;
: [[:Category:Source_Functions|Source Functions]]&lt;br /&gt;
: [[:Category:Source Snippets|Source Snippets]]&lt;br /&gt;
: [[Hercules Plugin Manager]]&lt;br /&gt;
: [[Packets]]&lt;br /&gt;
:&lt;br /&gt;
; [[:Category:Database|Database]]&lt;br /&gt;
: [[Custom Items]]&lt;br /&gt;
: [[Custom Mobs]]&lt;br /&gt;
: [[Custom weapons]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #ACD; border: 1px solid #7BC; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 120%;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float: right;&amp;quot;&amp;gt;[[Image:angeling1.gif]]&amp;lt;/div&amp;gt;Client Side&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
; [[:Category:Data|Data]]&lt;br /&gt;
; [[Spriting]]&lt;br /&gt;
: [[Palettes]]&lt;br /&gt;
: [[Acts]]&lt;br /&gt;
:&lt;br /&gt;
; [[:Category:Mapping|Mapping]]&lt;br /&gt;
: [[Modeling]]&lt;br /&gt;
: [[Texture]]&lt;br /&gt;
:&lt;br /&gt;
; [[:Category:Client_Configuration|Client Stuff]]&lt;br /&gt;
;&lt;br /&gt;
; [[:Category:Patchers|Patchers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	<entry>
		<id>https://wiki.herc.ws/wiki/Installation_(Debian)</id>
		<title>Installation (Debian)</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Installation_(Debian)"/>
				<updated>2013-11-25T11:20:44Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide covers how to install [[Hercules]] on [[wikipedia:Debian|Debian]] and other [[wikipedia:List_of_Linux_distributions#Debian-based|versions of Linux]] that use apt-get.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [[wikipedia:Debian|Debian]] or an [[wikipedia:List_of_Linux_distributions##Debian-based]] that has the apt-get command&lt;br /&gt;
* root access or access to an account that has [[wikipedia:Sudo|sudo privileges]]&lt;br /&gt;
* an Internet connection to download install packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
All of these commands will be typed at the [[wikipedia:Command-line_interface|command-line interface]].&lt;br /&gt;
=== Install Prerequisites ===&lt;br /&gt;
# Login to your server via [[wikipedia:Secure_Shell|SSH]], or if you are already logged into a [[wikipedia:Graphical_user_interface|GUI]] press Ctrl+Alt+T to open a terminal window.&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade&lt;br /&gt;
apt-get dist-update  // To update to the latest version of Debian&lt;br /&gt;
# Type the following command (this will install GCC, Make, MySQL Server, MySQL header files,  PCRE header files, Subversion, and Zlib header files) &lt;br /&gt;
#: &amp;lt;pre&amp;gt;apt-get install subversion make gcc mysql-server libmysqlclient-dev zlib1g-dev libpcre3-dev screen&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a non-root Linux user ===&lt;br /&gt;
By the [[wikipedia:Principle_of_least_privilege|principle of least privilege]], it is recommended you do '''NOT''' run Hercules as root. &lt;br /&gt;
# Type the following command to create a non-root Linux account:&lt;br /&gt;
#: &amp;lt;pre&amp;gt;useradd hercuser&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install [[Hercules]] ==&lt;br /&gt;
&lt;br /&gt;
=== Login as your non-root Linux user ===&lt;br /&gt;
The rest of the setup is done as hercuser (the Linux user you created earlier)&lt;br /&gt;
# Logout from root SSH (or minimize the window).&lt;br /&gt;
# Login to your server via SSH as the hercuser Linux user.&lt;br /&gt;
&lt;br /&gt;
=== SVN Checkout ===&lt;br /&gt;
{{:SVN Checkout/Unix}}&lt;br /&gt;
&lt;br /&gt;
=== [http://dev.mysql.com/doc/refman/5.5/en/batch-commands.html Import] MySQL Tables ===&lt;br /&gt;
# Change directory to the '''sql-files''' folder.&lt;br /&gt;
#: &amp;lt;pre&amp;gt;cd sql-files/&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Execute these commands: &lt;br /&gt;
#: ''When prompted, enter your MySQL root password.''&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; main.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; item_db.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; item_db2.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_db.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_db2.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_skill_db.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_skill_db2.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodblog &amp;lt; logs.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
# If you are using Renewal you also have to import the following&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; item_db_re.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; item_db2_re.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_db_re.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_skill_db_re.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: if you want to use different SQL DBs for login/char/map servers this is the list of databases each server use:&lt;br /&gt;
#login-server: global_reg_value, ipbanlist, login, loginlog&lt;br /&gt;
#map-server: mapreg, item_db, item_db2, mob_db, mob_db2,mob_skill_db&lt;br /&gt;
#char-server: everything else + global_reg_value once again&lt;br /&gt;
Note that global_reg_value tables are needed by both login-server and char-server (though it may be different tables)&lt;br /&gt;
&lt;br /&gt;
=== [[:Category:Configuration|Configure Hercules]]===&lt;br /&gt;
&lt;br /&gt;
=== Compile Source Code ===&lt;br /&gt;
 cd trunk&lt;br /&gt;
 ./configure&lt;br /&gt;
 make sql&lt;br /&gt;
&lt;br /&gt;
*If you have added plugins for use with Hercules please use the below syntax instead of the above:&lt;br /&gt;
 cd trunk&lt;br /&gt;
 ./configure&lt;br /&gt;
 make sql plugins&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*If you're using Debian 32-bit please use:&lt;br /&gt;
 cd trunk&lt;br /&gt;
 ./configure --disable-64bit&lt;br /&gt;
 make sql plugins&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== How to Recompile =====&lt;br /&gt;
In the future (after you update or edit any file in /src) to recompile, add ''make clean'' before make sql: &lt;br /&gt;
 cd trunk&lt;br /&gt;
 ./configure&lt;br /&gt;
 '''make clean'''&lt;br /&gt;
 make sql plugins&lt;br /&gt;
&lt;br /&gt;
== Start your Hercules Server ==&lt;br /&gt;
 //change access mode of athena-start file so that you can execute it.&lt;br /&gt;
 //Use (dos2unix athena-start) if yo uare getting ^M errors ie. newline errors &lt;br /&gt;
 chmod a+x athena-start&lt;br /&gt;
&lt;br /&gt;
 //To Start&lt;br /&gt;
 ./athena-start start&lt;br /&gt;
 //To Stop&lt;br /&gt;
 ./athena-start stop&lt;br /&gt;
 //To Restart&lt;br /&gt;
 ./athena-start restart&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Guides|Debian Linux]]&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	<entry>
		<id>https://wiki.herc.ws/wiki/Installation_(Debian)</id>
		<title>Installation (Debian)</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Installation_(Debian)"/>
				<updated>2013-11-25T11:18:18Z</updated>
		
		<summary type="html">&lt;p&gt;Milamber: Created page with &amp;quot;This guide covers how to install Hercules on Debian and other versions of Linux that use apt-ge...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide covers how to install [[Hercules]] on [[wikipedia:Debian|Debian]] and other [[wikipedia:List_of_Linux_distributions#Debian-based|versions of Linux]] that use apt-get.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [[wikipedia:Debian|Debian]] or an [[wikipedia:List_of_Linux_distributions##Debian-based]] that has the apt-get command&lt;br /&gt;
* root access or access to an account that has [[wikipedia:Sudo|sudo privileges]]&lt;br /&gt;
* an Internet connection to download install packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
All of these commands will be typed at the [[wikipedia:Command-line_interface|command-line interface]].&lt;br /&gt;
=== Install Prerequisites ===&lt;br /&gt;
# Login to your server via [[wikipedia:Secure_Shell|SSH]], or if you are already logged into a [[wikipedia:Graphical_user_interface|GUI]] press Ctrl+Alt+T to open a terminal window.&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade&lt;br /&gt;
apt-get dist-update  // To update to the latest version of Debian&lt;br /&gt;
# Type the following command (this will install GCC, Make, MySQL Server, MySQL header files,  PCRE header files, Subversion, and Zlib header files) &lt;br /&gt;
#: &amp;lt;pre&amp;gt;apt-get install subversion make gcc mysql-server libmysqlclient-dev zlib1g-dev libpcre3-dev screen&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a non-root Linux user ===&lt;br /&gt;
By the [[wikipedia:Principle_of_least_privilege|principle of least privilege]], it is recommended you do '''NOT''' run Hercules as root. &lt;br /&gt;
# Type the following command to create a non-root Linux account:&lt;br /&gt;
#: &amp;lt;pre&amp;gt;useradd hercuser&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install [[Hercules]] ==&lt;br /&gt;
&lt;br /&gt;
=== Login as your non-root Linux user ===&lt;br /&gt;
The rest of the setup is done as hercuser (the Linux user you created earlier)&lt;br /&gt;
# Logout from root SSH (or minimize the window).&lt;br /&gt;
# Login to your server via SSH as the hercuser Linux user.&lt;br /&gt;
&lt;br /&gt;
=== SVN Checkout ===&lt;br /&gt;
{{:SVN Checkout/Unix}}&lt;br /&gt;
&lt;br /&gt;
=== [http://dev.mysql.com/doc/refman/5.5/en/batch-commands.html Import] MySQL Tables ===&lt;br /&gt;
# Change directory to the '''sql-files''' folder.&lt;br /&gt;
#: &amp;lt;pre&amp;gt;cd sql-files/&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Execute these commands: &lt;br /&gt;
#: ''When prompted, enter your MySQL root password.''&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; main.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; item_db.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; item_db2.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_db.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_db2.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_skill_db.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_skill_db2.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodblog &amp;lt; logs.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
# If you are using Renewal you also have to import the following&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; item_db_re.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; item_db2_re.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_db_re.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: &amp;lt;pre&amp;gt;mysql -u root -prootpassword hercuser_rodb &amp;lt; mob_skill_db_re.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: if you want to use different SQL DBs for login/char/map servers this is the list of databases each server use:&lt;br /&gt;
#login-server: global_reg_value, ipbanlist, login, loginlog&lt;br /&gt;
#map-server: mapreg, item_db, item_db2, mob_db, mob_db2,mob_skill_db&lt;br /&gt;
#char-server: everything else + global_reg_value once again&lt;br /&gt;
Note that global_reg_value tables are needed by both login-server and char-server (though it may be different tables)&lt;br /&gt;
&lt;br /&gt;
=== [[:Category:Configuration|Configure Hercules]]===&lt;br /&gt;
&lt;br /&gt;
=== Compile Source Code ===&lt;br /&gt;
 cd trunk&lt;br /&gt;
 ./configure&lt;br /&gt;
 make sql&lt;br /&gt;
&lt;br /&gt;
*If you have added plugins for use with Hercules please use the below syntax instead of the above:&lt;br /&gt;
 cd trunk&lt;br /&gt;
 ./configure&lt;br /&gt;
 make sql plugins&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*If you're using Debian 32-bit please use:&lt;br /&gt;
 cd trunk&lt;br /&gt;
 ./configure --disable-64bit&lt;br /&gt;
 make sql plugins&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== How to Recompile =====&lt;br /&gt;
In the future (after you update or edit any file in /src) to recompile, add ''make clean'' before make sql: &lt;br /&gt;
 cd trunk&lt;br /&gt;
 ./configure&lt;br /&gt;
 '''make clean'''&lt;br /&gt;
 make sql plugins&lt;br /&gt;
&lt;br /&gt;
== Start your Hercules Server ==&lt;br /&gt;
 //change access mode of athena-start file so that you can execute it.&lt;br /&gt;
 //Use (dos2unix athena-start) if yo uare getting ^M errors ie. newline errors &lt;br /&gt;
 chmod a+x athena-start&lt;br /&gt;
&lt;br /&gt;
 //To Start&lt;br /&gt;
 ./athena-start start&lt;br /&gt;
 //To Stop&lt;br /&gt;
 ./athena-start stop&lt;br /&gt;
 //To Restart&lt;br /&gt;
 ./athena-start restart&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Guides|CentOS]]&lt;/div&gt;</summary>
		<author><name>Milamber</name></author>	</entry>

	</feed>