Commit Graph

112 Commits

Author SHA1 Message Date
hondacrx 63f0f919e2 Core/Misc: Replace Time.UnixTime with GameTime.GetGameTime()
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e4e6f0700c7d950e1b2654c217ec8b28ae79e)
2021-04-17 19:28:50 -04:00
hondacrx 17132dd6b6 Core/Entities: Fix some weird movement due to los issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/446fc391f02d3ca8e1332b58f910a5b7d1c8e226)
2021-04-16 16:14:43 -04:00
hondacrx 98f9fdaf53 Core/Objects: Pass privateObjectOwner guid directly to SummonCreature functions
Port From (https://github.com/TrinityCore/TrinityCore/commit/33b3ebcae67870f704d86d30aa357781b33bb411)
2021-03-29 17:31:48 -04:00
hondacrx 1ca5b5bcad Core/Objects: Refactor private object checks into separate function
Port From (https://github.com/TrinityCore/TrinityCore/commit/f21270b987211041b95d6befa7192d313692920d)
2021-03-29 17:20:45 -04:00
hondacrx b4bf10ed22 Core/Objects: Move personal summon handling from TemporarySummon/GameObject to WorldObject and check it using dedicated guid field
Port From (https://github.com/TrinityCore/TrinityCore/commit/1082a6645e96c611b3145b5d6208fc4db6e4b2d3)
2021-03-29 17:11:46 -04:00
hondacrx 66f6b7f071 Core/Maps: Refactor duplicated code from all ***CellRelocation and CheckGridIntegrity into single templated function
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8fb7109b78bdc951292c9de7eddcce59393afe9)
2021-03-29 17:02:09 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 5878e2be56 Core/Entities: add extra use of UPDATETYPE_CREATE_OBJECT2
Port From (https://github.com/TrinityCore/TrinityCore/commit/044110d42366c3e91007add3a2aa4bd02cbe7d2c)
2021-03-17 17:02:15 -04:00
hondacrx 3b86c1d536 Core/Creature: Fixes crash when leader guid is larger then uint. Should of been a ulong. 2021-03-11 22:27:11 -05:00
hondacrx 9beef00c3a Core/Maps: Remove unused code
Port From (https://github.com/TrinityCore/TrinityCore/commit/af1b3301c94c9d7842daaac8c2c15bb29faf95ba)
2021-03-08 14:20:57 -05:00
hondacrx 250d7fb83b Core/Conditions: CONDITION_NEAR_CREATURE will exclude personal spawns that aren't the target's owner
Port From (https://github.com/TrinityCore/TrinityCore/commit/d2641c4924022369d4af595925bf04d034db5d72)
2021-02-18 12:53:42 -05:00
hondacrx 67210c06fa Core/Maps: Oops guid is a ulong not a uint. 2021-02-14 13:13:27 -05:00
hondacrx 9a14cfe807 Core/Spawn: Limit saved/stored respawn time. - Limit to long maximum, for the compiled-for architecture.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3ac10f36fcc46c5e1537d69544a9294fc719ad2)
2021-02-09 13:15:12 -05:00
hondacrx addc831f0d Core/Spells: Adding SpellTargetObjectTypes to spell target checker to early-eliminate alive units
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cae71eac58bf37c6a2cbce2a60dd2aa1f7b4314)
2021-02-09 13:02:06 -05:00
hondacrx 4bfc02f1f3 Misc fixes. 2021-02-09 10:33:35 -05:00
hondacrx eb8b62276e Fix few crashes while loading server. 2021-02-04 20:24:46 -05:00
hondacrx 0d1bfff206 Core/AreaTriggers: Optimize target searching
Port From (https://github.com/TrinityCore/TrinityCore/commit/23144d0665504e2e24ee790e900bb8de0df4aa08)
2021-02-04 12:12:54 -05:00
hondacrx e59acb792e Core/AreaTriggers: Implementation for sever side area triggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/0417c5ff5fd68cd3344dede35afaab364870561b)
2021-02-04 11:20:41 -05:00
hondacrx cebee1621e Core/Commands: Fixes adding new creatures and gameobjects using in-game commands 2021-01-14 11:18:21 -05:00
hondacrx 970876df40 Fix crash when adding new gameobject with command. 2021-01-11 17:19:21 -05:00
hondacrx 9e8b56d16e Core/Instances: Use level requirements from MapDifficultyXCondition.db2 instead of access_requirement db table
Port From (https://github.com/TrinityCore/TrinityCore/commit/3afed1788a81fe65ee414c590936be65d69f9314)
2021-01-03 15:35:13 -05:00
hondacrx d605ebca38 Core/Map: Change all foreach loops over objects in maps to for loops, Fixes Collection was modified enumeration operation may not execute 2021-01-03 14:58:09 -05:00
hondacrx 6c973300de Core/Corpses: Fixed crash during loading corpses
Port From (https://github.com/TrinityCore/TrinityCore/commit/49f8b1dbb4e5468b23b678e327feb3d4e750ecb2)
2020-12-31 15:06:02 -05:00
hondacrx d6cfdce061 Fixes loading maps for some extractors using v2.0 header. Map file is the same just different header versionMagic. 2020-12-17 16:54:08 -05:00
hondacrx 3ca0947881 Core/Corpses: Fixed client crashes with player corpses
Port From (https://github.com/TrinityCore/TrinityCore/commit/93f2affbf2f70c619cdc41b073dd19827df20448)
2020-12-14 14:21:59 -05:00
hondacrx 923786c12c Core/Collision: Fixed false positive errors in console about vmap loading
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a406db50626ba9e9a64c8c3d9b6e5b7310ac527)
2020-12-13 17:33:31 -05:00
hondacrx f0037ab99f Core/DataStores: Updated db2 structures to 9.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/b82a3a557a7bf13d48342ea189325550059b622d)
2020-12-12 23:20:41 -05:00
hondacrx 7e2df34250 Misc cleanups/Fixes 2020-12-07 10:07:26 -05:00
hondacrx d40c2938a3 Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0)
Port From (https://github.com/TrinityCore/TrinityCore/commit/f922c6e7a46a7c712daaaef9b1a72ca865fbe94b)
2020-09-22 20:05:58 -04:00
hondacrx 98cc0484ce Core/Scripts: Implemented OnlyOnceAreaTriggerScript
Port From (https://github.com/TrinityCore/TrinityCore/commit/fe938b99f843df3f6c120695db38f327bd55ea94)
2020-09-03 11:53:58 -04:00
hondacrx 2820d45a0d Misc fixes 2020-09-03 11:25:42 -04:00
hondacrx 18d7144ca6 Core/Spawn: Move spawn group state management from sObjectMgr to the Map object, which makes it actually function as intended with instances.
Port From (https://github.com/TrinityCore/TrinityCore/commit/27806eeac9d2588d2f7a3b8a0852d45b15a6a241)
2020-08-24 21:21:27 -04:00
hondacrx 35c13d69ca Core/Creature: temporary summons are now dynamic flagged (oversight in dynspawn). This fixes issues with vehicle kit resets breaking AI.
Port From (https://github.com/TrinityCore/TrinityCore/commit/22b754c9e22cfdd9dab998ca45e6724b62760f78)
2020-08-24 19:13:15 -04:00
hondacrx 24a9e5e1d8 Scripts/InstanceScript: Implement database framework for managing spawn groups based on boss state.
Port From (https://github.com/TrinityCore/TrinityCore/commit/608c9aaabfcdbaf09edd11cdf268c243b3e69478)
2020-08-24 11:13:45 -04:00
hondacrx 15ae7a7c66 Dynamic Creature/Go spawning
Port From (https://github.com/TrinityCore/TrinityCore/commit/03b125e6d1947258316c931499746696a95aded2)
2020-08-23 21:52:32 -04:00
hondacrx 193ad3a48d Combat/Threat rewrite - prep & refactor
Port From (https://github.com/TrinityCore/TrinityCore/commit/8be23fcbbdf26e8169defd761e61765f301bebe0)
2020-08-22 11:58:19 -04:00
hondacrx 062eecf20b Misc fixes 2020-08-20 23:21:53 -04:00
hondacrx 2773a4430f Misc fixes 2020-08-12 17:44:16 -04:00
hondacrx bc91e3492e Core/Spells: Handle GAMEOBJECT_TYPE_UI_LINK spellFocus
Port From (https://github.com/TrinityCore/TrinityCore/commit/97afa3a609923bd9b7c0e9cfc52c29ba9dbfe35d)
2020-08-07 12:25:54 -04:00
hondacrx ddaaae896e So, I came in trying to fix gameobject LoS. So I restructured some stuff.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5392212799b669d91c80cf0e9539a3aaa2abbe79)
2020-07-23 19:01:15 -04:00
hondacrx 58e630448d Added new BoundaryUnionBoundary subclass of AreaBoundary
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e8ce5a70f90392e00bd3e7a76a678423b5432e8)
2020-07-23 18:31:55 -04:00
hondacrx f2e69a7757 Core/Maps: Corrected GetWaterOrGroundLevel
Port From (https://github.com/TrinityCore/TrinityCore/commit/2f27e41c3d9b20e59b1ee5c4de38a0c937e5a126)
2020-07-23 18:27:14 -04:00
hondacrx 286a200178 Core/Movement: Get zone/area IDs from vmap data in the liquid update
Port From (https://github.com/TrinityCore/TrinityCore/commit/51ce3b1c1dc6a53938ed6f240bac00681d18a44f)
2020-07-23 18:22:46 -04:00
hondacrx df0ee4462c Core/Instances: Fixed and optimized instance id reuse
Port From (https://github.com/TrinityCore/TrinityCore/commit/fbdf8784a5c03dfcb575ef7b760a62d0d9d2acc1)
2020-07-22 14:07:02 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -04:00
hondacrx ac876b7c6c Core/Battlegrounds: Queue updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf8714b8705c3fccc77083c6dc8665767430d346)
2020-06-02 17:43:49 -04:00
hondacrx c695b3ee5f Core/Maps: Improvements to terrain swap handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/eba31dea27b7fdc4a49c024898ef3a01bcbc7295)
2020-05-25 20:32:24 -04:00
hondacrx c7f160557f Core/Instance: stop updating the instance resettimes based on creature respawns
Port From (https://github.com/TrinityCore/TrinityCore/commit/7dcc185a151745c8a12e23708bb5d457e5796032)
2020-05-12 17:28:03 -04:00
hondacrx ffe569ffb7 Core/AI: AreaBoundary refactor
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f79c9f69674618a7d7e2bf8484f9ec6ce15b2df)
2020-05-06 15:15:21 -04:00
hondacrx ba885908b7 Core/Spells: fix wrong distance calculations in AoE spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d076cfe291980bc5be9d44ffbae887e3dd5ad59)
2020-05-06 14:34:20 -04:00