aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared
AgeCommit message (Collapse)Author
2011-12-25Core/DBLayer: Convert Execute() queries to prepared statementsleak
2011-12-25Core/DBLayer: Convert callback queries to prepared statements No. 3leak
2011-12-21Fix compile error from 2d93bd07baabce1ebd9445c94e44b255a01bf490kandera
2011-12-21Core/DBLayer: More generic implementation of callback chains, instead of ↵Machiavelli
using this functionality local to CharacterCreatInfo class. Will be used in other places as well.
2011-12-21Core/DBLayer: Fix a silly error in HandleStableSwapPet (synchronous query in ↵Machiavelli
async context). Fixes possible loss of pets when swapping.
2011-12-20Core/DBLayer: Convert callback queries to prepared statements #2leak
2011-12-19Core/Netcode: Fix a possible infinite loop after 829be0b82 (which was ↵Machiavelli
accidentally merged in this morning)
2011-12-19Update src/server/shared/Database/MySQLConnection.hMachiavelli
2011-12-19Fix SQL file name after pull request, and fix compile on linux.Machiavelli
2011-12-19Core/DBLayer: Documentation updateMachiavelli
2011-12-19Core/DBLayer: Fix crash caused in 7052fbfMachiavelli
2011-12-18Core/DBLayer: Convert callback queries to prepared statementsleak
2011-12-13Core/DBLayer: Terminate process if table/database structure is not ↵Machiavelli
compatible with the core. This will significantly reduce the amount of PEBCAK help and support threads on our forums. Also added a 10 second window to WPFatal for users who never heard of command line before to read the error prior to process termination.
2011-11-25Core/DB: Fix a typo in commit 72675d55d821e0648c53d53d78a1 Nay
Closes #4068
2011-11-25Core/DBLayer: Use prepared statements in Player::SaveToDB. Also split the ↵Machiavelli
function up between an INSERT part (new character creation) and UPDATE part (existing character).
2011-11-23Core: Fixed more warnings (C6246: Local declaration of 'x' hides declaration ↵Shauren
of the same name in outer scope.)
2011-11-10Fix compile in linux.megamage
2011-11-10Fix the crash when removing object from an unloaded grid. Object should ↵megamage
always be unlinked from grid no matter if the grid is loaded.
2011-10-31Use TRINITY_GUARD to replace ACE_GUARD. ASSERT(false) if failed to acquire ↵megamage
the lock.
2011-10-18Minor changes here and there:Spp
- Cosmetic changes - 'Engrish fix' - Initialization of some vars - Remove some not needed includes
2011-09-30Core/DB: Fixed a crash on shutdown under msvc compilerShauren
2011-09-29Cosmetic: Multiple cosmetic changesSpp
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '(' - Added missing space after a comma and remove space before comma (with some exceptions) - Remove trailing spaces - Convert tab to spaces Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"Spp
2011-09-28Configuration/ConfigMgr: converted from singleton to namespace with free ↵Spp
functions.
2011-09-26Core/Logging: Add new function to include full stacktrace.Spp
Note: It only has use for devs but makes it easier to get the error with a full trace
2011-09-15Core/Misc: Fix gcc buildShocker
2011-09-15Misc/Util: Add a template function for returning a random element from any ↵Shocker
container
2011-09-15[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with ↵Spp
some exceptions)
2011-09-08Core/Log: Reload log levels and filtersFredi Machado
on 'reload config' command
2011-09-05Core/Quests: Implement quests that require PlayerSlain. Closes #169Nay
2011-08-18Core/DBLayer: Possible crash fix for ProcessQueryCallbacks on GCC builds. ↵Machiavelli
Ref issue #2136 #1422 #1335. There's no need for an explicit ACE_Thread_Mutex in the ACE_Refcounted_Auto_Ptr objects since concurrent read/write access is guarded by ACE_Future's implicit ACE_Recursive_Thread_Mutex. Perhaps the double locking was the reason the reference count's atomic incrementing crashing. Please try to test and confirm.
2011-08-13Core/Commands: .pinfo improvementsleak
- Allow .pinfo <guid> - Add map/zone/subzone/phase to output
2011-08-04Buildsystem/Windows: Add support for reading commithash and commitdate ↵click
directly from the executable binaries. To view this information, check the "Product Version" field in Properties on the respective daemon. + Fix worldserver/authserver .rc file layouts and content (now adheres to MS standards *sighs*) + Change .serv info output to show corename followed by the commit date and hash + Include showing the versionstring on worldserver startup completion (on Aokromes' request) Thanks to Paradox for bugging me enough about it and the initial pull-request.
2011-08-03Core/Refer-a-Friend: Finish base work for Refer-a-Friend.Silinoron
Any testing would be very much appreciated.
2011-08-03Core: Fix compile without PCH and fix some warningsSpp
2011-08-01Core: Some more missing changes from previous commit (Pass by const ↵Spp-
reference for simple objects replaced with pass by value). Also fix unintended change
2011-08-01Core: Pass by const reference for simple objects replaced with pass by valueSpp-
2011-08-01Core: Fix annoying compile warning and some other minor changes here and thereSpp-
2011-07-29Core: Append single character to stream as character, not as a stringSpp-
2011-07-29Core/Misc: Make 64-bit abs function 'portable'. Should fix build on MSVC ↵Machiavelli
versions =< 9
2011-07-27Core/DBLayer: Fix Field::GetInt64 parsing for non-prepared statementsMachiavelli
2011-06-30Cosmetic: rename function escape_string to EscapeStringSpp-
2011-06-29Core/Logs: Add outSQLDev log, will be used for core-generated SQL queries/dumpsShocker
2011-06-22Core/DBLayer: Don't lock a connection when doing mysql_real_escape_string as ↵Machiavelli
it doesn't need to interact with the server.
2011-06-22Core/DBLayer: Make database interaction after create character packet ↵Machiavelli
completely asynchronous. This is more performant and fixes a DoS loophole and possible data desynchronisation caused by spamming this packet. Closes #584 Closes #2089
2011-06-18Whitespace cleanups...click
2011-06-11Core: Codestyle cleanupclick
2011-06-08Core/Mailsystem: Optimized returning and deleting old mails, will no longer ↵Shauren
take minutes when starting using old character db
2011-05-24Core/DBLayer: Fix transaction crash.Machiavelli
2011-05-23Fix crash added in 402198Machiavelli