Commit Graph

16715 Commits

Author SHA1 Message Date
Vincent-Michael 9506fd77fc Core: Fix warnings vs2014 ctp (no support) 2014-07-14 01:07:54 +02:00
jackpoz 5a84448ed7 Core/InstanceScript: Fix possible crash
Store Boss doors/minions as GUID instead of GameObject*/Creature* to avoid accessing pointers to free'd memory.
2014-07-13 22:47:22 +02:00
Shauren 6d8dbb5c4a Core/Misc: Renamed a few spell and skill line related methods to follow tc coding standards 2014-07-12 17:28:35 +02:00
Shauren d91964912e Core/Skills: Fixed spells automatically learned from skill lines adding more skill lines 2014-07-12 17:27:26 +02:00
Trisjdc 4a197ba22a Core/PathGenerator: Split raycast paths into more points for better path z normalization. Solves many of the 'falling underground with charge' issues 2014-07-12 13:13:38 +01:00
Shauren de82146df8 Core/Commands: Fixed crashes caused by using .account lock ip and .account lock country commands from console - these commands apply to currently logged account so they cannot be used from console 2014-07-12 01:17:46 +02:00
Vincent-Michael 9a47c17889 Core/Player: Improve error log 2014-07-12 00:52:52 +02:00
Vincent-Michael 00a8a9ebb4 Core: Fix warnings with other way 2014-07-11 21:50:49 +02:00
Vincent-Michael c8e75073bf Scripts/Misc: Fix some warnings vs2014 ctp (no support) 2014-07-11 20:24:55 +02:00
Vincent-Michael 29e0538624 Core: Fix some warnings vs2014 ctp (no support) 2014-07-11 20:08:35 +02:00
Vincent-Michael b62ee5eea2 Scripts/BlackTemplate: Fix warnings vs2014 ctp (no support) 2014-07-11 19:42:20 +02:00
Vincent-Michael 6797d78c1b Scripts/Misc: Added missing break in 495ca8c2dc (thx to @ccrs) 2014-07-11 17:36:52 +02:00
Vincent-Michael 4f619eb937 Core/LFG: Fix warning with vs2014 ctp (no support) 2014-07-11 17:04:01 +02:00
Vincent-Michael 495ca8c2dc Scripts/Misc: Fix some warnings with vs2014 ctp (no support) 2014-07-11 16:39:44 +02:00
Golrag 46fa704965 Core/BattlegroundIC: Fixed LoS on gates. 2014-07-11 11:11:15 +02:00
Vincent-Michael 1ffb986d59 Core: Fix non pch build 2014-07-10 23:09:13 +02:00
joschiwald 7a67d816d9 Core/Battleground:
* added a possibility to reload battleground templates
* cleaned up the template structure
* use mapids from BattlemasterList.dbc to calculate random bg
2014-07-09 16:43:56 +02:00
Shauren 6664b7ecd4 Core/Instances: Enable automatic changing dungeon difficulty to a lower one when currently selected difficulty does not exist for entered instance 2014-07-09 13:57:38 +02:00
Aokromes 900fb17229 Merge pull request #12417 from gerripeach/remove_old_boss
Core/Scripts: Remove script from old boss
2014-07-09 08:36:58 +02:00
Sebastian Valle Herrera b84abc74a7 Core/Build: Fixed a typo when commiting 2014-07-08 10:18:30 -05:00
Sebastian Valle Herrera ffdb561b0a Core/Spells: Fixed SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY not being checked in some places where IsImmunedToSpell is not called
Closes #9362
Code by @joschiwald
2014-07-08 10:15:18 -05:00
Sebastian Valle Herrera 4a4da95aa0 Merge pull request #10887 from zorix/PR3
Core/Spell:  Triggered spells now will be cast on the primal target instead of on caster

