aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Entities/Vehicle
AgeCommit message (Collapse)Author
2025-10-14Core/Entities: Merge duplicate functions calculating relative positions - ↵Shauren
remove CalculatePassengerPosition/CalculatePassengerOffset from TransportBase class
2025-07-23Core/Vehicles: Added new field CustomFlags to vehicle_template (#31115)Meji
2025-05-11Core/Vehicles: Added field to set a default pitch (#30878)Meji
2025-02-02Core/Vehicle: Added RideSpellID field to override npc_spellclick_spells (#30198)ModoX
2024-07-19Core/Vehicle: Fix an assertion when applying SPELL_AURA_SET_VEHICLE_ID on ↵Jeremy
creatures that are already vehicles (#30102)
2024-03-28Core/Battlegrounds: Move to scripts (#29799)Jeremy
* Introduce new BattlegroundScript class for map/bg specific scripts * Remove all sub, zone specific, battleground classes except Arena * Move all bg zone scripts to new BattlegroundScripts class in script folder * Remove ZoneScript from Battleground class * Remove some unused hooks from Battleground
2024-03-13Core/Misc: Use our new unique_trackable_ptr for various classes exposed to ↵Shauren
scripts (not actually used anywhere currently)
2024-01-22Core/Object: use the final keyword for several (World)Object classes that ↵Ovahlord
should not get derived from (#29585)
2024-01-16Core/Units: moved CharmInfo class and its definitions into a own file (#29583)Ovahlord
2023-12-15Core/Vehicle: Only interrupt channels with SpellAuraInterruptFlags::Mount ↵ModoX
when entering a vehicle (#29430)
2023-08-31Core/Vehicles: Fixed crash happening if a vehicle despawns during handling ↵Shauren
of control vehicle aura removal Closes #29290
2023-08-27Core/Misc: Fixed doxygen docs being attached to wrong fieldsShauren
2023-07-20Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE (#29159)Teleqraph
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-07-15Core/Unit: modernize some pointers and arrays in unit class (#29104)Ovahlord
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2022-06-10Core/Movement: Delay creating MoveSplineInit objects used by ↵Shauren
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 b1a94bf94c500b64a5c4ae92642a95d048d9f392)
2022-05-25Core/GameObjects: Transport (type 11) improvementsShauren
* 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-22Core/Transports: Extracted transport and vehicle passenger relocation to ↵Shauren
shared function
2022-03-27Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlagShauren
2022-03-15Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913)offl
(cherry picked from commit c4741a131a0a28b69c228d3637beab7090e5f1e3)
2022-03-13Core/Vehicles: Remove unused fieldShauren
(cherry picked from commit 203f175ec9f2479ac6600ca8bc9bd91625a03512)
2022-03-10Core/Player: Log more information when Player::StopCastingCharm() failsjackpoz
(cherry picked from commit af815e991d3dc407846fcd05000b4e356d7336ed)
2022-03-05Core: whitespace cleanup, reduce double blank line to single (#25795)Kargatum
* Core/Misc: fix double empty line * worldserver.conf (cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-02-13Core/Misc: Minor game include cleanupShauren
2022-02-12Core/Misc: Move (or delete) constructors and destructors to .cpp files ↵Shauren
(avoids compiling them in every file that includes them)
2022-02-05Core/Combat: When entering a vehicle, transfer any current threat to that ↵Treeston
vehicle. Closes #1340. (cherry picked from commit 47c7910036d5a32a92aa58b48553a1b8c8891e08)
2022-01-24Core/WorldObject: Remove non-std::chrono SummonCreature overloadCarbenium
Remove TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0); (cherry picked from commit a41f599be72ccc88b13c1cf725f20cee4a5335d7)
2022-01-24Core/EventProcessor: std::chrono-ify CalculateTimeCarbenium
uint64 CalculateTime(uint64 t_offset) has been replaced with Milliseconds CalculateTime(Milliseconds t_offset). Also add the std::chrono-ified overload void AddEvent(BasicEvent*, Milliseconds, bool) (cherry picked from commit 92a02a5c8750913f596d7e3b58bf8439cb770c28)
2022-01-02Core/Units: Allow mind controlling non-controllable vehicles (for example ↵Shauren
players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type) Closes #24562 (cherry picked from commit 1fecbc6892b41bfe9d1e474d038c3b1f6e2dd125)
2022-01-01Core/Vehicles: update the power display of vehicles before being added to ↵Ovahlord
world to avoid building unnecessary update_object packets right after spawning them (cherry picked from commit 1610337e67ed3f2fc8bc2ab7b3e3f2bd1b7b1033)
2022-01-01Core/Logs: Log full guid instead of just low guid, part 2Giacomo Pozzoni
(cherry picked from commit 3def52c1c459f566ab2b2d8cf017c70df4d7cf22)
2021-12-21Core/Vehicles: implement vehicle seat addon table to specify seat ori… ↵Ovah
(#24112) * Core/Vehicles: implement vehicle seat addon table to specify seat orientation offsets and exit positions in form of offsets or absolute positions * converted Traveler's Tundra Mammoth to seat addon table data * first follow batch * whoopsie * Core/Vehicles: go from local copies to pointers * Update and rename 2020_99_99_99_world.sql to 2020_02_08_01_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 98d6c501d7c1a7a632c6ff8b1d46c7d0d4ae5b37)
2021-12-03Core/Vehicles: Fix multiple vehicle join events on same seat (#23233)Giacomo Pozzoni
(cherry picked from commit d4414af2d4f0736a842c4c596546c9583692ec3c)
2021-11-26Core: VehicleJoinEvent crash fix (#23136)PolarCookie
(cherry picked from commit 73e3fdc8b4545cca52b66032a5f2465183d14c71)
2021-10-22Core/AI: Clean up charm AI handling, we now have two unique_ptr instead of a ↵Treeston
crapton of booleans (cherry picked from commit 042f5515e4f3e52b0d2e23d9b9e147041849ce12)
2021-09-28Core/Movement: MotionMaster reimplementation (#21888)ccrs
Internal structure and handling changes, nothing behavioural (or thats the intention at least). (cherry picked from commit 982643cd96790ffc54e7a3e507469649f3b074d2)
2021-09-26Core/Movement: move MoveSplineInit (#21857)ccrs
The number of edge cases in which weirdness is seen on "effect movements" will be kinda reduced, plus consistency, plus movementInform on custom movement spline initalizations. (cherry picked from commit 2a45418032233bc8779cdb44f9be6057c4b417c5)
2021-08-23Core/Entities: ghouls start with full energyariel-
(cherry picked from commit 0c1e485e13d065b26e24b4226044246ae8ca0e4d)
2021-08-08Core/Entities: kill unused return value from Unit::HandleSpellClickariel-
- AI hook will now receive the result by copy, as modifying it had no effect - Some renaming: result->spellClickHandled, clickPair is actually clickBounds, the clickPair is the pair <creatureID, SpellClickInfo> (cherry picked from commit 98d6258efdc07b53808ba6177e5427c65163bc0d)
2021-08-08Core/Vehicles: fix crashariel-
- Aura could be removed in Unit::SetCharmedBy (StopMoving->Relocate->ProcessTerrainStatusUpdate->RemoveAurasWithInterruptFlags) - By not passing AuraApplication parameter execution continued with a removed application leaving vehicle in a invalid state (m_sharedVision not empty) Closes #18281 (cherry picked from commit eb7d22d23eedb0d1b5374f80518cd7994d7c7b3a)
2021-08-08Core/Misc: ASSERT() cleanupjackpoz
Move some functions calls out of ASSERT() calls. ASSERT() should only apply checks without modifying any object and without having any side effect. (cherry picked from commit 572eab1c355d9298ee640ebd7439f55366224fb8)
2020-12-31Core/Vehicles: add a way to delay the Vehicle despawn Time if its needed.Sevi
* New database table `vehicle_template` holds info for despawn delay with option to extend it in the future
2020-08-20Scripts/IcecrownCitadel: Prevent players from becoming inaccessible when ↵Treeston
killed by Lord Marrowgar's Impale spell (the initial damage, not the DoT). Also fix the underlying bug in vehicle logic. (cherry picked from commit 7cbb6c101e975a046b95aeb5dd68d75d016f67a5)
2020-08-19Core/Vehicles: Do not call InstallAllAccessories for dead Vehicles (#20033)Gustavo
(cherry picked from commit 551d0559aac663e9485b0eaffac5326536180c27)
2020-08-14Core/Misc: Replace NULL with nullptrShauren
2020-01-02New YearAokromes
2019-06-08Core/PacketIO: Rewrite updatefield handlingShauren
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-12-09Core/Vehicle: Remove immunity to Battering Ram for Ulduar vehicles (#18562)Rushor
Closes: #15185 (cherry-picked from 193e51a80bbd31848a09d1e22bf8b7f05957b9f9)
2018-11-21Core/Vehicles: define and implement VEHICLE_SEAT_FLAG_DISABLE_GRAVITY (#22804)Ovah