2010-05-13 12:34:04 +08:00
|
|
|
% EGS: Erlang Game Server
|
|
|
|
% Copyright (C) 2010 Loic Hoguin
|
|
|
|
%
|
|
|
|
% This file is part of EGS.
|
|
|
|
%
|
|
|
|
% EGS is free software: you can redistribute it and/or modify
|
|
|
|
% it under the terms of the GNU General Public License as published by
|
|
|
|
% the Free Software Foundation, either version 3 of the License, or
|
|
|
|
% (at your option) any later version.
|
|
|
|
%
|
2010-05-15 07:55:23 +08:00
|
|
|
% EGS is distributed in the hope that it will be useful,
|
2010-05-13 12:34:04 +08:00
|
|
|
% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
% GNU General Public License for more details.
|
|
|
|
%
|
|
|
|
% You should have received a copy of the GNU General Public License
|
2010-05-15 07:55:23 +08:00
|
|
|
% 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"}]).
|