2010-09-04 06:09:06 +08:00
|
|
|
%% This file is part of EGS.
|
|
|
|
%%
|
|
|
|
%% EGS is free software: you can redistribute it and/or modify
|
|
|
|
%% it under the terms of the GNU Affero General Public License as
|
|
|
|
%% published by the Free Software Foundation, either version 3 of the
|
|
|
|
%% License, or (at your option) any later version.
|
|
|
|
%%
|
|
|
|
%% EGS is distributed in the hope that it will be useful,
|
|
|
|
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
%% GNU Affero General Public License for more details.
|
|
|
|
%%
|
|
|
|
%% You should have received a copy of the GNU Affero General Public License
|
|
|
|
%% along with EGS. If not, see <http://www.gnu.org/licenses/>.
|
2010-05-13 12:34:04 +08:00
|
|
|
|
2010-10-07 06:06:02 +08:00
|
|
|
%% Network configuration.
|
|
|
|
%% Note that changing these options generally requires restarting the server.
|
2010-05-13 12:34:04 +08:00
|
|
|
|
2010-10-07 06:06:02 +08:00
|
|
|
%% @doc Ports to listen to for the patch server.
|
|
|
|
%% 11030 is the JP port; 11230 is the US port.
|
|
|
|
{patch_ports, [11030, 11230]}.
|
2010-05-13 12:34:04 +08:00
|
|
|
|
2010-10-07 06:06:02 +08:00
|
|
|
%% @doc Ports to listen to for the login server.
|
|
|
|
%% 12030 and 12031 are the JP ports, one per entrance; 12230 is the US port.
|
|
|
|
{login_ports, [12030, 12031, 12230]}.
|
2010-05-13 12:34:04 +08:00
|
|
|
|
2010-10-07 06:06:02 +08:00
|
|
|
%% @doc Game server IP address and port.
|
|
|
|
%% They can be modified freely without problem.
|
|
|
|
%% Note that the port should be available and above 1024.
|
|
|
|
{game_server, {<< 127, 0, 0, 1 >>, 12061}}.
|
2010-10-21 23:00:30 +08:00
|
|
|
|
|
|
|
%% Caps and limitations.
|
|
|
|
|
|
|
|
%% @doc Maximum level players can reach.
|
|
|
|
{level_cap, 200}.
|