Aokromes
92b746eb88
Core/Misc: Even better description for logs
...
(cherry picked from commit fad58ad099 )
# Conflicts:
# src/server/game/Maps/Map.cpp
2017-02-04 18:38:56 +01:00
Aokromes
84fded2e42
Core/Misc: Even better description for a log
...
(cherry picked from commit bd7dc87b02 )
# Conflicts:
# src/server/game/Maps/Map.cpp
2017-02-01 22:53:24 +01:00
Aokromes
10bb5fa86e
Core/Misc: Better description for a log
...
(cherry picked from commit 54d4769d4b )
# Conflicts:
# src/server/game/Maps/Map.cpp
2017-02-01 22:53:23 +01:00
Traesh
6ab3877c91
Core/Entities: Basic AreaTrigger System ( #18035 )
...
* Implemented AreaTrigger Templates
* Implemented AreaTrigger Splines
* Implemented SPELL_AURA_AREA_TRIGGER
* and many more
2017-01-29 00:00:43 +01:00
jackpoz
954b3c9617
Core/VMaps: Fix some vmap height edge cases
...
Fix Map::GetWaterOrGroundLevel() checking dynamic object only in phase 1 instead of current Unit phase.
Improve DynamicMapTree::getHeight() dynamic object check by casting the ray at +0.5f from the passed Z coordinate, this value will be tuned to improve even more the results.
(cherry picked from commit 1347d7cf7a )
2017-01-12 00:13:55 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Krudor
8444ab7365
Core/Instances: Implemented base scenario system and objectives in dungeons
...
Closes #17905
Closes #18034
2016-11-06 23:30:49 +01:00
Shauren
a9a13d10f7
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion
2016-07-17 17:37:06 +02:00
Krudor
649e3a9ac5
Core/Instances: Add functionality for modifying instance entrance locations
...
Instances have since MoP (Possibly even Cataclysm) been able to set new locations for players when they zone into the instance.
A theoretic example of this could be after a certain boss has been defeated, a new entrance location is set to bring players entering the instance closer to the relevant content.
A real example would be Siege of Orgrimmar changing entrance locations many times as the raid progresses.
Added SetEntranceLocation for setting entrance locations that will be saved to DB the next time the instance is saved, and SetTemporaryEntranceLocation for when you don't want the value to be saved to the database.
Closes #17167
2016-07-16 14:58:33 +02:00
Shauren
d2733eb6f1
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion
2016-06-13 21:00:25 +02:00
Shauren
c529566ac4
Core/GameObejcts: Fixed disconnects happening when viewing nearby players on elevators
...
Closes #17335
2016-06-12 00:11:00 +02:00
Shauren
70102f32fe
Core/DataStores: Updated opcodes and db2 to 7.0.3.21414
2016-05-20 23:49:53 +02:00
Shauren
885d9b53c3
Core/DataStores: Updated dbc/db2 to 7.0.1.20994
2016-05-20 23:48:48 +02:00
Shauren
41ae38d94d
Core/DataStores: Updated dbc/db2 to 7.0.1.20914
2016-05-20 23:48:24 +02:00
Shauren
c9ba5ce591
Core/Misc: Warning fixes (/W4)
2016-05-11 16:52:39 +02:00
Shauren
c75fcbe20b
Core/Achievements: AchievementMgr refactoring
...
* Extracted base CriteriaHandler class that deals with criteria only and will be reused for future scenario implementation
* Fixed players earning guild achievements
2016-05-07 01:16:29 +02:00
Ovalord
948146f3ee
Core/Instances: Updated and enabled encounter packets and implemented combat resurrection limit
...
Closes #16966
2016-04-24 12:46:26 +02:00
r00ty-tc
bf85d8d07f
Solve many of the creature falling through floor issues.
...
This seems entirely wrong to discount the returned map height if we're
already below it. In many cases this is exactly why we want the height!
(cherry picked from commit 10550fe8cf )
2016-04-16 16:49:56 +01:00
Naios
dac0773759
Core/Maps: Fix non PCH build
...
(cherry picked from commit 131ef5f2d6 )
2016-04-11 23:18:51 +02:00
Naios
59e3cf82ac
Core/Game: Move scheduled map scripts counter methods into MapManager
...
* Since those have nothing to do with core scripts and are
not wished inside the ScriptMgr
2016-04-11 20:07:24 +02:00
Naios
26dcde94b3
Core/Game: Move MapScripts to game/Maps
...
* Since this class implements methods of the Map class
2016-04-11 20:07:24 +02:00
r00ty-tc
0bf70423f8
Core/Maps: Implement optional pre-loading of maps.
...
- Option to preload basemaps upon server load (BaseMapLoadAllGrids)
- Option to preload instance maps upon map load (InstanceMapLoadAllGrids)
- Change default logging to only log mmap errors to server log
- Add new public to map to load all cells in map
- change debug loadcells to use new function instead
(cherry picked from commit 971f4ccab8 )
2016-04-09 17:08:41 +02:00
Treeston
9476726edc
Merge pull request #16676 from ccrs/summonsinit
...
Core/TempSummons: avoid use MoveInLineOfSight before InitSummon
(cherry picked from commit 472e78d682 )
2016-04-08 22:58:28 +02:00
Shauren
4e67383621
Merge branch '3.3.5-instanceextend' into 3.3.5 (PR #16392 )
...
(cherry picked from commit 62aff401f6 )
2016-04-05 20:35:59 +02:00
Shauren
70412e7e25
Core/Misc: MSVC warning fixes
2016-04-05 00:15:56 +02:00
Naios
bf33159a70
Core/Game: Converted the game library to a shared library.
...
* There is still the possibility to static link against game.
2016-03-24 01:31:51 +01:00
treeston
5fb88c7121
Merge branch '3.3.5-boundaryagain' into 3.3.5-base (PR #16270 )
...
(cherry picked from commit 1050b68899 )
2016-03-22 23:37:02 +01:00
treeston
9a24c7175d
Fix stuff™.
...
(cherry picked from commit 0316dff245 )
2016-03-22 22:57:51 +01:00
treeston
e2f2c70ba4
Merge branch '3.3.5-bossboundary' into 3.3.5-base (PR #16089 )
...
(cherry picked from commit 5b8b8c6530 )
2016-03-22 22:56:43 +01:00
Treeston
8225fb09c2
Merge pull request #16156 from Treeston/3.3.5-instancerevive2
...
Game/Maps: Instance handling bug-fix follow-up
(cherry picked from commit ae4fcc3685 )
2016-03-21 22:41:02 +01:00
Treeston
7422557d03
Merge pull request #16110 from Treeston/3.3.5-instancerevive
...
Game/Maps: Clean up instance zone-in handling
(cherry picked from commit eb3dc8a4f0 )
2016-03-21 19:41:28 +01:00
Naios
329225b40d
Core/Game: Move singleton instances into compilation units
...
* Fixes issues when building shared libraries
(prevents gcc and clang from providing several instance)
2016-03-11 18:35:49 +01:00
Shauren
397519debf
Core/PacketIO: Updated and enabled SMSG_PENDING_RAID_LOCK
2016-03-01 23:44:18 +01:00
Shauren
4c94108ba9
Core/PacketIO: Updated and enabled SMSG_OVERRIDE_LIGHT
2016-02-29 23:54:20 +01:00
Rochet2
beb394bad4
Fix build failing since 52758c1a0b
...
/TrinityCore/src/server/game/Maps/Map.cpp:2448:22: fatal error:
variable 'areaId' is used uninitialized whenever 'if' condition is false
[-Wsometimes-uninitialized]
if (GridMap* gmap = const_cast<Map*>(this)->GetGrid(x, y))
2016-02-14 22:36:05 +02:00
Shauren
52758c1a0b
Core/Maps: Use map.dbc zone fallback if no area is found in grid files, not only if grid files don't exist
...
Closes #16583
Closes #16584
Extracting new maps is NOT needed.
(cherry picked from commit fa3f106693 )
2016-02-12 20:40:43 +01:00
Shauren
c09f72a2c8
Core/Maps: Moved min height calculation to worldserver for more precise results
...
Closes #16530
2016-02-10 22:04:04 +01:00
Shauren
4f78efd463
Core/Maps: Parse MFBO adt chunk to properly handle height where player counts as falling under the map
...
* This fixes the height at which player is instantly killed when falling from The Frozen Throne
* Set PLAYER_FLAGS_IS_OUT_OF_BOUNDS on players under the map to enable release spirit button while still falling
Note: Extracting new maps is required
2016-02-09 00:14:58 +01:00
Shauren
db0b8bf24e
Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
...
Note: Extracting maps is required
2016-02-02 19:13:04 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren
ec1583df67
Core/Corpses: Fixed a possible crash adding bones to grid
...
Closes #15808
2015-11-06 21:30:08 +01:00
Naios
b7b49fe35f
Core/Globals: Use std::string rather than char* to pass script names around.
2015-11-04 20:52:13 +01:00
Shauren
d8391f23b1
Build fix after cherry-picks
2015-10-31 00:05:09 +01:00
Shauren
d72293bdf7
Core/Corpses: Fixed a crash happening when a corpse is added to a grid that was not yet fully loaded
...
Closes #15684
(cherry picked from commit 8c9ea7782a )
2015-10-30 18:05:35 +01:00
Shauren
60370d0c03
Core/Corpses: Fixed map crash happening during map unload when there are corpses inside
...
(cherry picked from commit 1d17475791 )
2015-10-30 18:04:58 +01:00
Shauren
bd16520ecc
Core/Corpses: Fixed leaking bones
...
Ref #15765
2015-10-28 21:43:44 +01:00
Shauren
8745e08be0
Core/Transports: Fixed accessing deleted instance transports
...
Thanks @jackpoz for valgrind log and @pete318 for reproduction steps
Closes #15633
2015-09-30 00:31:21 +02:00
Shauren
cd27fd38b9
Core/Maps: Moved corpse management to map level
2015-09-28 17:20:27 +02:00
Carbenium
512c2ab83c
Merge pull request #15538 from pete318/combat_bug
...
Combat with distant creatures (Mk II)
(cherry picked from commit a40d855337 )
2015-09-25 00:22:05 +02:00
StormBytePP
0bed9d56cb
Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert
2015-09-21 15:17:05 +02:00