Commit Graph
1184 Commits
Author SHA1 Message Date
Shauren f9bf082be9 Core: Updated to 11.1.5 2025-04-25 22:50:11 +02:00
Shauren 05709a2497 Core/Quests: Convert quest loading to named field access (ref 29a680a1c2) 2025-04-25 20:07:53 +02:00
Ovahlord 642e0f2148 Core/Quests: corrected error logging for quest loading helpers
(cherry picked from commit 2e971321cf4648a5deceb73074967d48fc94c020)
2025-04-16 11:54:02 +02:00
Shauren 23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
Shauren 00223f3bee Core/Misc: Add a bunch of examples for 67418a1aee 2025-02-23 12:10:33 +01:00
Shauren ff6a107ac0 Core/Misc: Reduce differences between branches 2025-02-20 23:57:25 +01:00
Shauren 69b647a24c Core/Misc: Reduce code differences between branches 2025-02-02 23:59:23 +01:00
Shauren 6c925ed40c Core/Objects: Make guid generators atomic 2025-02-02 14:15:11 +01:00
ModoX 46251b5655 Core/Vehicle: Added RideSpellID field to override npc_spellclick_spells (#30198) 2025-02-02 00:42:51 +01:00
Shauren c85d12fc3f Core/Items: Fixed item spell charge slot indexing
Closes #30585
2025-01-25 22:48:10 +01:00
Shauren 49bc69a27e Core/Misc: Remove unneccessary structure packing and one unused enum 2025-01-16 00:24:55 +01:00
Meji c9099c8756 Core/Misc: Implemented spawn tracking (#30247) 2025-01-04 18:08:09 +01:00
Shauren 27860c3316 Core/Database: Added std::span based functions to Field and PreparedStatement 2025-01-03 13:04:19 +01:00
ModoX 02131fe32b Core/Player: Changed player_classlevelstats types to int32 2025-01-02 12:49:28 +01:00
Shauren d778d5ec7c Core/Misc: Include cleanup - remove MapUtils.h from Containers.h 2024-12-31 18:12:36 +01:00
Ovahlord a69def739b Core/Quests: assign a unique alias to ID fields loaded from quest_visual_effect 2024-12-14 22:04:45 +01:00
Shauren 1fb4acc25a Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL 2024-12-02 15:29:02 +01:00
Shauren 5df1c6dea6 Core/Quests: Use a helper function for quest objective StorageIndex startup validation 2024-12-02 15:23:23 +01:00
Shauren b506a53443 Core/Misc: Update faction change learned language skills for new races 2024-10-21 23:34:43 +02:00
ModoX 72d952db74 Core/Creature: Remove UNIT_FLAG3_FAKE_DEAD and UNIT_FLAG2_FEIGN_DEATH if no unit_flags are set
* d66f2dcdac followup
2024-10-18 11:20:37 +02:00
Shauren 89f490bdcd Core/DataStores: Removed overriding field sign type based on db2 column compression 2024-09-27 20:05:36 +02:00
ModoX d66f2dcdac Core/Creature: Added additional checks when setting feign death in db 2024-08-31 19:43:18 +02:00
Meji efa76de540 Core/PacketIO: Implemented UIMap questlines (#30030) 2024-08-30 18:11:07 +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
Shauren edb20999a3 Core/Utils: Unwrap non-copyable pointers (unique_ptr) from Trinity::Containers::MapGetValuePtr 2024-08-17 12:40:27 +02:00
Shauren e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +02:00
Meji d51d6b0abe Core/AreaTriggers: Check actionset flags for client areatriggers to allow some areatriggers to trigger while dead (#30042) 2024-06-23 20:41:18 +02:00
Meji 31bd3804e3 Core/GameObjects: Fixed the interaction/highlight logic for GAMEOBJECT_TYPE_CHEST and quest objectives (#30051) 2024-06-23 15:00:35 +02:00
Meji ef70cf6481 Core/Creatures: Validate creature.modelid on startup (#30023) 2024-06-08 12:48:45 +02:00
Antonio Martín Berti 3fd9677543 Core/Misc: Added Loading.Locales to enable/disable the load of locales (#30013) 2024-06-04 00:44:22 +02:00
Shauren 1c3268155d Core/AreaTriggers: Implement height check for polygon db2 areatriggers 2024-05-27 18:53:47 +02:00
Meji b070e63fa8 Core/AreaTriggers: Fix triggering of client areatriggers for some shapes 2024-05-27 18:53:47 +02:00
Golrag 27e23600bb Core/Players: Extended world_safe_locs with transport guid - this allows teleporting to a different map directly to a transport and having graveyards on transports 2024-05-25 22:05:53 +02:00
Meji e516707410 Core/Creatures: Check fallback difficulty data for creature static flags override (#29992) 2024-05-23 21:48:41 +02:00
Meji 22e657eac1 Core/Creatures: Ignore validation of AppearanceModId 0 in equipment (#29916) 2024-05-03 19:11:44 +02:00
Meji 2238844f56 Core/Creatures: Allow profession tools to be used as equipment (#29915) 2024-05-03 15:58:05 +02:00
Ovahlord b5ce4a66df Core/Creature: implement overriding creature static flags based on spawnId and difficultyId (#29940) 2024-04-26 22:32:17 +02:00
Meji def601b4ff Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801) 2024-03-30 20:21:28 +01:00
Meji 4913d027bf Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832) 2024-03-27 21:38:08 +01:00
Jeremy 1f855ef563 Core/GameObjects: Implement destructible_hitpoint table to store health info about destructible buildings (#29836) 2024-03-27 18:55:44 +01:00
Meji 6a80bebcb5 Core/GameObjects: Added dynamic highlight for GAMEOBJECT_TYPE_SPELL_FOCUS (#29825) 2024-03-24 17:27:13 +01:00
Shauren 94b78ebc8b Core/Players: Slightly improve neutral player faction support 2024-03-24 17:19:10 +01:00
Shauren 4779fa5048 Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently) 2024-03-13 18:51:29 +01:00
Shauren fccf6fb72b Core/Objects: Implemented vignettes 2024-03-09 00:54:27 +01:00
Meji 74ec1d3cfb Core/Locales: Store empty localized strings present in database (#29779) 2024-03-03 23:49:16 +01:00
Shauren c2e36dea6c Core/Creatures: Implemented serverside checks for UNIT_FLAG2_INTERACT_WHILE_HOSTILE and UNIT_FLAG3_ALLOW_INTERACTION_WHILE_IN_COMBAT
* Also stop sending npc flags for hostile creatures
2024-03-03 00:51:51 +01:00
Shauren 67244a1f70 Core/Misc: Replace sprintf with safer alternatives (Trinity::StringFormat or snprintf) 2024-03-01 16:05:34 +01:00
Ovahlord fb3e6737da Core/Movement: require a minimum wander_distance value of 0.1 and check the path length of generated random movement (#29766)
this serves as a means to reduce the console spam caused by failed spline validation
2024-02-29 15:52:25 +01:00
Ovahlord c541eda54d Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags (#29541)
* implemented CREATURE_STATIC_FLAG_AQUATIC - creatures cannot leave liquids
* implemented CREATURE_STATIC_FLAG_AMPHIBIOUS - creatures can enter and leave liquids but remain on the ocean floor when swimming is not enabled until engaged
* implemented CREATURE_STATIC_FLAG_FLOATING - creatures have their gravity on spawn / reset disabled
* implemented CREATURE_STATIC_FLAG_SESSILE - creatures are rooted in place
* implemented CREATURE_STATIC_FLAG_CAN_SWIM - creature can swim in liquids
* implemented CREATURE_STATIC_FLAG_3_CANNOT_SWIM - Amphibious creatures cannot toggle on swimming
* implemented CREATURE_STATIC_FLAG_3_CANNOT_TURN - Creatures cannot turn at all
* implemented CREATURE_STATIC_FLAG_4_PREVENT_SWIM - Amphibious creatures won't toggle on swimming until their victim starts leaving the ocean floor
* partially implemented CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
* deprecated CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE as this flag was a hackfix to a wrong implementation that is now gone
2024-02-29 14:43:37 +01:00
Shauren f70a5817e1 Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting 2024-01-30 21:29:55 +01:00