Commit Graph
22875 Commits
Author SHA1 Message Date
jackpoz 927f16de49 Revert "Core/Calendar: Fix memory leak when malformed CMSG_CALENDAR_ADD_EVENT is received"
This partially reverts commit 51e38872c7.
The stack-initialized variable calendarEvent would have called CalendarMgr::FreeEventId() when it went out of scope, marking the current event id as free and allowing next event to overwrite current event.
This doesn't fix the memory leak issue which still needs to be addressed in a proper way.
2014-06-08 17:18:07 +02:00
Shauren 7dd552c826 Merge branch 'battle.net' into 4.3.4 2014-06-08 16:14:24 +02:00
leak fdd5e11a15 Fix for LockedQueue.h (clean rebuilds ftw.) 2014-06-08 16:05:23 +02:00
Gacko d2d1b97cff Script: Minor optimization in spell_unlocking_zuluheds_chains 2014-06-08 15:56:28 +02:00
Shauren 9f69eda67f Core/Battle.net: Additional checks
* Force grunt login for versions < 15595
* Force bn login if supported and game account is linked to bn account
2014-06-08 15:34:24 +02:00
leak ee4a3b9d59 Replaced mutex related code in Common.h 2014-06-08 15:30:57 +02:00
Shauren 05c0524bf3 Core/Battle.net: Refactored handling multiple game accounts 2014-06-08 14:54:37 +02:00
Subv f71abd173e Merge branch '4.3.4' of github.com:TrinityCore/TrinityCore into 4.3.4_phases 2014-06-07 20:27:23 -05:00
Subv bbe51bbd13 Core/Phases: Removed more of the old phasemasks 2014-06-07 20:26:25 -05:00
Subv 402b9b055c Core/Conditions: Removed deprecated CONDITION_PHASEMASK and implemented CONDITION_PHASEID 2014-06-07 19:42:08 -05:00
Sebastian Valle Herrera e1e5f2a196 Core/Items: Fixed a transmogrify exploit
Thanks @Rochet2
Closes #11952
2014-06-07 19:23:38 -05:00
Sebastian Valle Herrera cfd527c880 Core/Items: Fixed a reforge exploit
That allowed items to be reforged more than once.
Thanks @Rochet2
Closes #11465
2014-06-07 19:18:54 -05:00
Vincent-Michael 73e90f6241 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2014-06-08 01:21:17 +02:00
Trisjdc 91052574ac Core/Auras: Expanding functionality of SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT to be able to take care of aura effects inside their handlers
Currently handled:
- SPELL_AURA_MOD_RESISTANCE_PCT
- SPELL_AURA_MOD_STAT
- SPELL_AURA_MELEE_SLOW
- SPELL_AURA_MOD_MELEE_HASTE
- SPELL_AURA_MOD_DAMAGE_PERCENT_DONE

Necessary to allow stack rules such as BoK/BoS/Bok-Drums and others to be all in a target with all of the aura effects, yet with only the 'highest' effect active
2014-06-07 23:43:11 +01:00
Sebastian Valle Herrera f53045ae5c Core/Quest:
Fixed self-completing quests without NPCs
no, wait
Fixed self-completing quests without NPCs, and fixed some issues with the AUTOCOMPLETE quest flag
2014-06-08 00:34:14 +02:00
Vincent-Michael 1d39db16b9 Core/Misc: Kill Whitespace ... 2014-06-07 23:58:08 +02:00
Vincent-Michael 1f62d9c387 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Handlers/ItemHandler.cpp
	src/server/scripts/Spells/spell_dk.cpp
2014-06-07 23:40:37 +02:00
jackpoz 5fee5b0125 Core/Banks: Fix some bank exploits
Re-implement the cheat checks removed in a12501fb5e and check if Player can interact with the Banker when handling bank-related opcodes.
2014-06-07 22:47:50 +02:00
Aokromes 4ec84fd1ec Core/Database: Update log for incorrect db structure 2014-06-07 22:13:42 +02:00
Sebastian Valle Herrera 8304c09547 Merge pull request #12231 from Trisjdc/fishing_boober_link
Core/GOs: When unlinking Fishing Bobber from player to prevent despawning, unlink from spell as well to prevent removing unwanted auras
2014-06-07 14:24:30 -05:00
Sebastian Valle Herrera 121083e59d Merge pull request #12232 from Trisjdc/anti_magic_shell
Core/Spells: Anti-Magic shell should give immunity to all spells that belong to SPELL_SCHOOL_MASK_MAGIC regardless of dispel type
2014-06-07 14:23:41 -05:00
Unholychick d4bbc26261 Core/Spells: Implement Periodic mechanics
Change behaviour of single target periodic aura ticks to be more blizzlike
Also add some missing handling of SPELL_AURA_MOD_CREATURE_AOE_DAMAGE_AVOIDANCE
Fixes Deep wounds and Chimera Shot Serpent
Remove an ancient hack with Drain Soul, spell id 100001 can now be deleted from spell_dbc table
Allows Rolling dot mechanics and allows DK's to roll diseases with pestilence,
see link for info:

http://forums.elitistjerks.com/topic/82503-frost-dps-in-333this-will-be-a-day-long-remembered/page-88
2014-06-07 19:13:57 +02:00
Trisjdc 97046283b5 Core/Spells: Anti-Magic shell should give immunity to all spells that belong to SPELL_SCHOOL_MASK_MAGIC regardless of dispel type 2014-06-07 18:06:22 +01:00
aletuna 1b3149b07f Scripts/Blackrock Depths: Converted to eventmap+minor coding style changes
Closes #11730
2014-06-07 19:02:39 +02:00
Trisjdc 6abfdc1cea Core/GOs: When unlinking Fishing Bobber from player to prevent despawning, unlink from spell as well to prevent removing unwanted auras 2014-06-07 17:58:45 +01:00
Sebastian Valle Herrera 6c31c33f66 Merge pull request #12128 from Trisjdc/aura_transform
Core/Auras: Update model overwriting rules for SPELL_AURA_TRANSFORM
2014-06-07 11:49:00 -05:00
Sebastian Valle Herrera 35b8874cca Merge pull request #12216 from Trisjdc/quest_item_check
Core/Players: Improve quest item adding/removal checks, solves cases where quest item removal (under specific conditions) incorrectly incompletes quests
2014-06-07 11:46:57 -05:00
Sebastian Valle Herrera 906abd7956 Merge pull request #12204 from Trisjdc/map_enter
Core/Maps: Allow logging players to enter in instances that have an encounter in progress
2014-06-07 11:46:37 -05:00
Sebastian Valle Herrera fd7589617d Merge pull request #12057 from Trisjdc/imp_in_a_ball
Scripts/Items: Imp in a Ball
2014-06-07 11:44:22 -05:00
joschiwald 32a3ecb986 Core/Spells: add missing spellradius to spell "Achievement Check" (fixes hor achievments) 2014-06-07 17:04:20 +02:00
Warpten 84229f89e4 Merge pull request #12217 from Trisjdc/spell_corpse_explosion
Core/Spells: Corpse Explosion should not be able to pick the Ghoul out of implicit targets
2014-06-07 10:04:51 +02:00
Vincent-Michael 2cd0dce366 Core: Fix non pch build 2014-06-07 00:30:08 +02:00
Aokromes 61d6b69166 Merge pull request #12225 from Trisjdc/event_map_move
Core/Utils: Move EventMap to Util.h
2014-06-07 00:08:02 +02:00
Vincent-Michael 1e4ec81ccb Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/Server/WorldSession.cpp
2014-06-06 22:56:30 +02:00
Michael 8207aff0d6 Core/NetworkIO: Added latency info for opcodes overflow log 2014-06-06 19:41:57 +02:00
Subv ac6b8d2f15 Core/Build: Fixed build 2014-06-06 12:08:42 -05:00
Trisjdc eae18d8ed0 Core/Utils: Move EventMap to Util.h 2014-06-06 11:14:32 +01:00
Trisjdc b4b3e6f3a2 Scripts/Items: Imp in a Ball 2014-06-06 11:01:36 +01:00
Trisjdc bb01c60a52 Core/Players: Improve quest item adding/removal checks, solves cases where quest item removal (under specific conditions) incorrectly incompletes quests 2014-06-06 10:41:45 +01:00
Subv 5023000c56 Merge branch '4.3.4' of github.com:TrinityCore/TrinityCore into 4.3.4_phases
Conflicts:
	src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp
2014-06-05 19:49:03 -05:00
jackpoz d565c2b303 Core/Talents: Align server checks to Client limits
Set the max amount of talents to process in CMSG_LEARN_PREVIEW_TALENTS_PET to 30 ( 24 talents rounded up ).
2014-06-05 22:50:11 +02:00
jackpoz 7d623eed18 Core/Talents: Align server checks to Client limits
Set the max amount of talents to process in CMSG_LEARN_PREVIEW_TALENTS to 150 ( 44 talents for 3 trees rounded up ).
2014-06-05 22:19:02 +02:00
Subv 2086f18f7b Core/Phases: Removed more SetPhaseMask uses 2014-06-05 13:05:29 -05:00
Michael 83c2e79d52 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Handlers/CharacterHandler.cpp
	src/server/game/Spells/Auras/SpellAuraEffects.cpp
	src/server/scripts/Spells/spell_paladin.cpp
2014-06-05 19:42:48 +02:00
Sebastian Valle Herrera 36102bea64 Merge pull request #12039 from Trisjdc/creature_ai_talk
Core/CreatureAI: Implement CreatureAI::TalkToMap for all your map-wide talking needs
2014-06-05 10:50:23 -05:00
Sebastian Valle Herrera 42d4144f90 Merge pull request #12045 from Trisjdc/session_expire
Core/WorldSession: After sudden disconnects, session should persist for a minute
2014-06-05 10:49:28 -05:00
Sebastian Valle Herrera d098a3ce8d Merge pull request #12219 from Trisjdc/spell_swift_retribution
Core/Spells: Swift Retribution should be reapplied when needed to be able to gain spellmods
2014-06-05 10:13:08 -05:00
Shauren 22b04d39bf Merge pull request #12220 from Trisjdc/spelll_triggerflag_check
Core/Spells: *Properly* solve the Disarm vs Bladestorm issue
2014-06-05 14:07:48 +02:00
Trisjdc afb7c705c2 Core/Spells: *Properly* solve the Disarm vs Bladestorm issue 2014-06-05 11:48:43 +01:00
Trisjdc 2282a4c359 Core/Spells: Swift Retribution should be reapplied when needed to be able to gain spellmods 2014-06-05 11:43:59 +01:00