mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
WIN/Misc
* 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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user