Azazel
e49b5b44d6
Core/Cleanup: remove C-style cast to (Bag*):
...
* add ToBag() methods for Item class;
* add GetBagByPos() method for Player class.
2011-03-18 15:58:08 +06:00
Azazel
a959618f31
Core/DB: increase size of phaseMask field in corpse table to allow values larger than 255
2011-03-17 12:33:20 +06:00
Azazel
ca76e17bd6
Core/Cleanup: refactor honor and arena rating modifying methods:
...
* simplify wierd logic;
* add const modifiers to several getter methods.
(Idea based on commit [11187] by zergtmn for Mangos)
2011-03-17 11:00:41 +06:00
Azazel
926106c095
Core/SQL: fix error in world_database.sql
2011-03-17 09:38:58 +06:00
Azazel
bcaa3e07c8
Core/Cleanup: reformated and refactored code in Battleground.cpp/h:
...
* added proper formatting;
* moved identical code into separate method (have I already said that I hate copy/paste?);
* fixed several leaks;
* added more informative error messages.
More to come...
2011-03-14 19:21:34 +06:00
Azazel
1eed7c53a9
Fix a crash introduced in 6ad4044f05 (I should be more attentive)
2011-03-14 10:01:36 +06:00
Azazel
6ad4044f05
Core/Mechanics: refactor XP (and in fact, honor/reputation/kill credit) rewarding routine and get rid of copy/pasted code.
2011-03-13 15:28:45 +06:00
Azazel
7200363835
Core/Loading: refactor inventory loading routine and add more informational error logging to it.
2011-03-12 00:54:37 +06: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
Azazel
154b114615
Core/SQL: change script from bcd7e45e12 commit to make it more simple and safe in case of multiple executions.
2011-02-25 15:03:36 +06:00
Azazel
0c8f1c7b5b
Core/Misc: rename some prepared statements to conform to naming standards (there are no CLEAN statements, there are DEL ones)
2011-02-25 00:46:26 +06:00
Azazel
bcd7e45e12
CharDB Schema/Cleanup: cleanup character_tutorial table:
...
* rename table to account_tutorial, because it holds account specific data;
* rename column account to accountId;
* introduce prepared statements for table.
2011-02-25 00:45:57 +06:00
Azazel
20ab3e4bda
CharDB Schema/Cleanup: cleanup account_data and character_account_data tables:
...
* rename column account to accountId;
* introduce prepared statements for both tables.
2011-02-25 00:44:33 +06:00
Azazel
6a4fd1c780
Core/Spell Mechanics: remove redundant call to AddGlobalCooldown left from previous GCD checks implementation (thanks Machiavelli for spotting)
...
Core/Logs: fix one more log message for Aokromes
2011-02-22 23:20:21 +06:00
Azazel
401ec2180f
Fix typo in script from previous commit
2011-02-22 15:50:07 +06:00
Azazel
4c8130235e
Core/Logs: improve one more debug log entry (for Aokromes)
2011-02-22 01:46:19 +06:00
Azazel
4dc1eaa47c
Core/Misc: improve error log messages by adding more info. Specially for Aokromes.
2011-02-17 19:47:08 +06:00
Azazel
5ddc2338a7
Core/Map scripts: make some error messages more informative and reformat code a little bit
...
Signed-off-by: Shauren <[email protected] >
2011-01-28 11:52:59 +01:00
azazel
40e16bbbdb
Add gender field to SMSG_WHO packet (author: MaS0n)
...
Fix compile error
--HG--
branch : trunk
2010-08-04 22:12:43 +06:00