Commit Graph

355 Commits

Author SHA1 Message Date
Aokromes
c7604d87cf Core/DungeonFinder: disable map only for LFG (#17784)
(cherry picked from commit 46ee3881e6)
2018-02-11 16:39:16 +01:00
Shauren
b3f9d5e5af Core/Gossip: Revert renaming/changing types part of 853df91048
Closes #21186
2018-02-01 12:09:58 +01:00
joschiwald
f0666ad35b Fixed warning 2018-01-06 22:55:29 +01:00
joschiwald
5e3e4182c8 Core/Entities: Extended SpawnMask to 64 bit 2018-01-06 19:56:11 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Aokromes
853df91048 Core/Misc: Update locales_gossip_menu_option to simple system 2017-11-10 00:41:32 +01:00
joschiwald
898bb16431 DB: Fixed some startup errors 2017-11-05 12:33:07 +01:00
Aokromes
5c2c84fc50 Core/Conditions: Rename CONDITION_SOURCE_TYPE_QUEST_ACCEPT to CONDITION_SOURCE_TYPE_QUEST_AVAILABLE
By Malcrom
2017-08-20 12:59:29 +02:00
Shauren
b453e12423 Core/Game: Include cleanup part 5
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Aokromes
6b2e262eb4 Core/Conditions: merge CONDITION_SOURCE_TYPE_QUEST_SHOW_MARK with CONDITION_SOURCE_TYPE_QUEST_ACCEPT. 2017-05-26 14:19:50 +02:00
Shauren
3d7c2ef88f Core/Game: Include cleanup, part 4 - packets and largest headers (after preprocessing, except player/objectmgr) 2017-05-21 23:18:43 +02:00
Shauren
f2039981e0 Core/Game: Include cleanup, part 3 2017-05-20 00:09:37 +02:00
Shauren
c5d3dd90be Core/Game: Include cleanup
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Aokromes
8fdf0778ca Core/Logs: Reword some logs 2017-05-12 10:42:50 +02:00
Shauren
3a418a0bbc Core/Common: Include cleanup 2017-05-11 22:29:51 +02:00
Shauren
d20dedebd6 Core/DataStores: Updated db2 structures to 7.2.0 2017-04-06 23:39:34 +02:00
funjoker
d26b865650 Core/Conditions: CONDITION_QUEST_OBJECTIVE_COMPLETE addition (#19355) 2017-03-29 23:18:30 +02:00
funjoker
945cfce1f6 Core/Conditions: Implemented new condition type CONDITION_QUEST_OBJECTIVE_COMPLETE (#18235)
Closes #17863
2017-03-20 08:54:29 +01:00
treeston
31a3f2297b Core/Conditions: New CONDITION_QUESTSTATE (47). It's the existing quest conditions collapsed into a bitmask value2 because I'm a lazy person that doesn't like having long SQL queries.
Then use this new condition to fix Sniffing out the Perpetrator for Horde. Tagging issue #17914.

(cherry picked from commit 62cffd11d0)
2017-02-26 15:31:42 +01:00
treeston
3a62ecb516 Core/Conditions: Add new CONDITION_TAXI (46). Does what it says on the tin. Tagging issue #15560.
(cherry picked from commit 08b3833051)
2017-02-12 16:27:20 +01:00
treeston
d2b5af3a52 Core/Conditions: Add new CONDITION_PET_TYPE (45). Matches target player's pet against specified (value1) bitmask.
(cherry picked from commit e9d4bbc74e)
2017-02-11 22:37:07 +01:00
treeston
12b58eae40 Core/Conditions: Add new CONDITION_CHARMED (44). Does what it says on the tin.
(cherry picked from commit 9785546967)

# Conflicts:
#	src/server/game/Conditions/ConditionMgr.cpp
2017-02-11 22:36:54 +01:00
SnapperRy
06c7849aa1 Core/Conditions: implement CONDITION_DAILY_QUEST_DONE to check whether or not a daily quest has been completed by a player in that day.
Also use it to fix two quest chains broken in commit 7905651. Should be the only ones of their kind.

(cherry picked from commit b4b3c10c69)
2017-02-05 21:07:30 +01:00
treeston
dfaf4542e6 Conditions/ConditionMgr: Add a comment so MitchesD can go away.
(cherry picked from commit 759aae56ad)
2017-01-09 02:00:10 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
a792a5a41d Warning fix 2016-08-21 17:24:11 +02:00
Shauren
b952033f6a Warning fix 2016-08-21 15:04:18 +02:00
Shauren
45966e6685 Core/Criteria: Fixed disables table requiring a reload for achievement criteria
Closes #17828
2016-08-21 11:54:55 +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
f14c66b5e4 Core/Players: Updated talent specializations 2016-06-09 21:33:18 +02:00
Shauren
de2efe0105 Core/Taxi: Implemented PlayerCondition requirements on taxi paths 2016-06-08 21:46:08 +02:00
Vincent-Michael
7eceba09d7 Core/Misc: Fixed warnings 2016-06-08 13:06:16 +02:00
Warpten
12f029d442 Core/PacketIO: Implemented new Cast HighGuid type and fix some mistakes with SMSG_MOVE_UPDATE_APPLY_MOVEMENT_FORCE
Core/Updatefields: Health is now stored as an unsigned long int.
2016-06-03 09:27:27 +02:00
Shauren
70102f32fe Core/DataStores: Updated opcodes and db2 to 7.0.3.21414 2016-05-20 23:49:53 +02:00
Shauren
5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46:17 +02:00
MitchesD
f636141345 Core/Phase: phase_area table now support even parent area (known as zone)
Closes https://github.com/TrinityCore/TrinityCore/issues/17025
2016-05-18 20:06:47 +02:00
MitchesD
192c428865 Core/ConditionMgr: condition CONDITION_SOURCE_TYPE_PHASE should not break on first phaseID which is equal to condition phase Id, it should iterate over all and check if more areas are trying to apply the same phase
* it's required for example for Wandering Isle quests

Closes https://github.com/TrinityCore/TrinityCore/issues/17054
2016-05-17 21:35:54 +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
Shauren
a168a2d442 Build fix 2016-04-08 22:08:23 +02:00
Treeston
42a01d62e6 Merge pull request #16457 from Treeston/3.3.5-standstatecondition
[3.3.5] Add condition for unit sitting/standing
(cherry picked from commit b6720af4cb)
2016-04-08 20:28:55 +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
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
ariel-
3a7f311547 Core/Conditions: fix a memory leak for CONDITION_SOURCE_TYPE_TERRAIN_SWAP
Reported by Aokromes.
2016-03-02 23:31:22 -03: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
Shauren
9ab47a1624 Warning fixes 2016-01-04 00:24:33 +01:00
Shauren
be32e43fb9 Another warning fix 2016-01-03 00:58:37 +01:00
Shauren
bb9c69b211 Warning fix 2016-01-03 00:55:48 +01:00
Shauren
d9849fb87b Core/DataStores: Implemented checking PlayerCondition for future use 2016-01-03 00:40:18 +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
MitchesD
cdb5bd3eb7 Core/Conditions: extended CONDITION_NEAR_CREATURE, condition value 3 is now used to check for dead creature entries (0 - alive, 1 - dead)
* I used 0 for alive to avoid touching all conditions with this type
2015-12-03 21:37:33 +01:00