fix login issue*
This commit is contained in:
@@ -4,9 +4,11 @@ defmodule Odinsea.Constants.Server do
|
||||
These define the MapleStory client version and protocol details.
|
||||
"""
|
||||
|
||||
# MapleStory Client Version (GMS v342)
|
||||
@maple_version 342
|
||||
@maple_patch "1"
|
||||
# MapleStory Client Version (MapleSEA v112.4)
|
||||
# Ported from ServerConstants.java
|
||||
@maple_version 112
|
||||
@maple_patch "4"
|
||||
@maple_locale 7
|
||||
@client_version 99
|
||||
|
||||
# Protocol constants
|
||||
@@ -15,9 +17,10 @@ defmodule Odinsea.Constants.Server do
|
||||
@block_size 1460
|
||||
|
||||
# RSA Keys (from ServerConstants.java)
|
||||
@pub_key ""
|
||||
@maplogin_default "default"
|
||||
@maplogin_custom "custom"
|
||||
# Default MapleStory RSA public key for password encryption
|
||||
@pub_key "30819F300D06092A864886F70D010101050003818D0030818902818100994F4E66B003A7843C944E67BE4375203DAA203C676908E59839C9BADE95F53E848AAFE61DB9C09E80F48675CA2696F4E897B7F18CCB6398D221C4EC5823D11CA1FB9764A78F84711B8B6FCA9F01B171A51EC66C02CDA9308887CEE8E59C4FF0B146BF71F697EB11EDCEBFCE02FB0101A7076A3FEB64F6F6022C8417EB6B87270203010001"
|
||||
@maplogin_default "MapLogin"
|
||||
@maplogin_custom "MapLoginLuna"
|
||||
|
||||
# Packet sequence constants
|
||||
@iv_length 4
|
||||
@@ -35,6 +38,12 @@ defmodule Odinsea.Constants.Server do
|
||||
"""
|
||||
def maple_patch, do: @maple_patch
|
||||
|
||||
@doc """
|
||||
Returns the MapleStory locale (region code).
|
||||
For SEA/MSEA this is 7.
|
||||
"""
|
||||
def maple_locale, do: @maple_locale
|
||||
|
||||
@doc """
|
||||
Returns the full client version string.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user