Commit Graph
100 Commits
Author SHA1 Message Date
Shauren b13e9f9d61 Core/Misc: Fixed clang 13 warnings, gcc 11 build errors and nopch build 2021-10-25 00:05:05 +02:00
Shauren b8227f92d5 Core/Entities: Minor refactor to viewer dependent updatefield writing to allow using viewer dependent dynamic updatefields 2021-10-24 13:21:22 +02:00
Shauren 23ec4b4075 Core/DataStores: Hackfix broken db2 files that have invalid id tables 2021-10-24 01:28:40 +02:00
Shauren bfd9c1778f Core/Misc: Sync Languages.h content between branches 2021-10-23 20:21:38 +02:00
Shauren d181c1da75 Core/CrashHandler: Include assertion messages in crash reports
(cherry picked from commit 62db1fb683c13b8dde0cc359564e090e0594658f)
2021-10-23 16:02:44 +02:00
Shauren ab95c5e9d7 Core/Creatures: Restored old initialization order: AI after movement
Closes #22307

(cherry picked from commit cdf4040f4fce4f1e5ebb33525c4618845605081c)
2021-10-22 23:51:59 +02:00
Shauren cf4ec52d39 Core/Commands: Fixed .damage command to work with spell schools caused by bad strtok usage
Closes #22280

(cherry picked from commit bc3da555fea74fba6902bd0d2dfda773116c196a)
2021-10-21 00:18:13 +02:00
Shauren 8a309542ce Scripts/Commands: Fix .quest complete to properly work with PvP kill quests 2021-10-19 23:46:09 +02:00
Shauren 2dbd83789b Scripts/Icecrown Citadel: Fixed target selection for Vampiric Bite and Blood Mirror after threat rewrite
Closes #21537

(cherry picked from commit 6cf12bcb4cb516f2564df264838c60e49c3857be)
2021-10-17 16:28:52 +02:00
Shauren ba4fa060d7 Core/Auras: Implemented SPELL_AURA_ADD_PCT_MODIFIER_BY_SPELL_LABEL and SPELL_AURA_ADD_FLAT_MODIFIER_BY_SPELL_LABEL 2021-10-16 22:05:02 +02:00
Shauren 3e81db7b93 Core/Auras: Implemented SPELL_AURA_CAST_WHILE_WALKING_BY_SPELL_LABEL and SPELL_AURA_CAST_WHILE_WALKING_ALL 2021-10-16 18:44:59 +02:00
Shauren d0aa599052 Warning fix 2021-10-16 18:09:57 +02:00
Shauren 6e4a90d274 Core/Spells: Implemented SPELL_AURA_SUPPRESS_ITEM_PASSIVE_EFFECT_BY_SPELL_LABEL 2021-10-16 16:43:13 +02:00
Shauren 95e2185094 Core/Spells: Fixed loading spell labels 2021-10-16 16:42:49 +02:00
Shauren 145a75dea6 Core/Items: Replace assert with null check in Player::ApplyEquipCooldown
Closes #27069
2021-10-16 13:28:19 +02:00
Shauren 6b69338990 Core/Items: Refactored learning spells from items to check for ITEM_SPELLTRIGGER_LEARN_SPELL_ID instead of hardcoded spell ids 2021-10-16 13:22:42 +02:00
Shauren 047117fe9f Core/BattlePets: Fix field index in BattlePetMgr::LoadFromDB 2021-10-16 12:21:04 +02:00
Shauren 518c86f9ac Core/Bnet: Fixed changing realms from character list
Closes #27063
2021-10-15 22:16:40 +02:00
Shauren c59937a835 Core/DataStores: Fixed ItemSparse.db2 structure
Closes #27065
2021-10-15 21:32:36 +02:00
Shauren 990e4d8657 Core/Spells: Fixed Righteous Defense crash caused by modifying target list inside effect handler
* Already handled in a script

Closes #22158

