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
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
Vincent-Michael
3499b77d5f
Core/PacketIO: Updated and enabled SMSG_SPELL_HEAL_LOG for WoD
2015-04-19 00:59:27 +02:00
Vincent-Michael
8bde737d3a
Core/PacketIO: Updated and enabled CMSG_SPIRIT_HEALER_ACTIVATE / SMSG_SPIRIT_HEALER_CONFIRM for WoD
2015-04-19 00:22:46 +02:00
Vincent-Michael
9c7914524a
Core/PacketIO: Updated and enabled CMSG_WRAP_ITEM for WoD
2015-04-18 23:50:51 +02:00
Vincent-Michael
94215132c1
Core/PacketIO: Updated and enabled SMSG_CHAT_PLAYER_NOTFOUND for WoD
2015-04-18 20:29:07 +02:00
Vincent-Michael
ee057d3a8d
Core/PacketIO: Updated and enabled CMSG_QUERY_PET_NAME / SMSG_QUERY_PET_NAME_RESPONSE for WoD
2015-04-18 19:17:48 +02:00
Vincent-Michael
a1fe3cccd8
Core/Spells: Cleanup in ca5c939a89
2015-04-18 19:17:47 +02:00
MitchesD
d74e0d823d
Scripts/CoS: Chrono Lord Epoch converted to BossAI
2015-04-18 18:28:13 +02:00
MitchesD
a08ba8826e
Core/PacketIO: SMSG_TITLE_EARNED, SMSG_TITLE_LOST, SMSG_SHOW_MAILBOX
2015-04-18 17:56:24 +02:00
Shauren
f79f765552
Core/Spells: Fixed crash happening during character creation when adding initial spells with SPELL_AURA_MOD_SPELL_CATEGORY_COOLDOWN
...
Closes #14569
2015-04-18 17:29:14 +02:00
Vincent-Michael
ca5c939a89
Core/PacketIO: Updated and enabled SMSG_SPELL_EXECUTE_LOG for WoD
2015-04-18 17:02:55 +02:00
Shauren
ee6e060be8
Core/Battle.net: Fixed accessing freed memory
2015-04-18 17:01:02 +02:00
Aokromes
a80bce124a
DB/Creature: Loaned Wind Rider
...
By Killyana, closes #4484
2015-04-18 16:08:14 +02:00
Shauren
1cfbc45199
Core/PacketIO: Fixed MoveUpdateCollisionHeight structure
...
Closes #14546
2015-04-18 12:26:40 +02:00
Shauren
50c6473a31
Core/PacketIO: Changed WorldSession::Handle_NULL to use packet class (Null). DEFINE_OPCODE_HANDLER_OLD is now strictly used only for opcodes that were used in past and weren't updated yet
2015-04-18 12:12:59 +02:00
Shauren
41e2b0046d
Merge pull request #14568 from Golrag/AreaTrigger1
...
Core/AreaTrigger: Added 'bool entered' to OnTrigger
2015-04-18 11:32:53 +02:00
Shauren
5a1ab5d871
Core/PacketIO: Updated and enabled more battleground packets
2015-04-18 11:27:25 +02:00
Golrag
d999caee67
Core/AreaTrigger: Added 'bool entered' to OnTrigger
2015-04-18 11:22:30 +02:00
Carbenium
99ef803f1d
Core/Player: Added possibility to deactivate the character creation for neutral races
2015-04-18 01:44:37 +02:00
DDuarte
d16e835735
SQLs: Fix a typo in 2015_04_17_01_world_2015_04_04_02.sql
2015-04-18 00:36:05 +01:00