* windows compatibility changes
   - prevent crash on very large querys by reducing query size
   - set memory limit to something less than 2GB. Old value caused memory_limit to be set to something miniscule. (with the changes to DBC extraction this should now be feasable)
   - be a tad more lenient with time when generating enchant-datasets
This commit is contained in:
Sarjuuk
2017-04-10 22:06:44 +02:00
parent fa9d518980
commit dde09a8a02
4 changed files with 8 additions and 5 deletions

View File

@@ -93,14 +93,14 @@ if (!CLI)
foreach (CLISetup::$localeIds as $lId)
{
set_time_limit(120);
User::useLocale($lId);
Lang::load(Util::$localeStrings[$lId]);
$enchantsOut = [];
foreach ($enchantSpells as $esId => $es)
{
set_time_limit(5);
$eId = $es['effect1MiscValue'];
if (!$enchantments->getEntry($eId))
{