(cherry picked from commit 2351d0293085873bde656bf93d717a793a0dcd69)
2021-10-15 00:16:43 +02:00
Shauren 369caed98e Core: Updated allowed build to 9.1.0.40593 2021-10-13 21:20:44 +02:00
Shauren 49eb3cf8fe Core/Spells: Implemented SPELL_EFFECT_TELEPORT_WITH_SPELL_VISUAL_KIT_LOADING_SCREEN 2021-10-13 11:49:30 +02:00
Shauren 322a71dfb2 Core/Players: Allow disabling creating characters in Exile's Reach by disabling map 2175 2021-10-12 21:17:28 +02:00
Shauren b6b46924f6 Core/Scripts: Make ObjectMgr::LoadScriptNames safe to call multiple times 2021-10-12 16:09:47 +02:00
Shauren d7302ffd14 Core/Scenes: Implemented spell created SceneObjects 2021-10-11 12:59:19 +02:00
Shauren 8492c273dd Core/Spells: Implemented SpellReagentsCurrency.db2 2021-10-10 19:12:17 +02:00
Shauren 8147a42aef Core/Spells: Corrected spell visual fallback logic for spell difficulty entries 2021-10-10 19:02:52 +02:00
Shauren 2965d201ab Core/Spells: Changed Spell::SendCastResult arguments to signed ints to match packet structure 2021-10-10 19:00:02 +02:00
Shauren d2dcce09d7 Core/SAI: Fixed SMART_ACTION_EQUIP to properly set values in all slots (cherry-pick error) 2021-10-10 14:22:18 +02:00
Shauren 3fe9b0a296 Core/Conversations: Replace _participants with generic personal object implementation 2021-10-09 13:30:47 +02:00
Shauren 98aef67c11 Scripts/Spells: Fixed crash in spell_pri_prayer_of_mending 2021-10-07 19:55:25 +02:00
Shauren 293aa781ae SQL: Fix wrong delete query 2021-10-07 10:58:04 +02:00
Shauren aed90ab204 Core: Updated allowed build to 9.1.0.40443 2021-10-07 10:37:02 +02:00
Shauren 73e6cf4d27 Core/Misc: Fix another gcc warning 2021-10-06 12:19:05 +02:00
Shauren f602a83bb4 SQL: Fix 2021_10_02_00_characters.sql compatibility with mysql 5.7 2021-10-06 00:15:06 +02:00
Shauren 6d93f0a5f7 Core/Scenes: Delay scenes sent when not in world until adding to map 2021-10-05 15:10:33 +02:00
Shauren cbf1f2883a Core/Spells: Reduce number of CastSpell overloads to 1 2021-10-03 19:58:03 +02:00
Shauren 555b2d40ec Core/Spells: Send OriginalCastId in SMSG_SPELL_START and SMSG_SPELL_GO for triggered spells in 'game' project 2021-10-03 16:36:39 +02:00
Shauren 3af9be830d Core/Spells: Removed CastSpellExtraArgs constructors accepting ObjectGuid, they would become ambiguous with future changes 2021-10-03 14:58:35 +02:00
Shauren d54edfeb8b Core/Players: Implemented selecting Exile's Reach during character creation 2021-10-02 21:45:04 +02:00
Shauren 2bf8110032 Core/Players: Do not show zone on character list before first login 2021-10-02 21:46:58 +02:00
Shauren 696be301d3 Core/Players: Save homebind location on creation instead of delaying it to first login 2021-10-02 21:38:21 +02:00
Shauren 11762273c6 Core/Players: Store player creation timestamp and type (normal/npe) 2021-10-02 21:28:11 +02:00
Shauren 1440586be8 Core/Players: Fixed value saved in characters.lastLoginBuild 2021-10-02 20:01:29 +02:00
Shauren 2d7af28e9f Core/Transports: Store information about continent transports 2021-10-02 19:59:56 +02:00
Shauren f6f2de76c7 Core/Commands: Remove the option to teleport to "startzone" with .unstuck command 2021-10-02 19:57:37 +02:00
Shauren 46004d4fca Core/Players: Relocate players to their homebind location instead of starting zone when login at saved location fails 2021-10-02 18:43:09 +02:00
Shauren a098137b59 Core/Commands: Lookup spell command fixes
* Crashfix
* Will now look at spell effects other than EFFECT_0 to find learned spell
2021-10-01 22:30:39 +02:00
Shauren 50381ed741 Dep/protobuf: Backport https://github.com/protocolbuffers/protobuf/pull/2337 to our embedded version 2021-10-01 18:57:17 +02:00
Shauren 203f1197b4 Build: Modernize readline finding script 2021-10-01 18:54:52 +02:00
Shauren 4e71c5b685 Dep/CascLib: Update to ladislav-zezula/CascLib@4fc4c18bd5 2021-10-01 13:47:03 +02:00
Shauren 4d153b6cb9 Build: Update FindOpenSSL.cmake and remove custom FindGit
(cherry picked from commit 77596dba67483c8050c3d3ea1c4299360fde6beb)
2021-10-01 13:02:03 +02:00
Shauren 629ec3a14d Build: Check -Wno-deprecated-copy existence using check_cxx_source_compiles instead of hardcoding clang version number 2021-10-01 11:19:39 +02:00
Shauren 3bf6698116 Core/Misc: Fix appleclang 12 warnings 2021-10-01 11:18:29 +02:00
Shauren 75909f9232 Core/Bnet: Updated protobuf messages and services 2021-09-29 10:32:04 +02:00
Shauren 58043c8d90 Core/Movement: Removed unneccessary z position adjustment
Closes #21872

