222 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 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 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 4bfc02f1f3 Misc fixes. 2021-02-09 10:33:35 -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 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 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 062eecf20b Misc fixes 2020-08-20 23:21:53 -04:00
hondacrx 2773a4430f Misc fixes 2020-08-12 17:44:16 -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 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 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 9ee0d404b7 Core/Misc: Defined new summon properties titles
Port From (https://github.com/TrinityCore/TrinityCore/commit/3700e0ef5de95dc79290cd16b5abacdd0d490570)
2020-04-25 00:30:04 -04:00
hondacrx 230453c451 New Year 2020 :) 2020-01-09 11:35:00 -05:00
hondacrx 63105504a4 Core/Items: Add ItemContext param to Item::Create function
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a2d9ad2f7673e2b7ee62b7cc6f1a19639d37864)
2019-11-23 00:44:38 -05:00
hondacrx 289f7a735a Core/Items: Implemented AzeriteItem
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab6ae44b638136665e2ae6c6a434ad7426621c39)
2019-11-13 19:13:33 -05:00
hondacrx e95115dc94 Core/DataStores: Updated db2 structures to 8.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/3ac790287aba5f7d7c3bccf79e608de9119e461a)
2019-10-29 13:09:23 -04:00
hondacrx 570aebce26 More refactoring of code. 2019-09-23 21:41:13 -04:00
hondacrx 35c06c09fd Some refactoring of code. and some cleanups 2019-09-21 12:11:16 -04:00
hondacrx 87d30caa49 Ensure that all actions are compared to fixed point in time (ie. world update start)
Port From (https://github.com/TrinityCore/TrinityCore/commit/60663d1374beef3103f4787152654034fa4a8897)
2019-09-01 10:37:14 -04:00
hondacrx 2d2a72ce3e Core/Misc: Various crash fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/4f65dc5e20cc3af5b3595809707c632faa6e5900)
2019-08-17 11:23:32 -04:00
hondacrx 3634bc7133 Core/Misc: Moved CharacterInfo out of world to separate class
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad4e63bae145ae49b584ab2fc621660430cec0d3)
2019-08-16 13:43:17 -04:00
hondacrx c2dc1c337f Core/Maps: Adjusted WorldObject::GetGridActivationRange() to never be less than map visibility distance for active objects to ensure equal ranges for activation/deactivation of grids
Port From (https://github.com/TrinityCore/TrinityCore/commit/48cc6f384d2b3ca8f1b1ddcfad70678730573449)
2019-08-15 12:07:22 -04:00
hondacrx 125e3b3ac7 Updated to 8.2.0.31429 (scripts disabled atm, they still need updated)
Code Port from TrinityCore https://github.com/TrinityCore/TrinityCore
Casc from WoW-Tools https://github.com/WoW-Tools/CASCExplorer
2019-08-14 11:20:42 -04:00
hondacrx 1e1c5c77a8 2019 YAY! 2019-01-01 12:01:55 -05:00
hondacrx 8e20114e10 BFA Update (still lots of testing to do tho) 2018-12-10 12:46:25 -05:00
hondacrx 468b053946 Core/Maps: Replaced spawnmask with difficulty list 2018-09-17 12:08:48 -04:00
hondacrx 90ee61ae2b Core/AreaTrigger: handle AREATRIGGER_FLAG_HAS_CIRCULAR_MOVEMENT 2018-08-26 01:08:24 -04:00
hondacrx 7aa494d5dd Core/Errors: Stop using System.Diagnostics.Contracts, Its just closing the server without error or warning. We now log the error and then throw a exception 2018-06-15 12:34:56 -04:00