414 Commits

Author SHA1 Message Date
Shauren
38886d5f01 Core/Misc: Hashing update
* Update hash_combine with latest version from boost
* Change most std::hash specializations to simply hash all of the input bytes instead of combining their hashes
2026-01-08 00:41:16 +01:00
Shauren
bd2b12fa36 Core: Updated to 11.2.7 2025-12-16 00:09:26 +01:00
Shauren
f901acd66b Core/Entities: Remove Object::m_objectType member and replace it with global array lookup (using m_objectTypeId) 2025-12-07 18:59:24 +01:00
Shauren
ffe69b4241 Core/Conditions: Implemented most PlayerCondition.db2 flags 2025-10-14 19:25:46 +02:00
Shauren
53068a94e8 Core: Updated to 11.2.5.63704 2025-10-10 16:21:55 +02:00
Shauren
afc613fb63 Core/Conditions: Fix CONDITION_AURA incorrectly allowing ConditionValue3 to be set in database (it doesn't do anything) 2025-10-04 01:04:16 +02:00
Shauren
1e4232e7af Core/Scripts: Use std::string_view to find script id from script name 2025-09-14 14:13:16 +02:00
Shauren
b60e5b2a7d Core/Conditions: Allow ConditionTypeOrReference to be 0 for conditions that have ScriptName set 2025-09-07 00:03:48 +02:00
Shauren
e59059e1bd Core/Players: PlayerChoice improvements
* Add missing choice properties to database (InfiniteRange, ShowChoicesAsList)
* Allow limiiting the number of responses sent at the same time
* Fixed duration sent in SMSG_DISPLAY_PLAYER_CHOICE
* Remove dynamically generated response identifiers from database
* Remove auto rewarding choice responses
* Change response scripts to be bound to scriptname
2025-06-22 21:56:58 +02:00
Shauren
7ca6b226a7 Core/Conditions: Fix validation for CONDITION_SOURCE_TYPE_PLAYER_CHOICE_RESPONSE 2025-06-22 21:41:28 +02:00
Shauren
952f322710 Core/Conditions: Implemented new condition source type CONDITION_SOURCE_TYPE_PLAYER_CHOICE_RESPONSE 2025-06-20 23:09:01 +02:00
Shauren
ceb8d561b4 Core: Updated to 11.1.7 2025-06-18 11:37:07 +02:00
Shauren
85e621f01a Core/PacketIO: Remove ByteBuffer constructor from MessageBuffer 2025-05-23 14:41:39 +02:00
Shauren
23b216aa67 Core/Conditions: Fix copypaste from previous commit 2025-05-16 00:54:51 +02:00
Shauren
3f036bc722 Core/Conditions: Catch exceptions caused by invalid WorldStateExpression data 2025-05-16 00:47:16 +02:00
Shauren
c6050a319c Core/PacketIO: Rename ByteBuffer::contents to ByteBuffer::data 2025-05-15 19:18:41 +02:00
Shauren
7eaa695581 Core/Conditions: Added conditions for automatic learning spells with SkillLineAbility::AcquireMethod = 4 2025-04-19 17:50:49 +02:00
Shauren
38096181eb Core/Conditions: Corrected upper array bound requirement for PlayerConditionLogic 2025-01-26 18:28:01 +01:00
ModoX
6e3c8a8463 Core/Conditions: Allow conditions for seen object in CONDITION_SOURCE_TYPE_OBJECT_ID_VISIBILITY 2025-01-10 22:36:03 +01:00
Shauren
d78c3bb33a Core/Players: Added helper function to check quest completion using QuestV2 bits 2024-12-28 12:14:58 +01:00
Shauren
1fb4acc25a Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL 2024-12-02 15:29:02 +01:00
Shauren
7153538db6 Core/Conditions: Added missing CONDITION_STRING_ID case to Condition::GetSearcherTypeMaskForCondition 2024-12-02 15:19:19 +01:00
Shauren
4b09bb37dd Core/Conditions: Explicitly name fields in condition type info initializer 2024-12-02 15:18:44 +01:00
Shauren
8066110756 Core/PacketIO: Named a bunch of unknown/unused fields 2024-11-06 12:17:49 +01:00
Meji
b860733822 Core/Conditions: Allow NegativeCondition for references (#30363) 2024-10-19 15:20:34 +02:00
Shauren
6d3be9cca6 Core/Conditions: Remove unneccessary duplicate condition startup checks - item existance is checked by loot loading and if that fails, condition loading will fail to find related item inside loot 2024-08-25 14:40:20 +02:00
Shauren
c4b710446d 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, mysteriously removed 15 years ago in f20b25d1c9
2024-08-18 18:59:58 +02:00
ModoX
cbef6f7860 Core/Conditions: Added private object to StaticConditionTypeData and defined CONDITION_STRING_ID as valid ConditionType 2024-05-22 19:36:02 +02:00
Shauren
325cfd047d Core/Conditions: Added startup error log for conditions using invalid effect index on CONDITION_AURA 2024-04-13 16:16:22 +02:00
Meji
47e4bf06d3 Core/Conditions: Fixed evaluation of CurrentPvpFaction outside arenas or battlegrounds (#29882) 2024-04-01 20:32:08 +02:00
Jeremy
be11f42a16 Core/Battlegrounds: Move to scripts (#29799)
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground
2024-03-28 19:29:22 +01:00
Shauren
39263027d4 Core/Conditions: Extend circular references check for player condition conditions to also handle two different conditions referencing each other 2024-03-27 22:17:25 +01:00
Meji
4913d027bf Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832) 2024-03-27 21:38:08 +01:00
Christyan
7b88faf672 Core/Conditions: Fixed typo in worldstate expression evaluation (#29639) 2024-02-03 13:30:15 +01:00
Shauren
a4a4d010a0 Core: Updated to 10.2.5 2024-01-21 22:25:10 +01:00
Shauren
151dd67e2e Core/Conditions: Added stringid condition type 2024-01-12 12:40:20 +01:00
Shauren
0b5406dd88 Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types 2024-01-11 20:56:24 +01:00
Jeremy
1ef0c04520 Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types (#29535)
* Fix criteria data type bg loss team score
2023-12-29 14:12:15 +01:00
ModoX
b1c5e3809c Scripts/Conditions: Fallback to other targets to get map if first target is invalid
* fixes crash in Ulduar when reaching Assembly of Iron / Kologarn / Algalon area
2023-11-26 22:19:23 +01:00
Shauren
b888b1b09f Core/Calendar: Implement different timezone support for ingame calendar
Closes #8390
Closes #29427
2023-11-21 12:25:22 +01:00
Shauren
f4e4e62aea Core/Conditions: Allow battleground maps to use CONDITION_INSTANCE_INFO 2023-11-05 20:49:05 +01:00
Meji
9f68215bb6 Core/Misc: Use DB2Manager::IsInArea for area-related criterias and conditions (#29359) 2023-10-13 21:09:02 +02:00
Shauren
0ce96adb7a Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas 2023-10-06 20:22:14 +02:00
Shauren
98007f859b Core/Misc: Turn ChrSpecialization into enum class 2023-08-07 00:05:36 +02:00
Shauren
054723241e Core/Misc: Reduce number of player spec hardcoded checks 2023-08-07 00:05:36 +02:00
ModoX
f28b4eed3d Core/Condition: Implemented condition CONDITION_PRIVATE_OBJECT (#29136) 2023-07-21 17:54:27 +02:00
Shauren
81f0bf9525 Core/Conditions: Replaced Player argument to world state expression checking with Map 2023-06-26 22:53:07 +02:00
Jeremy
c1df555e16 Core/Graveyards: Drop Faction column and replace it with conditions (#28965) 2023-06-01 02:33:46 +02:00
Meji
0327f3ede3 Core/Conditions: Fix log typo 2023-04-08 21:49:33 +02:00
ModoX
36044a9470 Core/Creature: Added possibility to give creatures multiple gossip menu ids and control them via conditions (#28159) 2023-04-05 23:49:46 +02:00