(cherry picked from commit d9a2177e9cc1115b0d830bd0a76ac0eec9878e05)
2021-09-26 16:12:52 +02:00
Shauren 9709643f50 Core/Misc: Fix copyright headers 2021-09-26 14:22:52 +02:00
Shauren 334b02e1da Core/SAI: Fixed crashes when SAI targets pets that use sai if not tamed
Closes #21870

(cherry picked from commit beb333738db0d493bf95994eb5557e174e5dd3a6)
2021-09-26 12:43:18 +02:00
Shauren 068b340b69 Core/Transports: Force transport passengers into legacy spawn group
Ref #21641

(cherry picked from commit a5df77a9d6f3e48f2c4e8a61d60e3b5f2f0c326e)
2021-09-26 01:42:54 +02:00
Shauren 5274f7af17 Core/PacketIO: Added missing move assignment operator to ByteBuffer
(cherry picked from commit fcb1e3e6424ef86934132e1111052a6798d78bc9)
2021-09-26 01:27:59 +02:00
Shauren e598cfe28d Core/SAI: Fixed silence logic in 1e8227eda7f9c6a989fe6c928c857d76491e008c
(cherry picked from commit 668df7fd01a2b3bdac1ea4600ed17df03e51bd60)
2021-09-25 20:46:13 +02:00
Shauren 52de393f10 Core/Players: Greatly simplifiy fdb2b90685ebc3852740c424170101a196c29ebb
(cherry picked from commit 9617778336556cd9b19c77e037fb64344021d9cc)
2021-09-25 15:36:50 +02:00
Shauren 47630708f0 Core/Players: Prevent creating characters with duplicate name by reserving name early in the process
Closes #21656
Closes #21809

(cherry picked from commit fdb2b90685ebc3852740c424170101a196c29ebb)
2021-09-25 15:34:20 +02:00
Shauren 453b59de57 Core/Maps: Adjusted logic in GetFullTerrainStatusForPosition to closer match what the client does regarding being inside WMOs
Closes #21625
Closes #21624
Closes #21516

(cherry picked from commit b9c6bbb51df0ed10f74617482740fedb91ff5366)
2021-09-25 01:04:21 +02:00
Shauren d76db70cbf Core/Chat: Fixed chat link exploit
Closes #21790

(cherry picked from commit 454bae42c6412161a69dc9de2ee4e5edcbd7ee8c)
2021-09-24 23:38:11 +02:00
Shauren 39c6d1f50c SQL: Rename file 2021-09-23 19:41:23 +02:00
Shauren c34e0f80a0 Core/Items: Disable effects on items marked as legacy 2021-09-22 00:01:47 +02:00
Shauren f9fb469726 Core/Items: Define new item flags 2021-09-22 00:01:47 +02:00
Shauren 33bf5d3854 Core/Movement: Fixed chase distance calculation for hovering units
Closes #21668

