Commit Graph

57 Commits

Author SHA1 Message Date
hondacrx 24691c7110 Core/Creatures: Don't require creature.modelid to be one of linked creature_template models
Port From (https://github.com/TrinityCore/TrinityCore/commit/7cafeb46b3b1f3eea3c966c20f9ef1efe68dfbdc)
2024-02-03 13:48:02 -05:00
hondacrx a1cb1d95ee Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a20b1e4008d450d075847ef1fe367f0e3a240f)
2024-01-30 10:22:01 -05:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx 4134796f1b Core/Battlegrounds: Rework queues
* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ede6c155605da602b3bafaa3a1212d9f924759b)
2023-09-14 06:16:30 -04:00
hondacrx 25a4d5b354 Core/SAI: Implemented new source type SMART_SCRIPT_TYPE_EVENT (3)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d015711fbb7a8bf57f7bb64ba8113c942d5125de)
2023-07-23 18:06:11 -04:00
hondacrx 19c484dc5a Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale
Port From (https://github.com/TrinityCore/TrinityCore/commit/81ea6f54d93ee10b03e6432c6071e0d0983796a2)
2023-04-21 18:21:08 -04:00
hondacrx 149fadccab Make PreparedStatements static for each database. 2023-02-04 20:55:14 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 99dbb422e1 Core/Battlegrounds: Made Battleground inherit ZoneScript
Port From (https://github.com/TrinityCore/TrinityCore/commit/21940405e009f5c1d201eb96d96ea251a3313af3)
2023-01-04 16:37:19 -05:00
hondacrx 6825419b88 Core/WorldStates: Migrate battleground HolidayWorldState to new system
Port From (https://github.com/TrinityCore/TrinityCore/commit/020166649dd5afb94dddbfcc990d4bb51e231ab1)
2022-07-13 17:35:10 -04:00
hondacrx c7123ad860 Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time
Port From (https://github.com/TrinityCore/TrinityCore/commit/49ad0d2d495a9f817ad2820f8e616f3a6564b480)
2022-07-04 01:15:52 -04:00
hondacrx 3a402854aa Revert "Core/Event: prevent seasonal quests from resetting at server restart
Port From (https://github.com/TrinityCore/TrinityCore/commit/306022054bec6010a63e80407c8d2f8d672b935b)
2022-07-04 00:52:44 -04:00
hondacrx 4038b93aa1 Core/Pools: Implemented pooling for instances
Port From (https://github.com/TrinityCore/TrinityCore/commit/94d829c84fb184990e26178551d10ecdca049efd)
2022-06-15 22:56:12 -04:00
hondacrx 5ff87102ca Core/GameEventMgr: Spawn creatures and gameobjects in all active instances when event starts
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ca0f99ccfc6549f3390a1bac151f85fdcb77561)
2022-06-14 23:20:28 -04:00
hondacrx a0b381ed79 Core/Achievements: Implemented GameEvent related criteria types 73 and 93
Port From (https://github.com/TrinityCore/TrinityCore/commit/22edf79c70519a571d9eeb7e397add695d7a28bb)
2022-05-31 20:00:36 -04:00
hondacrx adfca19d4c Core/Battlegrounds: Replace manual criteria timer starts in battlegrounds with new GameEvents api
Port From (https://github.com/TrinityCore/TrinityCore/commit/111fc6ac6fd703bb645046e7a477a986d8519a64)
2022-05-31 19:51:16 -04:00
hondacrx da944ab528 Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff)
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a04a0c496c8c0c521eeaa76e34fbeb531cc1d9)
2022-05-31 19:42:40 -04:00
hondacrx f53c4cb009 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eba9786708dd3b22d9053c1a14eac7e6d03242e)
2022-05-30 15:57:56 -04:00
hondacrx cb58698045 Core/Events: refactored battleground holiday assignments. Instead of going with shitty bitmasks we now accept plain battleground ids instead
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a5529eb58daad9216416c9c632543b1a931ce1f)
2022-02-27 23:44:42 -05:00
hondacrx 81d08e48e5 Core/Pools: Fix crash on startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/7eff81f9dbf93e6f1efbd77b2623a0ee881f82cf)
2022-02-17 17:17:53 -05:00
hondacrx 7531735669 Core/Phasing: Implemented db spawns in personal phases
Port From (https://github.com/TrinityCore/TrinityCore/commit/8fabe5a3aacf7797f03d074ab8434f445be64955)
2022-01-27 14:01:49 -05:00
hondacrx d2ba807c20 Core/Misc: Some refactoring
Port From (https://github.com/TrinityCore/TrinityCore/commit/94a79bac7a06aa0f931e9d651928de7eea0a8b5c)
2022-01-06 20:07:26 -05:00
hondacrx ed761eb400 Core/Pooling: Quest pooling rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/51fbda4223442635a35d3225c0797d0151ea7051)
2022-01-04 17:35:29 -05:00
hondacrx c67235e219 Core/GameEvent: Fix OnGameEvent() hook not being called on Creature/GameObject spawned by the event itself
Port From (https://github.com/TrinityCore/TrinityCore/commit/dad86f5bce429e780fd0c4983bec0c52e52e4573)
2022-01-02 12:34:53 -05:00
hondacrx 853b589348 game event respawn
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e7727d575f2c22dddc6327d89e0cfecb9b9748e)
2021-12-17 17:55:34 -05:00
hondacrx 2079cd1094 Core/GameEventMgr: Log error if loading GO/Creature into event that is part of pool - Only warn, still load the GO/Creature - These should be added to game_event_pool by pool ID instead
Port From (https://github.com/TrinityCore/TrinityCore/commit/4c996bdf8be86d6659e512aba115dae5ac94aaa7)
2021-11-29 17:24:46 -05:00
hondacrx 26940fa650 Core/AI: Clean up charm AI handling.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4e8c1c59c8b37216814526b4d2551f23934f465)
2021-10-31 13:55:26 -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 ba064327b0 Core/DB: Fixes sometimes wrong values added to DB, also fixes errors when trying to convert updatefield to object. 2021-04-21 18:06:46 -04:00
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 be2292e815 Core/Misc: Change all unix time columns in character database to bigint (signed)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d29dd1eeb5c52dc76bd741fe1ee0e875c416b8e7)
2021-04-06 23:32:52 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 0fdab8635d Misc fixes 2021-03-04 12:00:58 -05:00
hondacrx 7d6be17c79 Core/Gameevent: Fix loading of events, and wrong dates of those events. 2021-01-26 21:10:26 -05:00
hondacrx fa9c0e5a84 Core/Gameevent: Fix loading server. 2021-01-26 20:12:50 -05:00
hondacrx 70271db84a Calendar/GameEvents: Store + send holiday data
Port From (https://github.com/TrinityCore/TrinityCore/commit/4024df122affc077ffffd43664dc26e6c9531496)
2021-01-26 16:26:12 -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 7e2df34250 Misc cleanups/Fixes 2020-12-07 10:07:26 -05: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 b628eaec35 Core/Maps: Use FindMap instead of CreateBaseMap in places where the intent was to check for a existing map (and a loaded grid on that map)
Port From (https://github.com/TrinityCore/TrinityCore/commit/4c173e4b7b35161fcaaa4917da8fde2e4f3cbdd8)
2020-07-24 18:14:35 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -04:00
hondacrx 230453c451 New Year 2020 :) 2020-01-09 11:35:00 -05:00
hondacrx 9415511208 Misc fixes 2019-11-01 17:19:20 -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 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 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 0be2dc08e2 Core/Misc: Misc Fixes 2018-05-22 00:43:21 -04:00