Commit Graph

32153 Commits

Author SHA1 Message Date
Shauren
3048203855 Core/DBLayer: Use std::variant's stored type instead of relying on our own separate enum for prepared statement parameters 2020-03-02 22:51:18 +01:00
jackpoz
69809d1203 Core/AI: Fix remaining charming issue
Make creatures evade when a charming expires and they cannot attack the charmer (i.e. charmer with .gm on)
2020-03-02 20:43:52 +01:00
Giacomo Pozzoni
817ae5bca6 Core/AI: Allow creatures to evade (#24221)
* Core/AI: Allow creatures to evade

Revert changes that didn't allow creatures to evade anymore no matter how hard a script would try

* PArtially revert 163f44c1b0
2020-03-02 20:17:47 +01:00
Shauren
5b0a32d164 Core/DBLayer: Refactor PreparedStatement class to not depend on MySQLPreparedStatement 2020-03-02 19:40:59 +01:00
daMaex
ce449f6b53 Core: build on aarch64 with gcc (#24216)
* build on aarch64 with gcc

* Core/aarch64: readability on preprocessor macro

* Core/aarch64: TC C++ codestyle adjustment
2020-03-01 20:16:57 +01:00
NoName
6067a99632 Core/Spell: Proper SPELL_EFFECT_PULL_TOWARDS_DEST implementation for players (#24178)
* Core/Spell: Proper SPELL_EFFECT_PULL_TOWARDS_DEST implementation for players
Closes ##23203 and also reverts 9a1282a

thnx to xvwyh

* Make it optional
2020-03-01 20:15:54 +01:00
jackpoz
9ba4694ff2 Core/Misc: Fix build 2020-03-01 19:23:48 +01:00
Giacomo Pozzoni
ddf2f60c13 Core/AI: Make charmed creatures follow their owner (#24195)
* Core/AI: Make charmed creatures follow their owner

* Follow the charmer only when applying the charm

* Make SmartAI follow the charmer
2020-03-01 13:31:13 +01:00
Killyana
94186a5e79 DB/Quest: Anguish of Nifflevar
Add missing lines and equipments
2020-02-29 20:00:29 +01:00
Killyana
16731bcae4 DB/SAI: Improve cosmetic event for Valgarde Captive 2020-02-29 17:47:29 +01:00
dr-j
1eff75412b DB/Quest: Use Areatriggers to trigger events for The Echo of Ymiron & Anguish of Nifflevar
Closes #24210
2020-02-29 17:16:44 +01:00
Ujp8LfXBJ6wCPR
3ebcb71c3d Replace MySQL prepared statement union with std::variant (#24158) 2020-02-29 17:14:15 +01:00
Killyana
1d7bdc0214 DB/Quest: The Earthbinder
Closes #24211
2020-02-29 15:38:07 +01:00
Ujp8LfXBJ6wCPR
a933ba6015 Modernize codebase with Clang-Tidy range based loops (#24165)
Manual expansion of auto types into "typed types"
2020-02-29 13:22:51 +01:00
Ujp8LfXBJ6wCPR
fb75a958f0 Part1: Modernize codebase with Clang-Tidy range based loops (#24164) 2020-02-29 13:20:05 +01:00
Sorikoff
2b14b720da Scripts/Ebon Hold: Bloody Breakout (#24126)
* Scripts/Ebon Hold: Bloody Breakout

* Scripts/Ebon Hold: Bloody Breakout (part 2)

* Improvements

* Fail quest

* Spacing

* Update 9999_99_99_99_world.sql

* Update 9999_99_99_99_world.sql

* Rename 9999_99_99_99_world.sql to 2020_02_28_04_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-28 20:29:08 +01:00
ForesterDev
ffede34ba9 Core/Misc: Moved CanSpeak() method to WorldSession class (#24209)
* Core/Misc: Moved CanSpeak() method to WorldSession class

(cherry picked from commit 93aa30f447)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Handlers/ChatHandler.cpp
#	src/server/game/Server/WorldSession.cpp

* fix merge conflicts
2020-02-28 19:53:35 +01:00
Giacomo Pozzoni
c0676a48f7 Core/PathFinding: Add support to WorldObject pathfinding (#24207)
* Core/PathFinding: Add support to WorldObject pathfinding

* Handle Unit* specific code

* Fix some wrong const

* Fix no-pch build
2020-02-28 19:31:55 +01:00
Giacomo Pozzoni
6443e518cf Core/PathFinding: Return raycast hitpoint when specifying straightLine (#24206) 2020-02-28 19:29:58 +01:00
ForesterDev
f6e6baa293 Core/PacketIO: update SMSG_EMOTE / CMSG_EMOTE packets to new system (#24200)
* Core/PacketIO: update SMSG_EMOTE / CMSG_EMOTE packets to new system

* Change int32 to uint32
2020-02-28 19:29:05 +01:00
ForesterDev
71a01c75ca Core/Server: improve timestamp format output for large time values (#24193) 2020-02-28 19:24:33 +01:00
ForesterDev
5cfce94619 Core/DynamicInfo: rename some parameters according packet definitions (#24192) 2020-02-28 19:23:20 +01:00
Ovah
6cbfda2fce Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates (#24190)
* Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates

* pacified units should only have their melee attacks blocked as counterpart to silence mechanics

* Core/Spells: removed unnecessary attack stop call from pacify aura effect handler
2020-02-28 19:22:25 +01:00
Rushor
0583445c05 Scripts/Gameobject: Move Orb of Command script to SAI. (#24189)
* Scripts/Gameobject: Move Orb of Command script to SAI.

* Scripts/Gameobject: Move Orb of Command script to SAI.

* Rename 2020_12_23_00_world.sql to 2020_02_28_03_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-28 19:21:50 +01:00
NoName
40542f01e3 Core/Movement: Implement MoveSplineFlag::Enter_Cycle (#24049)
by xvwyh
#22448
2020-02-28 19:03:52 +01:00
Killyana
1a761aa8e7 DB/GameObject: Protoype Console 65262/191761
Closes #22648
2020-02-28 14:00:33 +01:00
Killyana
eebaa76c97 DB/Conditions: Fix an error in the previous commit 2020-02-27 22:32:56 +01:00
Killyana
bdb50af29d DB/Gossips: Fix Commoner's gossip texts for all game events
Ref #16129
2020-02-27 22:16:11 +01:00
Sorikoff
2b59159f6a DB/Creature: Remove wrong auras from Unworthy Initiate
Closes #24204
2020-02-27 14:17:59 +01:00
jackpoz
3b0a89a2ea Tools/MMaps: Fix strange paths in Blackfathom Deeps
Increase the agent height by x2 to reduce the chance of having underground mmap layers wrongly picked by recast.
2020-02-26 21:06:39 +01:00
Killyana
622e5fb312 DB/Misc: Restore WDB data to some "Ice Stone" gobs
Wrong changes were made here f7283d9766/sql/old/7/world/00_2017_04_18/2017_02_01_04_world_2016_06_22_03_world.sql
2020-02-26 15:45:05 +01:00
Killyana
ee55b16abc DB/Quest: Totem of Tikti
Closes #24196
2020-02-25 12:26:31 +01:00
daMaex
cbe765df7a Core: Build on ARM64 - Raspberry Pi (preferable 4) (#23885)
* build again on aarch64

* include mm_malloc header instead of defining self
2020-02-23 22:37:02 +01:00
jackpoz
7a57029d8f Core/Movement: Add support to cyclic splines to GenericMovementGenerator
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.
2020-02-23 22:07:40 +01:00
Killyana
21175ba2ff DB/Creature: Remove useless script from Zeppelin Power Core 2020-02-23 16:08:35 +01:00
Giacomo Pozzoni
1b543ac16d CI/Circle CI: Reduce ccache size from 5G to 1G
This should speedup Circle CI cache saving and in turn no-pch build
2020-02-22 22:30:52 +01:00
ForesterDev
69231581e4 Core/Server: correct timestamp format for shutdown/restart notification 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
2020-02-22 21:31:37 +01:00
ForesterDev
c65ba35269 Core/SmartAI: implement SMART_ACTION_OVERRIDE_LIGHT and 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 2e15f72585.

* Add dbc-validations for new actions

* Use GetBaseObject() instead of Creature* for new actions. Add debug-logging
2020-02-22 21:11:14 +01:00
Sorikoff
0f265b4af6 Scripts/Ebon Hold: Massacre At Light's Point (#24106)
* 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>
2020-02-22 21:05:50 +01:00
Killyana
ac6baa5473 DB/Creature: Remove dups and add some missing Ribbon Pole Debug Target 2020-02-21 22:16:57 +01:00
Killyana
ae7929f752 DB/Creature: Midsummer Celebrant 2020-02-21 21:35:42 +01:00
Aokromes
d7d8df95f9 Update 2020_02_21_00_world.sql 2020-02-21 01:17:46 +01:00
Killyana
c18f68e3bf DB/Creature: Fix some Midsummer Celebrant 2020-02-21 00:05:25 +01:00
Giacomo Pozzoni
9009c82a8d CI/CircleCI: Switch to Ubuntu 19.04 2020-02-20 08:44:06 +01:00
Killyana
d0cfa243a9 DB/GameObject: Add animation to the Gift of the Harvesterv 2020-02-20 02:02:28 +01:00
Killyana
b3de6afdac DB/GameObject: Respawn Void Conduit Spell Focus to get a retail behavior
Related to the quest On Nethery Wings
Closes #6210
2020-02-19 18:14:20 +01:00
Killyana
828987a46a Core/GameObject: Fix wrong calculation of the spellfous distance
Closes #24177
2020-02-19 17:44:45 +01:00
Killyana
c7b8bf98a9 DB/SAI: Remove useless SAI 2020-02-18 23:01:09 +01:00
Ovahlord
6f31784979 Core/SAI: SMART_ACTION_PAUSE_MOVEMENT
Closes #22346
2020-02-18 22:52:35 +01:00
Killyana
3181a1c87f Boss/Script: Add Crazed Apothecary to Apothecary Hummel encounter
Closes #19520
Closes #24176
2020-02-18 20:22:02 +01:00