mangosR2/mangos — Issue #461: npc_trainer
Author: Venom
Created: 2011-10-30 13:26:48+00:00
State: open

There are consol loading errors even on clean YTDB DB. couldnt fix it and its absolutely wrong errors

Example:
ERROR:Table `npc_trainer` (Entry: 198) has redundant reqlevel 4 (=spell level) for spell 116

There are 40 trainers in npc_trainer teaching you spell=[116]. that requare 4 level character to learn.
but only this npc 198 showing error. there are 6mb LOG errors showing wrong error tables while loading. this is really slowing loading time.

Problem: is in this update
https://github.com/mangos/mangos/commit/b36a1909a0d7733022134b7c70405961322e29c0

if you dont fix this then tell me even if its hacky way how to fix it and i ll will fix it.

is it save to remove this line
ERROR_DB_STRICT_LOG("Table `%s` (Entry: %u) has redundant reqlevel %u (=spell level) for spell %u", tableName, entry, trainerSpell.reqLevel, spell);