| Age | Commit message (Collapse) | Author |
|
* build again on aarch64
* include mm_malloc header instead of defining self
|
|
GenericMovementGenerator sets the _duration to the return value of spline.Launch(). For cyclic splines, this is the duration of 1 single cycle, while the spline itself never ends.
To support this edge case in GenericMovementGenerator we just never update the _duration timer for cyclic splines.
|
|
broadcasts (#24181)
* Core/SmartScripts: implement SMART_ACTION_OVERRIDE_LIGHT and SMART_ACTION_OVERRIDE_WEATHER
* Core/Server: correct timestamp format for shutdown/restart notification broadcasts
* remove unexpected changes
* move enum from Common to Util
* Use enum class instead of enum
* Fix width for seconds 0 to 9
|
|
SMART_ACTION_OVERRIDE_WEATHER (#24146)
* Core\SmartAI: implement SMART_ACTION_OVERRIDE_LIGHT and SMART_ACTION_OVERRIDE_WEATHER
* Change the invoker of action to any worldobject
* Revert "Change the invoker of action to any worldobject"
This reverts commit 2e15f7258553b7057c3e8f67c54efc77fb6d75b8.
* Add dbc-validations for new actions
* Use GetBaseObject() instead of Creature* for new actions. Add debug-logging
|
|
* Scripts/Ebon Hold: Massacre At Light's Point
* Update 9999_99_99_99_world.sql
* Final stuff
* Rename 9999_99_99_99_world.sql to 2020_02_22_00_world.sql
Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
Closes #24177
|
|
Closes #22346
|
|
Closes #19520
Closes #24176
|
|
Closes #23792
|
|
* Core/AI: Pets musn't attack civilian NPC in aggressive mode
* Move decision to ignore civilians to PetAI, keeping the check in GridNotifiers
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
* Use proper name for wander distance.
* Rename db field.
* Fix query.
* Remove underscore from chat command.
* Rename the handler too.
* Update chat command description.
* Fix remaining issues.
* Rename 2020_99_99_99_world_335.sql to 2020_02_16_01_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
* Improvements for hourly bell sound
* TC codestyle
* added missing breaks and improve codestyle
|
|
See https://stackoverflow.com/a/4328396
Previous method works but is technically illegal.
|
|
Closes #24160
Closes #24161
|
|
|
|
* Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (Thanks to Sunwell)
* Scripts/Gameobject: Journal of Jandice Barov - Update script and move go spawn to bossscript
* Update boss_jandice_barov.cpp
Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
|
|
Scripts/Gameobject: Remove deprecated script for Cat Figurine
|
|
|
|
* Identified by clang-tidy readability-delete-null-pointer
|
|
(#24151)
* Default compiler generated ones do the same
|
|
* Scripts/Kalimdor: Move script of Hand of Iruxos Crystal to database.
* Scripts/Kalimdor: Hand of Iruxos Crystal - Add despawn for gameobject.
* Scripts/Kalimdor: Hand of Iruxos Crystal - Add despawn for gameobject.
* Remove unneeded commentline
* Rename 9999_99_99_99_world.sql to 2020_02_11_00_world.sql
Co-authored-by: Aokromes <Aokromes@users.noreply.github.com>
|
|
|
|
Ref https://github.com/TrinityCore/TrinityCore/commit/38d3b35561e2634fe633f1c21b1d786b2899e9cb
Ref #22282
|
|
* Scripts/Spells: Nourish
* Rename 9999_99_99_99_world.sql to 2020_02_08_02_world.sql
* Update 2020_02_08_02_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
(#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>
|
|
CMSG_OPENING_CINEMATIC and CMSG_COMPLETE_MOVIE (#24135)
* Server/PacketIO: Enable SMSG_TRIGGER_CINEMATIC & SMSG_TRIGGER_MOVIE.
* Update SMSG_TRIGGER_CINEMATIC & SMSG_TRIGGER_MOVIE to new Format.
Signed-off-by: AriDEV <aridev666@gmail.com>
# Conflicts:
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Server/Packets/MiscPackets.cpp
# src/server/game/Server/Packets/MiscPackets.h
# src/server/game/Server/Protocol/Opcodes.cpp
* Core/Scripts: Add server-side script support for movie completion (#18308)
# Conflicts:
# src/server/game/Entities/Player/Player.h
# src/server/game/Handlers/MiscHandler.cpp
# src/server/game/Scripting/ScriptMgr.h
# src/server/game/Server/Packets/MiscPackets.h
# src/server/game/Server/Protocol/Opcodes.cpp
# src/server/game/Server/WorldSession.h
* Core/PacketIO: CMSG_COMPLETE_CINEMATIC, CMSG_NEXT_CINEMATIC_CAMERA and enabled some opcodes
# Conflicts:
# src/server/game/Server/Protocol/Opcodes.cpp
# src/server/game/Server/WorldSession.h
* Core/Protocol: Implemented CMSG_OPENING_CINEMATIC
# Conflicts:
# src/server/game/Handlers/GuildHandler.cpp
# src/server/game/Server/Protocol/Opcodes.cpp
# src/server/game/Server/WorldSession.h
* fix build
Co-authored-by: Krudor <erikstrandberg93@hotmail.com>
Co-authored-by: MitchesD <majklprofik@seznam.cz>
Co-authored-by: Kaelima <kaelima@live.se>
|
|
* fixed hourly bell sounds
* use switch and moved variable
* fix typo
|
|
* Remove bad pointer usage from CharacterCache
Use TrinityCore Option type instead which is intended for this purpose. (Wrapper around boost::option until C++17 bump is finalised)
* Unify codestyle regarding TC optional type
Based upon advice from @Shauren
|
|
* Sync npc_text naming
Ref #22287
Ref #22282
We will update the table with data from broadcast_text later
* Fix sql
* Rename 2020_99_99_99_world_335.sql to 2020_02_08_00_world_335.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
- Split SpawnMetadata off from SpawnData
- No longer allocate Creature/Gameobject objects in ObjectGridLoader just to check their typeid and delete them afterwards
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
|
|
|
|
* Scripts/Spells: Gift of the Harvester
* Scripts/Spells: nopch
* Scripts/Spells: nopch
* Scripts/Spells: validate
* Rename 9999_99_99_99_world.sql to 2020_02_01_03_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
* Sync broadcast_text naming
official namings for broadcast_text
* Rename 2020_01_24_00_world_335.sql to 2020_02_01_02_world_335.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
* Core/PacketIO: updated SMSG_INVALIDATE_PLAYER, SMSG_BINDER_CONFIRM, SMSG_BIND_POINT_UPDATE, SMSG_PLAYER_BOUND and SMSG_LOGIN_SET_TIME_SPEED
* small corrections
|
|
EscortAI::SetEscortPaused() on Gossip Hello (#24005)
Fix WaypointMovementGenerator ignoring EscortAI::SetEscortPaused() when talking to a NPC, scheduling a 3 minutes pause on the WaypointMovementGenerator even if it was already disabled with no timer, waiting for the player to select a gossip entry to resume the movement.
|
|
|
|
* Scripts/Borean Tundra: Iruk
* Apply suggestions from code review
Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
* Update 9999_99_99_99_world.sql
* Rename 9999_99_99_99_world.sql to 2020_02_01_01_world.sql
Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
* Scripts/The Barrens: Beaten Corpse
* Rename 9999_99_99_99_world.sql to 2020_02_01_00_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
Rune-Caster & Plagued Dragonflayer Handler
Closes #24122
|
|
CreatureScript to allow scripted creatures that already have an AI to benefit from its functionality as well
|
|
hook is available for that class as well
|
|
Closes #24089
The spell 54613 is not used in the game
|
|
* Scripts/Ebon Hold: How To Win Friends And Influence Enemies
* Scripts/Ebon Hold: Improve SQL!
* Scripts/Ebon Hold: Final touch
* Scripts/Ebon Hold: Actually final touch
* Rename 9999_99_99_99_world.sql to 2020_01_26_04_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
* Scripts/Borean Tundra: Plug the Sinkholes
* Scripts/Borean Tundra: Improve SQL
* Scripts/Borean Tundra: Remove item script
* Rename 9999_99_99_99_world.sql to 2020_01_26_03_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
|
|
|
|
to retail behaivior (#24093)
* according to observations Blizzard is letting creatures do 2 up to 10 spline movements right after each other before waiting for a couple seconds
|
|
|
|
checks have been executed
* for discussion see: https://github.com/TrinityCore/TrinityCore/commit/02daf1bf3afc570c26e8e9f431866fcb3720174a#r36916229
|
|
We want our movement to be fully updated before even thinking about interrupting anything. The old logic was updating positions, interrupting stuff and afterwards updating movement generators. This way we were ending up with false interrupts.
properly fixes #22908
|