Commit Graph
16642 Commits
Author SHA1 Message Date
ShinDarth 3b1db7a514 Scripts/DuelReset:
- do not reset when duel is fled
- minor improvement to SpellHistory::RestoreCooldonStateAfter duel method
2015-11-07 21:16:18 +01:00
Vincent-Michael 7d5e7102cd Core: Whitespace cleanup 2015-11-07 20:01:53 +01:00
Vincent-Michael ff9001ce1d Updated url for tc wiki
(cherry picked from commit 6d01960448d3d2f53cd532acafb707e517e23dd5)
2015-11-07 19:35:24 +01:00
Golrag 7593e861de Core/CreatureGroups: Don't set positionZ to ground for flying creatures.
(cherry picked from commit df4c856360a56c3abe1c231ed37cd3673515c090)
2015-11-07 14:53:20 +01:00
Naios 97dd18cb78 Core/ScriptMgr: Improve commit 155a289f052b3a48caade
(cherry picked from commit 30c421bf57c8d4c1000f8690d439283b858d485d)
2015-11-07 13:10:21 +01:00
Naios d81784194c Core/ScriptMgr: Fix "conditional expression is constant" warning.
* introduced in commit 12d1993994b11785

(cherry picked from commit 155a289f052b3a48caadebafe587c0e66685857f)
2015-11-07 13:10:04 +01:00
Naios 3a3a6bbfd2 Core/Globals: Use std::string rather than char* to pass script names around.
(cherry picked from commit b7b49fe35f87e83813466cb302ff17381792e607)

Conflicts:
	src/server/game/Battlegrounds/BattlegroundMgr.cpp
	src/server/game/Globals/ObjectMgr.cpp
2015-11-07 13:09:10 +01:00
Naios 23153c8bf1 Core/ScriptMgr: Replace IsDatabaseBound() methods through traits.
(cherry picked from commit 12d1993994b11785174c7caa7d7f9b5aa87d8411)
2015-11-07 12:34:15 +01:00
Shauren 910fb00130 Core/Corpses: Fixed a possible crash adding bones to grid
Closes #15808

(cherry picked from commit ec1583df67605b7253a34dc5f153cdad5b16969e)
2015-11-06 21:30:41 +01:00
Shauren d6c52ba28c Core/Commands: Added assertion checking if command name is not null
(cherry picked from commit 56959697257aba3537af2273d9d30114bfd6bd5c)
2015-11-05 21:30:29 +01:00
Shauren a17c27aaeb Core/Accounts: Fixed ban check after 517a30d7c1 2015-11-05 21:25:51 +01:00
jackpoz ea9c112b30 Merge pull request #15804 from Tonghost/3.3.5
Core/Misc: Remove unneeded files
2015-11-03 22:52:35 +01:00
Carbenium 12ae32a9b6 Merge pull request #15720 from Tonghost/3.3.5
Core/Items: Fix a trading spoof exploit.
2015-11-03 17:48:01 +01:00
sirikfoll 22f1d26986 DB/CORE Minor change in quest Kick, What Kick? and some codestyle
Remove the line that despawns the 'Apple' npc, this despawn is non-blizzlike and breaks the quest.
Thx Killyana for sql and valuable information

Closes #15480
2015-11-03 17:01:25 +01:00
ShinDarth 7ab1d1b7d0 Core/Ticket improved ticket system
- Safely close ticket before character deletion
- Allow to keep trace of delete characters tickets (configurable)
- Closes #15655

Closes #15699
2015-11-03 16:07:30 +01:00
Incorrect d98037a75d Core/Misc: Remove unneeded files
These 3 BlackRock Mountain scripts can be removed from source:

- boss_anubshiah.cpp
- boss_gorosh_the_dervish.cpp
- boss_grizzle.cpp

