Commit Graph

10251 Commits

Author SHA1 Message Date
yesitsme
77d70fbc0c Core/Spells fix 0442ff5c99
Let it apply only to players
2014-06-17 16:44:24 +02:00
Alex
16feef9e33 Update SpellAuraEffects.cpp
Cleanup. Already in spell scripts.
2014-06-17 16:36:39 +03:00
joschiwald
a986e328b0 Merge pull request #12291 from Unholychick/patch-lotp
Core/Spells: Fix Leader of the Pack
2014-06-17 01:05:22 +02:00
Unholychick
bd0dd6443f Core/Spells: Fix Leader of the Pack
Broken with 6b430db910 because we used the wrong spell...
2014-06-16 23:07:38 +02:00
Shauren
9c6b541776 Core/Transports: Fixed crashes caused by invalid leftover transport references
Closes #12282
2014-06-16 22:50:47 +02:00
Trisjdc
e8df8ff4df Core/Auras: Implement stacking interaction between SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE and SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT. Allows BoK/BoS to stack while maintaining the strongest buff 2014-06-16 02:48:48 +01:00
Trisjdc
0442ff5c99 Merge pull request #12284 from Unholychick/patch-mana
Core/Spells: Implement SPELL_ATTR7_CAN_RESTORE_SECONDARY_POWER
2014-06-16 01:32:19 +01:00
Unholychick
6b430db910 Core/Spells: Implement SPELL_ATTR7_CAN_RESTORE_SECONDARY_POWER
spells without this attribute will no longer energize secondary power.
Druids in cat form will no longer be able to replenish mana from every kind of spell
2014-06-16 01:38:46 +02:00
Trisjdc
f27821486b DB/SpellGroups: Completely review of WotLK Stack Rules
Closes https://github.com/TrinityCore/TrinityCore/issues/4313, https://github.com/TrinityCore/TrinityCore/issues/1626, https://github.com/TrinityCore/TrinityCore/issues/5173, https://github.com/TrinityCore/TrinityCore/issues/5822, https://github.com/TrinityCore/TrinityCore/issues/12212, https://github.com/TrinityCore/TrinityCore/issues/3814, and probably others
2014-06-15 23:22:53 +01:00
Vincent-Michael
6332eaee9f Core: Kill again whitespace :/ 2014-06-15 19:43:10 +02:00
jackpoz
4688676f3e Shared/Misc: Improve Windows crash report
Improve WheatyExceptionReport Windows crash report to write a cleaner and more readable crash report, in particular:
- Fix missing variable Type in some cases
- Fix missing variable Name in some cases
- Properly format each member to avoid confusion when reading the log
- Add support for double pointers, e.g. Type**
- Add initial support for arrays, logging the number of elements and the first 10 elements for now. UDT members of array elements are not supported yet
- Skip static members, SymTagVTable and other not needed types
- Skip SymTagUDT with no children
- Fix possible stack overflows when logging strings/char*/char[] values.
- Fix "punting on symbol" error happening when trying to dereference bad pointers.
- Fix <user defined> type being logged instead of the correct type when reaching WER_MAX_NESTING_LEVEL or with pointer types with invalid addresses.
2014-06-15 18:46:20 +02:00
Trisjdc
6098a5e43a Core/Auras: Add a new stack rule to handle cases where the aura that is 'stronger' prevails (SPELL_GROUP_STACK_RULE_EXCLUSIVE_HIGHEST) 2014-06-15 17:27:57 +01:00
joschiwald
e55835a6a9 Core/Creature: load correct vehicleid of difficulty mode npcs if set otherwise inherit from normal mode entry
Closes #8783
2014-06-15 17:49:17 +02:00
joschiwald
7b3141bfde Scripts/Gurtogg:
* fixed bloodboil targeting
* fel rage should only hit players

Closes #12193
2014-06-15 17:41:42 +02:00
Trisjdc
aca3795fa7 Core/Spells: Skip adding CAST_FLAG_RUNE_LIST to rune spells if it's a triggered cast. Solves some of the occasional Death Knight rune visual issues 2014-06-15 15:00:56 +01:00
Trisjdc
4e81e3c194 Core/Vehicles: Define and implement VEHICLE_SEAT_FLAG_B_KEEP_PET 2014-06-15 14:57:04 +01:00
Trisjdc
4615aa60a5 Core/Spells: Define and implement CAST_FLAG_NO_GCD 2014-06-15 14:49:03 +01:00
Vincent-Michael
1c80e441a0 Core: Fix non pch build 2014-06-14 23:33:20 +02:00
Discover-
dbc97c0fd3 Merge pull request #12280 from MitchesD/commands
Scripts/Commands: added option to show flags_extra (.npc info)
2014-06-14 23:17:39 +02:00
MitchesD
3a8b5179fa Scripts/Commands: added option to show flags_extra (.npc info) 2014-06-14 22:11:50 +02:00
Vincent-Michael
b7e0c2251e Core: Fix fail 2014-06-14 22:04:24 +02:00
Vincent-Michael
53caf7959e Core/Ulduar: Added IsInCombat check for ulduar teleporter 2014-06-14 22:01:50 +02:00
Vincent-Michael
69135ba056 Core: Fix build 2014-06-14 20:14:17 +02:00
Vincent-Michael
880253a833 Core/SAI: Fix typo in 2596f1f35d 2014-06-14 20:12:38 +02:00
Vincent-Michael
cd3977edf9 DB/Misc: Convert ulduar teleporter in sql 2014-06-14 20:03:55 +02:00
Vincent-Michael
2596f1f35d Core/SAI: Added SMART_ACTION_CAST support for gameobject cast 2014-06-14 19:55:55 +02:00
MitchesD
86b3298a47 Scripts/Misc: random fixes 2014-06-14 17:48:47 +02:00
Shauren
2d5b54a69d Replaced calls to ceilf (msvc extension) with ceil - fixes build 2014-06-14 17:27:28 +02:00
Shauren
08edc7d630 Core/Vehicles: Fixed power issues
* Regenerate powers only if vehicle has UNIT_FLAG2_REGENERATE_POWER
* Removed old pyrite power hack
* Apply creature_template.ManaMod to all power types

