fix login issue*
This commit is contained in:
@@ -17,7 +17,7 @@ config :odinsea, :rates,
|
||||
quest: 1
|
||||
|
||||
config :odinsea, :login,
|
||||
port: 8584,
|
||||
port: 8484,
|
||||
user_limit: 1500,
|
||||
max_characters: 3,
|
||||
flag: 3,
|
||||
@@ -28,8 +28,7 @@ config :odinsea, :game,
|
||||
channel_ports: %{1 => 8585, 2 => 8586},
|
||||
events: []
|
||||
|
||||
config :odinsea, :shop,
|
||||
port: 8605
|
||||
config :odinsea, :shop, port: 8605
|
||||
|
||||
config :odinsea, :features,
|
||||
admin_mode: false,
|
||||
|
||||
@@ -11,7 +11,8 @@ config :odinsea, :server,
|
||||
host: System.get_env("ODINSEA_HOST", "127.0.0.1"),
|
||||
revision: String.to_integer(System.get_env("ODINSEA_REV", "1")),
|
||||
flag: String.to_integer(System.get_env("ODINSEA_FLAG", "0")),
|
||||
slide_message: System.get_env("ODINSEA_SLIDE_MESSAGE", "Welcome to Luna v99. The Ultimate Private Server"),
|
||||
slide_message:
|
||||
System.get_env("ODINSEA_SLIDE_MESSAGE", "Welcome to Luna v99. The Ultimate Private Server"),
|
||||
data_prefix: System.get_env("ODINSEA_DATA_PREFIX", "Luna")
|
||||
|
||||
# ====================================================================================================
|
||||
@@ -31,7 +32,8 @@ config :odinsea, :login,
|
||||
user_limit: String.to_integer(System.get_env("ODINSEA_USER_LIMIT", "1500")),
|
||||
max_characters: String.to_integer(System.get_env("ODINSEA_MAX_CHARACTERS", "3")),
|
||||
flag: String.to_integer(System.get_env("ODINSEA_LOGIN_FLAG", "3")),
|
||||
event_message: System.get_env("ODINSEA_EVENT_MESSAGE", "#bLuna v99\\r\\n#rThe Ultimate Private Server")
|
||||
event_message:
|
||||
System.get_env("ODINSEA_EVENT_MESSAGE", "#bLuna v99\\r\\n#rThe Ultimate Private Server")
|
||||
|
||||
# ====================================================================================================
|
||||
# Game Channels
|
||||
@@ -39,7 +41,7 @@ config :odinsea, :login,
|
||||
channel_count = String.to_integer(System.get_env("ODINSEA_CHANNEL_COUNT", "2"))
|
||||
|
||||
# Generate channel port configuration
|
||||
channel_ports =
|
||||
channel_ports =
|
||||
for i <- 1..channel_count do
|
||||
port = String.to_integer(System.get_env("ODINSEA_CHANNEL_PORT_#{i}", "#{8584 + i}"))
|
||||
{i, port}
|
||||
@@ -49,15 +51,17 @@ channel_ports =
|
||||
config :odinsea, :game,
|
||||
channels: channel_count,
|
||||
channel_ports: channel_ports,
|
||||
events: System.get_env("ODINSEA_EVENTS",
|
||||
"MiniDungeon,Olivia,PVP,CygnusBattle,ScarTarBattle,VonLeonBattle"
|
||||
) |> String.split(",")
|
||||
events:
|
||||
System.get_env(
|
||||
"ODINSEA_EVENTS",
|
||||
"MiniDungeon,Olivia,PVP,CygnusBattle,ScarTarBattle,VonLeonBattle"
|
||||
)
|
||||
|> String.split(",")
|
||||
|
||||
# ====================================================================================================
|
||||
# Cash Shop Server
|
||||
# ====================================================================================================
|
||||
config :odinsea, :shop,
|
||||
port: String.to_integer(System.get_env("ODINSEA_SHOP_PORT", "8605"))
|
||||
config :odinsea, :shop, port: String.to_integer(System.get_env("ODINSEA_SHOP_PORT", "8605"))
|
||||
|
||||
# ====================================================================================================
|
||||
# Database
|
||||
@@ -94,7 +98,7 @@ config :odinsea, :features,
|
||||
script_reload: System.get_env("ODINSEA_SCRIPT_RELOAD", "true") == "true",
|
||||
family_disable: System.get_env("ODINSEA_FAMILY_DISABLE", "false") == "true",
|
||||
custom_lang: System.get_env("ODINSEA_CUSTOM_LANG", "false") == "true",
|
||||
custom_dmgskin: System.get_env("ODINSEA_CUSTOM_DMGSKIN", "true") == "true",
|
||||
custom_dmgskin: System.get_env("ODINSEA_CUSTOM_DMGSKIN", "false") == "true",
|
||||
skip_maccheck: System.get_env("ODINSEA_SKIP_MACCHECK", "true") == "true"
|
||||
|
||||
# ====================================================================================================
|
||||
|
||||
Reference in New Issue
Block a user