Commit Graph
4360 Commits
Author SHA1 Message Date
Gigatotem bc8f4ee976 Spells/Mage:
Time Warp should also check for the Fatigued debuff given when a Hunter's Nether Ray pet casts Netherwinds.
2015-03-27 13:40:15 +00:00
Gigatotem 65b27fef91 Spells/Shaman:
Bloodlust and Heroism should also check for the Fatigued debuff from Nether Ray Hunter Pets "Netherwinds" ability.
2015-03-27 13:36:46 +00:00
Rushor 01ee7ecc69 Scripts/Bloodmyst Isle: Script Quest: Ending Their World
closes #1815

* Add missing Waypoint
* Improve Aggrobehaviour
* Add BroascasttextIDs
* Update to current GUID-Handling

Original Patch by @trickerer

(cherry picked from commit f1101b145bab9ce24f39802c2f554d7f9d695dbd)
2015-03-26 16:14:38 +01:00
joschiwald 766eb599ea Scripts/Spells: implement some eject passenger spells 2015-03-25 17:43:59 +01:00
Rushor e88f276946 Scripts/Grizzlyhills: Spell: Infected Worgen Bite - Apply Spellscript and Transformation
closes #12165

(cherry picked from commit 6080234e98cbff62e4f508116a4ebbaa8f4516ad)
2015-03-25 16:37:21 +01:00
Shauren cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
jackpoz 3799d454b3 Scripts/Ulduar: Fix some Flame Leviathan issues
Fix some Flame Leviathan issues:
- Fix boss evading all the time due to bad Doors check
- Opened "Lightning Door" to other bosses only after boss dies
- Eject players from the vehicles when boss dies, make them untargetable and despawn them after 5 minutes (adjust the time to the blizzlike time of choice)

(cherry picked from commit d888e4c7ad5ce48eb1f550b3e142dad16c026d0c)
2015-03-21 23:44:12 +00:00
Naios 352012e531 Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

Signed-off-by: Naios <[email protected]>
Signed-off-by: Nayd <[email protected]>
2015-03-21 14:09:38 +00:00
MitchesD f6428df949 Scripts/Misc: sync with 3cc305138c
adfd8a6 - Scripts/Mulgore: The Plains Vision - Move Corescrript to SAI
c21a600 - Delete zone_mulgore.cpp
87f40a5 - Scripts/Kalimdor: Remove Mulgorescripts
8904a94 - Scripts/The Barrens: Add missing Text for 'The Escape'
cfc5fb2 - DB/Misc: Fix a few startup errors from recent Updates (Script part)
2015-03-20 20:07:25 +01:00
Rushor 2c6500a231 Scripts/Spells: Hand of Reins - Questsupport for 'Mounting Up'
by @untaught closes #3977

(cherry picked from commit 588b92ee0570146b37cd6211aeb32354781aada0)
2015-03-20 13:16:39 +01:00
Nyeriah a30eb73e46 Scripts/ToC: The Lich King event should only be started by the announcer
(cherry picked from commit ea78bce592b66c72230b63871024e83536b693b7)
2015-03-19 19:12:17 -03:00
ariel- b3a279b6ab Split up LANG_MAP_POSITION to fix a crash when issuing .gps command
Conflicts:
	src/server/game/Miscellaneous/Language.h

(cherry picked from commit 461daadcaf0cafa410c740e6376090c27a1df8ff)
2015-03-19 11:14:02 +01:00
Naios 433bc289c2 Core/Misc: Fix some issues detected by static analysis
* Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
  -> This argument is passed by value, it makes no sence so set it to null here.

* Member variable 'instance_violet_hold_InstanceMapScript::bWiped' is not initialized in the constructor.

