Commit Graph

132 Commits

Author SHA1 Message Date
Hondacrx 4f63e81373 Core/Players: Added helper function to check quest completion using QuestV2 bits
Port From (https://github.com/TrinityCore/TrinityCore/commit/d78c3bb33afeb319ef0cf09171aabd8952a928fa)
2025-05-19 15:26:49 -04:00
Hondacrx 0d831c3273 Core/Achievements: Implemented CriteriaType::ReachMaxLevel
Port From (https://github.com/TrinityCore/TrinityCore/commit/f92b5316ab1c7b1ea4202b6808a436d40dd25c4d)
2025-03-10 21:00:21 -04:00
Hondacrx 0e050f6c54 Core/Quests: Improved criteria tree quest objective type
* Fixed _completedObjectives not being cleaned when adding quest
* Fixed objective credit being granted if just the criteria tree row containing criteria id was completed (instead of the entire tree linked to objective)
* Retroactively grant progress on quest accept for criteria types that require action that cannot be repeated (such as learning a spell)
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e89a302fcce7644bcd8cf239edad3b409950438)
2025-02-24 11:21:04 -05:00
Hondacrx 0d5c0b572d Core/Achievements: Reduce the list of criteria types updated on login
* Implemented CriteriaType::ReachMaxLevel
* Corrected implementations for CriteriaType::ReachRenownLevel and CriteriaType::LearnTaxiNode
Port From (https://github.com/TrinityCore/TrinityCore/commit/6da1679cbfdc56cd5f1cab7148f645916bccecc1)
2025-02-24 11:01:12 -05:00
Hondacrx 447c222665 Core/PacketIO: Named a bunch of unknown/unused fields
Port From (https://github.com/TrinityCore/TrinityCore/commit/806611075659ddde60f3003763e442a46d70f993)
2024-11-17 13:07:52 -05:00
Hondacrx 4540cd76e3 Core/Client Builds: Move build info out of RealmList class
Port From (https://github.com/TrinityCore/TrinityCore/commit/82031dc720ac485c32158871aec86764c2505581)
2024-10-10 09:29:50 -04:00
Hondacrx d70529bc19 Core/Realms: Realmlist refactors
* Removed global realm variable from World and use RealmList everywhere
* Match auth build key with client version
* Restored allowedSecurityLevel checks for realmlist packet building
* Restored updating population field
Port From (https://github.com/TrinityCore/TrinityCore/commit/c4b710446d62c95eb8124175203fa5f394912594)
2024-09-26 12:53:15 -04:00
Hondacrx 8341244e4d Core/Players: Use PlayerData::VirtualPlayerRealm instead of global GetVirtualRealmAddress() where possible
Port From (https://github.com/TrinityCore/TrinityCore/commit/88fea990ff1408b94076fb9dbd0c974908d6a731)
2024-09-08 15:23:43 -04:00
Hondacrx 2590e31d57 Core/DataStores: Updated to 11.0.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/df511503815b7798c83acbffbb1ce5208f189ce7)
2024-09-02 22:27:11 -04:00
Hondacrx 382b983820 Core/AreaTriggers: Added ActionSet flags for serverside areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/1426f58ff007eac2d9719b41f9189d82b733789e)
2024-09-01 17:25:52 -04:00
Hondacrx 9cd5c14cd8 Core/Criteria: Implemented CompletedLFGDungeon criteria type
Port From (https://github.com/TrinityCore/TrinityCore/commit/9e22ca9d52eef131687b5f28f3187232bbe56c11)
2024-08-25 00:14:55 -04:00
Hondacrx 62829e83c4 Core/Criteria: Implemented CompleteAnyScenario and CompleteScenario types
Port From (https://github.com/TrinityCore/TrinityCore/commit/980ca4c65682657fecd13fc63fde63d5c92fab04)
2024-08-24 23:56:43 -04:00
Hondacrx 69c65fb16d Core/Criteria: Add missing asset check for CriteriaType::LearnHeirloom
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e926cec9b806ca04b7e0ffc4c3fe8f527161d)
2024-08-24 23:53:30 -04:00
Hondacrx 209227ccad Core/Criteria: Implemented LearnAnyTransmog CriteriaType
Port From (https://github.com/TrinityCore/TrinityCore/commit/d60f0e2b28d8d0aba011ad80c65d4a8da85e5026)
2024-08-24 23:52:42 -04:00
Hondacrx ab0333aa71 Core/Criteria: Implemented AnyArtifactPowerRankPurchased criteria type
Port From (https://github.com/TrinityCore/TrinityCore/commit/a0c1ed975a5f9b0c0cdd66be386bdf7609d40c1d)
2024-08-24 21:23:55 -04:00
Hondacrx 141b6e4a9a Core/Criteria: Implemented LearnHeirloom and LearnAnyHeirloom criteria types
Port From (https://github.com/TrinityCore/TrinityCore/commit/eaa76f0eb2524e4c6c5be1a34d3cde392d35c3de)
2024-08-24 21:21:53 -04:00
Hondacrx c3e4f234b6 Core/Criteria: Implemented CriteriaType ParticipateInArena
Port From (https://github.com/TrinityCore/TrinityCore/commit/ef22003a563b9e79a38ae999f05ce14b876513b8)
2024-08-24 21:09:13 -04:00
Hondacrx 77be3fd94b Core/Criteria: Implemented CriteriaType EarnArtifactXP
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1d8f907fe0f1e42d9a8569ef2afdd89e2739b3a)
2024-08-24 21:07:37 -04:00
Hondacrx 96f57592d9 Core/Achievements: Fixed achievement SMSG_ACHIEVEMENT_EARNED not being sent to self
Port From (https://github.com/TrinityCore/TrinityCore/commit/0384d9066336b8ec71434c49244d1ddb0657c11e)
2024-08-08 17:33:23 -04:00
Hondacrx e9b21a91be Core/Battlegrounds: Move to scripts And a lot of misc commits i couldn't recover.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0d5d309bb5877dc2fcb27f6cb123707a31ec1e8)
2024-08-04 15:18:22 -04:00
hondacrx 1e421b9f53 Misc fixes 2024-03-19 17:21:32 -04:00
hondacrx 69d144c399 Core/Battlegrounds: Strand of the Ancients Rework
Port From (https://github.com/TrinityCore/TrinityCore/commit/3d56cdc08413a0682299136a763e13e67d38818b)
2024-03-06 17:19:02 -05:00
hondacrx 0f4130704a Core/Calendar: Implement different timezone support for ingame calendar
Port From (https://github.com/TrinityCore/TrinityCore/commit/b888b1b09f71a8b8b4a9d45c804a1f164fb65ac3)
2024-02-21 16:36:19 -05:00
hondacrx 2800d53f81 Core/Achievements: Fixed updating EarnAchievement criteria type for guilds and quest objectives
Port From (https://github.com/TrinityCore/TrinityCore/commit/9fda9d0d490cef07291961e03710d09cbd8aea1f)
2024-02-06 17:26:57 -05:00
hondacrx d1ad9f662e Core: Updated to 10.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4a4d010a0e329d4dbd82c0be5feab1fc06c8834)
2024-02-06 13:07:17 -05:00
hondacrx 5972f3b8a1 Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ef0c045202a6af33fb991f2ff765fa183ce976f)
2024-02-04 16:31:49 -05:00
hondacrx b47ed7401a Core/Scripts: Add start/fail asset values from criteria to valid game event ids
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c072b93af3a4efcbde21cc85fedcf7fa48fa7b4)
2024-02-03 11:24:03 -05:00
hondacrx d0cd2aae8a Core/Achievements: Implemented DefeatDungeonEncounter and DefeatDungeonEncounterWhileElegibleForLoot criteria types
Port From (https://github.com/TrinityCore/TrinityCore/commit/765f86fdc001ce352a706d2950197b1007d9afce)
2024-02-03 11:09:53 -05:00
hondacrx 4b669cfb5d Core: Update to 10.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/1eea1d11b14d2ae065ab0f1888fba3b1ef03874f)
2024-02-02 21:49:02 -05:00
hondacrx 06df14fe7e Core/Achievements: Fix CriteriaTypes related to GameEvents
Port From (https://github.com/TrinityCore/TrinityCore/commit/71bac3bc2dd5ceacc698f5eaf2a975e0ee95a26a)
2024-02-01 11:30:27 -05:00
hondacrx fde94074be Core/Achievements: Fix CriteriaTypes related to areas and zones
Port From (https://github.com/TrinityCore/TrinityCore/commit/10b06ff50f77cc0516c5f17adffef8eb75f1d555)
2024-02-01 10:55:35 -05:00
hondacrx febab9baed Core/Misc: Use DB2Manager::IsInArea for area-related criterias and conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f68215bb61e46265c6667b6c71f0d2376835686)
2024-02-01 10:22:15 -05:00
hondacrx 0140b20bad Core/Achievements: Fix mistake in loading criteria with start events
Port From (https://github.com/TrinityCore/TrinityCore/commit/b7c945b3b690f96a00d3096b2835763e2a55ef77)
2024-02-01 09:15:08 -05:00
hondacrx 958ab1dfbb Fixes server loading. 2024-01-31 22:50:42 -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 56eefeb54b Misc cleanup 2024-01-30 09:24:45 -05:00
hondacrx 65048a8357 Core/Achievements: Send both SMSG_ACCOUNT_CRITERIA_UPDATE and SMSG_CRITERIA_UPDATE if the same criteria is used by account and character achievements
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d907da00eb6d926103bb633220d3d51e017c5e4)
2024-01-29 15:26:14 -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 3052b1dc23 Core/Misc: Turn ChrSpecialization into enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/98007f859b7318570c0c923a00aa32fc485c8ec8)
2023-09-13 20:33:47 -04:00
hondacrx f6807e152c Core: Update to 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4)
2023-08-21 07:22:33 -04:00
hondacrx 1edb0d07d3 Core/Conditions: Replaced Player argument to world state expression checking with Map
Port From (https://github.com/TrinityCore/TrinityCore/commit/81f0bf9525cdf2e06b709a9c4259ba620138ebd0)
2023-06-30 08:43:57 -04:00
hondacrx 49a07ebcce Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
Port From (https://github.com/TrinityCore/TrinityCore/commit/0fb8765a6638fd947b59fce44d5c31251d0cdadd)
2023-06-21 09:19:40 -04:00
hondacrx ef250e0400 Core/Areas: Update AreaFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8f1c3b4f0ca631e76101f8492b9688c6d2dca01)
2023-05-23 08:07:33 -04:00
hondacrx 7248a60e9d Core/Guilds: Fixed loading achievement CompletingPlayers guids from db.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f7c9a853279ccf66d7081ddab7e537065ff92f25)
2023-02-19 02:11:53 -05:00
hondacrx 4b798e7cab Core/Players: Several currency fixes and improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/03918978c166c9fb191117a0cae9ba1285bf0e37)
2023-02-11 23:28:57 -05:00
hondacrx 149fadccab Make PreparedStatements static for each database. 2023-02-04 20:55:14 -05:00
hondacrx 08fcedaf21 Core: Updated to 10.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/4bec7233badf9d3ab71dbdde8b24f66f7c4eedfb)
2023-01-30 10:07:42 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx b7e2c1d84a Core/Players: Fixed crashes when accessing ActivePlayerData::PvpInfo
Port From (https://github.com/TrinityCore/TrinityCore/commit/55091ff4bcf4500d0ebe9701e6dc121f5e6a3bb2)
2023-01-06 16:21:45 -05:00
hondacrx 989b80b056 Core: Updated to 10.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e98e1283ea0034baf6be9aa2ffb386eb5582801b)
2022-12-28 15:25:15 -05:00