Shauren
2ecd7e0cb9
Core/PacketIO: Initialize HasDemonHunterOnRealm field in character enum
2016-06-12 14:03:48 +02:00
Shauren
94005f3496
Core/Players: Fixed character appearance validation
2016-05-30 23:51:39 +02:00
Shauren
5ad01990c6
Core/PacketIO: Updated opcodes to 7.0.3.21796
2016-05-30 23:51:06 +02:00
Shauren
b82332487a
Core/DataStores: Updated db2 to 7.0.3.21737
2016-05-27 23:14:36 +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
Shauren
91753a94b3
Core/PacketIO: Updated character list packets for 7.x
2016-05-20 23:39: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
Shauren
92e247b226
Core/Dep: Removed ZMQ dependency in preparation for future changes
2016-03-20 18:50:25 +01:00
Carbenium
f5ccb7b474
Core/PacketIO: Updated and enabled SMSG_SET_PLAYER_DECLINED_NAMES_RESULT
2016-02-07 21:02:35 +01:00
Carbenium
3ea1cfc4d0
Core/PacketIO: Updated and enabled CMSG_SET_PLAYER_DECLINED_NAMES
2016-02-02 23:19:37 +01:00
Shauren
00383f4b12
Core/PacketIO: Renamed some unknown fields in FeatureSystemStatus
2016-01-06 23:47:28 +01:00
Shauren
2a6f65fddc
Core/Players: Split playerBytes fields in characters table
2016-01-05 00:03: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
Shauren
d03ca37f10
Core/Players: Use constant gender from PLAYER_BYTES_3 where appropriate.
2015-11-27 21:53:27 +01:00
Shauren
45994a177c
Core/Players: Check if player can enter the instance during login before trying to add him to map
...
* Fixes name displaying as "Unknown"
2015-10-15 23:29:19 +02:00
Shauren
63def8aa32
Core/Battle.net:
...
* Changed packet structures to mirror client names
* Simplified ToString Building
* Removed deprecated structures
World: Cleaned up duplicate realm info 'realm' and 'realmHandle' variables (realmHandle was removed, that data is fully contained in realm)
2015-10-06 00:30:47 +02:00
Shauren
aaaa1c3441
Core/World: Store account id in CharacterInfo to reduce the amount of database queries
2015-10-05 15:06:27 +02:00
Shauren
cd27fd38b9
Core/Maps: Moved corpse management to map level
2015-09-28 17:20:27 +02:00
Shauren
3bc3b67a8f
Core/Player: Changed ranged weapons to be equipped in main hand slot instead of no longer used ranged slot
...
Closes #14675
Closes #15296
2015-09-27 00:06:08 +02:00
Shauren
f1b047b826
Core/Taxi: Further improvements
...
* Updated segment distance calculations - now selected path fully matches clientside preview
* Fixed building sOldContinentsNodesMask to also include any new taxi node added in future
* Implemented filtering possible hops when searching for shortest path by faction (and in future PlayerCondition)
* Changed ObjectMgr::GetNearestTaxiNode to filter faction nodes by flags instead of mount display
2015-09-19 16:44:33 +02:00
Shauren
3109ab2da0
Core/DBLayer: Allowed using GetDouble for SUM results instead of requiring string conversions
2015-09-13 11:13:04 +02:00
horn
e8b1faa156
Core/BattlePets: Basics for Battle Pets
2015-09-09 14:52:32 +02:00
Shauren
b564c10b13
Core/Players: Implemented serverside validation of reserved/profane names
...
Closes #15357
New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
jackpoz
4617d65131
Merge pull request #15297 from StormBytePP/3.3.5_rename_Revision.h
...
Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present
(cherry picked from commit 360cc93357 )
Conflicts:
src/server/authserver/Main.cpp
src/server/database/Updater/DBUpdater.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/World/World.cpp
src/server/shared/PrecompiledHeaders/sharedPCH.h
src/server/worldserver/Main.cpp
2015-08-16 22:45:18 +01:00
StormBytePP
6a9fc63e41
Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
...
(cherry picked from commit 94f69fb1bc )
2015-08-16 17:50:40 +02:00
MitchesD
ca9d98f179
Core/Opcodes: enabled duel opcodes and updated CMSG_OPENING_CINEMATIC
2015-08-01 18:42:07 +02:00
Vincent-Michael
2e586bc520
Core: Header cleanup in game/*/*.cpp
2015-07-25 20:18:42 +02:00
Shauren
a22e4e121a
Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler
2015-07-21 00:33:36 +02:00
Shauren
dea6c0b122
Core/DataStores: Updated dbc/db2 structures to 6.2.0
2015-07-07 12:13:14 +02:00
Carbenium
21ab4bb14c
Core/PacketIO: Update SMSG_FEATURE_SYSTEM_STATUS
2015-07-06 01:52:21 +02:00
DJScias
33ba6b74bd
Core/PacketsIO: Updated and enabled SMSG_CHAR_CUSTOMIZE, SMSG_CHAR_CUSTOMIZE_FAILED
...
Closes #14789
2015-06-02 04:16:24 +02:00
Shauren
b3a754cd7b
Core/Garrisons: Implemented follower class/spec abilities and saving them to database
2015-05-22 00:17:48 +02:00
Shauren
5b725db033
Core/Garrisons: Basics for garrisons
2015-05-08 00:03:15 +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
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
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
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
7e5df6d504
Core/Logging: Removed a bunch of useless "received X" logs
2015-04-21 21:26:15 +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
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
Carbenium
99ef803f1d
Core/Player: Added possibility to deactivate the character creation for neutral races
2015-04-18 01:44:37 +02:00
Shauren
4703169116
Core/PacketIO: Updated and enabled more battleground packets
2015-04-18 00:04:56 +02:00
Vincent-Michael
a65007f55f
Core/PacketIO: Fix typo in CharRaceOrFactionChange
2015-04-17 19:28:18 +02:00
Vincent-Michael
69b82c5e33
Core/PacketIO: Updated and Enabled CMSG_USE_EQUIPMENT_SET / SMSG_USE_EQUIPMENT_SET_RESULT for 6.1.2
2015-04-12 03:55:32 +02:00
Vincent-Michael
fcab914981
Core/PacketIO: Updated and Enabled CMSG_DELETE_EQUIPMENT_SET for 6.1.2
2015-04-12 03:18:03 +02:00
Vincent-Michael
0473b5371a
Core/Token: Fix freeze at opening game time windows
2015-04-10 22:28:16 +02:00
Shauren
3e063be399
Core/PacketIO: Reimplemented SMSG_SET_FORCED_REACTIONS as a response to client request instead of sending it automatically during map change
2015-04-09 00:05:31 +02:00