aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared
AgeCommit message (Collapse)Author
2012-01-14Core/LFG:Subv2112
Fix priority of the player when its added to the lfg group Better implementation of the Dungeon Deserter debuff Rewrite the NeedBeforeGreed loot Fixed players being shown as Unknown Entity when entering the lfg group Some incremental optimizations after original patch Thanks to Retriman and Paecman for base implementation Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-01-14Core/Movement: Implement spline movement subsystem.Machiavelli
Spline movement controls movements of server-side controlled units (monster movement, taxi movement, etc). Proper implementation of effects such as charge, jump, cyclic movement will rely on it. However, need improve our states system before. Technical changes: * Added linear, catmullrom and bezier3 splines which based on client's algorthims. They can be reused for proper transport position interpolation. * Precission increased. There are no more position desync issues since client's position calculation formulas used. * Now possible to move by paths with multiple points, send whole path to client. -- Original author of research and implementation: SilverIce. Massive kudos. Original port for Trinity (ref #4629) Chaplain and Venugh With the following incremental fixes during my review: - Restore flightmaster end grid pre-loading - Fix uninitialized Creature::m_path_id - Add missing trinity_string entries for .movegens command - Fix a bug in WaypointMovementGenerator that would trigger unexpected pausing at waypoints for various amounts of time Known issues: - Errors like WaypointMovementGenerator::LoadPath creature XXX (Entry: YYYYY GUID: ZZZZZZ) doesn't have waypoint path id: 0. This is caused by bad DB data. This commit didn't "break" it. Do not forget to re-run CMake before compiling.
2012-01-06Core/Events: Fixed crash when loading character_queststatus_seasonalShauren
2012-01-04Core/Quests: Add implementation of seasonal quest reset. uses a new table ↵kandera
much like character_queststatus_weekly. fixed typo where WEEKLY was WEKLY. Attempt 2
2012-01-03Merge pull request #4582 from Chaplain/cleanup4Machiavelli
Core/Utilities: Implement random generator for float values. NOTE: Actually just casts the outcome of int randgen to float
2012-01-02Core/DBLayer: Couple fixesleak
2012-01-02[Core/Utilities] Implement random generator for float values.Chaplain
*for mt and sfmt *some codestyle
2011-12-31Merge pull request #4567 from Kiperr/masterleak
Happy new year!
2012-01-01Core/DBLayer: Refactor prepared statement defines to new format (char db)leak
2012-01-01Update headers for 2012. HAPPY NEW YEAR!!!kiper
2011-12-31Core/DBLayer: Refactor prepared statement defines Note:leak
The new format for the middle section is a 3-letter upper case abbreviation of the sql command being executed (select -> SEL, update -> UPD, etc.) {DB}_{SEL/INS/UPD/DEL/REP}_{Summary of data changed}
2011-12-31Core/DBLayer: Convert another Execute() query to a prepared statementleak
2011-12-31Core/DBLayer: Convert PExecute() queries to prepared statements No. 4leak
2011-12-31Core/DBLayer: Use column names in prepared statements to prevent avoidable ↵Machiavelli
prepare errors
2011-12-31Core/DBLayer: Convert PExecute() queries to prepared statements No. 3leak
2011-12-27Core/World: Convert Execute to PreparedStatement from Battleground random.Venugh
2011-12-27Convert a Execute to a PreparedStatement.Venugh
2011-12-27Core/DBLayer: Convert PExecute() queries to prepared statements No. 2leak
2011-12-25Core/DBLayer: Convert PExecute() queries to prepared statements No. 1leak
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.