* Mismatching allocation and deallocation: Data
2015-03-18 20:20:04 +01:00
click cc3387d984 Merge pull request #14371 from Kittnz/movecirclepath_003
Core: Move FillCirclePath function to MotionMaster
Closes #14371
(cherry picked from commit cf14e9051d15e33ca9fa87be3287d2a628faedef)
2015-03-18 00:35:39 +00:00
click 812e117b30 Core/Script: INFO->DEBUG notification changes in ToC
(cherry picked from commit 0c7c25d6ed05355c1dfd0e1ca1179d8f20602073)
2015-03-18 00:34:00 +00:00
click 5a1c4fca7c Core/Scripts: INFO-DEBUG changes in scripts (gawd)
(cherry picked from commit a8a5fae4f9055d1099b63bb462cbc5b0b47c2d48)
2015-03-18 00:33:50 +00:00
Carbenium cc0c9add5a Merge pull request #14317 from Naios/typesafelog
Type safe logging
2015-03-18 01:25:38 +01:00
Nyeriah 8b7dabab21 Scripts/Undercity: Update Lady Sylvanas' script and also implement few missing things to Journey to Undercity's quest end event
Closes https://github.com/TrinityCore/TrinityCore/pull/14094
Thanks to @Killyana @Rushor @jaredjones and all others who helped with this

(cherry picked from commit a76722ccef8ffb719d5736e9220a94415bd88a5d)
2015-03-17 20:22:55 -03:00
Naios 95ebe4f31c Core/Log: Add type safe formatting
* improves safety and log speed through:
  - variadic templates
  - perfect forwarding
* fixes a newline in db logs
* improve performance of Appender::write by using std::ostringstream && std::move
2015-03-13 09:15:42 +01:00
Naios 1920e9c442 Scripts/Spells: Fix some issues detected by static analysis.
* Prefer prefix ++/-- operators for non-primitive types.
* Variable 'ownerBonus' is reassigned a value before the old one has been used.

* Fix a wrong type of ownerBonus, sometimes it is float sometimes uint32
2015-03-11 09:29:20 +01:00
Carbenium 37a14bc2d5 Core/Support: Update the support/ticket system to 6.x
Core/Mail: fix a logic error introduced in 829e11b662
2015-03-10 21:09:21 +01:00
Shauren e15ba34444 Core/Misc: Cleaned up data truncation warnings 2015-03-08 22:04:34 +01:00
MitchesD 50b4a3a707 Core/Packets: updated structure of CMSG_PLAYED_TIME, SMSG_PLAYED_TIME 2015-03-08 16:23:00 +01:00
Shauren 0ba2e0d5ee Core/Spells: Implemented multiple spell power costs 2015-03-08 13:31:57 +01:00
Rushor 7086231a03 Scripts/Arcatraz: Harbinger Skyriss Adds - Remove Unattackable Flag on Spawn
(cherry picked from commit a99d57b0a3e88c86768957bd8d61f8b3b3fada90)
2015-03-07 17:55:37 +01:00
D4R4 610411ce5a Scripts/The Lich King: Defile should not grow when player grabbed by Val'kyr is moves across
Closes #14131

(cherry picked from commit ceea37c9e3304ea2b387b7d3f6ea201b43c2615d)
2015-03-07 17:50:02 +01:00
joschiwald f65d9b3fea Fixed typo in 1dc60e8717 2015-03-07 17:49:36 +01:00
MitchesD 02ccf53ad1 Scripts/Nexus: commanders converted from SAI to C++
(cherry picked from commit 5009d67f0c0dd90131ac6f81299e3719e2690ca1)
2015-03-07 11:49:03 +01:00
joschiwald 1dc60e8717 Scripts/Rotface: moved mutated infection removal handling to spellscripts to fix an startup error 2015-03-07 02:42:02 +01:00
Golrag 78c7094b01 Core/Packets: SMSG_NOTIFICATION 2015-02-23 22:25:16 +01:00
Shauren e81eb1192a Core/Database: Removed locales_item from world database (use item_sparse_locale in hotfixes database) 2015-02-22 17:18:19 +01:00
Shauren 9fa57479ca DB: Dropped unused tables 2015-02-22 12:44:44 +01:00
Shauren 40b6736f69 Core/DataStores: Added iterator class for DBCStorage and DB2Storage 2015-02-22 12:44:24 +01:00
Duarte Duarte 8ff752afa0 Merge pull request #14167 from Golrag/WorldStates
Core/Opcodes: SMSG_INIT_WORLD_STATES
2015-02-22 05:48:13 +00:00
Shauren 68fceee10e Core/Spells: Removed leftovers of old cooldown handling
* Use ItemEffect.db2 data directly instead of copying it to another structure
2015-02-21 13:08:33 +01:00
Rushor b5458f9d76 Scripts/Violet Hold: Zuramat the Obliterator - Improve Summonbehaviour of Void Sentry
closes #12175

