Commit Graph

637 Commits

Author SHA1 Message Date
Shauren
9fa57479ca DB: Dropped unused tables 2015-02-22 12:44:44 +01:00
Shauren
5c4fd7ac4f Core/DataStores: Added tables for all loaded DB2 stores 2015-02-22 10:29:12 +01:00
jackpoz
e36fb12359 Shared/Database: Improve dead-lock error handling
Improve dead-lock error handling by making sure only 1 thread at time retries to execute a transaction so they don't keep dead-locking each other.

(cherry picked from commit 62001360dd)
2015-02-22 06:21:13 +00:00
Shauren
56186319bd Core/Spells: Cooldown updates
* Refactored cooldown handling to separate class shared by creatures and players
* Updated and enabled cooldown packets
* Implemented creature school lockouts
* Implemented spell charges
* Fixed AuraUpdate structure
* Fixed aura flag AFLAG_NOCASTER handling
* Implemented spell charge related auras
2015-02-17 01:01:44 +01:00
Mogadischu
bc0c0ae2a3 Core/Guild: Updated and enabled most previously implemented guild and petition related packets
Merged from https://github.com/Mogadischu/TrinityCore/commits/guild

Signed-off-by: Duarte Duarte <dnpd.dd@gmail.com>
2015-02-13 18:32:36 +00:00
joschiwald
bbce7d0342 Core/Items: fixed AuctionHouse and GuildBank items from DB 2015-02-08 20:02:04 +01:00
joschiwald
e01bb91887 Core/Packets: updated some contactlist packets 2015-02-08 02:51:49 +01:00
Carbenium
829e11b662 Core/Packets: Implement all mail system relevant packets
Thanks @joschiwald, @DDuarte and @Warpten
2015-02-07 12:43:25 +01:00
Nayd
19a09c2763 Fix build
(cherry picked from commit c66bd709f1)
2015-02-04 19:44:56 +00:00
jackpoz
7c3a2e163a Shared/Database: Fix transactions not being recommitted on dead-lock error
Fix transactions not being recommitted on dead-lock error (error code 1213) because of calling http://dev.mysql.com/doc/refman/5.0/en/mysql-errno.html after sending the ROLLBACK command. This way the returned error code was related to the ROLLBACK command, not the failed transaction.

(cherry picked from commit d4db0c15c7)
2015-02-04 19:20:39 +00:00
Shauren
e07054ff2d Build fix 2015-01-17 18:31:09 +01:00
Shauren
8a30b70a20 Core/DataStores: Optimized memory usage for DB2Storage 2015-01-17 17:59:13 +01:00
Shauren
469b836114 Core/Auras: Fixed saving all aura effect values to database 2015-01-16 23:32:41 +01:00
Shauren
faa583c784 Core/Maps: Updated map difficulties 2015-01-10 01:35:47 +01:00
joschiwald
3e9d7e83eb Merge pull request #13809 from AriDEV/6.x
Server/PacketIO: Currency Updates
2015-01-02 03:46:32 +01:00
AriDEV
895e50be7a Server/PacketIO: Currency Updates
* Update SMSG_SET_CURRENCY & SMSG_SETUP_CURRENCY Packets.
* Update of Database Structure and SQLStatements for Currencies.

Signed-off-by: AriDEV <aridev666@gmail.com>
2015-01-02 03:05:58 +01:00
Shauren
ccc293931d Core/PacketIO: Removed SMSG_DESTROY_OBJECT from opcodes enum 2015-01-01 20:38:19 +01:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Intel
a782515246 Core/Quests: Updated Quest System to new Format
All quest requirements are now in quest_objectives table
quest_template table contains _ONLY_ WDB data and must not be modified
Currently supported objectives are MONSTER, GAMEOBJECT, ITEM, TALKTO, CURRENCY, REPUTATION, MONEY, PLAYERKILLS, AREATRIGGER
2014-12-28 22:55:53 +02:00
Shauren
9eb70940bd Core/DataStores: Moved broadcast_text handling to DB2Storage 2014-12-25 22:20:16 +01:00
Shauren
ae8814772f Core/DataStores: Implemented loading hotfixes database into DB2Storage 2014-12-24 22:24:32 +01:00
Shauren
33a492e822 Core/DBLayer: Removed a few old authserver prepared statements 2014-12-24 15:16:51 +01:00
Shauren
941904d5ea Core/Items: Updated item stat calculations
* Implemented item modifiers
* Implemented item bonuses
2014-12-23 00:25:43 +01:00
joschiwald
231207970b Core/Packets: updated SMSG_FEATURE_SYSTEM_STATUS, SMSG_INITIAL_SPELLS and SMSG_SPELL_CATEGORY_COOLDOWN 2014-11-14 02:00:34 +01:00
Intel
da52c8d54e Core/Talents:
Fixed SMSG_TALENTS_INFO packet
Fixed talents saving to DB
Renamed 'talent spec' to 'talent group' since this name was shadowing character specializations (and new name is correct according to JAM)
Enabled loading of MinorTalent.dbc (will be used later)
Added additional specialization check in LearnTalent
2014-11-12 21:43:48 +02:00
joschiwald
620f23d9dc Core/World: hold deleted characters in character store 2014-11-12 19:16:14 +01:00
joschiwald
f4926e0a8c Core/Packets: updated char rename customize and factionchange packets 2014-11-12 16:36:05 +01:00
devil1234
b978f0286c Core/Databases: Add hotfix database to world config and prepared statement for it.
Closes #13533
2014-11-11 13:14:36 +00:00
DDuarte
9c55d9fdeb Core/Commands: implement .pvpstats command
Shows number of battleground victories in the last 7 days

