Core/Scripts: Fix for issue https://github.com/TrinityCore/TrinityCore/issues/882#issuecomment-57065326
DB/Quests: Fix half sleep fail in 6a471755231eb6481c7ce2091b58755b10373acc
Fixed ==25829== Thread #1: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread

==25829== at 0x4C2A1D5: pthread_cond_broadcast_WRK (hg_intercepts.c:891)
==25829== by 0x654A758: std::condition_variable::notify_all() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==25829== by 0x132305A: ProducerConsumerQueue<SQLOperation*>::Cancel() (ProducerConsumerQueue.h:100)
==25829== by 0x13229A7: DatabaseWorkerPool<WorldDatabaseConnection>::~DatabaseWorkerPool() (DatabaseWorkerPool.h:70)
==25829== by 0x6C6CB21: __run_exit_handlers (exit.c:78)
==25829== by 0x6C6CB74: exit (exit.c:100)
==25829== by 0x6C54EF3: (below main) (libc-start.c:276)
Core/Sai: Added ugly code for new sai error log :(
Core/Sai: Added missing changes in 4060fb1b592ef50ab0c5bd450ddc94a1461e900e
Core/Sai: Added better version for 4060fb1b592ef50ab0c5bd450ddc94a1461e900e
Core/AHBot: Fix reference_loot_template being excluded from ahbot items

Fixes #13265
Core/SmartScript: Fix warnings
Core/Sai: Added new error log for action SMART_ACTION_TALK
Core/Brewfest: Fix typo in b74ef3f3ca277e7ce1bca7563fb0e9affbaf1a5a (thx to Gooyeth)
Core: Fix crash
Core/Sai: Added SMART_ACTION_TALK error log also for -guid creature
Merge pull request #13259 from sonic3000/master

Core/Scripts: Fix for issue #882
Core/SAI: CleanUp in 98257b94728223ff027c3696b630462288c85255 / 2838a622647a1e12ec483b59440c7d0414dc14fa
Core/Worldserver: Fix worldserver stuck on "Halting process" on shutdown

Partially revert 4fe45b8c63d3c4118a0a69c6ed44573c53eba54c to fix worldserver stuck on "Halting process" on shutdown.

Fixes #13201
DB/SAI: fixed some startup errors

Updates https://github.com/TrinityCore/TrinityCore/issues/13256
Core/SAI: Added new error log is not using SmartAI / SmartGameObjectAI in db
Scripts/Misc: fixed GameObjects chests in CoS and HoR

Fixes https://github.com/TrinityCore/TrinityCore/issues/13246
DB/SAI: fix more startup errors

Updates https://github.com/TrinityCore/TrinityCore/issues/13256
Core/SAI: Fix typo