Commit Graph

9034 Commits

Author SHA1 Message Date
ariel-
c8667700ce Fix Cleave AP contribution 2016-01-11 19:32:04 -03:00
ariel-
dbee341ec0 DB/Conditions: Fix exploit with quest item 2016-01-11 18:06:03 -03:00
ariel-
446cb1e5c5 Port relevant cooldown category handling and Duel Cooldown reset script
Core/Spells: Cooldown updates
Core/Player: implement ResetCoolDownAfterDuel configurable feature
Core/Player rewritten duel CD reset system
Core/Spells: fixed some rare stealth/prowl visual bugs after duel cd reset
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

Core/Misc: Warning fix
Scripts/DuelReset:

- impemented health and mana reset
- do not reset anything when duel is interrupted

Scripts/DuelReset:

- fixed druid mana restoration
- fixed bug when a player accepts duel with a spel on onHold true (like when stealth of rogue/druid is active)

Core/Spells: Fixed Raise Dead cooldown
Core/Spells: Fixed typo in ecbbcc8972
Core/Spell: fixed possible exploit in Duel Reset script

- thanks @Runico for reporting it

Scripts/DuelReset:

- do not reset when duel is fled
- minor improvement to SpellHistory::RestoreCooldonStateAfter duel method
2016-01-11 14:51:30 -03:00
Aokromes
e25514f0f8 DB/Misc: update filenames 2016-01-11 12:59:11 +01:00
treeston
94a5629949 Game/Maps: Clean up instance handling.
- Rename Map::CanEnter to Map::CannotEnter. Return value changed from boolean (true means player can enter) to enum Map::EnterState (CAN_ENTER=0 means player can enter, any other value is a reason for deny).
- Move hack-y player error messages from within Map::CanEnter to the function calling CanEnter as appropriate (primarily WorldSession::HandleAreaTriggerOpcode).
- Modify WorldSession::HandleAreaTriggerOpcode to properly revive the player upon touching the portal leading to the instance they died in even if they are currently unable to zone in. Fixes and closes #15758.
- Modify Player::LoadFromDB to properly spawn players in the instance they logged off in if possible. Fixes and closes #15561.
- Modify permanent save behavior to be blizzlike: Players can always enter an instance they are saved to (assuming there are no map constraints against it), but get a homebind timer if the instance is already in use.

(cherry picked from commit 43fa7d48a5)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Maps/Map.cpp
	src/server/game/Maps/MapInstanced.cpp
	src/server/game/Miscellaneous/Language.h
2016-01-11 01:51:21 -03:00
ariel-
b3ea9fbbe5 Map local guids 6.x -> 4.3.4
Ported the following commits:
ca83e14f8b
ee1c1b97be
18e4ab6911
bf37446b3c
cb854a2b7b
2016-01-11 01:50:45 -03:00
pete318
c29fc4cbd9 Auction house changes:
- Stop storing guid for auctioneer.
 - Store instead house ID
 - No separate ID for various houses. Only Horde, Alliance and Neutral.
 - Removed non-needed faction checks.
 - Use enum for auction house IDs

NOTE: This will expire all current auctions and return item to player (or
award to high bidder) in order to prepare database for the changes.

(cherry-picked from commit 01ae5c4bf6)

Conflicts:
	sql/base/characters_database.sql
	src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
	src/server/game/Handlers/AuctionHouseHandler.cpp
