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
Carbenium
f4a4e5de3d
DB/Vendors: Small addition to dcadd04f9c
2015-04-26 16:16:54 +02:00
Carbenium
dcadd04f9c
DB/Vendors: Updated vendors in Redridge Mountains to 6.x (19865)
2015-04-26 16:02:35 +02:00
Carbenium
61219aab8a
DB/Vendors: Updated vendors in Westfall to 6.x (19865)
2015-04-26 14:18:46 +02:00
Carbenium
5a9a8768df
DB/Vendors: Updated vendors in Stormwind to 6.x (19865)
2015-04-26 13:45:41 +02:00
Carbenium
cf5bd438a6
DB/Vendors: Updated vendors in Elwynn Forest to 6.x (19865)
2015-04-26 13:45:13 +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
Carbenium
15a5eb4e35
Merge pull request #14596 from DJScias/opcodes
...
Core/PacketIO: Updated and enabled CMSG_UNLEARN_SKILL, CMSG_SELF_RES
2015-04-23 22:44:18 +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
Shauren
0c3231a239
Removed unused include
2015-04-20 18:53:08 +02:00
Shauren
4c7c2abf03
Core/Misc: Removed gcc specific packing pragma syntax - only unsupported (now) versions required it
2015-04-20 01:54:18 +02:00
Shauren
9172584ef1
Core/Tickets: Fixed [-Woverloaded-virtual] warnings
2015-04-19 20:20:18 +02:00
Vincent-Michael
db0b6caf14
Core/GameObjects: Addet new game object dynamic flag
2015-04-19 19:51:41 +02:00
Vincent-Michael
8cf9cacd17
Core: Fix build (meh fucking save)
2015-04-19 18:01:03 +02:00
Vincent-Michael
715d5ede6a
Core/PacketIO: Rename some unks after research
2015-04-19 17:51:21 +02:00
Vincent-Michael
c3c8b7c2a6
Core/PacketIO: Updated and enabled CMSG_REQUEST_WOW_TOKEN_MARKET_PRICE / SMSG_REQUEST_WOW_TOKEN_MARKET_PRICE_RESPONSE
2015-04-19 17:06:44 +02:00
Shauren
bfca8246d8
Core/Socket: Fixed race conditions with instance socket
...
Helgrind logs:
==41785== Possible data race during write of size 8 at 0x6D80D590 by thread #4
==41785== Locks held: none
==41785== at 0x19603A2: void std::swap<std::__future_base::_State_baseV2*>(std::__future_base::_State_baseV2*&, std::__future_base::_State_baseV2*&) (move.h:177)
==41785== by 0x195FD7C: std::__shared_ptr<std::__future_base::_State_baseV2, (__gnu_cxx::_Lock_policy)2>::swap(std::__shared_ptr<std::__future_base::_State_baseV2, (__gnu_cxx::_Lock_policy)2>&) (shared_ptr_base.h:1069)
==41785== by 0x1FC5B84: std::__basic_future<SQLQueryHolder*>::_M_swap(std::__basic_future<SQLQueryHolder*>&) (future:629)
==41785== by 0x1FC5155: std::future<SQLQueryHolder*>::operator=(std::future<SQLQueryHolder*>&&) (future:691)
==41785== by 0x1FB94C6: WorldSession::HandleContinuePlayerLogin() (CharacterHandler.cpp:832)
==41785== by 0x1ABD31A: WorldSocket::HandleAuthContinuedSession(WorldPackets::Auth::AuthContinuedSession&) (WorldSocket.cpp:742)
==41785== by 0x1AB8322: WorldSocket::ReadDataHandler() (WorldSocket.cpp:261)
==41785== by 0x1AB77D1: WorldSocket::ReadHandler() (WorldSocket.cpp:157)
==41785== by 0x1AC068A: Socket<WorldSocket>::ReadHandlerInternal(boost::system::error_code, unsigned long) (Socket.h:201)
==41785== by 0x1AC39ED: void std::_Mem_fn<void (Socket<WorldSocket>::*)(boost::system::error_code, unsigned long)>::_M_call<std::shared_ptr<WorldSocket>&, boost::system::error_code const&, unsigned long const&>(std::shared_ptr<WorldSocket>&, void const volatile*, boost::system::error_code const&, unsigned long const&) const (in /usr/local/bin/worldserver)
==41785== by 0x1AC393F: void std::_Mem_fn<void (Socket<WorldSocket>::*)(boost::system::error_code, unsigned long)>::operator()<std::shared_ptr<WorldSocket>&, boost::system::error_code const&, unsigned long const&, void>(std::shared_ptr<WorldSocket>&, boost::system::error_code const&, unsigned long const&) const (functional:578)
==41785== by 0x1AC370F: void std::_Bind<std::_Mem_fn<void (Socket<WorldSocket>::*)(boost::system::error_code, unsigned long)> (std::shared_ptr<WorldSocket>, std::_Placeholder<1>, std::_Placeholder<2>)>::__call<void, boost::system::error_code const&, unsigned long const&, 0ul, 1ul, 2ul>(std::tuple<boost::system::error_code const&, unsigned long const&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (functional:1264)
==41785==
==41785== This conflicts with a previous read of size 8 by thread #1
==41785== Locks held: none
==41785== at 0x144BF6A: std::__shared_ptr<std::__future_base::_State_baseV2, (__gnu_cxx::_Lock_policy)2>::operator bool() const (shared_ptr_base.h:1056)
==41785== by 0x1AAF7BD: std::__basic_future<SQLQueryHolder*>::valid() const (future:590)
==41785== by 0x1AAA04C: WorldSession::ProcessQueryCallbacks() (WorldSession.cpp:1006)
==41785== by 0x1AA5167: WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:452)
==41785== by 0x1D2D667: World::UpdateSessions(unsigned int) (World.cpp:2793)
==41785== by 0x1D2A8C6: World::Update(unsigned int) (World.cpp:2159)
==41785== by 0x145B823: WorldUpdateLoop() (Main.cpp:397)
==41785== by 0x145957F: main (Main.cpp:255)
==41785== Possible data race during read of size 8 at 0x6D80D638 by thread #1
==41785== Locks held: none
==41785== at 0x1A5E914: std::__shared_ptr<WorldSocket, (__gnu_cxx::_Lock_policy)2>::operator bool() const (shared_ptr_base.h:1056)
==41785== by 0x1AA52A9: WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:468)
==41785== by 0x1D2D667: World::UpdateSessions(unsigned int) (World.cpp:2793)
==41785== by 0x1D2A8C6: World::Update(unsigned int) (World.cpp:2159)
==41785== by 0x145B823: WorldUpdateLoop() (Main.cpp:397)
==41785== by 0x145957F: main (Main.cpp:255)
==41785==
==41785== This conflicts with a previous write of size 8 by thread #4
==41785== Locks held: none
==41785== at 0x1AAD12D: std::__shared_ptr<WorldSocket, (__gnu_cxx::_Lock_policy)2>::operator=(std::__shared_ptr<WorldSocket, (__gnu_cxx::_Lock_policy)2> const&) (shared_ptr_base.h:860)
==41785== by 0x1AAD174: std::shared_ptr<WorldSocket>::operator=(std::shared_ptr<WorldSocket> const&) (shared_ptr.h:93)
==41785== by 0x1ABF0B5: WorldSession::AddInstanceConnection(std::shared_ptr<WorldSocket>) (WorldSession.h:684)
==41785== by 0x1ABD2F8: WorldSocket::HandleAuthContinuedSession(WorldPackets::Auth::AuthContinuedSession&) (WorldSocket.cpp:741)
==41785== by 0x1AB8322: WorldSocket::ReadDataHandler() (WorldSocket.cpp:261)
==41785== by 0x1AB77D1: WorldSocket::ReadHandler() (WorldSocket.cpp:157)
==41785== by 0x1AC068A: Socket<WorldSocket>::ReadHandlerInternal(boost::system::error_code, unsigned long) (Socket.h:201)
==41785== by 0x1AC39ED: void std::_Mem_fn<void (Socket<WorldSocket>::*)(boost::system::error_code, unsigned long)>::_M_call<std::shared_ptr<WorldSocket>&, boost::system::error_code const&, unsigned long const&>(std::shared_ptr<WorldSocket>&, void const volatile*, boost::system::error_code const&, unsigned long const&) const (in /usr/local/bin/worldserver)
2015-04-19 15:30:24 +02:00
Northstrider
22ea8cf4d0
Core/Creatures: remove virtual mounts from creatures on death
...
Closes https://github.com/TrinityCore/TrinityCore/pull/14396
(cherry picked from commit b5393d4b9b )
2015-04-19 14:59:22 +02:00
MitchesD
8096edec15
Core/Unit: fixed removing UNIT_FLAG_PET_IN_COMBAT from guardians
...
Closes https://github.com/TrinityCore/TrinityCore/issues/14566
2015-04-19 14:44:59 +02:00
Vincent-Michael
b2e6e678c3
Core/PacketIO:
...
* Updated and enabled SMSG_RESURRECT_REQUEST
* Fix typo for CMSG_RESURRECT_RESPONSE
2015-04-19 13:45:43 +02:00
Vincent-Michael
a39b2a3da9
DB/Hotfixes: Update broadcast text locale for 6.1.2 (build 19865)
2015-04-19 04:22:29 +02:00
Vincent-Michael
5fc4ab186c
Core: Fix missing save :(
2015-04-19 01:56:17 +02:00
Vincent-Michael
b04537df95
Core Fix build
2015-04-19 01:41:41 +02:00
Vincent-Michael
e7464e6d8a
Core/PacketIO: Fix packet order in 3499b77d5f
2015-04-19 01:17:49 +02:00