Server Modification

From Hercules Wiki
Revision as of 12:32, 4 January 2014 by Sevenzz23 (Talk | contribs)

Jump to: navigation, search

You can find here some information to start making server-side source modifications.

Contents

How Hercules works

Hercules has a multi-process architecture. It runs three different processes: login-server, char-server and map-server.

Login Server

Login server : receives the login packet, checks if account exists and if the password is correct. If all is OK, the connection is then passed to the char-server.

Char-Server

Char-server : controls all the character related, Guild, party, pet, inventory etc.

Map-Server

The last one is the map-server, which controls char and NPC position, chats, skills, exp etc.

Source Modifications

Before you start modifying Hercules, you should better take a look first on Category:Source_Functions. Remember, it's necessary to re-compile Hercules after a source modification. You can also find information about packets.

Pre-Made Modifications

Also can take a look at modifications made by other users.