2016-01-11 01:50:35 -03:00
ariel-
7bd5dfe1b2 Update characters_database_conversor_335a_to_434.sql
- BLOB, TEXT, GEOMETRY or JSON column 'guids' can't have a default value
- Unknown column 'auctionhouse' in 'WHERE clause'
2016-01-11 01:50:31 -03:00
Aokromes
6a4336034b DB/Misc: 3.3.5a fixes 2016-01-07 10:21:03 +01:00
Aokromes
8eb002e8ff DB/Misc: 3.3.5a fixes 2016-01-04 11:07:27 +01:00
Killyana
8062cbd11b DB/Creature: Add Cataclysm spawns on Silvermoon 2016-01-01 16:35:16 +01:00
Killyana
3e9acd8708 DB/Creature: Add Cataclysm Spawns on Ghostlands 2016-01-01 00:44:50 +01:00
Killyana
07ee3ba075 DB/Creature: Add missing spawns on Eversong Woods 2015-12-30 18:24:27 +01:00
Killyana
ebadc97c80 Rename file 2015-12-18 16:22:40 +01:00
Killyana
8813265de2 DB/Creature: Fix Baron Longshore faction 2015-12-18 16:20:33 +01:00
Aokromes
4be99a50e9 DB/Misc: 3.3.5a fixes 2015-12-18 09:53:29 +01:00
Killyana
c52a149bd3 DB/Creature: Add Wounded Outrunner spawn
Fix curhealth and health regen for Wounded Deathguard
2015-12-14 20:09:43 +01:00
Killyana
2f3229d0ac DB/Creature: Add missing training dummy on Eversong Woods for class quests 2015-12-14 18:33:46 +01:00
Aokromes
b2c0c0ac04 DB/Misc: 3.3.5a fixes 2015-11-29 13:48:31 +01:00
Killyana
2e85c71371 DB/Quests: Beyond the Graves
Fix credit for Recruitment and summoning Darnell for Beyond the Graves
2015-11-26 18:22:13 +01:00
Killyana
b8d7678cd9 DB/Misc: Fix visual issues in Deathknell 2015-11-25 20:52:58 +01:00
Aokromes
d4810088a5 DB/Misc: disable 3.3.5a fixes 2015-11-24 23:09:07 +01:00
Killyana
3cd2301128 Fix a typo 2015-11-24 17:46:44 +01:00
Killyana
3d39993803 DB: Fix some SAI errors 2015-11-24 17:40:53 +01:00
Killyana
139682a526 DB/quest: Fix credit quest for The Wakening 2015-11-24 17:25:31 +01:00
Aokromes
f68b99b9a6 DB/Misc: 3.3.5a db fixes 2015-11-24 16:48:13 +01:00
Killyana
ee9e2ec385 DB/Creature: Fix some wrong quest givers 2015-11-24 15:50:03 +01:00
Aokromes
c91c6fd183 DB/Misc: Fix incorrect commit 2015-11-19 23:12:54 +01:00
Aokromes
d309f11435 DB/Misc: Typo fix 2015-11-19 22:28:59 +01:00
Aokromes
c4229eece2 DB/Misc: Fix import 2015-11-19 22:14:00 +01:00
Aokromes
973e319bdc DB/Misc: 3.3.5a fixes 2015-11-18 11:32:59 +01:00
Aokromes
4f2e553f88 DB/Misc: fix 3.3.5a only commit 2015-11-11 01:31:53 +01:00
Aokromes
e7abb9dd54 DB/Misc: 3.3.5a fixes 2015-11-11 01:30:41 +01:00
Killyana
4f949a6297 DB/SAI: Update SAI for Briny Sea Cucumber
Fix gathering more than one item on the same npc
2015-11-04 16:41:25 +01:00
Aokromes
bf3edbc9dc DB/Misc: Travis fix 2015-11-02 15:57:15 +01:00
Aokromes
9a6e470bf8 DB/Misc: Spawns for highbank
By Malcrom
2015-11-02 15:52:45 +01:00
Aokromes
365935f5e9 DB/Misc: Twilight Highlands Area: 5140 Highbank Phase 361
By Malcrom
2015-11-02 15:46:54 +01:00
Aokromes
6829f89c30 DB/Misc: Hollows End Gameobject Spawns for highbank
By Malcrom
2015-11-02 15:44:39 +01:00
Aokromes
d9417a3d9f DB/Misc: Twilight Highlands Area: 5140 Highbank Phase 169
By Malcrom
2015-11-02 15:41:22 +01:00
Aokromes
2a0df059f3 DB/Misc: AQ fixes
by Malcrom
2015-10-30 15:35:47 +01:00
Aokromes
630da1b60e DB/Misc: 3.3.5a Fixes 2015-10-30 15:30:37 +01:00
Aokromes
966aa44ff4 DB/Misc: 3.3.5a fixes 2015-10-18 11:32:45 +02:00
Aokromes
e3ea383237 DB/Misc: 3.3.5a Fixes 2015-10-14 10:25:01 +02:00
Aokromes
95618aa12a DB/Misc: Spawn Blackwing Descent 2015-10-02 00:51:43 +02:00
Aokromes
6ebca49afb DB/Misc: More Travis 2015-10-01 10:39:33 +02:00
Aokromes
412384b78a DB/Misc: More Travis 2015-10-01 10:29:43 +02:00
Aokromes
a0eb482902 DB/Misc: More travis fix 2015-10-01 10:04:41 +02:00
Aokromes
daba736b14 DB/Misc: Add misc 3.3.5a fixes 2015-10-01 09:39:28 +02:00
Aokromes
a72ef66712 Merge branch '4.3.4' of http://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2015-09-21 04:02:32 +02:00
Aokromes
99565a24ae DB/Misc: Naxx pathing
By Malcrom
2015-09-21 04:02:20 +02:00