Commit Graph
399 Commits
Author SHA1 Message Date
P-Kito 3b66943330 Game/Entities: Fix math problem "Disk Point Picking" in GetRandomPoint (#17577)
(cherry picked from commit 0aad705f95a4cead2e083396beead46c6e2446df)
2017-02-05 16:53:53 +01:00
Traesh 6ab3877c91 Core/Entities: Basic AreaTrigger System (#18035)
* Implemented AreaTrigger Templates
* Implemented AreaTrigger Splines
* Implemented SPELL_AURA_AREA_TRIGGER
* and many more
2017-01-29 00:00:43 +01:00
jackpoz 954b3c9617 Core/VMaps: Fix some vmap height edge cases
Fix Map::GetWaterOrGroundLevel() checking dynamic object only in phase 1 instead of current Unit phase.
Improve DynamicMapTree::getHeight() dynamic object check by casting the ray at +0.5f from the passed Z coordinate, this value will be tuned to improve even more the results.

(cherry picked from commit 1347d7cf7a8656f3db9d8b2f6e6d955e1fa8c129)
2017-01-12 00:13:55 +01:00
Golrag e9e3daa30c Core/Object: Use object edges to calculate LoS
(cherry picked from commit da6065db00768735e70cd0a81af7f5ec4c2f0414)
2017-01-09 02:07:42 +01:00
treeston ae11329e71 Add a LOG_WARN when attempting to summon a non-existing summon group.
(cherry picked from commit 4d4d2f56651b9d9a3966ec2d39f8af182660b369)

Seriously, who doesn't support std::string instead of char* in 2016?
(cherry picked from commit a012b37d66cdfcd3a8f6485c8563740f6f174823)
2017-01-08 18:12:33 +01:00
vincent-michael 86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
joschiwald 7ee0e2ad08 Core/Packets: added SMSG_PLAY_SPEAKERBOT_SOUND packet class 2016-12-03 16:45:30 +01:00
joschiwald 7fbc4374f3 Core/Entities: GameObjectDespawn packet is only sent for GameObjects 2016-11-16 22:46:37 +01:00
Krudor 8444ab7365 Core/Instances: Implemented base scenario system and objectives in dungeons
Closes #17905
Closes #18034
2016-11-06 23:30:49 +01:00
Shauren b34904f4b5 Core/PacketIO: Fixed client crash with heirlooms
Closes #17964
2016-11-03 16:56:58 +01:00
Shauren e405ac5f41 Fixed nopch build and some leftover warnings 2016-07-20 13:27:04 +02:00
Shauren 6321206938 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-13 17:08:40 +02:00
Shauren db85bad1ff Core/PacketIO: Fixed dynamic updatefield handling when values get removed 2016-07-13 00:07:09 +02:00
Shauren 9b14e8248c Core/PacketIO: SMSG_UPDATE_OBJECT optimization - removed unneccessary memory allocation by dynamic_bitset 2016-07-11 17:14:42 +02:00
Shauren ee2abfba91 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-10 11:30:39 +02:00
Shauren 22d29ce049 Core/Players: Fixed crash happening during character creation added in previous commit 2016-07-10 11:27:38 +02:00
Shauren 0d9136f764 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-10 00:37:33 +02:00
Shauren a78aa3cf4e Core/PacketIO: Refactored building SMSG_UPDATE_OBJECT to append directly to final buffer and removed UpdateMask class 2016-07-10 00:11:19 +02:00
Shauren f7883bd525 Core/Transmog: Implemented transmog collection and updated transmog handling 2016-07-05 22:07:35 +02:00
Shauren 1c10f9c311 Core/PacketIO: Fixed building SMSG_UPDATE_OBJECT 2016-06-28 18:34:50 +02:00
Shauren d2733eb6f1 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-06-13 21:00:25 +02:00
Shauren 3903482eb8 Core: Updated to 7.0.3.21916 2016-06-13 19:54:06 +02:00
Shauren c529566ac4 Core/GameObejcts: Fixed disconnects happening when viewing nearby players on elevators
Closes #17335
2016-06-12 00:11:00 +02:00
Shauren cc03d7ca24 Core/PacketIO: Updated SMSG_UPDATE_OBJECT 2016-06-01 20:14:16 +02:00
Shauren 5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46:17 +02:00
MitchesD f636141345 Core/Phase: phase_area table now support even parent area (known as zone)
Closes https://github.com/TrinityCore/TrinityCore/issues/17025
2016-05-18 20:06:47 +02:00
Treeston 9476726edc Merge pull request #16676 from ccrs/summonsinit
Core/TempSummons: avoid use MoveInLineOfSight before InitSummon
(cherry picked from commit 472e78d682cb5d5abf4d60111f238744c07096ac)
2016-04-08 22:58:28 +02:00
r00ty-tc 6cd7b58065 Adjustments to spell facing - Adjusted HaveAtClient to accept Object* (still accepts all subordinates) - Use grid searcher to find players in visibility range for unit - Use client cache instead of "See or Detect" to decide who to send updates to - Adjusted SendUpdateToPlayer to send createobject packet only if not known to client
(cherry picked from commit c0693a6ee52d31840ab2ee878c4881884b857638)
2016-04-01 12:43:10 +01:00
ariel- 3a7f311547 Core/Conditions: fix a memory leak for CONDITION_SOURCE_TYPE_TERRAIN_SWAP
Reported by Aokromes.
2016-03-02 23:31:22 -03:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren 52d5de1a7f Core/Conditions: Phase condtion changes
* SourceGroup defines which phase should the condition affect
* SourceEntry limits the area of the phase (alternatively 0 means all areas)
2015-10-25 00:22:21 +02:00
Shauren cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
StormBytePP 0bed9d56cb Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert 2015-09-21 15:17:05 +02:00
Shauren 225bbe7f72 Core/PacketIO: Implemented correct opcode for GameObject animkit changes and enabled all animkit related opcodes 2015-09-16 17:06:24 +02:00
Vincent-Michael 2e586bc520 Core: Header cleanup in game/*/*.cpp 2015-07-25 20:18:42 +02:00
Shauren a22e4e121a Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler 2015-07-21 00:33:36 +02:00
mik1893 fa0e5289a8 Merge pull request #14974 from pete318/stealth_work
Stealth changes (Player stealthed vs NPCs) - 3.3.5
(cherry picked from commit 90fcfb3f2d71e15d162cb52b915b53a11bc42212)

Conflicts:
	src/server/game/Entities/Object/Object.h
	src/server/game/Entities/Unit/Unit.cpp
2015-07-19 01:43:05 +01:00
Vincent-Michael 534dc2a0f9 Core/PacketIO: Update MovementForce for 6.2.0 2015-07-05 17:55:11 +02:00
Vincent-Michael 1f98f59cec Core/PacketIO:
- Updated and enabled SMSG_UPDATE_OBJECT
- Enabled CMSG_PLAYER_LOGIN
2015-07-05 00:45:31 +02:00
Shauren 585f978c58 Core: Started work on 6.2.0.20182 2015-07-01 02:22:03 +02:00
MitchesD 66056b2f8a Core/PacketIO: updated SMSG_SET_AI_ANIM_KIT and SMSG_SET_PLAY_HOVER_ANIM 2015-06-23 15:03:49 +02:00
Shauren 735606bc73 Core/DataStores: Load AnimKit.dbc to validate anim kit usage 2015-05-26 00:04:47 +02:00
Shauren acd4b6fb50 Core/Entities: Allow all object types to use anim kits, not only players/creatures 2015-05-25 01:50:03 +02:00
Shauren 48ee1f0033 Core/Misc: Moved Position to its own file 2015-05-02 00:05:01 +02:00
Shauren ca83e14f8b Core/Entities: Reworked guid scopes
* Added ObjectGuid traits to easily access whether guid type can be generated globally (ObjectMgr) or not
* This adds separate (per map) guid sequences depending on object type
* Ported map object container from cmangos/mangos-wotlk@a2d396eb0b
* Added type container visitor for TypeUnorderedMapContainer
* Implemented helper function to erase unique pairs from multimap containers
* Moved object storage of all objects except players and transports to map level
* Added containers linking database spawn id with creature/gameobject in world
* Renamed DBTableGuid to spawnId
* Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables
* Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update
2015-04-28 21:19:46 +02:00
Golrag 82a33c7fa8 Core/PacketIO: SMSG_PLAY_SOUND 2015-04-17 11:45:07 +02:00
jackpoz b7eb415049 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1292769, 1292768, 1292765, 1292763, 1267939

(cherry picked from commit 2dc97e3f3db69bf7799341db5bcc7604558c90b8)

Conflicts:
	src/server/game/DataStores/DBCStructure.h
	src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp
2015-04-14 01:01:46 +01:00
Shauren 38def5969a Warning fixes 2015-04-10 17:54:45 +02:00
MitchesD 0c38398aa8 Core/PacketIO: SMSG_GAME_OBJECT_DESPAWN updated and enabled 2015-04-10 13:08:13 +02:00
Vincent-Michael 20ab76a2cb Core: Whitespace cleanup 2015-04-08 02:27:20 +02:00