Commit Graph

23840 Commits

Author SHA1 Message Date
Trisjdc
4615aa60a5 Core/Spells: Define and implement CAST_FLAG_NO_GCD 2014-06-15 14:49:03 +01:00
Shauren
3899d451f9 SQL: Restored file that was not supposed to be renamed 2014-06-15 00:00:31 +02: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
b64d1e180e DB/SAI: Fix sai linked error 2014-06-14 22:08:30 +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
Shauren
cc3caa1b32 Merge pull request #12278 from MitchesD/misc
Scripts/Misc: random fixes
2014-06-14 18:26:34 +02:00
Shauren
712bb19ec3 Fixed typo in 2014_06_14_00_world_creature_template.sql 2014-06-14 17:57:00 +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
ae608218a9 DB/Instance: Fixed mutated abomination regenerating power clientside 2014-06-14 17:14:00 +02:00
Shauren
f39a66d082 SQL: Renamed files to match the naming rules 2014-06-14 17:13:11 +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
Aokromes
d28f0f9a5a DB/Creature: Trenton Lighthammer missing gossip
By dr-j closes #12248
2014-06-12 01:54:52 +02:00
Aokromes
3399911733 DB/Quest: Fix Missing text for A Most Puzzling Circumstance
By Crysicle, closes #12252
2014-06-12 01:41:13 +02: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
Aokromes
d66d1af271 DB/Quest: Fix some missing quest texts
By crysicle, closes #12167
2014-06-09 23:11:08 +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
jackpoz
bd4be27aeb Core/Calendar: Sanitize calendar event parameters
Prevent events added in the past which in some conditions would cause an infinite loop in the client.
2014-06-09 23:11:05 +02:00
jackpoz
3c8503bea7 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-09 23:11:04 +02:00
Gacko
ecbf6fdd6c Script: Minor optimization in spell_unlocking_zuluheds_chains 2014-06-09 23:11:03 +02:00
Kinzcool
9d481fd64d DB/GameObjects: Deleted no longer needed gameobjects spawns since their phaseMask correction 2014-06-09 23:11:02 +02:00
Kinzcool
ae18b84c73 DB/GameObjects: Fixed the phasing of the remaining flags in WinterGrasp 2014-06-09 23:11:01 +02:00
Kinzcool
0cc94300d9 DB/GameObjects: Fixed some phasing of certain gameobjects in Northrend and DK's area 2014-06-09 23:11:00 +02:00
Vincent-Michael
ae1fbba3cc DB/Conditions: Fix conditions for Xink gossip 2014-06-09 23:11:00 +02:00