Commit Graph

1776 Commits

Author SHA1 Message Date
MitchesD 63f253e95c Merge pull request #15697 from ShinDarth/cd
Core/Player rewritten duel CD reset system
(cherry picked from commit 4204805d47)

Conflicts:
	src/server/game/Spells/SpellHistory.cpp
	src/server/game/Spells/SpellHistory.h
	src/server/game/World/World.h
2015-11-07 00:35:24 +01:00
Shauren 8ceffaef44 Merge pull request #15646 from ShinDarth/ticket
Core/Player: implement ResetCoolDownAfterDuel configurable feature
(cherry picked from commit 5b8f1469ca)

Conflicts:
	src/server/game/Spells/SpellHistory.cpp
	src/server/game/Spells/SpellHistory.h
	src/server/game/World/World.h
2015-11-07 00:15:00 +01:00
Shauren 710d9c0ecc Core/Players: Fixed saving players with incorrect gender
(cherry picked from commit 6c53f820ae)
2015-11-06 12:55:18 +01:00
MitchesD dd58e56f84 Core/Player: Fix not being able to do seasonal quests(if already done in the past)
(cherry picked from commit 1ef1d42d14)
(cherry picked from commit 56b27711a4)
2015-11-06 12:35:21 +01:00
joschiwald 92b08fc74b Scripts/VioletHold: rewrote the whole instance
thanks @MitchesD for help

(cherry picked from commit df21162fe4)
(cherry picked from commit 3a4f54197c)
(cherry picked from commit f50df72820)
(cherry picked from commit 95bae7143f)
(cherry picked from commit 5406f82044)
2015-11-01 13:09:30 +01:00
Shauren bd16520ecc Core/Corpses: Fixed leaking bones
Ref #15765
2015-10-28 21:43:44 +01:00
Shauren b09e63e9de Core/Conditions: Optimizations part 3 removed copying condition containers all over the place 2015-10-25 13:20:28 +01:00
Shauren 5e0cee85dd Core/Conditions: Type renaming 2015-10-25 10:59:58 +01:00
Shauren a3814d4937 Core/Player: Removed currency precision flag value manipulations, this is all handled clientside 2015-10-20 17:03:37 +02:00
Shauren d03ff1433f Core/PacketIO: Updated and enabled item refund opcodes 2015-10-19 21:18:48 +02: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
ShinDarth e9a4e4cfa4 Core/Misc split Rate.XP.Kill and Rate.XP.BattlegroundKill settings
(cherry picked from commit 2185165e84)
2015-10-16 11:32:06 +02:00
Shauren 45994a177c Core/Players: Check if player can enter the instance during login before trying to add him to map
* Fixes name displaying as "Unknown"
2015-10-15 23:29:19 +02:00
joschiwald cf1e80e3d0 Core/Misc: removed some useless map checks 2015-10-04 14:53:05 +02:00
Shauren 3fceabfa11 Core/Players: Fixed automatic learning skills gained from learning spells when leveling
Closes #15391
2015-09-29 00:11:26 +02:00
Shauren cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
Shauren 3bc3b67a8f Core/Player: Changed ranged weapons to be equipped in main hand slot instead of no longer used ranged slot
Closes #14675
Closes #15296
2015-09-27 00:06:08 +02:00
jackpoz 7893ac6baf Core/Spells: Fix crash happening when using items to cast spells
Fix a crash happening when using items casting spells like Item ID 37198
Fix #14900

(cherry picked from commit 166e66cc06)
2015-09-24 23:58:26 +02:00
Trisjdc 93e77bfc7b Core/Players: Improve rest state handling, allow several rest states to be active
Fixes https://github.com/TrinityCore/TrinityCore/issues/15325

(cherry picked from commit c14b66c24c)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Handlers/MiscHandler.cpp
2015-09-24 23:24:13 +02:00
jackpoz cacf184822 Core/Misc: Remove unneeded ToCreature() casts
Remove some ToCreature() casts not needed anymore after 1ee90e1022 changes that moved IsPet() from Creature to Unit

(cherry picked from commit d243630acf)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
2015-09-24 21:04:46 +02:00
Rochet2 c3c7ab6ec7 Core/RestState: Check area trigger radius instead of 1.0f distance
Closes #15016
Closes #15052

Signed-off-by: jackpoz <giacomopoz@gmail.com>
(cherry picked from commit 12931f4762)

Conflicts:
	src/server/game/Entities/Player/Player.h
	src/server/game/Handlers/MiscHandler.cpp
