Shauren
77c848b937
Fixed build broken in 218ed813d0
2012-02-28 23:03:38 +01:00
Machiavelli
218ed813d0
Core/Misc: Add more extensive ByteBuffer exceptions to trace down seemingly random crashes.
2012-02-28 14:51:50 +01:00
Machiavelli
b2e4f8f958
Core/Misc: Add some documentation to TRINITY_WRITE_GUARD and TRINITY_READ_GUARD because ACE's documentation on underlying objects is not clear.
2012-02-26 15:16:22 +01:00
click
e615fba7f8
Revert "Core: Fix the SFMT randgen-initbug" - alignment-fix is now properly handled within the respective code
...
This reverts commit 28310f0938 .
2012-02-25 20:39:28 +01:00
Shauren
6ce46624d2
Core/Calendar: Fixed crash happening when inviting an offline player to an event
2012-02-25 11:14:19 +01:00
Elron103
28310f0938
Core: Fix the SFMT randgen-initbug
...
Signed-off-by: click <click@gonnamakeyou.com >
2012-02-25 02:16:08 +01:00
leak
08268d2430
Core/Warden: Update copyright information / More cleanups
2012-02-20 14:31:26 +01:00
leak
8e3a4b956e
Core/Warden: Base implementation for Warden functionality
...
Note: The default config file action for clients failing the checks can be changed for each check via the characters.warden_action table
Credits to TOM_RUS
2012-02-19 13:51:16 +01:00
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
leak
ca8862a21a
Core/DBLayer: Remove unused struct
2012-02-15 19:00:40 +01:00
Subv
8a72aede16
Codestyle: Renamed some variables to fit codestyle, corrected order in structure/class fields to match alignment (they use slightly less memory now)
...
Signed-off-by: Subv <s.v.h21@hotmail.com >
2012-02-14 12:46:26 -05:00
leak
0fbb86f221
Core/DBLayer: Restore removal and cleanup of respawn times of expired instances
2012-01-30 00:31:06 +01:00
click
e6d5b21778
Core: Fix non-PCH build and remove a few warnings.
2012-01-24 00:24:39 +01:00
Subv2112
f4075f0f94
Core/LFG:
...
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-14 17:37:28 +01:00
Machiavelli
dbbac0bdaa
Core/Movement: Implement spline movement subsystem.
...
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-14 15:36:07 +01:00
Shauren
0c2dd2dc7f
Core/Events: Fixed crash when loading character_queststatus_seasonal
2012-01-06 14:57:01 +01:00
kandera
46fb199ee1
Core/Quests: Add implementation of seasonal quest reset. uses a new table much like character_queststatus_weekly. fixed typo where WEEKLY was WEKLY. Attempt 2
2012-01-04 07:59:32 -05:00
Machiavelli
e35fd87d3f
Merge pull request #4582 from Chaplain/cleanup4
...
Core/Utilities: Implement random generator for float values.
NOTE: Actually just casts the outcome of int randgen to float
2012-01-03 03:52:26 -08:00
leak
73f79c41a1
Core/DBLayer: Couple fixes
2012-01-02 20:29:22 +01:00
Chaplain
29c2dfb1da
[Core/Utilities] Implement random generator for float values.
...
*for mt and sfmt
*some codestyle
2012-01-02 12:38:55 +03:00
leak
ced346076b
Merge pull request #4567 from Kiperr/master
...
Happy new year!
2011-12-31 16:13:28 -08:00
leak
cdbeb42e0f
Core/DBLayer: Refactor prepared statement defines to new format (char db)
2012-01-01 01:09:38 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
leak
73cf793e56
Core/DBLayer: Refactor prepared statement defines Note:
...
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-31 20:14:38 +01:00
leak
ff8874574f
Core/DBLayer: Convert another Execute() query to a prepared statement
2011-12-31 19:51:48 +01:00
leak
b39857a15d
Core/DBLayer: Convert PExecute() queries to prepared statements No. 4
2011-12-31 19:06:24 +01:00
Machiavelli
81914422e9
Core/DBLayer: Use column names in prepared statements to prevent avoidable prepare errors
2011-12-31 15:16:38 +01:00
leak
8adac3f246
Core/DBLayer: Convert PExecute() queries to prepared statements No. 3
2011-12-31 00:32:05 +01:00
Venugh
882ebe2b8e
Core/World: Convert Execute to PreparedStatement from Battleground random.
2011-12-27 01:04:12 +01:00
Venugh
cab508b4c8
Convert a Execute to a PreparedStatement.
2011-12-27 00:56:42 +01:00
leak
e646dbb3cd
Core/DBLayer: Convert PExecute() queries to prepared statements No. 2
2011-12-27 00:29:48 +01:00
leak
ef17c05dec
Core/DBLayer: Convert PExecute() queries to prepared statements No. 1
2011-12-25 18:13:21 +01:00
leak
64a2a29506
Core/DBLayer: Convert Execute() queries to prepared statements
2011-12-25 02:22:10 +01:00
leak
08bd2f1a54
Core/DBLayer: Convert callback queries to prepared statements No. 3
2011-12-25 01:27:44 +01:00
kandera
96f4ba29cd
Fix compile error from 2d93bd07ba
2011-12-21 07:18:47 -05:00
Machiavelli
2d93bd07ba
Core/DBLayer: More generic implementation of callback chains, instead of using this functionality local to CharacterCreatInfo class. Will be used in other places as well.
2011-12-21 10:22:03 +01:00
Machiavelli
17aeeaa9b5
Core/DBLayer: Fix a silly error in HandleStableSwapPet (synchronous query in async context). Fixes possible loss of pets when swapping.
2011-12-21 09:36:05 +01:00
leak
e1afd79b1e
Core/DBLayer: Convert callback queries to prepared statements #2
2011-12-20 09:12:43 +01:00
Machiavelli
8e0be985fd
Core/Netcode: Fix a possible infinite loop after 829be0b82 (which was accidentally merged in this morning)
2011-12-19 21:12:35 +01:00
Machiavelli
a06ba9e255
Update src/server/shared/Database/MySQLConnection.h
2011-12-19 11:25:58 +01:00
Machiavelli
a1683f20dc
Fix SQL file name after pull request, and fix compile on linux.
2011-12-19 11:17:52 +01:00
Machiavelli
392baafed4
Core/DBLayer: Documentation update
2011-12-19 11:11:25 +01:00
Machiavelli
4069e45c5d
Core/DBLayer: Fix crash caused in 7052fbf
2011-12-19 11:05:56 +01:00
leak
7052fbf5cc
Core/DBLayer: Convert callback queries to prepared statements
2011-12-18 20:56:38 +01:00
Machiavelli
589f067101
Core/DBLayer: Terminate process if table/database structure is not 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-12-13 13:59:00 +01:00
Nay
f8ffe0f1e3
Core/DB: Fix a typo in commit 72675d55d8
...
Closes #4068
2011-11-25 15:41:06 +00:00
Machiavelli
72675d55d8
Core/DBLayer: Use prepared statements in Player::SaveToDB. Also split the function up between an INSERT part (new character creation) and UPDATE part (existing character).
2011-11-25 15:14:00 +01:00
Shauren
638693e78f
Core: Fixed more warnings (C6246: Local declaration of 'x' hides declaration of the same name in outer scope.)
2011-11-23 17:55:16 +01:00
megamage
847fc35e6d
Fix compile in linux.
2011-11-10 18:14:07 -05:00
megamage
31a88d4fe5
Fix the crash when removing object from an unloaded grid. Object should always be unlinked from grid no matter if the grid is loaded.
2011-11-10 17:31:45 -05:00