Fixed db2 loading, and world login.
This commit is contained in:
@@ -295,7 +295,7 @@ namespace Game
|
||||
}
|
||||
|
||||
//General
|
||||
public void LoadCypherStrings()
|
||||
public bool LoadCypherStrings()
|
||||
{
|
||||
var time = Time.GetMSTime();
|
||||
CypherStringStorage.Clear();
|
||||
@@ -304,8 +304,7 @@ namespace Game
|
||||
if (result.IsEmpty())
|
||||
{
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loaded 0 CypherStrings. DB table `trinity_string` is empty.");
|
||||
Global.WorldMgr.StopNow();
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
uint count = 0;
|
||||
do
|
||||
@@ -321,6 +320,7 @@ namespace Game
|
||||
while (result.NextRow());
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loaded {0} CypherStrings in {1} ms", count, Time.GetMSTimeDiffToNow(time));
|
||||
return true;
|
||||
}
|
||||
|
||||
public void LoadRaceAndClassExpansionRequirements()
|
||||
|
||||
Reference in New Issue
Block a user