Closes #13460

Conflicts:
	sql/base/auth_database.sql
	sql/updates/auth/2014_11_10_00_auth.sql
	src/server/game/Accounts/RBAC.h

(cherry picked from commit fd0b961781)
2014-11-10 23:10:02 +00:00
Shauren
0c27ffaa49 Core/Commands: Battle.net account command changes
* All commands renamed from "battlenetaccount" to "bnetaccount"
* bnetaccount create now also creates and links initial game account
* Added new commands bnetaccount link/unlink to manage relations between existing accounts
2014-11-10 01:19:24 +01:00
Shauren
f59a701e29 Core/PacketIO: Updated and enabled logout opcodes 2014-11-09 21:36:06 +01:00
Shauren
543bea32e1 Core/DBLayer: Fixed a few mismatched types and possible invalid memory access with aggregate fields in queries 2014-11-09 16:57:56 +01:00
joschiwald
db7c07246a Core/NetworkIO: updated CMSG_REORDER_CHARACTERS packet and other opcode values 2014-11-06 02:59:59 +01:00
joschiwald
52bd9a771e Core/NetworkIO: implemented undelete opcodes and moved char create/delete packets to new packet classes 2014-11-03 19:11:14 +01:00
jackpoz
54adc80d64 Merge pull request #13455 Rochet2/ah
AH related fixes

(cherry picked from commit d924553002)
2014-10-26 19:17:46 +01:00
Kinzcool
4613db1b95 DB/Graveyards: Added a comment field to describe the graveyards in graveyard_zone 2014-10-25 21:17:18 -04:00
Shauren
9e1930959d Core/Entities: Changed object lowguid to uint64 2014-10-26 02:57:28 +02:00
Shauren
a363c88f03 Core/Guilds: Fifth part of converting int to bigint guids in database 2014-10-25 15:04:38 +02:00
Shauren
9fc0b76cd1 Core/Entities: Fourth part of converting int to bigint guids in database 2014-10-24 19:56:17 +02:00
Shauren
76f1f85d8b Core/Entities: Second part of required database changes for migrating guids to 128 bit - all fields storing lowguid must be extended to uint64 2014-10-23 21:34:03 +02:00
Shauren
ff781978a5 Fixed gcc linking 2014-10-23 15:00:31 +02:00
Shauren
1bea52fd46 Core/DBLayer: Added support for BINARY field type 2014-10-21 14:57:20 +02:00
DDuarte
02842a20b6 Core/Shared: Fix typo in LoginDatabase enum 2014-10-19 03:50:53 +01:00
DDuarte
5bf55eacfd Merge remote-tracking branch 'origin/3.3.5' into 4.3.4
Conflicts:
	sql/base/auth_database.sql
	src/server/game/Instances/InstanceScript.h
	src/server/scripts/Northrend/isle_of_conquest.cpp
	src/server/shared/Database/Implementation/LoginDatabase.cpp
	src/server/shared/Database/Implementation/LoginDatabase.h
2014-10-19 00:18:06 +01:00
Heihachi
15a9c6729e Scripts/Commands: Implement mutehistory command for GM's with requested improvements
Closes #13350
2014-10-18 23:34:18 +01:00
ShinDarth
e806fc8a02 Core/Quest: implement Quest Tracker 2014-10-18 18:37:39 +02:00
Vincent-Michael
689b7f6d56 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2014-10-05 03:44:35 +02:00
Vincent-Michael
f989c7182c Core/Misc: Added support for calculate zoneId/areaId for creature / gameoject table at loading (Slow server startup ca.3-4 sec.) 2014-10-05 01:57:37 +02:00
Shauren
8427e879f1 Core/Authserver
* Reorganized packet classes, moved each channel to separate namespace and file
* Added all opcode names for channels: auth, connection and wowrealm
* Documented more fields in LogonResponse
2014-10-04 15:45:33 +02:00
Vincent-Michael
faa4fc1b31 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2014-09-30 22:33:30 +02:00