[11939] Make binary_extracting scripts compatible to bourne shell. Thanks to nighoo for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11940] Rewrite and cleanup DB Script Engine

* Moved actual script processing code to ScriptMgr
* Unifed and improved log output. Now table-name is passed to each script execution
* Added the "buddy concept" to all commands (except the outdated direct field change commands):
Now all commands support to search a creature (or go for some commands) in a radius, with which to do some stuff.
See doc/script_commands.txt for more details and information

Attention DB Devs:
Current DB-Scripts are converted automatically as far as possible, but some old target selecting mechanics were not reasonable to do automated.
For such cases the command is marked with data_flags & 0x10 (==16), which will throw DB-Errors to track them down faster

Thanks to NeatElves and especially Grz3s for testing!

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11941] Implement effects for spells 27687, 27695

also fix another type in extractor-binary script (thanks again nighoo)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11942] Add option to NearestCreatureEntryWithLiveState.. GridSearcher to be able to also search for both alive and corpse creatures
[11943] Fix non-pch compile, thanks to NeatElves for pointing
[11944] Some whitespace cleanup in SpellAuras (around Shape-Shifting)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11945] Fix a bunch of counter achievements. Some still require more work

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11946] Add commits for death in statistics, fix some engrish

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11947] Improve SCRIPT_COMMAND_MOVE_TO

This changes the handling of SCRIPT_COMMAND_MOVE_TO, to not expect some travel-time, but directly provide the speed for the movement (*100).

Attention to DB-Devs, please check your MOVE_TO scripts.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11948] Check achievement related dbc data

This will fixed a few crashs for criterias without referred achievements

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11949] Check group id of group loot timer when timer is started. Close pull request #39

Also fix a small possible bug with loot shared to players at similar position on a different map

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11950] Implement spell 27819, thanks to stfx for research

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11951] Unify loot related code and fix engrish.

Also readd the m_groupLootId check in case the StopGroupLoot will be called from other places

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11952] Add support to send the anim for SMSG_TAMEOBJECT_CUSTOM_ANIM

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11953] Add missing nightelf player-create spell 21009 for druid and DK

Thanks to crackm for providing data

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11954] Do not calculate targets for different effects with same targeting multiple times

Some effects or target-combinations might need exception from the generic rule that calculated targets from one effect are used by other effects with same targets.
This will fix bugs that different random targets for different effects are selected, even when they should be the same.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11955] Remove .hover command

You can use .cast 11010 and .unaura 11010 instead

Thanks to stfx for improving patch and porting it for us :)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11956] Implement spells 28374, 54426 and 71123 (Decimate)

Thanks to piroy1337 for version of ICC Decimate,
thanks to ZuSe for bumping the issue of missing implementation

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11957] Aura 10848 should not cause UNIT_AURAFLAG_ALIVE_INVISIBLE

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[11958] Add support for no-fly-zone text message

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>