Commit Graph
770 Commits
Author SHA1 Message Date
Ovahlord e1f3a1a2ff buildfix 2023-01-17 11:04:50 +01:00
Shauren 6ef977427e Core/Battlegrounds: Unload all grids before destroying battleground object
Closes #28755
2023-01-16 22:14:14 +01:00
Ovahlord be0538e405 Core/Instances: fixed saving newly created instance saves 2023-01-15 09:23:26 +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
Shauren eeb2f63b65 Core/Maps: Fixed retrieving terrain info when on child maps 2023-01-02 15:23:21 +01:00
Shauren 29c070b0fe Core/Maps: Implemented WMOAreaTable -1 grouipid fallback 2022-12-31 15:46:26 +01:00
SeraphimWoW e8f8081b29 Core/Maps: Make sure login instance is added to i_maps 2022-12-29 23:00:24 +01:00
Shauren 55843a00c6 Core/Maps: Split Ebon Hold by faction and removed forced sanctuary hack
original commit: 515c0a43ef8fcf41ffb2785c5940f0234e757ec3
2022-12-29 22:58:20 +01:00
Shauren 4500ee8284 Core/Spawns: Exclude spawn groups with MANUAL_SPAWN flag from automatic spawning/despawning with conditions 2022-12-29 22:51:30 +01:00
Shauren 82fe2ab194 Core/WorldStates: Add generic worldstates for team in instance 2022-12-29 22:39:21 +01:00
Shauren c2401d38fe Core/Maps: Fixed deadlock in battleground map creation
Closes #28154
2022-12-29 22:27:42 +01:00
Ovahlord e4bb93e84b nopch fix 2022-12-29 22:19:15 +01:00
Shauren 81b2ff0d94 Core/Maps: Removed MapInstanced - no longer neccessary for grid data reference counting (moved to TerrainInfo) 2022-12-29 22:10:44 +01:00
Shauren 0f0b283168 Core/Pools: Implemented pooling for instances 2022-12-29 11:56:56 +01:00
Shauren b732521f17 Core/Maps: Replace some Instanceable() checks with IsDungeon() 2022-12-26 13:40:18 +01:00
Shauren 265c2fa508 Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects 2022-12-26 13:24:59 +01:00
Shauren 9f7227e7b5 Core/OutdoorPvP: Move Halaa spawns to db using worldstate conditions 2022-12-26 11:39:40 +01:00
Shauren cbd46b7664 Core/Conditions: Implemented conditions for spawn groups 2022-12-26 11:15:13 +01: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 10823f8fcc Core/WorldStates: Add area requirements to world states 2022-10-09 01:34:37 +02:00
Ovahlord 2521489e2b Core/World: adapted Master branch version of world state handling 2022-10-08 23:13:06 +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
jackpoz e35c68c548 Core/MapScripts: Allow GameObjects to be caster of SCRIPT_COMMAND_CAST_SPELL 2022-09-12 09:15:22 +02:00
ariel- 4bb8c93df8 Core/Spells: rework part 4: iterate over effects first
Implement far spell queue processing

# Conflicts:
#	src/server/game/Spells/Spell.cpp
2022-09-12 09:15:13 +02:00
Ovahlord fc36c0da82 Core/Maps: use correct header definition for Map::ScriptsStart 2022-06-19 22:51:51 +02:00
Ovahlord fc0dc939ba fixed nopch build and some warnings 2022-06-19 21:19:26 +02:00
Jeremy c5f81dc58f Core/ZoneScript: Add "invoker" param to ProcessEvent 2022-06-19 18:36:41 +02:00
Shauren 786131a162 Core/Transports: Localized transport objects within each map
Transports no longer move between maps, each map gets a separate copy of the transport object and players are moved between them when transferring to another map
This means they can no longer be globally looked up in HashMapHolder
2022-06-19 18:11:20 +02:00
Shauren 5a236799c2 Core/Transports: Path generation rewrite v2
* No TaxiPathNode row is skipped anymore (events/delays on first node now work)
* Fixed transport animation synchronization with client
* Fixed stoppable transports randomly resuming their path after relogging
2022-06-18 22:37:46 +02:00
Shauren 5c0c2e3f25 Core/Objects: Remove restriction on what object types can be set as active 2022-06-18 21:43:24 +02:00
Shauren 25465699f7 Core/GameObjects: Transport (type 11) improvements
* Fully synchronize serverside animation progress with client
* Implemented updating passenger positions on elevators
* Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-06-18 21:36:17 +02:00
Shauren 43c1876970 Core/Transports: Store information about continent transports 2022-06-18 18:53:25 +02:00
Ovahlord 6e9ec1a4bf Core/Transports: undo all custom transport changes as preparation for cherry picks 2022-06-18 18:37:14 +02:00
Shauren f2b4f2208e Core/Objects: ported master branch handling for properly destroying objects via out of range and destroy object opcode
# Conflicts:
#	src/server/game/Entities/Creature/Creature.cpp
2022-02-02 16:24:42 +01:00
ariel- 8aa53f2df7 Core/Achievements: port realm first achievement handling from master
veeeery partial cherry-pick of c75fcbe20b07fd7518be58bf02ba30d903133449

(cherry picked from commit 4596c17dae1dcb199b9301b7dcfd556bb1c0d7d5)
2022-01-28 22:32:59 +01:00
Ovahlord 20fdb215db Core/Packets: converted SMSG_UPDATE_INSTANCE_ENCOUNTER_UNIT to packet class 2021-12-27 18:35:18 +01:00
UltraNix 50d0bf915e Core/Maps: initialize vmapZ offset in Map::GetAreaId with the given z offset to retrieve the correct area Id with spawning things inside of WMOs that have their own area data 2021-08-30 17:34:49 +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
jackpoz 5a08b65cef Core/Maps: fixed a floating point issue when retrieving minHeight values from GridMap 2021-07-06 20:51:19 +02:00
Giacomo Pozzoni d83cd33bd4 Core/Pools: Fix pools with 1 member never spawning anything anymore (#26620)
* Core/Pools: Fix pools with 1 member never spawning anything anymore

Attempts to fix a 6 years old bug and never fixed by the original author.

* Remove respawn times from db once a respawn has been handled

* Allow to specify if Despawn1Object() should save or not the respawn time. We don't need to do that when respawning an object.

* Apply the same fix to GameObjects too
# Conflicts:
#	src/server/game/Pools/PoolMgr.h
2021-06-27 06:33:19 +02:00
Ovahlord 5fd77a3b28 Core/World: implement database support for default map and realm wide world states 2021-06-13 16:07:38 +02:00
Ovahlord be239e4458 Core/Maps: implement map based world states and implemented support for required world states in achievement criterias
*converted Erduax' conditional achievement to world state based handling as example
2021-06-13 10:48:41 +02:00
killerwife d4b90631fe Tools/Map Extractor: Fix water height redundancy algorithm ignoring "no water" 2021-04-05 13:41:44 +02:00
Giacomo Pozzoni 490188de76 Core/Maps: Change .map file version from FourCC to uint32 2021-04-05 12:17:12 +02:00
Shauren ddb50c2e3d Core/Objects: Pass privateObjectOwner guid directly to SummonCreature functions 2021-03-29 20:52:32 +02:00
Matan Shukry 434bc017c2 Core/Objects: Move personal summon handling from TemporarySummon/GameObject to WorldObject and check it using dedicated guid field 2021-03-29 20:45:13 +02:00