Commit Graph
38 Commits
Author SHA1 Message Date
Krudor 649e3a9ac5 Core/Instances: Add functionality for modifying instance entrance locations
Instances have since MoP (Possibly even Cataclysm) been able to set new locations for players when they zone into the instance.
A theoretic example of this could be after a certain boss has been defeated, a new entrance location is set to bring players entering the instance closer to the relevant content.
A real example would be Siege of Orgrimmar changing entrance locations many times as the raid progresses.

Added SetEntranceLocation for setting entrance locations that will be saved to DB the next time the instance is saved, and SetTemporaryEntranceLocation for when you don't want the value to be saved to the database.

Closes #17167
2016-07-16 14:58:33 +02:00
Shauren f6cac4df5b Core/Items: Item upgrade followup
* Fixed Item::SetModifier to broadcast value updates
* Generate base item upgrade when looting
* Generate base item upgrade when loading from db and db2 data changed
2016-06-21 20:41:30 +02:00
frozen4 ed00534e7c Core/Items: Implemented item upgrades
Closes #17432
2016-06-21 20:33:51 +02:00
Shauren 5776a256b8 Core/Pets: Fixed wrong prepared statement in bc1a81747a
Thanks Lordron for pointing it out
2016-05-26 23:13:31 +02:00
myran2 bc1a81747a Core/Pets: Implemented pet specializations (#17058)
* Use prepared statements in Pet::SavePetToDB
* Add support for resetting all of a player's pet specializations
* Send one big spell unlearn/learn packet instead of lots of small ones
* Implemented Adaptation talent
2016-05-26 17:20:01 +02:00
Shauren 6b30b88910 Core/Bnet: Order account list by id when the bnet account has more than 1 game account attached 2016-05-25 20:55:28 +02:00
Shauren 6a1b8a4da8 Core/Achievements: Add new realm first achievements to list of excluded achievements during character/guild deletion 2016-05-07 14:04:23 +02:00
Shauren 110ae3e626 Core/Spells: Implemented RPPM proc effects
Closes #17001
2016-05-02 18:52:15 +02:00
Shauren 83b1f8be97 Core/DataStores: Clean up manually named tables/columns in hotfixes database to reduce work needed when regenerating HotfixDatabase prepared statements 2016-05-01 21:46:58 +02:00
Vincent-Michael 913d112449 Core/Hotfix: Fixed startup in bc106abb07 2016-04-24 20:39:29 +02:00
Gigi1237 c19172cad9 Core/Blackmarket: Implemented black market 2016-04-11 18:22:09 +02:00
Shauren 4e67383621 Merge branch '3.3.5-instanceextend' into 3.3.5 (PR #16392)
(cherry picked from commit 62aff401f687b56d720a320778950e82b65fbd8b)
2016-04-05 20:35:59 +02:00
Shauren dde620c402 Core: Updated to 6.2.4
* Rewrite bnetserver for new authentication protocol
2016-03-28 17:12:57 +02:00
Shauren 619669c620 Core/PacketIO: Updated remaining packet structures and enums appearing in packets 2016-03-28 15:23:41 +02:00
Shauren 9ad79934d3 Core/PacketIO: Updated packet structures to 6.2.4.21355 2016-03-25 21:33:55 +01:00
Naios 6cfea2d8f7 Core/Database: Converted the database library to a shared library.
* There is still the possibility to static link against database.
2016-03-24 01:28:59 +01:00
DDuarte 67b977c86a Merge branch 'pets' of https://github.com/myran2/TrinityCore into myran2-pets
# Conflicts:
#	src/server/game/Handlers/PetHandler.cpp
#	src/server/game/Handlers/SpellHandler.cpp
#	src/server/game/Server/Packets/PetPackets.cpp
#	src/server/game/Server/Packets/PetPackets.h
#	src/server/game/Server/Protocol/Opcodes.cpp
#	src/server/game/Server/WorldSession.h
2016-03-02 01:38:39 +00:00
Shauren d00ba9587d Core/DataStores: Dropped unused DB2 file 2016-01-10 23:26:45 +01:00
Shauren 2a6f65fddc Core/Players: Split playerBytes fields in characters table 2016-01-05 00:03:18 +01:00
Shauren d9849fb87b Core/DataStores: Implemented checking PlayerCondition for future use 2016-01-03 00:40:18 +01:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren d5fb18d3c3 Core/Spells: Implemented scaling spell value with item level 2015-11-24 00:16:42 +01:00
pete318 39d29edf93 Merge pull request #15707 from ShinDarth/pvpstats
Core/BG fix .character changefaction pvpstats victories amount
(cherry picked from commit 69941864efa9e40a787f53f055c79336378b8d4d)

Conflicts:
	sql/base/characters_database.sql
	src/server/game/Battlegrounds/Battleground.cpp
2015-11-06 23:46:03 +01:00
Shauren 49543a5174 Core/Accounts: Unified game account ban checks with 3.3.5 branch 2015-11-05 21:24:42 +01:00
Shauren c463c84325 Core/Auth: Added missing lock country check to AuthSession handler 2015-11-02 20:23:39 +01:00
MitchesD 9fe29de260 Core/Player: implemented Heirloom Collection
* implemented all things related to that collection
* you can create heirloom by click on item in collection
* also you can upgrade heirlooms by using specific kits
* old heirlooms are converted to new ones
2015-10-16 23:09:42 +02:00
Shauren aaaa1c3441 Core/World: Store account id in CharacterInfo to reduce the amount of database queries 2015-10-05 15:06:27 +02:00
Shauren fd17ea1643 Core/Players: Removed db queries from friend packet builders 2015-10-02 20:00:49 +02:00
Shauren cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
Shauren 1efb3f08e2 Core/Spells: Improved spell category cooldown handling
* Category cooldown is stored with the spell that started the cooldown (and only resetting cooldown on that spell will clear cooldowns on entire category - this fully mirrors client behavior)
* This significantly reduces the amount of data saved to database for cooldowns
* Spell casts from items that have a different category specified than on spell will now check for cooldown during the cast

Closes #15349
2015-09-10 19:39:30 +02:00
horn e8b1faa156 Core/BattlePets: Basics for Battle Pets 2015-09-09 14:52:32 +02:00
Shauren 8a8ab0b4b6 Core/DataStores: Updated DBC and DB2 structures to 6.2.2.20444 2015-09-07 18:03:33 +02:00
Shauren b564c10b13 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
pete318 b099e4e43a Only read and delete from corpse table for current map instance. Not for
all. Prevents assert stop upon entering an instance on second character
after first one is a corpse in the same dungeon on different instance ID.
2015-08-27 01:07:14 +01:00
Shauren 7c75160f59 Core/DBLayer: Added compile time validation for prepared statement indexes passed to DatabaseWorkerPool::GetPreparedStatement turning mistakes like the one fixed in 0327927fa6 into compiler errors. 2015-08-27 00:54:49 +02:00
MitchesD 614b5832ba Core/Player: implemented Toybox
* now you can use all the things in toybox - add new toys, set them as favorite and use them
2015-08-26 11:15:00 +02:00
Shauren b8e776a6c6 Core/DBLayer: Reordered table joins to work around a mysql bug
Closes #15259
2015-08-24 17:33:10 +02:00
StormBytePP 1d2aafd39b Core/Build: Merge common library and move database out of shared 2015-08-21 17:52:42 +02:00