Commit Graph

615 Commits

Author SHA1 Message Date
Shauren
5b725db033 Core/Garrisons: Basics for garrisons 2015-05-08 00:03:15 +02:00
Shauren
edbd44a675 Core/Creatures: Extended npcflags to uint64 2015-05-04 12:39:36 +02:00
Vincent-Michael
6680c430f9 SQL: Update characters_database 2015-05-02 19:52:01 +02:00
Vincent-Michael
a0fee439de SQL: Update auth_database 2015-05-02 16:07:07 +02:00
Shauren
ca83e14f8b Core/Entities: Reworked guid scopes
* Added ObjectGuid traits to easily access whether guid type can be generated globally (ObjectMgr) or not
* This adds separate (per map) guid sequences depending on object type
* Ported map object container from cmangos/mangos-wotlk@a2d396eb0b
* Added type container visitor for TypeUnorderedMapContainer
* Implemented helper function to erase unique pairs from multimap containers
* Moved object storage of all objects except players and transports to map level
* Added containers linking database spawn id with creature/gameobject in world
* Renamed DBTableGuid to spawnId
* Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables
* Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update
2015-04-28 21:19:46 +02:00
Carbenium
aa67bc43c4 Core/Misc: Update base sql files after bba6eb8d3d
* Move some std::list to std::vector
2015-04-21 12:20:03 +02:00
Shauren
ff101cd100 Core/Battle.net: Query optimizations part2 - made all queries asynchronous 2015-04-11 18:58:13 +02:00
Vincent-Michael
22e230ecec Core/Misc:
- Drop locales_npc_text
- Update npc_text for WoD
- Implemented Quest Greeting
- Sync auth database
2015-04-11 03:26:36 +02:00
Vincent-Michael
e6a07bd8ff SQL: Update auth_database 2015-04-06 23:20:15 +02:00
Carbenium
2d3f99c521 Update to 6.1.2 19831 2015-04-04 00:57:16 +02:00
Carbenium
1262072949 Core/Misc: Update base stuff for V6.1.2 build 19802 2015-03-26 17:18:43 +01:00
Nayd
5be0cf7120 TDB 6.0.1 - 2015/03/21
Closes #13816
Closes #13792

Ref #14139
2015-03-21 17:09:25 +00:00
Naios
352012e531 Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

Signed-off-by: Naios <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-21 14:09:38 +00:00
Carbenium
37a14bc2d5 Core/Support: Update the support/ticket system to 6.x
Core/Mail: fix a logic error introduced in 829e11b662
2015-03-10 21:09:21 +01:00
Vincent-Michael
369b08b68d Core/Misc: Update base stuff for V6.1.0 build 19702 2015-03-01 02:24:59 +01:00
Shauren
e81eb1192a Core/Database: Removed locales_item from world database (use item_sparse_locale in hotfixes database) 2015-02-22 17:18:19 +01: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
Duarte Duarte
cbfe638fa5 DB/Auth: Remove auto_increment value from auth_database.sql 2015-02-11 22:54:06 +00:00
jackpoz
919ab9157e SQL: Make sure the correct world db is select when executing SQL update scripts
Make sure script 2014_12_25_00_hotfixes_locale_broadcast_text.sql affects the correct world database version "TDB 6.00". This fixes an issue where the script would drop table "locales_broadcast_text" from a world database of another version (335, 434).
Issue added in df444890da
2015-02-05 21:44:57 +01:00
Nayd
0f0fcf198e DB/Schema: Update characters database
- Change multiple table's chartset from latin1 to utf8
- Add primary keys to tables that didn't have one
- Replaced one unique constraint by primary key
2015-01-27 22:43:45 +00: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
e5b9d815ba Core/Achievements: Enabled saving progress and converted old saved data 2014-12-31 18:00:35 +01:00
Vincent-Michael
cd8e48a62f SQL: Sync auth base 2014-12-28 23:11:25 +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
mthsena
c8e555f658 Core/RBAC: Add two side trade to RBAC
(cherry-picked from commit 3ee2f0d2bf)
2014-12-27 18:10:47 +00:00
Shauren
9eb70940bd Core/DataStores: Moved broadcast_text handling to DB2Storage 2014-12-25 22:20:16 +01:00
Shauren
941904d5ea Core/Items: Updated item stat calculations
* Implemented item modifiers
* Implemented item bonuses
2014-12-23 00:25:43 +01:00
Vincent-Michael
5177d776d2 DB/BattleNet: Update wow build to 19342 2014-12-20 11:32:26 +01:00
Shauren
9f0051c4e5 Core/Spells: Implemented using dbc spellpower/ap coeffiecients for spells 2014-12-19 23:52:29 +01:00
Nyeriah
99c4c4cee5 Core/RBAC: Allow setting different default security level roles to different realms
(cherry picked from commit c79af3f16f)
2014-12-10 22:50:28 -02:00
Vincent-Michael
5007efd7a2 DB/BattleNet: Update wow build to 19243 2014-12-05 22:52:38 +01:00
Nayd
ed3970690c DB/Schema/Auth: Also change battlenet_accounts.os to varchar(4)
Ref 59bb9c20f3
2014-11-25 16:44:50 +00:00
Nayd
59bb9c20f3 DB/Schema/Auth: Change account.os to varchar(4)
Windows and Mac 64 bit clients send "Wn64" and "Mc64", respectively, and that does not fit in a varchar(3)
2014-11-23 23:53:22 +00: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
Heihachi
87fb23d8ab Scripts/Commands: mod xp command
Closes #13476

(cherry picked from commit 3e03e546d3)

Conflicts:
	sql/base/auth_database.sql
	src/server/scripts/Commands/cs_modify.cpp
2014-11-11 00:58:13 +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
DDuarte
ad2cc63569 SQL: Update auth_database.sql
It was missing an update to realmlist.gamebuild
2014-11-10 02:34:33 +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
Kinzcool
0ea4069b98 SQL: Updated the base build with changes in 2d74ee9141 2014-11-09 13:23:48 -05:00
Shauren
476f8b06d9 SQL: Updated battlenet_components to current build 2014-11-04 23:00:19 +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
DDuarte
6b6b6e8f09 SQL: Revert changes to dev/world_database.sql
This file should only be updated in TDB releases.
Fixes Travis 'build'
2014-10-27 23:48:46 +00:00
Shauren
0444c144bf SQL: Changed creature_template.family to be unsigned 2014-10-26 10:40:29 +01:00
Shauren
a231777c50 Misc: Fixed sql import, added new changes to world_database.sql, removed duplicate definition of ObjectGuidGenerator<HIGHGUID_PET> 2014-10-26 10:34:33 +01:00
Shauren
9e1930959d Core/Entities: Changed object lowguid to uint64 2014-10-26 02:57:28 +02:00
marc0303
6675935e79 Fixed SQL typo in characters_database.sql 2014-10-25 10:00:36 -04:00