Commit Graph

1659 Commits

Author SHA1 Message Date
hondacrx 37fd6936fd Core/Threat: Fix taunt logic relying on unspecified behavior by unordered boost heap iterators. Use ordered iterators instead, this is cheap for our use case anyway. This will make taunt behave consistently again.
Port From (https://github.com/TrinityCore/TrinityCore/commit/74cdf260e1e37d54ac1ce2045f05a2e50f7eceaa)
2021-08-09 10:27:17 -04:00
hondacrx d6dd7acd28 Core/GameObject: implemented gameobject_overrides table to change faction and flags values on a per-spawn basis
Port From (https://github.com/TrinityCore/TrinityCore/commit/67a1a1d29b76acfcda505fe1a38761a335e93bc5)
2021-08-09 10:24:32 -04:00
hondacrx 7cc0221447 Core/Entities: kill unused return value from Unit::HandleSpellClick
Port From (https://github.com/TrinityCore/TrinityCore/commit/a1a00f823e7e47e8cb652b71a839c1d0875a8f84)
2021-08-09 10:05:13 -04:00
hondacrx a2628af13a Core/Auras: check conditions against referer caster, just as spells do
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffa359c21cf92810d2c927496749148ff6ea9042)
2021-08-09 10:00:05 -04:00
hondacrx 08db42917e Core/SmartScripts: Rename SMART_ACTION_RESPAWN_TARGET -> SMART_ACTION_ENABLE_TEMP_GOBJ, since that's the only thing it still does in the dynspawn model. Adjust body accordingly to warn on misuse.
Port From (https://github.com/TrinityCore/TrinityCore/commit/32997a598992c5be7ad838b52b9e9a185d68d9fb)
2021-08-09 09:57:11 -04:00
hondacrx f2ff234456 Core/GameObject: Force compatibility mode for stupid ridiculous junk legacy hack gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/65b8dafb537dc41f9b46f44fa03c6466915fd119)
2021-08-09 09:50:32 -04:00
hondacrx 2b2698ea3c Core/GameObject: fix stupid ridiculous junk legacy hack code with negative gobj respawn time to work again
Port From (https://github.com/TrinityCore/TrinityCore/commit/de3eb7b298468d87b33a29e1baaa50508e90b562)
2021-08-09 09:49:14 -04:00
hondacrx 8e758048ae Core/Scripts: remove hack that caused aura to not be applied and saved twice on owned auras, causing an error on save
Port From (https://github.com/TrinityCore/TrinityCore/commit/181c671924c22fb92e32b96dd0f63d395b13db4f)
2021-08-09 09:48:05 -04:00
hondacrx 06a189e5e6 AI/SmartAI: New SMART_ACTION_RESPAWN_BY_SPAWNID
Port From (https://github.com/TrinityCore/TrinityCore/commit/61baf6704cf4f31b8b5f24d627d315659336c992)
2021-08-09 09:47:23 -04:00
hondacrx 85ffed189f Core/Spawning: Actually check spawn group state before processing a respawn. It feels like that is something that should've been noticed at some point.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5c80f5073493a3d31fd4b463891727beb6fe7eb1)
2021-08-09 09:37:36 -04:00
hondacrx bfd44a494d Core/Auras: restrict target map update only to area auras as player requires to have auras registered on load
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e7a12a87aa6502b7bf9adc42478283859f9268a)
2021-08-09 09:25:37 -04:00
hondacrx 7501866e11 Core/Unit: clear charmed/possessed state before returning client control. Works like a charm
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1a76fc7569ab7338730d680e7b0c703fa6b1003)
2021-08-09 09:24:38 -04:00
hondacrx 2196616dc0 Core/Vehicles: fix crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/489b111a8a08dd3b2e14cc926f5c0b5c2ae17f1d)
2021-08-09 09:20:47 -04:00
hondacrx b039353f1a Core/Entities: unit states cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/70c26d53cb94f0e78a57ecc2279c960370891aa4)
2021-08-08 23:44:54 -04:00
hondacrx 26a2eced6e Core/Auras: fixed Drain Mana breaking early if caster has Mana Feed talent but no active pet
Port From (https://github.com/TrinityCore/TrinityCore/commit/64399f58a37e0c2633d986af6af781e7f7b15998)
2021-08-08 23:33:31 -04:00
hondacrx 89bd0b003d Core/Spells: Execute item casts immediately instead
Port From (https://github.com/TrinityCore/TrinityCore/commit/64234b35ede0ec6e12048ec9a3dc8ae438ddb6e4)
2021-08-08 23:32:08 -04:00
hondacrx da5eb28902 Core/Entities: remove grid-wide visibility from setActive and implement another method for it
Port From (https://github.com/TrinityCore/TrinityCore/commit/8713a623283b4d0e414a97b566854c1b21e8754b)
2021-08-08 23:31:06 -04:00
hondacrx dac2b45ab8 Partial: Core/Entities: Reduce the probability of units dropping under the map
Port From (https://github.com/TrinityCore/TrinityCore/commit/69edf282fa777912385dbb4d921b9f3a8f92a00e)
2021-08-08 23:16:19 -04:00
hondacrx 7ffe2ee299 Core/Spells: Use caster as chat source in Spell::EffectSendChatMessage
Port From (https://github.com/TrinityCore/TrinityCore/commit/fcead0b4eae298c1a46c42fea56a3b3b9ae2bf8f)
2021-08-08 14:57:54 -04:00
hondacrx 18d873e1ee Core/Battlegrounds: Remove duplicate info from GroupQueueInfo
Port From (https://github.com/TrinityCore/TrinityCore/commit/58be6007fbfa45b7deb864ee09bd0c672f42a71d)
2021-08-08 14:57:15 -04:00
hondacrx ab6bd1e71f Core/Units: Fixed crash in Unit::CalcArmorReducedDamage when called from periodic aura tick if caster is no longer in world
Port From (https://github.com/TrinityCore/TrinityCore/commit/9067eb22ced9fdceb36f344b63af0edae1f4142a)
2021-08-08 14:47:17 -04:00
hondacrx 65a807c13e Core: Updated allowed build to 9.1.0.39653
Port From (https://github.com/TrinityCore/TrinityCore/commit/6c005fadfaae4f6f0ed7a2285fadf55aecfcda75)
2021-08-08 14:45:43 -04:00
hondacrx 10d7140450 Core/Misc: Updated SpellCastResult, GameError and HotfixStatus enums
Port From (https://github.com/TrinityCore/TrinityCore/commit/262ee285db1c69169210fc09cebca91a19cea4f2)
2021-08-08 14:44:52 -04:00
hondacrx 7ca12d9793 Core/DataStores: 9.1.0 db2 structures
Port From (https://github.com/TrinityCore/TrinityCore/commit/ce1046a8fd0f04aad6c414786949269fffea88f3)
2021-08-08 14:40:42 -04:00
hondacrx 491ec3333c Core/PacketIO: 9.1.0 opcodes and packet structures
Port From (https://github.com/TrinityCore/TrinityCore/commit/cd5357dc185f95c6ef78089c5ab8bd2b885dd89f)
2021-08-08 13:10:49 -04:00
hondacrx 5dd83ff0cd Updated README.md with our discord link. 2021-07-26 15:37:29 -04:00
hondacrx 001b026bce Core/Auras: Fix incorrect use of GetUnitOwner() in DynObjAura::FillTargetMap
Port From (https://github.com/TrinityCore/TrinityCore/commit/07f51437fc9ddba2810c090caa76ab294bcf777b)
2021-07-22 07:47:40 -04:00
hondacrx 4b142a08bd Core/Auras: Skip estimated points calculation for SPELL_EFFECT_PERSISTENT_AREA_AURA
Port From (https://github.com/TrinityCore/TrinityCore/commit/515d3da181e105aceeba02d8dab46454be00f433)
2021-07-21 15:51:43 -04:00
hondacrx 50fcbd3aaf Some cleanups 2021-07-08 13:01:46 -04:00
hondacrx 970ac30730 TDB 905.21071 - 2021/07/04
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b8bb270a8b316504289dad654e5aef88cd8d27f)
2021-07-04 20:07:35 -04:00
hondacrx 868bbf9edd Fixes a Assert with calling GetUnitOwner when aura is a DynObjAura.
Not sure if this is the right fix, or if there is more places it should be changed.
2021-07-03 20:42:57 -04:00
hondacrx 1d5337d3f7 Fixed a crash with AISpellInfoType having cooldown default to 0 should be default 5000. 2021-07-03 11:37:20 -04:00
hondacrx 2bc0446de2 Update to issue #37, if we don't have correct db2 locale then we need to stop server. 2021-07-02 11:28:17 -04:00
hondacrx a4d3bc7a4c Fixes #37 2021-07-02 00:04:33 -04:00
hondacrx 8418528bb0 oops 2021-07-01 00:07:54 -04:00
hondacrx cc192de659 Some missed changes. 2021-06-30 23:36:22 -04:00
hondacrx c168c6b145 Fixes one crash 2021-06-28 20:14:20 -04:00
hondacrx 5cebe678e0 Fixes quests no longer working after loggin out and back in, we never loaded the saved quest objective status. 2021-06-28 13:50:59 -04:00
hondacrx b834ebed9a Fixed some creatures not hitting, and also a divide by 0 crash when trying to hit them. 2021-06-25 13:50:21 -04:00
hondacrx 345a2974ea Fixes so errors 2021-06-25 10:40:44 -04:00
hondacrx 229ee1b497 Core/AuctionHouse: Fixed paying for commodities
Port From (https://github.com/TrinityCore/TrinityCore/commit/0bbf3f7300895008a37796f3d5be7e8f23c9a143)
2021-06-24 11:16:14 -04:00
hondacrx 5ce35189a5 Fixed build 2021-06-24 11:04:48 -04:00
hondacrx e2211da378 Fixes a crash trying to convert objectguid to ihaschangesmask, not all values are structs/classes. 2021-06-24 00:17:43 -04:00
hondacrx 9d1ef84690 DB Updates 2021-06-24 00:10:33 -04:00
hondacrx 1be17e7ff3 Core/AuctionHouse: Fixed buying commodities
Port From (https://github.com/TrinityCore/TrinityCore/commit/61a7026f1765271595377be0c37a8228fe620c0d)
2021-06-24 00:10:23 -04:00
hondacrx 6b45e87c92 Core/Events: update holiday code and remove misleading log (event date is the one from game_event)
Port From (https://github.com/TrinityCore/TrinityCore/commit/5714e89ccf48d4a4add22f308f77aa8bdd94fc9a)
2021-06-24 00:05:28 -04:00
hondacrx 3265d6ea17 Core/Scripts: implemented Fungal Decay & Tail Sting
Port From (https://github.com/TrinityCore/TrinityCore/commit/d36f8bb7547c5ebef067f834c79754c57ff66a34)
2021-06-24 00:03:16 -04:00
hondacrx 1d9e839bc9 Core/Auras: remove obsolete check that was preventing some auras to proc even if they met conditions otherwise
Port From (https://github.com/TrinityCore/TrinityCore/commit/1fe817a9957bdc62d1e9a0b33f4615746831a6a7)
2021-06-23 23:51:38 -04:00
hondacrx 515ae6ed12 Core/SAI: Add an action_param3 to "summon gob" to control when the object will despawn
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b6e76a5efe5e48ff20b4ef84e0f3dc0f9bc84a0)
2021-06-23 23:50:55 -04:00
hondacrx eefb63647d Core/Spells: prevent creatures to focus channeled spells without SPELL_ATTR1_CHANNEL_TRACK_TARGET
Port From (https://github.com/TrinityCore/TrinityCore/commit/d91e099b10a33d9205c023c81bcc966d713c39ab)
2021-06-23 23:43:18 -04:00