kaelima
ec54bb4895
Core/Misc:
...
Clearing compile errors since UpdateFields were changed:
- Completely remove ammo (Cataclysm change)
- Revert some changes with power/maxpower and only store the 5 needed powers in db (the rest is useless)
- Remove GuildId from corpse
- Move PLAYER_GUILDID to character db (removed updatefield)
Note: Compile is still not working as we need to change currency handling
2011-11-25 18:54:59 +01:00
kaelima
9696d6ba7b
Core/Mechanics:
...
- Add basic support for focus used by players (hunters)
- Drop all support for pet happieness (as it has been completely removed)
- Add new fields to characters db to store new power values
(Should now be able to create characters again)
2011-11-25 15:28:36 +01: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
8305b0240b
Core/DB: Fixed a crash on shutdown under msvc compiler
2011-09-30 18:42:26 +02:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- 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-29 12:43:05 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Nay
fd3bd4c49d
Core/Quests: Implement quests that require PlayerSlain. Closes #169
2011-09-05 15:20:02 +01:00
Machiavelli
fdbfa5156c
Core/DBLayer: Possible crash fix for ProcessQueryCallbacks on GCC builds. 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-18 12:43:42 +02:00
Silinoron
76fe596160
Core/Refer-a-Friend: Finish base work for Refer-a-Friend.
...
Any testing would be very much appreciated.
2011-08-03 09:28:12 -07:00
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +02:00
Machiavelli
2eb69330b4
Core/DBLayer: Fix Field::GetInt64 parsing for non-prepared statements
2011-07-27 17:45:49 +02:00
Spp-
e9aa72cc7b
Cosmetic: rename function escape_string to EscapeString
2011-06-30 14:52:44 +02:00
Machiavelli
0df059d5a2
Core/DBLayer: Don't lock a connection when doing mysql_real_escape_string as it doesn't need to interact with the server.
2011-06-22 15:04:13 +02:00
Machiavelli
fe8cb75bf1
Core/DBLayer: Make database interaction after create character packet 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-22 14:22:08 +02:00
click
f778c5e739
Whitespace cleanups...
2011-06-18 19:51:28 +02:00
Shauren
e1483329e0
Core/Mailsystem: Optimized returning and deleting old mails, will no longer take minutes when starting using old character db
2011-06-08 18:55:21 +02:00
Machiavelli
08ecee3b13
Core/DBLayer: Fix transaction crash.
2011-05-24 18:27:27 +02:00
Machiavelli
7f96d4b01f
Fix crash added in 402198
2011-05-23 19:14:39 +02:00
Machiavelli
402198c5ff
Core/DBLayer: Proper core-side handling of MySQL errno 1213 to prevent a snowballeffect (until innodb_lock_wait_timeout)
2011-05-23 16:33:33 +02:00
click
b6cf587de9
Core: Remove some warnings here and there
2011-05-13 18:07:12 +02:00
Shauren
352de4b688
Core/Guilds: Use blocking queries at guild loading to ensure invalid data is removed before processing, removed prepared statements in loading guilds
2011-05-07 21:03:05 +02:00
Shauren
7905200eba
Core: Warning fixes
2011-05-07 19:08:50 +02:00
MrSmite
a92038feaf
Core/AuctionHouse: Delete expired auctions at startup.
2011-05-03 08:32:57 -04:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
6d1924cee8
Removing SQLStorage class leftovers
2011-04-28 23:03:02 +02:00
leak
c51c817a45
Core/ObjectMgr: Refactor sCreatureStorage
2011-04-28 22:57:08 +02:00
leak
e2e9431ca3
Core/ObjectMgr: Refactor sGOStorage
2011-04-28 22:54:30 +02:00
leak
3ab83417f5
Core/ObjectMgr: Refactor sCreatureInfoAddonStorage
2011-04-28 22:50:06 +02:00
leak
c8413a7f27
Core/ObjectMgr: Refactor sCreatureDataAddonStorage
2011-04-28 22:46:40 +02:00
leak
a82654debd
Core/ObjectMgr: Refactor sItemStorage
2011-04-28 22:42:33 +02:00
leak
03365e9a57
Core/ObjectMgr: Refactor sEquipmentStorage
2011-04-28 22:34:40 +02:00
leak
5aeb4fe794
Core/ObjectMgr: Refactor sInstanceTemplate
2011-04-28 22:16:13 +02:00
leak
19cab2c508
Core/ObjectMgr: Refactor sPageTextStore
2011-04-28 22:13:09 +02:00
leak
85a1e9e7ab
Core/ObjectMgr: Refactor sCreatureModelStorage
2011-04-28 22:11:45 +02:00
Shauren
8d1cb7fb34
Core/DBSchema: Corrected query retrieving character count on account
2011-04-26 11:57:34 +02:00
Shauren
b7353f38b0
Core/World: Fixed realm character count queries getting lost
2011-04-25 13:31:02 +02:00
Azazel
c36846d78a
Core/GM System: rename columns of gm_surveys, gm_subsurveys, gm_tickets and lag_reports tables to lowerCamel, move queries to prepared statements and refactor the code of TicketMgr.
2011-04-19 14:04:18 +06:00
Azazel
3993b73925
Core/CharDB cleanup: change creature_respawn and gameobject_respawn column names to lowerCamel, rename instance column to instanceId and move all queries to these tables to prepared statements.
...
Fix import error in character_database.sql.
2011-04-13 17:02:06 +06:00
Azazel
5357b1ba77
Core/CharDB Cleanup: alter corpse table making column names lowerCamel and move all queries to prepared statements.
...
NOTICE: column can be named `guid` only if it represents character guid. All other guids will be renamed to reflect their purpose (like corpseGuid in this specific case)
2011-04-11 14:39:00 +06:00
leak
7935c2f5c2
Core/Arena: Move personalRating to arena_team_member
2011-04-08 21:14:30 +02:00
Azazel
9f1cc4407a
Core/CharDB Cleanup: alter character_homebind table making column names lowerCamel and move all queries to prepared statements.
2011-04-08 17:04:51 +06:00
Azazel
37a6fe2ae7
Core/CharDB Cleanup: alter character_battleground_data table making column names lowerCamel and move all queries to prepared statements.
2011-04-08 11:28:10 +06:00
Azazel
4db04b63dd
Core/DBLayer: make use of return result of Connection::Open method and allow core to output all the errors in prepared statements instead of aborting on first error.
2011-04-07 15:30:38 +06:00
leak
ae3ab32ea5
Core/Arenas: Refactor arena code and db layout
2011-04-05 21:54:28 +02:00
Shauren
2364c22ee4
Core/Storage: Readded missing record size calculations for SQL storage
2011-03-18 18:07:03 +01:00
Shauren
d3425921f8
Core/Storage: A few more improvements to code style, corrected some engrish and fixed compile
2011-03-18 17:01:37 +01:00
runningnak3d
171268a565
Core/Storage: Add some sanity checks and better define some SQL and DBC
...
storage format field types.
* Also LOTS of whitespace cleanup
* Some Trinity code style applied
* Some if / else if -> switch / case
* Original ideal for patch by Vinolentus
2011-03-18 09:36:59 -06:00
leak
90a3fee232
Core/GameEventMgr: Reduce memory waste caused by gaps in game_event entry IDs
2011-03-18 00:11:12 +01:00
Azazel
3973d1b454
CharDB Schema/Cleanup: cleanup channels table:
...
* rename columns (remove m_ prefix and convert to lowerCamel case);
* rename prepared statements to conform to standards (there is no CLEAN statement).
2011-03-11 17:18:17 +06:00
Shauren
9710c41a40
More warning fixes
2011-03-08 19:11:02 +01:00