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