aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared
AgeCommit message (Collapse)Author
2014-08-21Core/WorldSession: Added research notes about CMSG_AUTH_SESSION values and ↵Shauren
reordered checks during login to always initialize encryption first to make sure the client can read failure packet
2014-08-16Core/DBLayer: Fixed an incredibly rare memory leak happening when player ↵Shauren
started loading from database and never finished
2014-08-15Core/Socket: Added helpers to retrieve the size of currently ready dataShauren
2014-08-14Core/Creature: update creature_template and some other small thingsjoschiwald
http://www.trinitycore.org/f/topic/9572-creature-damage/
2014-08-12Core/Threading: Fixed possible race condition with m_timeOutTime and fixed ↵Shauren
Thread #1: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread in PCQ
2014-08-11Core/NetworkIO: Prevent queueing more async operations when socket is ↵Shauren
already closed
2014-08-11Core/NetworkIO: Restore networking related scripting hooksleak
Closes #12607
2014-08-11Kill potentially uninitialized variable warningleak
2014-08-10Resolve shutdown crash/leak if MySQL server is not runningleak
Fixes #12734
2014-08-10Core: Fix non pch buildVincent-Michael
2014-08-10Core/NetworkIO: Prevent double closing the same socketShauren
2014-08-10Core/Misc: Removed ACE leftoversShauren
2014-08-10Core/NetworkIO: Allow receiving packets bigger than buffer size and properly ↵Shauren
handle situations where not entire packet was read in one go Core/Authserver: Restored authenticator functionality
2014-08-10Core: Fix build for Intel Composer XEVincent-Michael
2014-08-09Core/Server: Use nullptr instead of 0 where pointers are expectedDDuarte
2014-08-09Core/Server: Add missing overridesDDuarte
2014-08-08Core/NetworkIO: Handle exceptions thrown from socket constructor when ↵Shauren
retrieving remote address
2014-08-07Revert "Core: Fix build for vs2014"Vincent-Michael
This reverts commit e3034511890f4c918d758a6b6b239c14f10b75e2.
2014-08-07Core: Fix build for vs2014Vincent-Michael
2014-08-07Core/Socket: Fix typo in constructorDuarte Duarte
Using moved objects is generally a bad idea Thanks @Daejiv Closes #12800
2014-08-07Core: Kill AGAIN whitespace :(Vincent-Michael
2014-08-07Core: Fix non pch buildVincent-Michael
2014-08-06Prevent reading address information from potentially closed socketleak
2014-08-06Core/Misc: Fixed textlike/hexlike methods of ByteBuffer to print properlyShauren
2014-08-05Core: Fix build for shit OSVincent-Michael
Closes #12597
2014-08-02Core/Shared: Fix world and auth crash on shutdown (PCQ & DbWorker)DDuarte
Fixes #12704
2014-07-29Scripts/OutdoorPvP: replaced some chat texts with proper defense messagesjoschiwald
2014-07-29Core/Config: User-friendlyfy configuration parsing errorsDDuarte
It will now print useful error messages that pinpoint the issue with the config file (missing file, bad syntax, etc) In memory of MitchesD that lost 18 hours finding a problem with his config because of a duplicated line.
2014-07-29Update Socket.hShauren
Added missing typename keyword
2014-07-29Core/Socket: Fixed expected template evaluated type for AsyncWrite if ↵Shauren
PacketType is a pointer (Bla* const& is not what we want)
2014-07-28Core/Networking: Attempt to fix some exceptionsDDuarte
Call the non-throwing versions of socket.remote_endpoint in GetRemoteIpAddress and GetRemotePort. Sh*t will still be broken tho
2014-07-27Fixed a rare crash case when authserver socket was forcefully closed during readleak
Closes #12634
2014-07-27Core/Network: Optimized packet sending by removing unneccessary memory copyingShauren
2014-07-27Core/Network: Allow storing any packet types in Socket write queue to reduce ↵Shauren
the amount of copying going on
2014-07-27Fixed gcc buildShauren
2014-07-26Core/Network: Refactored socket code, moved common operations to base Socket ↵Shauren
class
2014-07-26Added comments to 6961f957c9d03bff634f0b75466458564845722e to make sure ↵Shauren
noone decides that storing the result in a variable is unneccessary
2014-07-26Core/DBLayer: Fixed possible crashes with async queries retrieving resultShauren
Closes #12655
2014-07-25Core/PreparedStatements: Fixed a change I missed in the World prepared ↵Subv
statements for waypoints.
2014-07-25Core/Waypoints: Allow the table waypoint_data to use Takeoff and Land waypoints.Subv
2014-07-25Core/Shared: Change rand32 to return uin32 instead of int32DDuarte
Fixes a crash that happened when rand32 returned negative values. Also updated some related comments that were outdated since we changed to SFMT. Closes #12638
2014-07-24Core/Misc: Fixed a possible crash in ProducerConsumerQueue::CancelShauren
2014-07-24Core/Common: Remove the no longer finite(x) macro for MSVCDDuarte
Use std::isinfinite(f) instead.
2014-07-23Core/Misc: Silenced 500 OS X Warnings and removed deprecated finite() method.Jared P. Jones
*Mac OS X fires off over 200 warnings related to gsoap about the deprecated register method. CMake has been patched to remove this warning. *Updated all occurences of finite() to std::isfinite. The method finite() is not standardized by anyone aside from BSD. std::isfinite() however is standarized by C++ *Removed -ncurses and -pthread from OS X compilation. Now that we use Boost and C++11 there is no longer a need for pthread in OS X. All it does is throw a warning. However, ncurses isn't needed either as it's built into the OS X SDK and linked by default. Note: There are only 5 remaining warnings left when compiling on OS X. I did not attempt to fix these as they were related to 3rd party libraries statically linked into the code. The 5 warnings left are all related to unused variables.
2014-07-22Core/Misc: Remove a define that is no longer needed since ACE was removedDDuarte
2014-07-21Core/DatabaseWorkerPool: Delete PCQ in dtor rather than in Close() and ↵leak
cancel queue properly before doing so
2014-07-21Core/PreparedStatements: Fixed a Coverity warningSebastian Valle Herrera
2014-07-21Core: Kill again whitespace :(Vincent-Michael
2014-07-20Fixed gcc build without pchShauren
2014-07-20Core: Fix non pch build (gcc)Vincent-Michael