Commit Graph

42090 Commits

Author SHA1 Message Date
funjoker
f0b4b4cb9e CircleCI: Enable creating docker images for wotlk_classic 2024-01-14 20:38:10 +01:00
Shauren
e0f408b6d1 Core/Spells: Kill incorrect attribute implementation
(cherry picked from commit 8b183ddac3)
(cherry picked from commit c5f7e6cbd7)
2024-01-14 19:54:47 +01:00
Shauren
27f772ac0d Core/Conditions: Added stringid condition type
(cherry picked from commit 151dd67e2e)
2024-01-14 19:54:16 +01:00
Shauren
ce5c1ad409 Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
(cherry picked from commit 0b5406dd88)
2024-01-14 19:53:38 +01:00
ModoX
c740c69537 Core/Conversations: Use WorldObject actors if CreatureId is not provided in conversation_actors
(cherry picked from commit 0b9926961e)
2024-01-10 20:21:51 +01:00
ModoX
1e52acfc0b Core/Conversation: Implemented conversation flags (#29552)
(cherry picked from commit de23262c65)
2024-01-10 20:21:10 +01:00
funjoker
c7aa8c90c7 Misc: Add wotlk_classic to readme 2024-01-09 21:09:42 +01:00
ModoX
bcd4794bd7 Core/Spell: Fix target check for TARGET_UNIT_RECT_CASTER_ENEMY
(cherry picked from commit d7f3a2161b)
2024-01-09 20:57:17 +01:00
Shauren
d835d0fad0 Core/Creatures: Moved autoattack handling from scripts to game
(cherry picked from commit 605e5f94c0)
2024-01-09 20:56:54 +01:00
ModoX
4fe41bba8e Core/Creatures: Added possibility to automatically despawn personal summons on quest remove (#29114)
(cherry picked from commit b3dce0ac08)
2024-01-09 20:45:32 +01:00
ModoX
82b605645b Core/Spells: Added option to override orientation for target types using spell_target_position table (#29551)
(cherry picked from commit e8849ca5a1)
2024-01-09 20:44:00 +01:00
Shauren
071b04e987 Core/GameObjects: Fixed incorrect startup error log
(cherry picked from commit cda13e2b6b)
2024-01-09 20:43:02 +01:00
ModoX
4bd8a9d55b Core/AreaTrigger: Fix areatrigger debug output not printing spawnid properly
(cherry picked from commit 711e8a527c)
2024-01-09 20:42:50 +01:00
ModoX
be16d63b7e Scripts/Movement: De-optional followPathBackwardsFromEndToStart in WaypointMovementGenerator
(cherry picked from commit 70d0eaf4f8)
2024-01-09 20:42:23 +01:00
ModoX
e1737f0f72 Core/Waypoints: Refactor to split data into path and node related info in db (#29506)
(cherry picked from commit 12186ef857)
2024-01-09 13:15:49 +01:00
Shauren
9504640b34 Core/Players: Fixed objects not being visible after seamless teleports
(cherry picked from commit 390f0be9fb)
2024-01-09 13:09:28 +01:00
Shauren
55842934f1 Core/Config: Added missing config CONFIG_CORPSE_DECAY_RARE
(cherry picked from commit 6de4281232)
2024-01-09 13:09:11 +01:00
Ovahlord
1d397b8c8c Core/Maps: implement LIQUID_MAP_OCEAN_FLOOR to identify units that are on the bottom of a liquid (#29545)
(cherry picked from commit 97af0c31af)
2024-01-09 13:08:58 +01:00
Ovahlord
8c1612644e Core/Maps: restored a hack in gridmap liquid status code to solve precision issues (#29544)
Closes #29543
Closes #22020

(cherry picked from commit bfb9fd8a2c)
2024-01-09 13:08:47 +01:00
Shauren
439f8da207 Scripts/Karazhan: Removed a custom reimplementation of DoMeleeAttackIfReady (written before dual wield was supported by it)
(cherry picked from commit 29d9790402)
2024-01-09 13:08:33 +01:00
ModoX
489f85a100 Core/Player: Added Player::SkipQuests helper to skip quests (without rewards)
(cherry picked from commit e10f7e6d45)
2024-01-09 13:07:37 +01:00
ModoX
d74c3b6ff3 Core/Unit: Restore function of HandleKillPlayer after bf107e0581
* also fix build

(cherry picked from commit 78012dadf2)
2024-01-09 13:07:20 +01:00
Jeremy
ddb853e729 Core/Battleground: Changed HandleKillUnit hook to accept any Unit* as killer
(cherry picked from commit bf107e0581)
2024-01-09 13:06:52 +01:00
Jeremy
b091acd610 Core/Battleground: Moved DoAction hook to ZoneScript
(cherry picked from commit 22614d6bcc)
2024-01-09 13:05:11 +01:00
ModoX
9ba9d6e74c Core/Waypoints: Also facing when orientation is set and node is last of path
(cherry picked from commit 6a183e7c64)
2024-01-09 13:04:52 +01:00
ModoX
d8282387de Core/Player: Rename GetQuestSlotObjectiveData to GetQuestObjectiveData
(cherry picked from commit 38a80d7566)
2024-01-09 13:04:27 +01:00
Shauren
06fb1b2a5d Core/Misc: Fixed a bunch of uninitialized class fields
(cherry picked from commit 099ad4a0fd)
2024-01-09 13:03:37 +01:00
ModoX
b2cbf220f6 Core/Conversation: Log error if conversation is started multiple times
(cherry picked from commit a5d2d6e465)
2024-01-09 13:02:53 +01:00
Shauren
e9b8cd598b Core/Quests: Removed slow queries from daily and weekly resets
Closes #29146

(cherry picked from commit ee7b0e82fa)
2024-01-09 13:02:40 +01:00
ModoX
e3f0975e44 Core/AreaTrigger: Fallback to CreateProperties script, if ScriptName of static areatrigger is not provided
(cherry picked from commit 7e061adffa)
2024-01-09 13:02:22 +01:00
Meji
cbd614c57d Core/AreaTriggers: Refactor (#29500)
* Moved IsServerside to custom flags
* Flags moved from areatrigger_template to areatrigger_create_properties
* New field to create custom CreateProperties (IsCustom)
* New field to reference custom areatriggers (IsAreatriggerCustom)
* Moved fields for shape data to areatrigger_create_properties

(cherry picked from commit 37eb2e64a6)
2024-01-09 13:02:08 +01:00
Shauren
3a5301ee56 nopch fix
(cherry picked from commit dbe54dc877)
2024-01-09 12:51:00 +01:00
Shauren
0c21c06e6e Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory
(cherry picked from commit 4dce6ab228)
2024-01-09 12:50:47 +01:00
Shauren
dbf2f88e40 Core/Maps: Cleaned up incorrect error log
(cherry picked from commit f26a93a8c1)
2024-01-09 12:27:46 +01:00
funjoker
0998d938ec Core/Misc: Build fix 2024-01-09 12:27:13 +01:00
Jeremy
d816fc100a 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

(cherry picked from commit 1ef0c04520)
2024-01-09 12:26:52 +01:00
Jeremy
c545216960 Core/Maps: Properly set initial spawn group state for groups that have conditions (#29509)
(cherry picked from commit fb64d7fe8e)
2024-01-09 12:20:48 +01:00
Shauren
f9ba4672d9 Core/Database: Fixed a shutdown crash happening if worldserver did not fully start up (for example applying a db update failed)
(cherry picked from commit a2be97414b)
2024-01-09 12:19:45 +01:00
Jeremy
4d8215277b Core/Spells: Clean up some gameobject types in EffectOpenLock (#29532)
(cherry picked from commit 42de312a79)
2024-01-09 12:19:34 +01:00
Shauren
a112606051 Fix bfbda8dcce
(cherry picked from commit 88a7886e0d)
2024-01-09 12:18:57 +01:00
Teleqraph
7021ee27d7 Core/Creatures: Refactor CreatureEliteType (#29525)
* Turn into enum class with official names

(cherry picked from commit bfbda8dcce)
2024-01-09 12:17:51 +01:00
Shauren
0b82cc22d3 Core/Database: Replace union with std::variant in Transaction
(cherry picked from commit 3a9cbd217a)
2024-01-09 12:08:15 +01:00
Shauren
ca6ebfae32 Build fix
(cherry picked from commit 8b54205778)
2024-01-09 12:07:45 +01:00
Shauren
b91c2396d5 Core/Bnet: Implemented new SRP6 variants, and migrate old sha_pass_hash in battlenet_accounts to separate salt and verifier columns
* passwords can now be case sensitive and up to 128 characters long

(cherry picked from commit 623202d68e)
2024-01-09 12:07:15 +01:00
Ovahlord
c431c77d89 DB/RBAC: restored the RBAC permission entries for the .instance set/getbossstate commands
(cherry picked from commit db9a460015)
2024-01-09 12:03:45 +01:00
Ovahlord
8426854ee8 Core/Common: fixed nopch build for msvc compilers (#29516)
(cherry picked from commit 0db162790c)
2024-01-09 11:58:46 +01:00
Shauren
23877d2dce Core/Accounts: Migrate RA credentials checking to use AccountMgr instead of copying its logic
(cherry picked from commit e05541665b)
2024-01-09 11:58:28 +01:00
Shauren
df6dcfd5c6 Core/Maps: Fixed pathgenerator always returning NAV_GROUND from GetNavTerrain
(cherry picked from commit a24e3a9511)
2024-01-09 11:58:14 +01:00
Ovahlord
30429d2c96 CMake: added MySQL 8.2 to FindMySQL cmake macro
(cherry picked from commit b6a35c7920)
2024-01-09 11:58:01 +01:00
Shauren
239d714320 Core/Crypto: Added SHA 512 definitions
(cherry picked from commit e172052a0a)
2024-01-09 11:55:10 +01:00