Shauren
43c7965d6b
Core/Movement: Store adv flying speeds instead of hardcoding them in SMSG_UPDATE_OBJECT and enable packets modifying them
2024-10-07 16:08:13 +02:00
Shauren
8127609764
Core/Maps: Link instance map to LfgDungeons
2024-10-05 11:56:02 +02:00
Shauren
e59eef5432
Core/PacketIO: Updated to 11.0.0
2024-08-02 13:25:41 +02:00
Golrag
5b130cfb42
Core/Players: Allow targeting a specific transport during teleports
2024-05-25 22:05:53 +02:00
Ovahlord
5a169f6eae
Core/Player: moved indoors/outdoors aura interrupting mechanic into heartbeat and movement handling
2024-04-26 14:21:09 +02:00
Shauren
f2ce5072d6
Core/Creatures: Implemented unsummoning and resummoning critter pets on flying mounts and teleports (and related static flags)
2024-03-02 15:06:33 +01:00
Jeremy
1ef0c04520
Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types ( #29535 )
...
* Fix criteria data type bg loss team score
2023-12-29 14:12:15 +01:00
Shauren
73e0b3e77c
Core/Creatures: Taxi improvements
...
* Fixed flight master minimap icon
* Fixed crash on Argus
* Implemented teleport taxi nodes
Closes #29389
2023-10-28 22:13:59 +02:00
Shauren
a667d723bf
Core/Pets: Improved pet despawn behavior when mounting
...
* Pets will now only be despawned when starting to fly
* Fixed crash when summoning a pet that is different than the one that was despawned by flying
Closes #29303
2023-09-10 11:54:09 +02:00
Jeremy
0ede6c1556
Core/Battlegrounds: Rework queues ( #29200 )
...
* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
2023-08-26 14:03:42 +02:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
1afec8be63
Core/Misc: Use boost/circular_buffer forward declaration headers in our headers
2023-01-06 16:55:25 +01:00
Shauren
9b924522d0
Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr
2022-10-04 00:19:38 +02:00
Shauren
fbe0b8efeb
Core/Maps: Removed MapInstanced - no longer neccessary for grid data reference counting (moved to TerrainInfo)
2022-07-24 18:56:40 +02:00
Shauren
b8e52fd90b
Core/Maps: Made instance_template no longer required to create and enter instance maps
2022-07-17 19:14:13 +02:00
Meji
9fcf920d0e
Core/Movement: Fixed desync in player knockback movement ( #28067 )
2022-07-02 23:56:10 +02:00
Shauren
cace414497
Core/Transports: Localized transport objects within each map
...
Transports no longer move between maps, each map gets a separate copy of the transport object and players are moved between them when transferring to another map
This means they can no longer be globally looked up in HashMapHolder
2022-06-13 20:06:26 +02:00
Shauren
36dde87249
Core/Movement: Delay creating MoveSplineInit objects used by GenericMovementGenerator to spline launch time
...
* This fixes inconsistent transport state detection for players exiting vehicles that are on transport (ICC gunship battle), fixes players being telerpoted to middle of nowhere on that fight
(cherry picked from commit b1a94bf94c )
2022-06-10 15:16:39 +02:00
Shauren
630b60eb0d
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-05-25 22:14:32 +02:00
Shauren
aa592e431b
Core/PacketIO: Implemented CMSG_MOVE_INIT_ACTIVE_MOVER_COMPLETE and ActivePlayerData::TransportServerTime updatefield
2022-05-24 16:28:26 +02:00
Shauren
25c0aaa83f
Core/Players: Allow teleporting to a specific instance id
2022-05-14 20:40:24 +02:00
Shauren
b47185cabf
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
2022-03-27 18:14:47 +02:00
Giacomo Pozzoni
a66b968f91
Core/Misc: Fix static analysis issues ( #25924 )
...
* Core/Misc: Fix static analysis issues
* Fix infinite loop in ".debug send opcode"
Fix using uninitialized memory in ".debug send opcode"
(cherry picked from commit 661f554b9e )
2022-03-06 01:35:01 +01:00
jackpoz
362a1c32c2
Core/Movement: Add a debug log when a player falls below the map
...
(cherry picked from commit 1c08395e8a )
2022-03-05 00:56:56 +01:00
Shauren
ad4f4bfab7
Core/Misc: Minor game include cleanup
2022-02-13 00:49:10 +01:00
jackpoz
68d947d42f
Core/Log: Log all character kicks to "network.kick" category
...
(cherry picked from commit 31018c3652 )
2022-01-01 12:56:24 +01:00
Giacomo Pozzoni
a9e325f6b7
Core/Logs: Log full guid instead of just low guid, part 2
...
(cherry picked from commit 3def52c1c4 )
2022-01-01 00:51:54 +01:00
Treeston
edc7583119
Entities/Unit: Cleanup all the direct accesses to m_unitMovedByMe. Refactor the field to be protected. Add assertions to catch dangling pointers.
...
(cherry picked from commit 396f87c30d )
2021-12-12 01:26:41 +01:00
Aokromes
8f8ea509cb
Core/Movement: Fix Warrior's Charge launch visual while jumping backw… ( #23243 )
...
* Core/Movement: Fix Warrior's Charge launch visual while jumping backwards
By Natureknight
* fix no-pch
(cherry picked from commit cc1a520299 )
2021-12-05 14:03:47 +01:00
Chaouki Dhib
c19a4db1c1
Core/Movement: Add time synchronisation ( #18189 )
...
(cherry picked from commit 975f1e364a )
2021-11-30 22:11:36 +01:00
Chaouki Dhib
4507a02ada
Core/Movement: Implement move time skipped handler ( #22994 )
...
* Implement CMSG_MOVE_TIME_SKIPPED handler and move it to MovementHandler.cpp
* Add better error handling
* Update MovementHandler.cpp
(cherry picked from commit f9ed72e351 )
2021-11-23 21:18:07 +01:00
Treeston
e8e8e4b9d6
Core/Player: Delay resurrection on release for unreachable maps until teleport has completed. Closes #21481 .
...
(cherry picked from commit 28591fd165 )
2021-11-08 23:57:28 +01:00
ModoX
8b171d7c01
Core/Instances: Drop allowMount column in instance_template as it is already handled properly by SPELL_ATTR0_OUTDOORS_ONLY ( #27148 )
2021-10-23 11:42:47 +02:00
ModoX
68c2fc8ff5
Core/Characters: Made homebind location a WorldLocation (this implicitly adds orientation) ( #27055 )
2021-10-16 01:17:47 +02:00
Shauren
2d7af28e9f
Core/Transports: Store information about continent transports
2021-10-02 19:59:56 +02:00
ccrs
426f9f2f92
Core/Movement: MotionMaster reimplementation ( #21888 )
...
Internal structure and handling changes, nothing behavioural (or thats the intention at least).
(cherry picked from commit 982643cd96 )
2021-09-28 00:15:13 +02:00
Shauren
2e2b298618
Core/Movement: Fixed creature hover
...
Closes #15177
(cherry picked from commit 2baa81065b )
2021-08-24 12:44:38 +02:00
ariel-
fccf1a8c62
Core/Auras: removed caster dependency from core
...
- Decoupled Unit logic: split of spell critical chance into done (caster bonuses) and taken (target bonuses), this allows to precalculate caster bonuses on aura apply and then check victim's auras on damage/healing calc
- Made static a bunch of methods (they no longer have this pointer because they are now called from periodic handlers which may or may not have an active caster in world)
- Simplified all AuraEffect bonuses into AuraEffect::_amount, no more duplicated code
- Critical chance and whether or not caster is player owned unit (for resilience calcs) is now saved one level upper, on Aura itself (it's impossible as of 3.3.5 to have different effects with different critical chances)
- Minor cleanup of SPELL_DAMAGE_CLASS_NONE and Arcane Potency (#18813 ) crit handling
Closes #19876
(cherry picked from commit cb9e72e521 )
2021-06-13 00:59:13 +02:00
jackpoz
e17e4e6f07
Core/Misc: Replace time(NULL) with GameTime::GetGameTime()
...
(cherry picked from commit 12701cb0c6 )
Conflicts:
src/server/game/Achievements/AchievementMgr.cpp
src/server/game/AuctionHouse/AuctionHouseMgr.cpp
src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
src/server/game/Battlefield/Battlefield.cpp
src/server/game/Battlefield/Zones/BattlefieldWG.cpp
src/server/game/Battlegrounds/BattlegroundMgr.cpp
src/server/game/Calendar/CalendarMgr.h
src/server/game/DungeonFinding/LFGQueue.cpp
src/server/game/Entities/Corpse/Corpse.cpp
src/server/game/Entities/Creature/Creature.cpp
src/server/game/Entities/Item/Item.cpp
src/server/game/Entities/Pet/Pet.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Globals/ObjectMgr.cpp
src/server/game/Grids/ObjectGridLoader.cpp
src/server/game/Guilds/Guild.cpp
src/server/game/Handlers/AuctionHouseHandler.cpp
src/server/game/Handlers/BattlefieldHandler.cpp
src/server/game/Handlers/CalendarHandler.cpp
src/server/game/Handlers/CharacterHandler.cpp
src/server/game/Handlers/ChatHandler.cpp
src/server/game/Handlers/LFGHandler.cpp
src/server/game/Handlers/MailHandler.cpp
src/server/game/Handlers/MiscHandler.cpp
src/server/game/Handlers/MovementHandler.cpp
src/server/game/Handlers/PetHandler.cpp
src/server/game/Handlers/QueryHandler.cpp
src/server/game/Handlers/TicketHandler.cpp
src/server/game/Instances/InstanceSaveMgr.cpp
src/server/game/Server/WorldSession.cpp
src/server/game/Server/WorldSocket.cpp
src/server/game/Spells/Auras/SpellAuras.cpp
src/server/game/Tickets/TicketMgr.cpp
src/server/game/Tickets/TicketMgr.h
src/server/game/World/World.cpp
src/server/scripts/Commands/cs_gobject.cpp
src/server/scripts/Commands/cs_instance.cpp
src/server/scripts/Commands/cs_list.cpp
src/server/scripts/Northrend/zone_wintergrasp.cpp
src/server/scripts/Spells/spell_item.cpp
2021-04-15 05:53:27 +02:00
Shauren
9b5a46ca2b
Core/Auras: Defined and implemented many new interrupt flags
2021-03-21 12:05:32 +01:00
Matan Shukry
818c19ec4b
Core/Movement: Add trace log message with packet content to movement opcode handler
2021-03-05 00:28:07 +01:00
Matan Shukry
931a3871f8
Core/Movement: Don't rely on client for water state detection
2021-03-05 00:28:07 +01:00
Shauren
34cd11860d
Core/Misc: Fixed nopch MSVC build
...
(cherry picked from commit e977bb4c4d )
2021-02-25 19:59:07 +01:00
Shauren
cab4c87d2d
Core/PacketIO: Updated most packet structures to 9.0.1
2020-12-08 18:16:41 +01:00
ccrs
97585597f0
Core/Movement: waypoint movement ( #20121 )
...
Following the work done in #19361 this is the cleanup and improvement of the related logic of waypoint management.
Ref 28050f3 #18020
(taking the good parts and ignoring the incomplete work)
(cherry picked from commit 7fff83d675 )
2020-08-23 00:45:46 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Shauren
eba31dea27
Core/Maps: Improvements to terrain swap handling
...
* Fixed memory leak when unloading grids
* Handle child maps being entered
* Allow chaining more child maps (Draenor -> Tanaan Jungle -> Tanaan Jungle - No Hubs Phase)
2020-05-24 22:34:25 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
8e98ceb293
Core/Movement: Implemented movement forces
2019-09-07 16:58:58 +02:00
xinef1
60663d1374
Ensure that all actions are compared to fixed point in time (ie. world update start) ( #18910 )
...
- Actions will not be dependent on processing moment
- Increased GameObjects cooldown resolution to milliseconds, fixes arming time of traps to be exactly one second and not something from range (1000, 1999)
- Created GameTime namespace and UpdateTime class and moved there some code out of world
(cherrypicked from 7567cafec8 )
2019-08-17 20:04:14 +02:00