Commit Graph

20644 Commits

Author SHA1 Message Date
MitchesD
feabc6dff1 Core/SAI: SMART_ACTION_SET_COUNTER now can be used for all targets, not just for self 2015-05-02 15:35:07 +02:00
Kinzcool
508af222a5 DB/Equipment: Filled creature_equip_template with blizzlike values up to MoP, patch 5.4.8 2015-05-01 23:26:42 -04:00
Kinzcool
0453fafaec Core/Enums: Defined two unknown item flags, and cleaned the other item flags enums to reflect a better standardization 2015-05-01 21:56:33 -04:00
Vincent-Michael
404dc91c7a DB/World: Update quest template for 6.1.2 19865 part 7 2015-05-02 02:40:02 +02:00
Vincent-Michael
a551dd78e6 Core/Quest: Added new error log for load quest_poi 2015-05-02 02:09:53 +02:00
Vincent-Michael
2c8b7850d7 Core/Commands: Added .go quest command to teleport your character to first quest poi 2015-05-02 01:28:18 +02:00
Shauren
48ee1f0033 Core/Misc: Moved Position to its own file 2015-05-02 00:05:01 +02:00
Shauren
e4abbc0926 Core/Networking: Fixed possible msvc debug assertions in vector 2015-05-02 00:02:57 +02:00
Shauren
b583a68672 Warning fix 2015-05-01 16:43:19 +02:00
Vincent-Michael
8a5c4cae40 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1296283
2015-05-01 16:14:10 +02:00
Shauren
68bd33b654 Core/Player: Implemented seamless teleporting 2015-05-01 15:44:43 +02:00
MitchesD
522ae49c6a Core/PacketIO: updated and enabled SMSG_DISMOUNT, CMSG_FAR_SIGHT 2015-05-01 13:33:13 +02:00
Shauren
1b5f6d44f0 Core/PacketIO: Updated and enabled CMSG_ITEM_TEXT_QUERY, SMSG_QUERY_ITEM_TEXT_RESPONSE, CMSG_CANCEL_TEMP_ENCHANTMENT 2015-05-01 00:20:41 +02:00
Shauren
e0746e49b3 Core/PacketIO: Fixed wrong FlushBits usage (mostly related to string lengths) 2015-04-30 19:42:13 +02:00
Vincent-Michael
10a1aff63f Core: Fix non pch build 2015-04-30 19:26:07 +02:00
Vincent-Michael
69f0e8a566 Core/VoidStorage: Fixed possible crash 2015-04-29 20:53:47 +02:00
Shauren
4f7b76bb83 Core/Movement: Updated spline flags 2015-04-29 09:32:24 +02:00
Shauren
4e93345fbe Build fix (1) 2015-04-28 21:51:59 +02:00
Shauren
ca83e14f8b Core/Entities: Reworked guid scopes
* Added ObjectGuid traits to easily access whether guid type can be generated globally (ObjectMgr) or not
* This adds separate (per map) guid sequences depending on object type
* Ported map object container from cmangos/mangos-wotlk@a2d396eb0b
* Added type container visitor for TypeUnorderedMapContainer
* Implemented helper function to erase unique pairs from multimap containers
* Moved object storage of all objects except players and transports to map level
* Added containers linking database spawn id with creature/gameobject in world
* Renamed DBTableGuid to spawnId
* Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables
* Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update
2015-04-28 21:19:46 +02:00
Naios
6da7a9cf00 Core/Packets: Add a lost optional initialization.
* ref 800d5d8939
* some style improvements
2015-04-28 01:20:37 +02:00
Naios
d37ecf796e Core/Misc: Use boost::in_place() to initialize optionals.
* Improves commit 800d5d8939
* Thanks @Shauren for this great suggestion.
2015-04-27 17:01:30 +02:00
Shauren
675a2fcd3b Core/Util: Fixed flag128 and removed flag96 - previously if flag128 and flag96 were used in together the result was always a bool instead of expected flag result due to implicit boolean conversion 2015-04-27 00:33:27 +02:00
Naios
800d5d8939 Core/Misc: Replace tc's optional with boost::optional.
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.
2015-04-26 23:45:52 +02:00
Shauren
b03842e0e9 Core/Spells: Removed fixes for spells that do not exist 2015-04-26 12:01:55 +02:00
Shauren
1684f79b78 Core/Items: Implemented spec specific set bonuses 2015-04-26 00:42:21 +02:00
Shauren
34935f0b09 Core/PacketIO: Limit the amount of support packets allowed to be processed and updated CMSG_BUG_REPORT 2015-04-25 21:24:39 +02:00
Vincent-Michael
f6d3da7dce Core: Fix warning 2015-04-25 19:55:19 +02:00
MitchesD
02fd2de847 Core/PacketIO: CMSG_COMPLETE_CINEMATIC, CMSG_NEXT_CINEMATIC_CAMERA and enabled some opcodes 2015-04-25 14:54:24 +02:00
Naios
26f9b3b988 Core/Log: Fix newlines when using dynamic log names
* thanks @Aokromes for reporting
* also removes an unnecessary std::move