They already removed from the creatures in DB, and are currently causing
DBErrors.
2015-11-02 02:11:52 +02:00
treeston 91de0322bb Scripts/Naxxramas: Anub'rekhan encounter cleanup.
- Cleaned up events behavior to use phases instead of weird checks for auras.
- Cleaned up Crypt Guard despawn behavior, they should no longer despawn instantly upon death.
- Moved initial greeting from MoveInLineOfSight hack to proper areatrigger script.
- Fixed Crypt Guard respawn behaviour to prevent pulling them before Anub'rekhan has fully reset.
- Fixed Crypt Guard aggro behaviour to call for help on aggro. This prevents pulling the initial pair of Crypt Guards without engaging the boss.
- Added missing boss emotes.
- Code style cleanup.
2015-11-01 22:31:48 +01:00
MitchesD c82311897a Merge pull request #15681 from Treeston/3.3.5-faerlina
Scripts/Naxxramas: Faerlina cleanup
2015-11-01 20:49:10 +01:00
Aokromes 03dc96b4c4 Core/Misc: Fix build 2015-11-01 20:02:41 +01:00
Aokromes c58f540348 Core/Conditions: Phase condition changes
* SourceGroup defines which phase should the condition affect

* SourceEntry limits the area of the phase (alternatively 0 means all areas)
2015-11-01 19:11:52 +01:00
jackpoz da0671f4fe Scripts/Naxxramax: Fix clang warning 2015-11-01 18:40:35 +01:00
Shauren 965d29484b Core/Items: Corrected all spellid checks from item_template to also check -1
Closes #15797
2015-11-01 16:29:29 +01:00
Naios 570e6baa09 Core/AI: Cleanup in CreatureAISelector
(cherry picked from commit 6fa45881914e0961c6c971d2c5e78fa3c712c5fb)
2015-11-01 15:05:16 +01:00
Naios 105f624763 Core/AI: Convert the hardcoded variadic RAND functions into one C++11 variadic template version.
(cherry picked from commit 0b6f7845911c41dcc175996816abc2e06f7dadbd)
2015-11-01 15:03:02 +01:00
Shauren e8909de8de Core/Accounts: Check active column when determining if account is banned or not 2015-11-01 13:16:29 +01:00
Vincent-Michael 98cd477149 Core/Misc: Update game creature template locale in simple system
(cherry picked from commit 8aa55a0b570cfee0445cd841f86baa5ca433a803)
2015-10-31 20:54:59 +01:00
Shauren 14d382f185 Core/Conditions: Optimizations part 3 changed ConditionStore to a simple array
(cherry picked from commit db0c48c17fdf61b8816cc229dcfec907354326cd)
2015-10-31 20:26:40 +01:00
Shauren cba122ad94 Core/Conditions: Optimizations part 3 removed copying condition containers all over the place
(cherry picked from commit b09e63e9debfab49e635a591339294dd96b09d95)
2015-10-31 20:26:40 +01:00
Shauren 57c4b3d42c Core/Conditions: Add const to methods not modifying ConditionMgr
(cherry picked from commit 2cce998e905bed0873fbf0b3da981857c139e5d5)
2015-10-31 20:26:40 +01:00
Shauren 6ab90cc57d Core/Conditions: Optimizations part 2 removed unneeded code
(cherry picked from commit e5c1e7d71c3460a39317bacbc432adc3307c63ca)
2015-10-31 20:26:40 +01:00
Shauren 3158605603 Core/Conditions: Optimizations part 1 - use containers more suited for their role
(cherry picked from commit 9fa938f3e0df2ca6b9ff4f800a5b41ba18cdd214)
2015-10-31 20:26:40 +01:00
Shauren dc74454356 Core/Conditions: Type renaming
(cherry picked from commit 5e0cee85ddd67188365ead3f18206df088e1f0c7)
2015-10-31 20:26:40 +01:00
joschiwald 36a205ec00 Core: fixed warning introduced in last commit
(cherry picked from commit fe0c07a6fe4dea8772e69ec8ad491bdda7f61746)
2015-10-31 19:13:05 +01:00
joschiwald df88c7f278 Core/Misc: removed some useless map checks
(cherry picked from commit cf1e80e3d09067ca4d0078a8113a09227a9f91ae)
2015-10-31 19:11:41 +01:00
Shauren 635dc9c02a Core/Players: Fixed automatic learning skills gained from learning spells when leveling
Closes #15391

