|
|
@ -11,6 +11,8 @@ package engine.gameManager; |
|
|
|
import engine.mbEnums; |
|
|
|
import engine.mbEnums; |
|
|
|
import engine.server.login.LoginServer; |
|
|
|
import engine.server.login.LoginServer; |
|
|
|
import engine.server.world.WorldServer; |
|
|
|
import engine.server.world.WorldServer; |
|
|
|
|
|
|
|
import engine.wpak.EffectsParser; |
|
|
|
|
|
|
|
import engine.wpak.PowersParser; |
|
|
|
import org.pmw.tinylog.Logger; |
|
|
|
import org.pmw.tinylog.Logger; |
|
|
|
|
|
|
|
|
|
|
|
import java.io.BufferedReader; |
|
|
|
import java.io.BufferedReader; |
|
|
@ -164,6 +166,14 @@ public enum ConfigManager { |
|
|
|
Logger.info("Compiling regex"); |
|
|
|
Logger.info("Compiling regex"); |
|
|
|
|
|
|
|
|
|
|
|
regex.put(MB_LOGIN_FNAME_REGEX, Pattern.compile(MB_LOGIN_FNAME_REGEX.getValue())); |
|
|
|
regex.put(MB_LOGIN_FNAME_REGEX, Pattern.compile(MB_LOGIN_FNAME_REGEX.getValue())); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Logger.info("Loading WPAK data"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EffectsParser.parseWpakFile(); |
|
|
|
|
|
|
|
PowersParser.parseWpakFile(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|