2010-09-04 06:09:06 +08:00
|
|
|
|
%% @author Lo<4C>c Hoguin <essen@dev-extend.eu>
|
|
|
|
|
%% @copyright 2010 Lo<4C>c Hoguin.
|
|
|
|
|
%% @doc Network-related settings.
|
|
|
|
|
%%
|
|
|
|
|
%% 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
|
|
|
|
|
|
|
|
|
%% EGS network settings.
|
|
|
|
|
|
|
|
|
|
-define(PATCH_PORT_JP, 11030).
|
|
|
|
|
-define(PATCH_PORT_US, 11230).
|
|
|
|
|
|
2010-05-13 23:24:35 +08:00
|
|
|
|
-define(LOGIN_PORT_JP_ONE, 12030).
|
|
|
|
|
-define(LOGIN_PORT_JP_TWO, 12031).
|
2010-05-13 12:34:04 +08:00
|
|
|
|
-define(LOGIN_PORT_US, 12230).
|
|
|
|
|
|
2010-05-20 04:50:11 +08:00
|
|
|
|
-define(GAME_IP, << 188, 165, 56, 119 >>).
|
2010-05-13 12:34:04 +08:00
|
|
|
|
-define(GAME_PORT, 12061).
|
2010-07-24 03:46:03 +08:00
|
|
|
|
-define(GAME_LISTEN_OPTIONS, [binary, {active, false}, {certfile, "priv/ssl/servercert.pem"}, {keyfile, "priv/ssl/serverkey.pem"}, {password, "alpha"}]).
|