Closes #12141
2014-06-14 17:09:35 +02:00
Shauren
e9c9e36265 Scripts/Icecrown Citadel: Fixed possible crash in blood nova target selection 2014-06-14 11:48:07 +02:00
Ascathor
6949735098 Core/Misc:
* Fix some codestyle, fix some typos

* Change CMakeLists for: Custom (can be uncommented), Events, World
** Custom is theoretically unchanged. You can, however, uncomment the glob_recurse that initializes every file within. This might be easier for beginners.

* Introducing the IP Based Action Log System:
** On several different actions, e.g. Login, Character Login, etc., a new entry is added
** Can be logged on and off in worldserver config
*** Disabled by default to prevent increased log db size for unknowing users.

* Add a new row to account table called 'last_attempt_ip'
** Lists the last ip trying to connect to the account

* Add a new type of HookScripts: AccountScript
** Includes: OnAccountLogin, OnFailedAccountLogin, OnEmailChange, OnFailedChange, OnPasswordChange, OnFailedPasswordChange

* Added new Hook to PlayerScripts: OnFailedPlayerDelete

* Added new variables to PlayerScripts: OnPlayerDelete
2014-06-13 16:25:11 +02:00
Shauren
5804372042 Core/Transports: Fixed crash happening during teleporting transports
Closes #11793
2014-06-13 11:16:17 +02:00
Trisjdc
c75b7942a8 Core/Spells: Partially revert 4992c0290b, and further implement SPELL_ATTR3_NO_DONE_BONUS (which is the correct way of doing this) 2014-06-12 21:23:37 +01:00
Trisjdc
12b8bf037f Quick fixup for previous commit 2014-06-12 20:13:07 +01:00
Trisjdc
4992c0290b Core/Spells: Change haste benefit to cast time formulas, may need further correction
- With these changes, Paladin/Death Knight mount summons will no longer benefit from haste
2014-06-12 20:03:52 +01:00
Shauren
e55555ed8c Fixed windows nopch build 2014-06-11 23:08:32 +02:00
jackpoz
26a7916faf Core/Misc: Fix gcc build 2014-06-11 21:40:50 +02:00
jackpoz
d1d91d193d Merge commit 52c0fc96bb 2014-06-11 21:00:16 +02:00
Unholychick
52c0fc96bb Move pestilence to spellscripts
Fixes crash and warnings introduced in d4bbc26261
Fixes a bug that allowed dks to spread diseases using another dks diseases
Closes: https://github.com/TrinityCore/TrinityCore/issues/12245
2014-06-11 20:03:30 +02:00
Shauren
06962b16f1 Core/PacketIO: Fixed logic in DosProtection::EvaluateOpcode 2014-06-11 19:28:25 +02:00
Shauren
2ba05406ce Fixed typo, spotted by @Gooyeth 2014-06-11 18:21:00 +02:00
Aokromes
9f4bab55ed Merge pull request #12046 from phoenixfight/fishmaster
Core/Fishing: Repair fishing spell result fish escape
2014-06-11 17:32:49 +02:00
jackpoz
f19c6f4091 Core/PetAI: Fix memory leak
Fix memory leak added in e7f0808d46

Valgrind log:
395,712 (390,216 direct, 5,496 indirect) bytes in 229 blocks are definitely lost in loss record 65 of 67
 at operator new(unsigned long) (vg_replace_malloc.c:320)
 by PetAI::UpdateAI(unsigned int) (PetAI.cpp:167)
 by Creature::Update(unsigned int) (Creature.cpp:541)
 by TempSummon::Update(unsigned int) (TemporarySummon.cpp:47)
2014-06-10 22:50:24 +02:00
Trisjdc
48f426abc5 Core/Auras: Correct a typo that caused bad stacking of SPELL_AURA_MOD_MELEE_HASTE 2014-06-10 20:51:28 +01:00
Warpten
c9613e0005 Merge pull request #12233 from Trisjdc/aura_stacking
Core/Auras: Expanding functionality of SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT to be able to take care of aura effects inside their handlers
2014-06-10 12:23:57 +02:00
phoenixfight
ae46affe4e [core/database]Repair fishing spell result fish escape
edit fish junk sql formart

Optimized code, remove some useless brackets

fix default fish result ,just like Off the coast of Storm Peaks.

cleaned the sql part  thx Kinzcool

fix todo now
2014-06-10 11:07:15 +08:00
jackpoz
5ebf24281c Core/NetworkIO: Adjust more packet throttling values
Ignore some opcodes that don't cause any trouble.
Remove old Allow/Disable Anti-DoS system since it's no longer required.
2014-06-09 23:11:10 +02:00
Shauren
b5278ef160 Core/Vehicles: Fixed channeled spells being interrupted for passengers when vehicle moves 2014-06-09 23:11:09 +02:00
Trisjdc
b96b7c291a Core/Handlers: Move a couple of logs to debug, they can appear without anything abnormal due to client latency 2014-06-09 23:11:07 +02:00
Lucas
d1e2768450 Fix Warnings 2014-06-09 23:11:06 +02:00