(cherry picked from commit 4af3c33d04b8ccaba7dc38ce4f2c757970b86156)
2021-09-19 22:43:07 +02:00
Shauren 0b882b2fa4 Core/Spells: Update effect value calculations 2021-09-18 15:00:43 +02:00
Shauren ee73948a64 Core/AreaTriggers: Rename spell_areatrigger* tables to areatrigger_create_properties* according to last MiscValue research for areatrigger effects
* Move areatrigger_template.DataX to areatrigger_create_properties.ShapeDataX
2021-09-16 22:22:14 +02:00
Shauren d9c0c062a4 DB/Quests: Remove deprecated quests from creature_queststarter and creature_questender
Closes #26899
2021-09-12 14:43:23 +02:00
Shauren 074f7d9dbf DB: Redo class_expansion_requirement and race_unlock_requirement data 2021-09-11 22:34:39 +02:00
Shauren e806838f28 Core: Updated allowed build to 9.1.0.40120 2021-09-10 12:30:00 +02:00
Shauren f57cf66dac Core/Spells: Typo fix 2021-09-07 11:38:24 +02:00
Shauren 376ac0eeba Buildsystem: Separate strict database type checks from TRINITY_DEBUG/WITH_COREDEBUG option
(cherry picked from commit ddd60a948c432aaac1d9a9ff05c9cf22ada35813)
2021-09-06 21:01:48 +02:00
Shauren add2e6d212 Core/Spells: Avoid static analysis false positive 2021-09-05 23:04:33 +02:00
Shauren f832a96c4e Warning fix 2021-09-05 16:30:13 +02:00
Shauren 7e09deea3a Scripts/Spells: Fixed mage ice block to not heal without aura 320913 2021-09-05 15:58:30 +02:00
Shauren 9e840da13e CI: Remove git tagging from build scripts 2021-09-05 14:59:42 +02:00
Shauren 85671f20d8 Build: Fixed branch name displayed by appveyor binaries 2021-09-05 14:49:02 +02:00
Shauren 05f188ae2b CI: Update boost version used on appveyor 2021-09-05 01:27:51 +02:00
Shauren 8a4e1119ac Core/Spells: Unify spell effect access api in both branches 2021-09-04 15:13:15 +02:00
Shauren 16ed458eee Core: Updated allowed build to 9.1.0.40000 2021-09-02 12:42:10 +02:00
Shauren 6ec73a7659 Core/Misc: Fix windows nopch build
Closes #25363

(cherry picked from commit 6ad58d604a63bacc13ee92c525189931d41d1e91)
2021-08-31 13:48:40 +02:00
Shauren 29659b4192 Build: Replace git describe with more script friendly alternative, git rev-parse and git diff-index 2021-08-31 11:29:07 +02:00
Shauren 9d7eee1a8c Core/Auras: Fixed cherry-pick mistakes in Unit::RemoveMovementImpairingAuras and Unit::HasAuraWithMechanic 2021-08-30 23:21:14 +02:00
Shauren 407e5aea1a Core/Spells: Remove leftover code from old mechanic - default spellpower scaling coefficients 2021-08-30 23:17:12 +02:00
Shauren 6031b95ea7 Core/Spells: Remove outdated damage calculations from Spell::EffectSchoolDMG and Spell::EffectWeaponDmg 2021-08-30 21:21:51 +02:00
Shauren 3af33b9ff9 Warning fixes 2021-08-28 20:24:21 +02:00
Shauren aebf308368 Core/Spells: Fixed Spell::EffectWeaponDmg for spells with multiple damage effects
Closes #26717
2021-08-28 19:53:53 +02:00
Shauren 3dd75a49b1 Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers, it was commented out in almost every handler 2021-08-28 19:51:29 +02:00
Shauren bc2c76a5b8 Core/Spells: Refactor building SMSG_SPELL_EXECUTE_LOG to not create 192 empty vectors on every spell cast 2021-08-28 18:30:45 +02:00
Shauren b9647bdecc Core/Reputation: Fixed FriendshipReputationFlags::NoRepGainModifiers implementation 2021-08-28 18:03:30 +02:00
Shauren 8cc418460f Core/Misc: Fix gcc warnings 2021-08-28 16:08:33 +02:00
Shauren a91edcb952 Core/Creatures: Remove hover on death
(cherry picked from commit 241109327bf573460d488d707d7eb19f82f1350c)
2021-08-24 13:45:34 +02:00
Shauren f8c03a9066 Core/Creatures: Reworked setting move types in database
* Each move type has its own field instead of trying to combine everything in InhabitType
* Allow overriding movement separately for each spawn

(cherry picked from commit 592516ae69d89da3bcb0ede144644a3d2e0186e0)
2021-08-24 13:43:06 +02:00
Shauren 2e2b298618 Core/Movement: Fixed creature hover
Closes #15177

(cherry picked from commit 2baa81065ba27f0a6d278a8dd8a79b7c831e0a2b)
2021-08-24 12:44:38 +02:00
Shauren 5498ea6aae DB/Hotfixes: Fix lua errors in base ui
Closes #26853
2021-08-22 15:00:05 +02:00
Shauren d0394f939a Core: Updated allowed build to 9.1.0.39804 2021-08-19 11:02:14 +02:00