Closes #10853
Closes #10860
2014-07-08 09:57:37 -05:00
Vincent-Michael ba2563da5a Core/Spells: Convert "Shaman T10 Elemental 2P Bonus" in spell script 2014-07-07 21:50:18 +02:00
Vincent-Michael 60bcd6c98c Core/GameObject: GAMEOBJECT_TYPE_SPELL_FOCUS serverOnly == 1 are now invisible (only server) 2014-07-07 21:33:58 +02:00
karn 4e346f3ca5 Scripts/ScarletMonastery: Boss Arcanist Doan - rewrite to events
Closes #12418
2014-07-07 16:48:53 +02:00
untaught f64add02e8 Core/Spells: fixed Fate Rune of Unsurpassed Vigor 2014-07-07 16:27:09 +02:00
Vincent-Michael cb22fe570d Core/Spells: Add function for modify cooldown
Thx shauren for helping
2014-07-07 11:47:29 +02:00
jackpoz a6494375f9 Core/Wintergrasp: Spawn npcs only after initial map configs have been set
Spawn BATTLEFIELD_WG_NPC_STALKER only after the MapID has been set otherwise it will try to spawn it on map 0
2014-07-06 18:32:27 +02:00
jackpoz 0f8c1d4a47 Core/Maps: Don't load vmaps/mmaps if disabled in configs
Don't try to load vmaps/mmaps if they are disabled in the configs.
Fixes #12392
2014-07-06 18:27:32 +02:00
Shauren 408b490851 Scripts/Magister's Terrace: Fixed typo in SetEncounterState 2014-07-06 00:01:24 +02:00
Trisjdc dad9b01b26 Core/Spells: Fix Blink/_DEST spell effects when cast inside/near water 2014-07-05 15:35:21 +01:00
Vincent-Michael a1fb24f5ed Core: Remove again whitespace 2014-07-05 16:05:59 +02:00
Trisjdc 124398feef Core/Spells: Improve charge path logic, get a point to the target and then reduce it by the necessary distance 2014-07-04 22:22:28 +01:00
jackpoz 4302226a85 Core/Spells: Fix Charge pathing
Fallback to "straight path" pathing when raycast doesn't find a valid path.
Fixes #7931
2014-07-04 22:00:46 +02:00
Shauren d28b66bca8 Core/Skills: Fixed players getting all ranged skills when learning one of bows/crossbows/guns 2014-07-04 17:27:22 +02:00
jackpoz 519d76c194 Core/VMAPs: Fix object orientation
Merge https://github.com/249CAAFE40/mangos-wotlk/commit/2f8b8e55d99122d34be2a08cbdbd2d2b1ae172d1
Quoting original commit log:
This patch fixes 2 issues with the vmap extractor. 1) Incorrectly converts vertex coordinates. 2) Forgets to convert coordinates on triangle indices.

The effects of [1] causes models to be flipped. This isn't very noticeable on most trees as flipping a cylinder results in the same cylinder, but it's very noticeable on any non-symmetrical geometry (which, even includes trees, it's just harder to notice). [2] Didn't seem to be a problem when the coordinates were incorrectly converted, but when applying the correct conversion caused some triangles to be flipped (i.e. facing inwards).

You will need to re-extract vmaps and re-generate mmaps for these changes to take effect.

Fixes #417
2014-07-03 22:52:36 +02:00
joschiwald 7b74a725c8 Core/Spells: fixed Deep Freeze after 2a3546ca36
Closes #12424
2014-07-03 22:32:41 +02:00
Trisjdc 531de49fe7 Core/Spells: Spells which do not apply auras should not apply DR
- Solves issue where Intimidating Shout applied DR twice on the main target
2014-07-03 00:42:55 +01:00
joschiwald 22113d1626 Core/Spells: restore some special aura proc handling
Note: can cause some unexpected behavior

Closes: #12413
2014-07-02 03:11:47 +02:00
karn 6c895ad692 Core/Scripts: Remove script from old boss
http://www.wowwiki.com/Highlord_Kruul
This creature was part of a bc event. he is no longer part of the game
2014-07-02 00:55:40 +02:00
Shauren 2a3546ca36 Core/Skills: Use SkillLineAbility.dbc to determine player initial spells - skill assignment done in a new table playercreateinfo_skills
* Removed DK start skill hacks
* Resolved missing skills in character skill tab

Closes #12311
2014-07-01 17:20:48 +02:00
Shauren fd910567ec Core/Loot: Fixed looting creatures that have only quest items in their loot
Closes #12400
2014-06-30 00:24:40 +02:00
joschiwald 876e9dde01 Core/Battleground: addition to c28345e279 2014-06-29 16:53:28 +02:00
jackpoz c674f229cb Core/Mail: Fix exploit that didn't allow recipient to delete the email 2014-06-29 15:51:34 +02:00
jackpoz ee4602db3d Core/Battleground: Fix crash added in c28345e279
Fix a double-delete crash added in c28345e279 caused by copy-constructor copying pointers across different Battleground instances.

Valgrind log:
 Invalid read of size 8
  at : Battleground::~Battleground() (Battleground.cpp:231)
  by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74)
  by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74)
  by : BattlegroundMgr::Update(unsigned int) (BattlegroundMgr.cpp:103)
  by : World::Update(unsigned int) (World.cpp:2067)
 Address 0x5675d140 is 0 bytes inside a block of size 24 free'd
  at : operator delete(void*) (vg_replace_malloc.c:509)
  by : ArenaTeamScore::~ArenaTeamScore() (ArenaScore.h:64)
  by : Battleground::~Battleground() (Battleground.cpp:231)
  by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74)
  by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74)
  by : BattlegroundMgr::Update(unsigned int) (BattlegroundMgr.cpp:103)
2014-06-29 14:03:29 +02:00
Sebastian Valle Herrera 95f864f4ad Core/Creatures: Fixed a typo in respawn code
Creatures should now respawn correctly in their correct time.
Closes #12378
2014-06-28 13:19:00 -05:00
jackpoz b9ec488fd1 Core/Mail: Do not allow to create multiple copies of mail 2014-06-28 19:15:20 +02:00
jackpoz e77c6fc98b Core/Mails: Fix exploit that allowed to take COD items without paying 2014-06-28 18:23:10 +02:00
jackpoz 82df3f090b Auth/Misc: Move OpenSSL version log from Warning to Information 2014-06-28 17:55:40 +02:00
jackpoz f3852d19e7 COre/Mail: Don't allow to mark delete mails as read. 2014-06-28 17:53:17 +02:00