[s1650] Remove some redundant explicit NULL checks for pointers before delete or delete[] calls since this check is done implicitly when deleting

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

(based on commit 6576a8c)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1651] Move some methods from .h to .cpp

(based on commit 7d5b808)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1652] Use a single method to send SMSG_ACTIVATETAXIREPLY

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

(based on commit afad470)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1653] Remove unused file MySQLDelayThread.h.

This file also contains at least two errors:
  bad override specifier
  invalid SqlDelayThread constructor call

(based on commit 334e522)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1654] Implement SMSG_DEFENSE_MESSAGE for the upcoming opvp system

Also fix callig go type 29 progress event if there is no neutral area (like in Halaa)

(based on commit 957e9f2)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1655] Fix sending an incorrect value in BuildPlayerChat

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

(based on commit 846b469)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1656] Use fabs instead of abs for float type.

On some platforms abs has only int overload exists.

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

(based on commit a4fe021)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1657] Send SMSG_DEFENSE_MESSAGE, SMSG_ZONE_UNDER_ATTACK only to players outside of instances

Also remove team argument from SendDefenseMessage as all texts are sent to all teams, use seperate function to send zone attack message, cleanup some send message functions and remove deprecated send text functions

(based on commit 9a43710)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1658] Fix a bug with SCRIPT_COMMAND_KILL_CREDIT

This bug can happen if a (group) kill credit is provided without involved creature.
Thanks to Atari for pointing!

(based on commit 0fe6964)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1659] Fix some unintended custom literals.

(based on commit 0013661)
[s1660] Improve some mangos_string texts and command help texts

This closes pull request #75

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

(based on commit 5d1a3d9)
[s1661] Fix a bad override, blame VC for this

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

(based on commit d9c164a)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1662] Make use of C++11's static_assert if possible.

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

(based on commit 45afa02)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1663] Implement some spells for AQ40

Dark Glare beam spells: 26137, 26009, 26136 and 26029
Server side spell: 26133

(based on commit 5c4defa)
(based on commit c4830b8)
[s1664] Add some visual server side spells

(based on commit dfdb3c4)
[s1665] Apply CREATURE_FLAG_EXTRA_NO_TALKTO_CREDIT to all creatures

The flag was introduced in [s1442]. It is assumed that by now all quests that require some talk-to credit are handled by different means.
If you catch quests that don't work yet, remove this flag for this npc and report to your DB provider.

(based on commit 629803e)
[s1666] Prevent unloading go before all players left capture point zone

This fixes m_UniqueUsers not being cleared for example if grid is set to idle and would therefore think that some players are still in range on grid reactivation causing the slider not to appear

(based on commit 444f3c7)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1667] Add Outdoor PvP placeholders and string texts

(based on commit 269d295)
[s1668] Add OutdoorPvP class

(based on commit 3964df8)

Signed-off-by: Nighoo <nighoo@overninethousand.de>
[s1669] Add OutdoorPvPMgr class

(based on commit 4b2bdc3)

Signed-off-by: Nighoo <nighoo@overninethousand.de>