Commit Graph
936 Commits
Author SHA1 Message Date
ModoX d4804d609d Core/Creature: Allow creature table to override npc- and unitflags to 0 2025-03-11 17:35:41 +01:00
Ovahlord 9189fa1858 Core/Player: split table player_classlevelstats into two tables by introducing player_racestats for race specific offsets 2025-03-10 19:52:18 +01:00
Ovahlord f46b6f0797 Core/Units: removed the packetOnly parameter from several movement flag setters 2025-03-10 17:43:42 +01:00
Ovahlord 2953efb7a3 Core/Movement: ported most movement updates from master branch and corrected behavior of CREATURE_STATIC_FLAG_4_PREVENT_SWIM 2025-03-09 20:49:41 +01:00
sevi 986c129bc0 Core/Quests: implement the option to cast spells upon abandoning quests (#434)
* Core/Quest: Implement a way to cast Spells on Quest Abandon.

* Core/Player: add a missing ;

* Core/Quest: moved the Abandon Spell away from a own table into quest_template_addon.
2023-12-01 16:07:39 +01:00
Shauren 2e2a928204 Core/Misc: Fixed thread-unsafe access to list of objects that should be spawned in a cell 2023-10-18 22:00:01 +02:00
funjoker 5ffa513be8 Core: Fix mistakes introduced in df32b341a5 2023-09-16 21:55:24 +02:00
funjoker d45deb5fbc Buildfix 2023-09-16 21:54:58 +02:00
funjoker df32b341a5 DB/Creatures: Port master model system
Fixes incorrect displayid for creatures, due to probability
2023-09-15 23:52:51 +02:00
Ovahlord ff575bcef0 Core/Creatures: ported all existing static flag implementations from master branch 2023-08-27 17:16:18 +02:00
Ovahlord 393b4d0dc6 Core/Creatures: implement static flag fields for creatures and ported their values from MoP 2023-08-27 16:14:18 +02:00
Ovahlord dfa6f7a709 Core/Movement: fixed up logic in previously added random movement minumum wander distance check and prevent the random movement generator from launching too short splines 2023-08-19 14:51:31 +02:00
Ovahlord e9fecb39d8 Core/Movement: random movement now requires a minimum wander distance of 0.1 yards 2023-08-19 14:33:01 +02:00
Jeremy 929a804052 Core/Graveyards: Fix graveyards in subzones when there is no valid graveyard in that subzone 2023-07-16 15:33:06 +02:00
Ovahlord a3dd0d75cf Core/Quests: ported quest flag and visbility update changes from master branch 2023-07-11 15:21:09 +02:00
Ovahlord acaf42798a Core/GameObjects: sync gameobject data field names with master branch and added some missing entries for Cataclysm 2023-01-17 19:45:56 +01:00
Ovahlord 7d646a7ed2 Core/Creatures: Split creature_addon and creature_template_addon's byte columns into seperate ones
* Instead of dumping raw byte values into these fields, we now only allow setting values which should be accessible to database devs. The remaining byte values should be handled by core internals and spells (pet talents and shapeshifting for example)
2023-01-10 16:23:21 +01:00
Ovahlord 684592851c buildfix 2023-01-09 13:31:57 +01:00
Shauren 68cf700178 Core/Maps: Made instance_template no longer required to create and enter instance maps 2023-01-09 11:42:15 +01:00
ModoX 0baf2d1e1e Core/Instances: Drop allowMount column in instance_template as it is already handled properly by SPELL_ATTR0_OUTDOORS_ONLY 2023-01-09 11:36:01 +01:00
Shauren 0f0b283168 Core/Pools: Implemented pooling for instances 2022-12-29 11:56:56 +01:00
Shauren 28ad85c160 Core/Spawns: Removed ObjectMgr::AddCreatureData and ObjectMgr::AddGameObjectData (old outdoorpvp helpers) 2022-12-26 12:48:54 +01:00
Shauren cbd46b7664 Core/Conditions: Implemented conditions for spawn groups 2022-12-26 11:15:13 +01:00
Ovahlord b5dcfece67 Core/Locales: b5ad731cf3 followup 2022-12-21 10:47:49 +01:00
Ovahlord b5ad731cf3 Core/Locales: ported locale string moving optimization from master branch 2022-12-20 16:31:46 +01:00
ratkosrb 122b52b079 Core/Creature: Use proper name for wander distance 2022-12-20 15:48:37 +01:00
Ovahlord 102f8839ce Core/Gossips: sync gossip_menu_option and creature_trainer structure with master and 3.3.5 2022-12-19 11:56:58 +01:00
Shauren 36aacc7f2a Core/Gossip: Fixed gossip menu options not performing their default actions when added by script using db data 2022-12-18 13:47:54 +01:00
ihm-tswow 6c171229e9 Core/Misc: Multithread query cache loading 2022-10-20 22:26:18 +02:00
Ovahlord cd7eef7945 Core/GameObjects: validate gameobject rotation on startup 2022-10-20 19:44:53 +02:00
Ovahlord e15fe3378e Core/Scripts: fixed loading world state and battlefield scripts 2022-10-09 01:02:22 +02:00
Shauren 0ba58aeb6e Core/Maps: Move terrain data handling out of Map class
Partial port of cmangos/mangos-wotlk@ff5232c648
2022-10-08 00:25:32 +02:00
Shauren 6856c1a0be Core/Spawns: Added startup error for incorrect map assignments in instance_spawn_groups 2022-09-23 20:41:31 +02:00
Ovahlord 6e9ec1a4bf Core/Transports: undo all custom transport changes as preparation for cherry picks 2022-06-18 18:37:14 +02:00
Ovahlord edfe82b4a3 Core/Misc: refactored a couple more loops to reduce copies and speeding up things
* silenced a few more msvc suggestions while at it
2022-04-22 22:52:52 +02:00
Ovahlord 8ac7e71690 Core/Spells: implement summon properties parameter types based on the leaked enumerated strings values
Summon spells can now be commanded to interpret their basepoints depending on the parameter type that has been assigned to the summon properties dbc record Id

* implemented SummonCreatureExtraArgs to reduce the amount of arguments in Map::SummonCreature
2021-08-15 10:35:02 +02:00
Ovahlord 280dd50af4 Core/Quests: also check previous quests when checking exclusive groups to allow chaining one quest group into another 2021-08-01 15:13:34 +02:00
Shauren 2d19f61b26 Core/Misc: Remove incorrect uses of std::unordered_map<T>::rehash and replace them with intended reserve 2021-06-21 23:52:25 +02:00
Ovahlord d9cbf60fd1 Core/Quests: kick AllowableRaces and TimeAllowed from quest_template over to quest_template_addon as these fields no longer are being sent in quest query packets 2021-06-21 22:10:58 +02:00
Ovahlord f56c3945d8 Core/Vendors: added for now unused PlayerConditionID field to npc_vendor table as it's being used since 4.2 2021-05-15 20:59:14 +02:00
Ovahlord d4f71131f0 Core/DBLayer: escape MySQL keywords in page_text, page_text_locale, broadcast_text and broadcast_text_locale select queries 2021-03-11 11:46:29 +01:00
Giacomo Pozzoni 48a0dde345 Core/Creature: Add new db field InteractionPauseTimer
Add new db field InteractionPauseTimer to allow to define different interaction pause timers for each creature (the previous system was a global setting in worldserver.conf Creature.MovingStopTimeForPlayer)

Set all columns in creature_template_movement as optional (can be NULL, default NULL). Fill only the columns that should override the default C++ value
2021-02-21 16:50:55 +01:00
Ovahlord c3e9861723 Core/Movement: implement creature movement info table to override movement speeds based on movement IDs
thx to @xvwyh for providing initial table data for the most common entries
2021-02-16 16:56:10 +01:00
Ovahlord 4ff5b6189d Core/Maps: implement new flags for instance spawn groups to allow to restrict spawn groups to horde or alliance only
*use the new flags to restrict the Scarlet Monastery Alliance spawns to alliance players only
2020-11-16 18:55:27 +01:00
Ovahlord 27c1fd6aee Core/Movement: implement cyclic spline database support 2020-09-21 00:32:55 +02:00
Ovahlord 1507ca0179 Fixed build 2020-08-22 18:46:57 +02:00
Roc13x ac6604fba7 Core/Creature: Refactor vendor item code (#167)
* Fix loading referenced vendor items
* Refactored vendor item storage
2020-08-06 01:43:39 +02:00
Ovahlord eea7209142 Core/Movement: ported segment length validation and computePosition updates from master 2020-08-05 17:06:48 +02:00
Roc13x 8669b5d22c Core/Gossips: Make MenuID/OptionID consistently use uint32 types (#165) 2020-08-04 10:14:47 +02:00
Shauren 80e4effba5 Core/Mail: Load mails at login instead of on demand when queried by packets (logging in always sends one of the packets that cause mail loading anyway) 2020-08-01 15:21:13 +02:00