treeston
e9b931e297
Entities/Object: Add some Position const& overloads to distance/angle methods for usability.
...
(cherry picked from commit 0e8c2f9032 )
Woops. Thanks, clang.
Crash fix.
(cherry picked from commit 1b7eebc7ba )
2017-02-26 15:49:01 +01:00
r00ty-tc
8a71e4255e
[Core/Maps] Activate creatures and objects during opening cinematics and other flyby cameras (sunwell etc).
...
Requires re-running map extractor to extract camera m2 files from data
files. These are very small.
2017-02-19 14:47:20 +01:00
ariel-
c429e7d489
Core/Entities: debloat SummonGameObject parameter list using proper wrappers and enable GO rotation in scripts
...
- There's still an overload allowing for x, y, z, o to be passed directly
- Fixed default animstate for GameObject creation in many places, it should be 255, not 100 (checked in sniffs)
(cherry picked from commit 62bfee37cb )
# Conflicts:
# src/server/game/Battlefield/Battlefield.cpp
# src/server/game/Battlegrounds/Battleground.cpp
# src/server/game/Entities/GameObject/GameObject.cpp
# src/server/game/Entities/GameObject/GameObject.h
# src/server/game/Entities/Object/Object.cpp
# src/server/game/Entities/Object/Object.h
# src/server/game/Spells/SpellEffects.cpp
# src/server/scripts/Commands/cs_gobject.cpp
# src/server/scripts/EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp
# src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
# src/server/scripts/Kalimdor/zone_feralas.cpp
# src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
# src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp
# src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
2017-02-11 20:50:29 +01:00
ariel-
02cef6f034
Core/GameObjects: Gameobject rotation (from cmangos/mangos-wotlk@2bcbc0f ) ( #14146 )
...
cmangos/mangos-wotlk@0fe88f35df : [11531] Normalize gameobject's quaternion, thanks to zergtmn for pointing
cmangos/mangos-wotlk@060dfb791b : [11667] Implement transport path rotation
cmangos/mangos-wotlk@565f52c6c1 : [11806] A bit gameobject code refactoring
cmangos/mangos-wotlk@6874951 : [11807] Add gameobject_addon table
Closes #14146
(cherry picked from commit 2967bf59b4 )
# Conflicts:
# src/server/game/Battlefield/Battlefield.cpp
# src/server/game/Battlegrounds/Battleground.cpp
# src/server/game/Entities/GameObject/GameObject.cpp
# src/server/game/Entities/GameObject/GameObject.h
# src/server/game/Entities/Object/Object.cpp
# src/server/game/Globals/ObjectMgr.cpp
# src/server/game/Spells/SpellEffects.cpp
# src/server/scripts/Commands/cs_gobject.cpp
# src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp
# src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
2017-02-11 19:10:43 +01:00
P-Kito
3b66943330
Game/Entities: Fix math problem "Disk Point Picking" in GetRandomPoint ( #17577 )
...
(cherry picked from commit 0aad705f95 )
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 1347d7cf7a )
2017-01-12 00:13:55 +01:00
Golrag
e9e3daa30c
Core/Object: Use object edges to calculate LoS
...
(cherry picked from commit da6065db00 )
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 4d4d2f5665 )
Seriously, who doesn't support std::string instead of char* in 2016?
(cherry picked from commit a012b37d66 )
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 472e78d682 )
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 90fcfb3f2d )
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