(cherry picked from commit 2592528741)
2015-04-24 19:47:22 +02:00
Carbenium
c8cf05338f Merge pull request #14595 from DJScias/guildopcode
Core/PacketIO: Updated and enabled CMSG_GUILD_SET_ACHIEVEMENT_TRACKING
2015-04-24 17:23:38 +02:00
Nyeriah
a661c97e7e Scripts/Stonecore: Slight correction to last commit
(...a forgotten save)
2015-04-24 02:48:35 -03:00
Nyeriah
a735088ea1 Scripts/Stonecore: Prevent Slabhide from dying during air phases 2015-04-24 02:44:14 -03:00
Nyeriah
1688fbf90c Scripts/HallsOfStone: Set the Tribunal of Ages encounter state to IN_PROGRESS once it starts, instead of when Brann's escort starts
(cherry picked from commit 335cceb26e)
2015-04-24 00:14:43 -03:00
Nyeriah
f8b041fc92 Scripts/HallsOfStone: Brann Spankin' New achievement should only fail if damage is taken during event
(cherry picked from commit 6645af4b3c)
2015-04-24 00:13:48 -03:00
Shauren
59e9bcf0bf Core/Socket: Removed unused synchronous read method 2015-04-24 00:10:04 +02:00
DJScias
291259ac0c Core/PacketIO: Updated and enabled CMSG_UNLEARN_SKILL, CMSG_SELF_RES 2015-04-23 21:34:55 +02:00
DJScias
69fa522a5b Core/PacketIO: Updated and enabled CMSG_GUILD_SET_ACHIEVEMENT_TRACKING 2015-04-23 21:34:19 +02:00
Shauren
149ff8da87 Core/GameObjects: Removed the possibility to spawn transports wih gm commands (such objects did not have any transport mechanics but could still cause crashes)
Closes #14542
2015-04-23 15:47:50 +02:00
Carbenium
915828bb1f Merge pull request #14593 from DJScias/factionopcodes
Core/PacketIO: Updated and enabled CMSG_SET_FACTION_AT_WAR, CMSG_SET_FAC...
2015-04-23 01:19:23 +02:00
DJScias
1c13154e0b Core/PacketIO: Updated and enabled CMSG_SET_FACTION_AT_WAR, CMSG_SET_FACTION_INACTIVE, CMSG_SET_FACTION_NOT_AT_WAR, CMSG_SET_WATCHED_FACTION, SMSG_SET_FACTION_NOT_VISIBLE and SMSG_SET_FACTION_VISIBLE
Documentation used:
- Thanks @Carbenium for all the help in regards to this (66a2baff13 & cfd48eb2ee)
- SetWatchedFaction is used for CMSG_SET_WATCHED_FACTION (returns uint32 FactionIndex), confirmed in-game and with http://wow.gamepedia.com/API_GetWatchedFactionInfo (See Patch History Patch 5.0.4)
- SetFactionVisible is used for SMSG_SET_FACTION_VISIBLE and SMSG_SET_FACTION_NOT_VISIBLE (uint32 FactionIndex, confirmed)
2015-04-23 00:56:35 +02:00
Shauren
ac318ae517 Core/Items: Fixed applying heirloom stats during login
Closes #14196
Closes #14476
2015-04-23 00:07:59 +02:00
Shauren
209bf6b4e6 Core/Items: Fixed new stats not being added with item bonuses 2015-04-22 21:31:37 +02:00
Shauren
0147f37eb0 Core/Battlenet: Fixed possible shutdown crash 2015-04-22 00:03:49 +02:00
Carbenium
dab8e12413 Core/Support:
* Ticket status (viewed by GM, escalated) is now displayed correctly
* Fixed packet structure of CMSG_GM_TICKET_CREATE
* Use proper enum values (from client)
2015-04-21 22:00:25 +02:00
Shauren
7e5df6d504 Core/Logging: Removed a bunch of useless "received X" logs 2015-04-21 21:26:15 +02:00
Shauren
fc5d2a05df Core/Items: Fixed sending item modfiers on player entering world 2015-04-21 21:07:50 +02:00
Carbenium
aa67bc43c4 Core/Misc: Update base sql files after bba6eb8d3d
* Move some std::list to std::vector
2015-04-21 12:20:03 +02:00
Carbenium
bba6eb8d3d Core/Player: Added character templates
* Characters with predefined levels can be created
* Avaiable factions and classes can be configured
* Valid values for `factionGroup` in table `character_template_class` are 3 (Alliance) or 5 (Horde)
* Added new permission RBAC_PERM_USE_CHARACTER_TEMPLATES - has to be set, to allow the usage of the templates

Closes #13952
2015-04-21 00:52:21 +02:00
Shauren
4208c0d839 Core/Misc: Barbershop fixes
* Fixed selection validation
* Implemented new 6.0 feature allowing to change face
* Fixed cost calculation
2015-04-21 00:24:26 +02:00
MitchesD
ad945dc476 Core/Misc: fixed referencing to non-existing hair, facialHair and skinColor ID in CharSections
Closes https://github.com/TrinityCore/TrinityCore/issues/14580
2015-04-20 20:35:13 +02:00