Commit Graph
37821 Commits
Author SHA1 Message Date
Ovahlord 2e47ee3f4c Core/Util: replace SMFT rng with PCG 2022-10-30 12:04:30 +01:00
ihm-tswow 6c171229e9 Core/Misc: Multithread query cache loading 2022-10-20 22:26:18 +02:00
Shauren 4e0e5785e9 Core/Misc: Minor cleanup in worldserver main.cpp 2022-10-20 22:21:47 +02:00
Shauren 6daa2ce262 Core/Threading: Create ThreadPool class
# Conflicts:
#	src/server/worldserver/Main.cpp
2022-10-20 22:21:41 +02:00
Ovahlord 1528eda26e Tools/VMaps Extractor: reduce difference between branches 2022-10-20 22:17:02 +02:00
Ovahlord cd7eef7945 Core/GameObjects: validate gameobject rotation on startup 2022-10-20 19:44:53 +02:00
Ovahlord 181d1e2485 buildfix 2022-10-17 00:43:54 +02:00
Ovahlord 4b8bea57d8 Core/Units: ensure that we always have a valid caster when a charmed unit allows its charmer to cast spells directly 2022-10-16 17:58:58 +02:00
Ovahlord 9094d6d729 nopch fix 2022-10-16 11:47:21 +02:00
Ovahlord 0166f84a1b Core/Spells: replaced SPELLVALUE_AURA_DURATION implementation with master's SPELLVALUE_DURATION version 2022-10-16 11:20:51 +02:00
Ovahlord 6989797014 buildfix 2022-10-15 18:37:10 +02:00
Ovahlord 58ef34a9c4 Scripts/Hillsbrad Foothills: improved Brazie's vehicle player getter and added some pointer checks for stability 2022-10-15 18:29:27 +02:00
Ovahlord ded90b5077 Core/Objects: fixed another crash in WorldObject::IsValidAssistTarget 2022-10-13 18:19:06 +02:00
Ovahlord 96af7100b3 Core/Vehicles: added a missing pointer check in Vehicle::RemovePassenger 2022-10-09 21:26:21 +02:00
Ovahlord 8fc4b59c6f Scripts/Vortex Pinnacle: fixed console spam caused by faulty spellInfo data for Howling Gale 2022-10-09 14:39:58 +02:00
Ovahlord 17818eb01f buildfix 2022-10-09 14:34:37 +02:00
Ovahlord 390f4c22e2 DB: fixed applying 2022_10_09_05_world.sql 2022-10-09 14:06:16 +02:00
Shauren 030fe869df Core/WorldStates: Skip sending SMSG_UPDATE_WORLD_STATE when value does not change 2022-10-09 14:03:19 +02:00
Shauren 0a5de93e82 Core/WorldStates: Allow setting "hidden" field of SMSG_UPDATE_WORLD_STATE 2022-10-09 14:01:46 +02:00
Shauren 12b60099f8 Core/WorldStates: Migrate instance script worldstates to new system 2022-10-09 13:45:38 +02:00
Shauren fe7e42b0b8 Core/WorldStates: Migrate Tol Barad worldstates to new system 2022-10-09 13:11:33 +02:00
Ovahlord 9f85a104d7 Core/Spells: fixed a typo that was causing all charmed units to now have any spells despite being defined as such 2022-10-09 12:47:04 +02:00
Ovahlord 45a4908f0c Core/Spells: reduced more differences between branches 2022-10-09 11:05:29 +02:00
Ovahlord befbed16f3 nopch fix 2022-10-09 10:52:14 +02:00
Ovahlord 6fa4c22daf Core/Misc: fixed more crashes related to the caster dependency removal 2022-10-09 10:45:10 +02:00
Shauren 10823f8fcc Core/WorldStates: Add area requirements to world states 2022-10-09 01:34:37 +02:00
Ovahlord 67dd72dfc0 DB/World States: added default value to ScriptName field 2022-10-09 01:18:36 +02:00
Ovahlord 716577fe8e DB: fixed applying sql 2022-10-09 01:17:18 +02:00
Shauren 8a98cc0205 Core/WorldStates: Migrate Wintergrasp worldstates to new system 2022-10-09 01:15:02 +02:00
Ovahlord e15fe3378e Core/Scripts: fixed loading world state and battlefield scripts 2022-10-09 01:02:22 +02:00
Shauren 3aae23803d Core/Battlefield: Fixed startup crash when compiled without scripts
(cherry picked from commit 1405760f317cfcfed29aca5ab36633863a2d9dc9)
2022-10-09 00:46:17 +02:00
Carbenium 46738404b5 Core/Battlefield: Move SendInitWorldStatesTo to Battlefield class 2022-10-09 00:45:58 +02:00
Carbenium 2a71d4f741 Scripts/Battlefield: Move npc_wg_give_promotion_credit script to BattlefieldWG
The script references BattlefieldWG, which is not exported in dynamic builds.
Move the script, so it is in the same library.
2022-10-09 00:43:35 +02:00
Carbenium 0ef220fca0 Battlefields: Move BF scripts out of game
This commit introduces the usual script interface
for battlefields.
2022-10-09 00:35:07 +02:00
Carbenium d5f7d7b754 Core/Misc: Move WorldState enum to SharedDefines
Move WG battlefield world states to the global enum
2022-10-09 00:03:42 +02:00
Carbenium 45e1e8c282 Core/Misc: Create new enum for AreaIds
Move Wintergrasp BF related values there
2022-10-08 23:59:21 +02:00
Shauren 6fc90de3b5 Core/WorldStates: Allow multiple map ids for world states 2022-10-08 23:48:04 +02:00
Shauren 0461bdc730 Core/WorldStates: Migrate conditions and criteria to new worldstate api 2022-10-08 23:18:03 +02:00
Ovahlord 2521489e2b Core/World: adapted Master branch version of world state handling 2022-10-08 23:13:06 +02:00
Ovahlord 6b8314454f Core/Spells: fixed a crash when using hunter traps 2022-10-08 13:39:50 +02:00
Ovahlord a13f955a82 Core/Loot: fixed a cherrypick mistake that was causing all creatures to drop pickpocket loot only 2022-10-08 10:03:31 +02:00
Shauren 3f51add635 Dynamic build fix
# Conflicts:
#	src/server/game/Maps/MapManager.cpp
2022-10-08 00:51:17 +02:00
Ovahlord dffa8e81e4 nopch fix 2022-10-08 00:35: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 21e9854686 Core/Maps & Extractors: Move copypasted map file headers into a single shared file and replace #defines with enums 2022-10-07 22:16:46 +02:00
Shauren 8c447da29d Core/Misc: Rename MapDefines.h to MMapDefines.h as it contains mmap defines exclusively 2022-10-07 19:09:42 +02:00
Ovahlord 3e334182bd CMake: added missing link flags to bnetserver 2022-10-06 15:30:56 +02:00
Shauren 0ca955897f Core/Spells: Remove all hardcoded restrictions for pick pocket spell effect and rely only on presence of pickpocket loot in db 2022-10-04 12:42:10 +02:00
Shauren cf2bf7f77f Core/Spells: Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED and SPELL_ATTR2_ALLOW_WHILE_INVISIBLE to use DispelType instead of checking effect types 2022-10-04 12:36:58 +02:00
Shauren 03cf98152e Core/DataStores: Defined map.dbc flags 2022-10-04 12:32:58 +02:00