2015-09-24 20:29:55 +02:00
Shauren 91f2bef235 Core/PacketIO: Fixed creature teleports not working clientside 2015-09-23 00:05:18 +02:00
StormBytePP 0bed9d56cb Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert 2015-09-21 15:17:05 +02:00
Shauren 3b52fcc769 Merge remote-tracking branch 'origin/6.x_implement_taxi' into 6.x 2015-09-19 17:41:24 +02:00
Shauren 2c7459da6d Core/Taxi: Further improvements
* Use dijkstra algorithm instead of astar to match client behavior
* Properly exclude special taxi nodes from the graph
* Corrected initial death knight nodes to only include destinations for their faction
2015-09-18 22:26:54 +02:00
MitchesD 5a895f7759 Core/Player: moved player collections to separate class
* the idea is to have all collections (toybox, heirlooms, mount and later even battle pets) in one class to make it easier and don't increase size of already big Player and WorldSession class
2015-09-14 11:29:16 +02:00
StormBytePP 196f935cd8 Core/Taxi: Implemented taxi routes, thanks to @MitchesD patch for initial work, and @Shauren for IDA help
Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Handlers/TaxiHandler.cpp
2015-09-14 01:51:38 +02:00
Shauren 04de58c8d3 Core/Players: Changed multi-segment taxi paths to fly nearby
flight masters along the way, not directly through them

* Taxi cost on multi-segment paths is now charged per segment when it is started

Cherry-picked from commit 2056961aae (+fixes)
2015-09-13 17:23:37 +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 e0fcb410b4 Core/Players: Removed obsolete class member 2015-09-09 00:12:38 +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 663cff2195 Core: Updated to 6.2.2.20444.
* This includes all known packet structures, nothing has been disabled.
* worldserver still expects 6.2.0 DBC/DB2 files - do not reextract
2015-09-05 00:09:38 +02:00
Shauren 191d2c7262 Core/Spells: Extended spell required shapeshift masks to 64 bits and defined a new spell attribute 2015-09-01 16:59:28 +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
Shauren b010780206 Core/Players: Fixed warnings about incorrect creator guid when loading void storage 2015-08-29 14:06:13 +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
jackpoz 4617d65131 Merge pull request #15297 from StormBytePP/3.3.5_rename_Revision.h
Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present
(cherry picked from commit 360cc93357)

Conflicts:
	src/server/authserver/Main.cpp
	src/server/database/Updater/DBUpdater.cpp
	src/server/game/Entities/Player/Player.cpp
	src/server/game/World/World.cpp
	src/server/shared/PrecompiledHeaders/sharedPCH.h
	src/server/worldserver/Main.cpp
2015-08-16 22:45:18 +01:00
StormBytePP 6a9fc63e41 Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
(cherry picked from commit 94f69fb1bc)
2015-08-16 17:50:40 +02:00
Shauren 81abfe93bb Core/Void Storage: Implemented saving item upgrade and bonuses for items deposited in void storage 2015-08-12 23:05:36 +02:00
xerkoss 95ee7ebf62 [Core\Quests] Add missing learn spell objective check. 2015-08-10 20:25:17 +02:00
Vincent-Michael 57eae1dc13 Core/Instances: Added ResetFailedReason enum for 6.2.0 2015-08-09 17:23:56 +02:00
Vincent-Michael 00a77230bd Core/PacketIO: Updated and enabled SMSG_RAID_GROUP_ONLY opcode 2015-08-09 01:30:58 +02:00
Vincent-Michael d8b36dfc17 Core/PacketIO: Added and enabled CMSG_SET_LOOT_SPECIALIZATION opcode 2015-08-08 18:10:02 +02:00
Vincent-Michael 9109440367 Core/PacketIO: Updated and enabled SMSG_QUEST_GIVER_QUEST_FAILED opcode 2015-08-08 16:15:37 +02:00
Vincent-Michael 650dd53b84 Core/PacketIO: Updated and enabled SMSG_QUEST_UPDATE_FAILED_TIMER opcode 2015-08-08 15:31:18 +02:00
Shauren fcc8c2d12c Core/PacketIO: Implemented advanced combat logging 2015-08-08 15:15:14 +02:00
Vincent-Michael c9e138d66d Core/PacketIO: Updated and enabled SMSG_QUEST_GIVER_INVALID_QUEST opcode 2015-08-08 12:40:43 +02:00
Vincent-Michael a76fdb9d38 Core/Misc:
- Updated and enabled CMSG_QUEST_PUSH_RESULT opcode
- Update QuestPushReason enum for 6.2.0
2015-08-08 01:30:42 +02:00
Vincent-Michael 32284d3e9c Core/Quests: Update QuestFailedReason enum for 6.2.0 2015-08-08 00:01:00 +02:00