[s2056] Fix crash due to bad compiler

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [12551] - 0f2ff2f)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2057] Unify text-display functions

Remove MonsterText, MonsterYell, MonsterEmote, MonsterWhisper functions (int32 entry versions) and replace with a generic MonsterText function

Partly implement cmangos/mangos-wotlk#123

(based on commit [12552] - 0af90d6)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2058] Fix some target-type handling for EventAI

Also increase log-output for bad target-types

(based on commit [12553] - b3402a7)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2059] EventAI - Add more developing error output

(based on commit [12554] - 8af1dcf)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2060] FindOpenSSL.cmake already ships with CMake

No reason for us to ship it too. Also, we had an outdated version which
had not been used anyway, because we set the include path in such a way,
that the CMake delivered version is always found first.

(based on commit [12555] - 1e6a4a5)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2061] FindGit.cmake already ships with CMake

No reason for us to ship it too. Also, we had an outdated version which
had not been used anyway, because we set the include path in such a way,
that the CMake delivered version is always found first.

(based on commit [12556] - a7eece3)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2062] EventAI - Ingame output of script state

With this the command .npc aiinfo will give more output about the current state.
Remark that this output is only given if the LogFilter for EventAIDev mode is disabled

(based on commit [12557] - 1b791bc)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2063] Remove not required duplicate indexes

See cmangos/mangos-wotlk#124 for details.

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12562] - 0ae3f88)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2064] Get rid of bounding radius in GetNearPoint[2D] and ObjectPosSelector

This changes how ObjectPosSelector is used.
It changes the way how the functions Object::GetNearPoint and Object::GetNearPoint2d behave.

So you need to check all places where these functions are used if they are still used correctly.

Especially check your scripts!

(based on commit [12563] - 2d034a2)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2065] Improve ObjectPosSelector

Now a spot already occupied by the searcher will be prefered

(based on commit [12564] - 4e31279)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2066] Update git_id to reflect recent sql formatting changes

Devs should make sure to rebuild git_id

(based on commit [12568] - 3b3e3e4)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2067] CMake: Create config.h for windows only when needed

Also, don't use a prepared file but instead just generate it.

This has no effect for Visual Studio, as we still have our hack in place
in the ACE sources which directly include config-win32.h

(based on commit [12570] - 979380b)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2068] Allow server admins to disable GM commands for players entirely.

(based on commit 5fef6f5)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2069] Fix crash in ChatHandler::ParseCommands

Thanks VladimirMangos

(based on commit c8e6d97)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2070] DB Scripts SCRIPT_COMMAND_EMOTE

Add support to display a random emote.
If dataint1..dataintX is set to an emote, a random out of datalong1, dataint1..dataintX will be sued as displayed emote.

Thanks to grz3s for testing

(based on commit [12576] - a9332b5)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2071] Change startup logo. Thank to all involved.

(based on commit [12579] - 7df4f52)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2072] Improve chat channel code:

- Remove unnecessary calls to GetPlayer
- Invert "if" statements to reduce nesting
- Cleanup code

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [12580] - 30ef9f3)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2073] Implement 2 chat channel responses

- CHAT_PLAYER_NOT_BANNED_NOTICE
- CHAT_PLAYER_INVITE_BANNED_NOTICE

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit [12581] - 7031064)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2074] Fix reloading horde controlled capture point

Negative value of 0 (CAPTURE_SLIDER_HORDE) is still 0

Part of cmangos/issues#53

(based on commit [12582] - 7975bf9)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2075] Add a configurable delay between when a creature respawns and when it can aggro due to movement.

(based on commit [12583] - b5e19ef)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>