(cherry picked from commit 3fceabfa113983549b5784dfd3f42259a53c258b)
2015-10-31 18:57:59 +01:00
joschiwald 3a4f33d007 Scripts/Ulduar/Algalon: fixed achievement "He Feeds On Your Tears"
Ref #6157

(cherry picked from commit d68e3325d5a09328425b8ae9855f3f5936ff24f9)
2015-10-31 18:38:34 +01:00
Shauren b8e86b9b7a Core/DBLayer: Allowed using GetDouble for SUM results instead of requiring string conversions
(cherry picked from commit 3109ab2da08d094df97724355bff681d7951e576)
2015-10-31 18:25:40 +01:00
David Carlos Manuelda a410072d6d Removed unneeded nullptr check
(cherry picked from commit 20215a8c421fd93d00233213966399a0c76e626a)
2015-10-31 18:22:55 +01:00
David Carlos Manuelda 8dc10022a6 Fixed boss evade and doors closed by cr4st.
Should close #6377 and #15239

(cherry picked from commit e430f3f61ae45ca0e8e251f96a1605bdb9299eb1)
2015-10-31 18:21:23 +01:00
Shauren f56bb2e0a6 Core/Spells: Extended spell required shapeshift masks to 64 bits and defined a new spell attribute
(cherry picked from commit 191d2c7262d3680776579055a063a433add54277)
2015-10-31 18:14:36 +01:00
StormBytePP 072375dbd8 Core/Spells: Fixed gcc-4.7.x compile
(cherry picked from commit 595bb841a9f9b71bae0fcbcdfb0eb0c38143c7fc)
2015-10-31 18:02:54 +01:00
David Girón bc187f8760 Script/Commands: Add some sanity checks to cast commands
Closes #15061

(cherry picked from commit 15dec9a76ca56930c6764e8483cbf4ce8aae4f90)
2015-10-31 18:02:32 +01:00
MitchesD a968595977 Core/PacketIO: fixed instance binding of gamemasters
(cherry picked from commit 231fb1d322bc1c91f9227d43d3ef672605232154)
2015-10-31 17:39:17 +01:00
Shauren 1de03cf107 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex

(cherry picked from commit b564c10b13effed63c7b7dae25117e2e0a2c64e4)
2015-10-31 17:27:45 +01:00
Shauren 60da7c6552 Core/Networking: Fixed possible crashes happening if async query retrieving account data takes too long
Closes #14944

(cherry picked from commit 590c6e399d778db459fc8417322c80549081440a)
2015-10-31 16:04:14 +01:00
Shauren 97fe228334 Core/Threading: Fixed possible data races after making auth queries async by moving their processing to boost::asio::io_service::run threads
(cherry picked from commit f6bc87fe5df8b60ca0bf3a35f61305fd780a7e7d)
2015-10-31 15:56:02 +01:00
Shauren b95648ae27 Core/Threading: Significantly reduced the severity of possible data race during player login
* This commit changes a data race on a pointer value to data race on integers (guid)

(cherry picked from commit dbe20510569e6bd4a26892be84289b5864350ea6)
2015-10-31 15:41:32 +01:00
Shauren 517a30d7c1 Core/DBLayer: Sprinkle some async magic on worldserver auth/session load process
(cherry picked from commit 0e49eefe85790ac365c90202a2e22ce6b266ac31)
2015-10-31 15:36:48 +01:00
joschiwald 5e28a8e375 Core/PlayerDump: cherry picked refactoring from commit e49462fc1e7b5515977da03dbc3806ef639b983b)
Fixed reguiding items in character_equipmentsets on pdump load
2015-10-31 13:49:27 +01:00
Shauren 6c53f820ae Core/Players: Fixed saving players with incorrect gender 2015-10-31 12:30:22 +01:00