support 1.12.3 (build 6141)
[z2337] Fix order of gossip menu options. Thanks to X-Savior for testing

(based on commit [12462] - 51b8032)

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

(based on commit [s1983] - 77d53ae)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2338] Handle GO Trap triggering like GO handling is expected

Thanks to Xfurry for testing.
Close cmangos/mangos-wotlk#111

(based on commit [12463] - 09352d8)

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

(based on commit [s1984] - 2c040cb)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
Add outcommented helper to assign zone/area to gameobject by guid

(based on commit ceb9305)

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

(based on commit 7be1a42)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2339] Add GO-Casting to SCRIPT_COMMAND_CAST_SPELL

Close cmangos/issues#203

(based on commit [12467] - c10539a)

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

(based on commit [s1985] - a448f66)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2340] Use normal cast time for triggered spells by default

Close cmangos/issues#195

Please report problems that might (or might not) arise

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

(based on commit [12468] - 47aa389)

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

(based on commit [s1986] - 7890cd7)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2341] Improve Waypoint Management

* Allow waypoints that have point-ids not from 1 to n
* Remove possibly bad sql-statements to "fix" the above property
* Simplify code a little bit

Remaining TODO: Bring commands up-to-date and also make things more simple instead of using the database to store visual waypoints

(based on commit [12469] - 382f837)

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

(based on commit [s1987] - e2fbd88)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2342] Let Taunt behave more expectedly in case we have non-generic orientation settings

(based on commit [12470] - cd2e301)

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

(based on commit [s1988] - f7c339c)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2343] Add an additional wrapper to SetRespawnCoord

(based on [c12630] - 546ffc58bda69102b3e19bf068ed4501a566730d)

(based on commit [12471] - dc79347)

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

(based on commit [s1989] - b013ddd)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2344] Rework StopMove to not start movement if already stopped

thx to Schmoozerd for hint
thx to rsa for pointing to bug

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

(based on commit [12472] - c937eb7)

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

(based on commit [s1990] - 510151f)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2345] Fix MoveGen's interrupting after last commit

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

(based on commit [12473] - baa6525)

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

(based on commit [s1991] - 9ac2876)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2346] AI-Event throwing and receiving implementation

Add new AI hooks to
* SendAIEvent (either around the npc, or to a specified npc)
* ReceiveAIEvent (hook to receive sent events)

(based on commit [12474] - dffd521)

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

(based on commit [s1992] - 8a57bdb)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2347] Add ACTION_T_THROW_AI_EVENT and EVENT_T_RECEIVE_AI_EVENT to EventAI

Also introduce new target-type TARGET_T_EVENT_SENDER (only valid with EVENT_T_RECEIVE_AI_EVENT) to know who sent a received event

Note: This system is still in development, but this should already give many nice powers for first improvements and uses

Close cmangos/mangos-wotlk#110

(based on commit [12475] - d0816b7)

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

(based on commit [s1993] - 91d6dbb)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2348] Add support for client 1.12.3 (build 6141) to realmd

Close cmangos/mangos-classic#24

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

(based on commit [12476] - dca6ad0)

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

(based on commit [s1994] - 15beb3c)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2349] Fix a VC90 compile problem. Also add some const correctness

(based on commit [12477] - 1ea0f45)

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

(based on commit [s1995] - a4ece83)

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[z2350] Fix sending AV score world states on BG start

Caused by a missing change of backport df26a75

Also sync AV code with master by removing obsolete code

Closes cmangos/issues#206

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

(based on commit [s1996] - 75bdc1c)
Revert "Also sync AV code with master by removing obsolete code" from last commit

Turns out it is actually not obsolete but just not implement yet
Merge pull request #2 from cmangos/master

Bring us up to date with cmangos public repo