* Trying to implement partybot size limit.
* Added option to skip partybot restriction checks.
* Bots added with .partybot add should have the same level as the summoner.
* Removed duplicated code fragment.
* Revert Bot to PlayerBot.
* Don't take self into account when checking CONFIG_UINT32_PARTY_BOT_MAX_BOTS.
* Fix condition.
* Improve config readability.
Co-authored-by: ratkosrb <ratkomladic2@abv.bg>
* Implement party bots.
* Fix bg queue and other stuff.
* Remove not intended change.
* Implement resurrecting and interrupting.
* More appropriate word.
* Add buffing and mounting.
* Add pet summoning.
* Prevent adding bot to full instance.
* Add loot support and improve ranged bots.
* Move some unit and spell defines to dedicated header.
* Reorder functions in unit header.
* Clean up until spell category.
* Finish cleaning up spell functions.
* Cleanup combat system methods.
* Done cleaning up unit header.
* Reduce not needed includes.
Completely neutralizes some cheats, without kicking innocent players on false positive. The packet is rejected and correct position and flags are sent back to the client.
* Initial Warden Implementation.
* Send notification to gamemasters.
* Implement support for all modules.
* Misc improvements.
* Fix copy paste error.
* Update wrong file header.
* Fix travis build.
* Fix possible crash.
* Add new anticheat.
* Resolve issue when being teleported.
* Add config checks.
* More config checks.
* Move enum to more appropriate header.
* Fix compile for old builds.
* Sent root on possessed creature after active mover packet.
* Allow out of order acks.
* Return result of tests in handle speed ack.
* Stop disconnected player from moving.
* Remove no longer needed include.
* Fix wrong speed when jumping in water.
* Add back the braces.
* Only send heartbeat for resendable changes.
Fixes https://github.com/vmangos/core/issues/212
After this commit you have to move your DBCs inside a folder with the build number. So for example if they were in "data\dbc\" before, now they should be in "data\5875\dbc\" for 1.12.
* Now cache player map and position
* Update player cached position on logout
* Use cached data where possible in lookups rather than directly querying the DB
* Use player cache data for multi-faction character check and cinematic skipping
Update cache position on login/logout
* Add locks for getting/setting object map
Prevent updating quest fail status for players in another map
* Now use FindMap() in IsInMap rather than GetMap(), so we can continue if the map is NULL
* Prevent UpdateForQuestWorldObjects() call with serialized map check as well as IsInWorld()
* Implemented support for delaying far teleports until after map updates have completed. Resolves issues with thread-safety when checking player map and world across threads
NOTE: ADDING players to maps on a teleport is already thread safe (performed synchronously in the world update, before map updates)
* Removed current map guards, world and map status are now always thread safe
* Add support for cancelling and executing a specific player's teleports
Now set the player teleport semaphore on schedule to preserve existing implementations that check if a teleport is scheduled
* Now synchronously force player teleports on login and logout
* Re-add instance check in TeleportTo before teleport schedule
Add cleanup on player delete
* Ensure we always return something in ExecuteTeleportFar
* Now set a pending teleport rather than a far teleport sempahore, so port acks cannot be exploited while waiting for the teleport to be processed