aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared
AgeCommit message (Collapse)Author
2019-01-18Core/Networking: Set SO_REUSEADDR on *nix platformsjackpoz
2019-01-10Core/Networking: Fix memory leak (#22923)Giacomo Pozzoni
Fix memory leak reported by ASan happening when ports fail to bind in Authserver
2019-01-01Happy New Year, folks. It's 2019!Treeston
2018-12-31Core/Spells: Fixed ErrorCube spell missilesShauren
2018-12-30Core/Creatures: Port trainer changes from masterGhaster
Closes #20493
2018-12-11Core/Misc: Explicit typing for SpellAttrN enums, add nicer text to UNKs, and ↵Treeston
restore some relevant info from old comments. Final one of these.
2018-11-27Core/Misc: Update description text for SpellAttr6 and SpellAttr7Treeston
2018-11-27more clarity (9309988 follow-up)Treeston
2018-11-26Core/Misc: Update description text for SpellAttr5 (I'm back, baby!)Treeston
2018-11-14Core/Misc: Update description text for SpellAttr4Treeston
2018-11-13Core/Misc: Update description text for SpellAttr3Treeston
2018-11-12Core/Misc: Update description text for SpellAttr2Treeston
2018-11-12Core/Misc: Update description text for SpellAttr1Treeston
2018-11-12Core/Misc: Update description text for SpellAttr0 to match actual behaviorTreeston
2018-11-12GCC build fixShauren
Closes #22785
2018-11-11Core/Util: Redesign SmartEnum to properly work for large enums (>64 entries) ↵Treeston
and play nice with IDEs (PR #22768)
2018-10-26Core/Misc: Partial merge of 3.3.5-dbedit:Treeston
- Added SmartEnum.h for enum iteration, stringification, and more, courtesy of krabicezpapundeklu/smart_enum - Moved a bunch of enums in SharedDefines.h to the new system - Miscellaneous utility methods ported
2018-10-24Core/Shared: add BattlefieldBattleId definitionsccrs
Also rename BG_TEAMS_COUNT and BattlegroundTeamId
2018-10-02Core/DBC: Some cleanup of Cleanup (8edea4a follow-up)Treeston
2018-10-02Core/DBC: Sanitize DBC loading procedure. Extra checks. Capability to load ↵Treeston
strings from DB. Load SpellName from spell_dbc.
2018-09-27Core/Misc: Revert 4990423, need to find out a better way to handle this.Treeston
2018-09-27Core/Misc: Unify naming of DBC entry, storage and format identifiers based ↵Treeston
on DBC file name * DBC file name: <dbc>.dbc * Format string: DBCfmt_<dbc> * DB Format string: DBCfmt_<dbc>_DBFormat * DB index string: DBCfmt_<dbc>_DBIndex * Entry struct: <dbc>Entry * Global storage: s<dbc>Store
2018-09-27Core/Misc: constexpr a bunch of things, and a missing include of Windows.h ↵Treeston
somewhere (that last one wasn't me!)
2018-09-27Core/Misc: Move some headers from game/ to shared/Treeston
2018-08-22Core/Packets: Reduce memory footprint of cached queries (#22297)jackpoz
Ensure only the minimum required memory is used by caching query packets by calling shrink_to_fit()
2018-04-19Core/PacketIO: Added missing move assignment operator to ByteBufferShauren
2018-01-08nopch build fixShauren
2018-01-06Core/Misc: Added compatibility layer for boost 1.66 and future std:: ↵Shauren
networking stuff * Based on work done by @dimiandre in PR #21173 Closes #21171 Closes #21173 (cherry picked from commit dfd2660a85e4f0891c63009ee8425b2796586409)
2018-01-06Core/Networking: Activate single threaded optimization for io_service ↵Shauren
running in NetworkThread (cherry picked from commit 9711dd3f706a30d23f57b259765837b71292d09e)
2018-01-01Update copyright note for 2018tkrokli
Best wishes for the new year.
2017-12-21Build: Inherit the features and warning flags privatelyNaios
(cherry picked from commit 12853475186569b2f47f1d69f817cbef8e590d83)
2017-12-17Build: Use the cotire library for precompiled header handlingNaios
* Required for handling flags inherited by linked projects correctly in the corresponding precompiled header. * Reduces the maintenance effort for precompiled headers
2017-11-25Misc: More cleanupAokromes
2017-11-25Misc: More cleanupAokromes
2017-11-12Core/Misc: Fix static analysis issuesjackpoz
2017-07-15Core/Misc: Fix static analysis issuesjackpoz
2017-06-19Core: ported headers cleanup from master branchariel-
2017-06-19Core/Misc: Cleanup worldserver/authserver main() functions to run ↵Shauren
destructors in predictable order * world/auth servers will now fail to startup if listen ports are in use * Restored "Network.OutUBuff" config option lost during boost transition (cherry picked from commit 6c92a481a34eb19c7ba751a1f7547a39c3d3a088)
2017-06-05Build fixShauren
2017-06-02Core/Globals: add more AIName and MovementType checks to ObjectMgrariel-
- Ninja fix AI factories (restores prev behaviour of not selecting stuff with PERMIT_BASE_NO) Closes #19831
2017-06-01Core/AI: Factory functions cleanupariel-
- Get rid of fugly void pointers - Streamlined AI selection code, using Permissible as it should've been instead of harcoded checks on the selector code - Moved IdleMovementGenerator singleton to factory code
2017-01-28Few small optimizations here and there (#18684)xinef1
Changes list: - Added CharacterGuidByNameContainer which contains name -> guid unordered map (updated along CharacterInfo) - Extended CharacterInfo structure with GuildId - Extended CharacterInfo structure with ArenaTeamId[3], for all possible teams (2v2, 3v3, 5v5) - Removed CHAR_SEL_GUID_BY_NAME and CHAR_SEL_CHAR_GUID_BY_NAME synchronous queries, name -> guid can be now retrieved in World::GetCharacterGuidByName - Removed CHAR_SEL_GUID_RACE_ACC_BY_NAME synchronous query, guid can be retrieved by name and rest of the data can be retrieved by guid - Removed CHAR_SEL_CHAR_LEVEL synchronous query, level can be retrieved by guid - Changed CHAR_SEL_CHARACTER_ACTIONS_SPEC to asynchronous query, action bars are now loaded asynchronously - Removed CHAR_SEL_CHARACTER_NAME_CLASS synchronous query, guid can be retrieved by name and rest of the data can be retrieved by guid - Removed CHAR_SEL_PLAYER_ARENA_TEAMS and CHAR_SEL_ARENA_TEAM_ID_BY_PLAYER_GUID synchronous queries, arena teams are now stored in CharacterInfo - Replaced synchronous db calls with CharacterInfo lookups - Removed ObjectMgr::GetPlayerGUIDByName, as it used db query - Replaced some unnecessary UpdateObjectVisibility() calls because they were either duplicated (called few lines above in other function) or it is enough to call DestroyForNearbyPlayers because object is being removed or should be invisible and DestroyForNearbyPlayers is faster - Corrected typo in Player::DestroyForPlayer, only items in slots 0 to EQUIPMENT_SLOT_END are sent to other players - Renamed Player::GetGuildIdFromDB to Player::GetGuildIdFromCharacterInfo and changed the function to use CharacterInfo structure - Renamed Player::GetArenaTeamIdFromDB to Player::GetArenaTeamIdFromCharacterInfo and changed the function to use CharacterInfo structure - Renamed Player::GetLevelFromDB to Player::GetLevelFromCharacterInfo and changed the function to use CharacterInfo structure - Removed GameEventMgr::_questToEventLinks and associated functions, eventId is now stored in Quest class under _eventIdForQuest variable - Changed some functions checking quest status to use other functions for quest status check instead of duplicating code - Removed callback from add friend, because we can get the guid from appropriate storage, no need to make db query - Removed callback from add ignore, because we can get the guid from appropriate storage, no need to make db query - Added callback to unwrap wrapped items asynchronously - Removed synchronous select in tutorials to check if we have any entries in db, if any entry exists in db, m_TutorialsChanged variable will have TUTORIALS_FLAG_LOADED_FROM_DB flag added and it is no longer necessary to query database
2017-01-02Update Copyright notice for 2017tkrokli
Happy new year!
2016-10-06Core/Misc: fix interaction of spells like Shadowmeld with Threat reducing ↵ariel-
effects - SPELL_AURA_MOD_TOTAL_THREAT should be temporary and not added/subtracted from total, only computed - Cleanup of reference related code - Kill getLast() and reverse iterator obsevers, LinkedList iterator can't be used as a standard reverse_iterator (ie with operator++). They weren't used anyways
2016-08-19Core/Packets: Port packet handling rework from 6.x branch (#17777)jackpoz
* Core/Packets: Port packet handling rework from 6.x branch Port packet handling reword from 6.x branch. Old handlers are still used at the moment, these changes allow to port old handlers to new packet-specifc ones.
2016-08-17Core/MMAPs: Update recastjackpoz
Update recast to https://github.com/recastnavigation/recastnavigation/commit/64385e9ed0822427bca5814d03a3f4c4d7a6db9f
2016-08-12Core/Dynamic: Reduce differences between 3.3.5 and 6.x branchesjackpoz
Code functionality shouldn't have been modified.
2016-05-11Core/Maps - Improvements to Cinematic functionr00ty-tc
- Moves to own class for reading, storage and player subclass - Proper destruction handling for player (ensure cinematic is ended) - Timeout for cinematic if it reaches past the end without completing - boost::filesystem::path used for path/filename transform - Correct for assert trigger under certain circumstances - Other changes previously suggested
2016-04-14[Core/Maps] Activate creatures and objects during opening cinematics and ↵r00ty-tc
other flyby cameras (sunwell etc). Requires re-running map extractor to extract camera m2 files from data files. These are very small. Closes #4755 Closes #16772
2016-04-09Build fixShauren