Shauren
0f0b283168
Core/Pools: Implemented pooling for instances
2022-12-29 11:56:56 +01:00
Ovahlord
75447899c4
Core/GameObjects: implement allowMounted for GAMEOBJECT_TYPE_SPELLCASTER and only count uses if the spell has actually been cast
...
* this fixes Cauldrons of Battle to no longer prematurely despawn when a player attempted to pick up multiple flasks while already carrying one in his inventory
2022-12-20 09:52:14 +01:00
Shauren
5657280b65
Core/GameObjects: Implemented playerCast (Data23) for GAMEOBJECT_TYPE_GOOBER
2022-12-19 16:06:26 +01:00
Shauren
f5f6dbfa3e
Core/GameObjects: Use serverOnly property of GameObjectTemplate for all types that have it, not just spell focus
2022-11-18 10:38:58 +01:00
Gildor
eab8e4aefb
Core/Gameobjects: Improve stealth detection
2022-09-12 09:15:27 +02:00
ariel-
b6fac86b71
Core/Spells: rework part 5: GameObject casting
2022-09-12 09:15:14 +02:00
Shauren
4b92f09fec
Core/Transports: Initialize stoppable transports at start of path
2022-07-15 22:21:07 +02:00
Shauren
279f1cccae
Core/GameObjects: Fixed crash when GameObject::Delete was used for transports
2022-07-10 01:15:57 +02:00
Ovahlord
dff55fa7ab
Core/GameObjects: use the correc HighGuid value when spawning GAMEOBJECT_TYPE_TRANSPORT gameobjects
2022-06-24 22:49:08 +02:00
Shauren
338e9d8033
Core/GameObjects: Use all axis rotations for gameobject model collision, not just orientation
2022-06-20 15:21:55 +02:00
Ovahlord
fc0dc939ba
fixed nopch build and some warnings
2022-06-19 21:19:26 +02:00
Ovahlord
fbd92f5476
Core/GameEvents: removed a debugging leftover that was causing GameEvents to not launch at all
...
* fixed a crash when trying to cast event sources and targets into non-allowed types
2022-06-19 19:56:51 +02:00
Shauren
acb599823e
Core/Transports: Fixed stoppable elevator position calculation when going from first floor to third or higher
...
# Conflicts:
# src/server/game/Entities/GameObject/GameObject.cpp
2022-06-19 16:15:44 +02:00
Shauren
e212f92161
GCC warning fix
2022-06-18 22:16:26 +02:00
Ovahlord
58aac6430a
Core/Transports: corrected a cherry pick mistake for BuildingUpdateValues
2022-06-18 21:55:34 +02:00
Shauren
25465699f7
Core/GameObjects: Transport (type 11) improvements
...
* Fully synchronize serverside animation progress with client
* Implemented updating passenger positions on elevators
* Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-06-18 21:36:17 +02:00
Shauren
79aa6e2456
Core/GameObjects: Implement more gameobject gameevent uses
2022-06-18 19:08:44 +02:00
Shauren
2b7b0b0db1
Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff)
2022-06-18 19:05:57 +02:00
Ovahlord
6e9ec1a4bf
Core/Transports: undo all custom transport changes as preparation for cherry picks
2022-06-18 18:37:14 +02:00
Shauren
f2b4f2208e
Core/Objects: ported master branch handling for properly destroying objects via out of range and destroy object opcode
...
# Conflicts:
# src/server/game/Entities/Creature/Creature.cpp
2022-02-02 16:24:42 +01:00
Shauren
f3e0650886
Core/PacketIO: Reduce size of SMSG_UPDATE_OBJECT by trimming trailing zeros in values updatemask
2021-04-25 17:22:58 +02:00
Ovahlord
754c138f89
Core/Spells: ported CastSpell unclusterfucking from 3.3.5 branch
2020-11-04 22:37:11 +01:00
Ovahlord
40cda24dc2
Core/GameObjects: trigger npcs that are summoned for gameobject casts will now inherit the gameobject's phase shift as well to hit intended phased targets
2020-09-11 16:23:42 +02:00
Eridium
2aa05b951b
Core/GameObject: Remove linked traps when the main GameObject is remo… ( #24480 )
...
* Core/GameObject: Remove linked traps when the main GameObject is removed from from the world
* Indentation
2020-09-11 15:24:21 +02:00
Ovahlord
e871d2f0eb
Fixed build
2020-09-11 15:23:53 +02:00
Giacomo Pozzoni
2cea40a466
Core/GameObjects: Skip LoS checks for traps ( #23936 )
...
* Core/GameObjects: Skip LoS checks for traps
* Core/GameObjects: Fix spells cast by traps missing always
* Scripts/Spells: Fix WSG heal buff not healing
The WSG green heal buff is now cast by a GameObject so the spell target should be used to calculate the healing, not the GameObject.
# Conflicts:
# src/server/scripts/Spells/spell_generic.cpp
2020-09-11 15:12:12 +02:00
Wyrserth
d2b27bc43c
Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura ( #23319 )
...
* Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura.
* Forgot to change this in last-second rename.
* Apply suggested changes, thanks Shauren!
# Conflicts:
# src/server/game/Entities/GameObject/GameObject.cpp
# src/server/game/Entities/Unit/UnitDefines.h
# src/server/game/Entities/Unit/enuminfo_UnitDefines.cpp
# src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
2020-09-11 15:06:15 +02:00
Killyana
8c4ce86525
SAI/GameObject: Despawn the linked trap with the gameobject
...
Closes #23105
2020-09-11 15:02:17 +02:00
Treeston
8b81f1d9f0
revert 5df7ffa, hack
2020-09-11 15:01:42 +02:00
Treeston
77233dd073
Core/GameObject: Hunter traps now always put the Hunter in combat with the target when triggered. Closes #21847 .
2020-09-11 15:00:58 +02:00
Killyana
5677d65eed
Core/GameObject: Fix linked traps not being despawned properly and remove deprecated code
...
Closes #20159
2020-09-11 14:59:12 +02:00
Ovahlord
64c4b4f529
Core/Misc: converted quest, creature and quest query packets to packet class and ported query data caching from 335 branch
2020-07-28 21:34:12 +02:00
Ovahlord
6350d94f40
Core: more build fixes
2020-07-22 18:03:31 +02:00
treeston
a09db6b4ba
Hi, I'm Treeston, and welcome to Combat PR Prep Refactors.
...
Today, we're moving UNIT_FLAG_IMMUNE_TO_PC and UNIT_FLAG_IMMUNE_TO_NPC to higher-level abstraction so combat manager can react to it.
New methods on Unit:
- void SetImmuneTo<All/PC/NPC>(apply, keepCombat = false);
- bool IsImmuneTo<All/PC/NPC>() const;
# Conflicts:
# src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp
# src/server/game/Entities/Unit/Unit.cpp
# src/server/game/Spells/SpellEffects.cpp
# src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/boss_tomb_of_seven.cpp
# src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
# src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp
# src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
# src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
# src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp
# src/server/scripts/EasternKingdoms/zone_tirisfal_glades.cpp
# src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp
# src/server/scripts/Kalimdor/WailingCaverns/wailing_caverns.cpp
# src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
# src/server/scripts/Kalimdor/zone_stonetalon_mountains.cpp
# src/server/scripts/Kalimdor/zone_tanaris.cpp
# src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp
# src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp
# src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
# src/server/scripts/Outland/TempestKeep/arcatraz/boss_harbinger_skyriss.cpp
2020-07-22 14:35:53 +02:00
Peter Keresztes Schmidt
a06e5d7d40
Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
2020-07-18 22:43:24 +02:00
Ovahlord
d46fb93657
Core/Pools: ported pooling updates from 335 branch
2020-07-13 11:17:19 +02:00
Giacomo Pozzoni
9fdf598792
Cherry-pick some cmake commits ( #24720 )
...
* Build system: Support new in cmake 3.17 Ninja Multi-Config generator
(cherry picked from commit 369b618d4f160816818681ed7e41063e2d9ba5b5)
* Build system: Fixed PCH with MSVC & Ninja generator
(cherry picked from commit d669f46b6d5190dabc686a35656e8b03f5ec325b)
* Core: Fix clang 10 warnings
(cherry picked from commit 7272508cb4b51ec5591b6f0e542ea29091db7546)
* Build system: Set -Wno-deprecated-copy only for clang 10
(cherry picked from commit 7fdeb259ba398d5d9343a5dcd1a89562dfcbe981)
* Core/Misc: GCC build and warning fixes
(cherry picked from commit 4d69cc1c567180b408ddbadb9edf26859cf4c006)
* Build system: Print found git version when warning about it being too old
(cherry picked from commit 1ae72db201189877c1b863fac140eb4b0a45c5bb)
* Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73
(cherry picked from commit 161944b7643c62f9e7705c64e42d42e5d07f1959)
* Remove some code that was already removed from 335 and then cherry-picked into master
Co-authored-by: Shauren <shauren.trinity@gmail.com >
(cherry picked from commit 8c09b6e58b0e4f33b7a8e376a28709e693cf2914)
2020-06-11 20:24:00 +02:00
Ovahlord
9665da3435
Core/GameObjects: corrected a logic fail when checking for targets on the same map
2020-04-28 01:13:08 +02:00
Ovahlord
5c61fcfb19
Core/GameObjects: implement JustAppeared AI hook for gameobjectAI
2020-04-23 14:02:19 +02:00
Ovahlord
a3e97b38ed
Core/GameObjects: implement helper to set the charges of gameobjects
2020-04-23 04:00:35 +02:00
Shauren
47acc59f49
Core/DBLayer: Prevent committing transactions started on a different database
2020-04-15 21:02:26 +02:00
Shauren
d003ebd8e4
Core/DBLayer: Prevent using prepared statements on wrong database
2020-04-15 19:18:58 +02:00
Ovahlord
9bfe43a88a
Core/Entities: remove PhaseMask
...
* database fields and values will remain until they have been converted to their according phase IDs
2020-03-29 04:05:43 +02:00
Ovahlord
6531ae0ca4
Core/Transport: removed always visible hack from transports and destructible buildings and give them infinite aoi range instead
2020-03-10 19:06:48 +01:00
jackpoz
183789053e
Core/Misc: Fix GCC 8 warnings
2020-01-31 21:19:25 +01:00
Ovahlord
fcb79fee07
Core/Datastores: updated DBC structure names to generated member format
2020-01-25 12:36:32 +01:00
jackpoz
131986d1c2
Core/Misc: Replace time(nullptr) with GameTime::GetGameTime()
2020-01-11 03:30:41 +01:00
Ovahlord
f5dd7cdb67
Core/GameObject: backported restock and despawn handlings for goobers and chest
...
*thx @Wyrserth
2020-01-08 00:36:51 +01:00
Aokromes
d6d3f06f06
New year
2020-01-04 18:32:38 +01:00
Warpten
c69627f4b4
Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. ( #23 )
...
Original research by @xvwyh.
2020-01-04 15:05:22 +01:00