(cherry picked from commit f06b77dcb3412239994a2139f05948c4f66ea49f)
2015-02-20 14:15:39 +01:00
Rushor 809c125881 Scripts/HallsOfLightning: Boss Volkhan - Add OOC Forgecast
closes #14066
(cherry picked from commit dc87cc69a1a61bfed5a5eca70e418a015d09e25d)
2015-02-18 20:18:39 +01:00
Rushor 93236fdda4 Scripts/Arcatraz: Warden Mellichar - Set summoned Units in Combat
(cherry picked from commit 1e90b096cafa9cfb9eeb06015f85ea8c4b285226)
2015-02-18 18:15:36 +01:00
Nyeriah 9a2c1a9a48 Scripts/BlackTemple: Shade of Akama
* Updated to BossAI
* Solved issue with door not closing when event starts
* Solved issue with gossip flag being reset after event is done
* Misc code clean ups

Updates #10430

(cherry picked from commit 85105ac87bedb26c052be6ab1c3d0a397075414b)
2015-02-17 15:41:14 -02:00
Shauren 56186319bd Core/Spells: Cooldown updates
* Refactored cooldown handling to separate class shared by creatures and players
* Updated and enabled cooldown packets
* Implemented creature school lockouts
* Implemented spell charges
* Fixed AuraUpdate structure
* Fixed aura flag AFLAG_NOCASTER handling
* Implemented spell charge related auras
2015-02-17 01:01:44 +01:00
Golrag b7a65ce9ef Core/Opcodes: SMSG_INIT_WORLD_STATES 2015-02-16 20:33:23 +01:00
joschiwald e8c7d47641 Scripts/FoS: improved bronjahm encounter, thanks @Grimton1337, @tkrokli
Closes #14130

(cherry picked from commit 6dfc35d13c7a6c85ae3a12a6751203869d5e8279)
2015-02-13 21:22:25 +01:00
Nyeriah 69104cfa2a Scripts/ForgeOfSouls: Fix an indentation issue on Bronjahm's script
(cherry picked from commit 69d016d0fe2bb0d47df1e56b36877e5f28c2034e)
2015-02-13 03:32:29 -02:00
Duarte Duarte f4b74f8f1f Merge pull request #14106 from Noeliel/3.3.5
Scripts/ScarletEnclave: Add missing WorldObject parameter for Talk() ove...
(cherry picked from commit f961c06612540bcdfd4871cb1c1ae60654f1ddb0)
2015-02-11 20:39:49 +00:00
Nayd 49e8381a90 Tabs to spaces and whitespace cleanup 2015-02-11 16:47:23 +00:00
jackpoz 27e71f1805 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-02-08 21:04:20 +01:00
jackpoz e6f26cfb1f Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity.
Rename SpellMgr::EnsureSpellInfo() to SpellMgr::AssertSpellInfo() to be consistent with other similar methods.
2015-02-08 19:40:03 +01:00
Nyeriah e6eadc1f3b Scripts/SunwellPlateau: Fix a typo that caused M'uru's phase transition to fail on some rare cases
(cherry picked from commit 1e3247f00e08900180dcda2bdbc1c55e7e05baf9)
2015-02-08 03:45:10 -02:00
Shauren 9db2e6dbbe Core/Players: Updated player byte field offsets 2015-02-05 20:52:51 +01:00
Noffearr 1d894f1b9d Core/Misc: Update outdated license header files
Ref #14028
2015-02-04 21:02:54 +00:00