Commit Graph

25051 Commits

Author SHA1 Message Date
Treeston
4e4b2b9a13 Merge pull request #16644 from Treeston/3.3.5-customcharmai
Core/UnitAI: Rework creature-controlled player behavior.
2016-02-24 13:39:31 +01:00
Dr-J
dab661c8da DB/Text: More texts
More event texts
2016-02-23 18:59:11 +00:00
Kittnz
6f75bf9e0b DB/Event: Add all missing Lunar Festival Objects in Exodar, Darnassus, Iron Forge 2016-02-23 19:55:46 +01:00
Kittnz
2df2f56f8c Core/Weather: Fix small weather system bug
https://github.com/cmangos/mangos-wotlk/commit/5ef2f17
2016-02-23 17:36:31 +01:00
treeston
2f14664340 Core/UnitAI: Rework creature-controlled player behavior.
- Removed hacked control mechanism, use proper PlayerAI instead
- Port old hacky code to new SimpleCharmedPlayerAI class
- Make adjustments to aforementioned code to fix bugs:
    - Properly clean up movement after charm ends
    - Only try to attack a target if charmer is engaged in combat
2016-02-23 13:41:56 +01:00
Dr-J
c0c94d0e31 DB/Quest: Taken in the Night
Fix a problem, previous worked for me due to have duplicated timed action lists as originally got id wrong ie 22335 instead of 22355, had corrected id but failed to update the action to call timed action lists but failed to spot this has had timed action lists with both ids.
2016-02-23 12:17:25 +00:00
Naios
ecd74a8ccc Core/Scripts: Remove the npc_netherweb_victim script which is handled through sai now
* Ref 546c8a5b8e
2016-02-22 16:47:42 +01:00
Naios
a974574d6e CMake: Add the possibility to pass an arbitrary count of targets to add_cxx_pch.
* A PCH is still generated for every target which was passed to the macro
* Resolves naming conflicts when using the same PCH header from multiple projects
* Ref #15671
2016-02-22 16:25:54 +01:00
Naios
9e43365b3d Core/Scripts: Split the huge scriptloader into smaller pieces
* Each subdirectory contains it's own translation unit now
  which is responsible for loading it's directory
* Improves merging & decoupling between 3.3.5 <-> 6.x
* Removes unused Battleground loader
* Ref #15671

(cherry picked from commit 5534915f74)
2016-02-22 16:25:54 +01:00
Naios
b5369b7d87 Core/Common: Add a generic config helper to access built-in overwriteable paths.
* Adds CMAKE_COMMAND and CMAKE_BINARY_DIR to revision_data.h
* Move the source and mysql exe path handling out of the DBUpdater.
* Make some Config methods const for correctness.
* Remove C & CXX flags from revision_data.h
 (was unused and didn't capture all cxx vars)
* Reorder the link order to prevent `ld` from ignoring the file
* Ref #15671

(cherry picked from commit 719159e207)
2016-02-22 16:25:47 +01:00
Naios
f2233f5d14 Core/Updater: Convert an assertion into a fatal error
* The error is triggered when it fails to open an update for hashing
* See 'https://community.trinitycore.org/topic/12352-worldserver-crashes-on-database-update/'
  for details
* And a minor cleanup in the UpdateFetcher

(cherry picked from commit c43b808665)
2016-02-22 16:01:27 +01:00
Dr-J
c14ef88522 DB/Quest: Something that does not melt
Spawn additional http://www.wowhead.com/object=188441/splintered-bone-chunk

Closes #16642
2016-02-22 14:43:40 +00:00
Dr-J
546c8a5b8e DB/Quest: Taken in the Night
CPP > SAI conversion of script for http://www.wowhead.com/quest=10873/taken-in-the-night

Also closes #16098
2016-02-22 13:20:55 +00:00
treeston
9c0deaaebb Fix Baron Geddon and Ragnaros in Molten Core to do pure fire elemental damage with their melee attacks. 2016-02-22 04:30:33 +01:00
Aokromes
54c012f0e8 Merge pull request #16660 from ariel-/cmakeclangbuildtype
Misc/Buildsystem: Use correct variable name for Clang builds
2016-02-22 02:06:28 +01:00
Bernd Lörwald
b53b81d8a6 cmake: use CMAKE_BUILD_TYPE instead of CONFIGURATION as BUILD_DIRECTIVE
(cherry picked from commit 06391e5e9d)
2016-02-21 21:55:50 -03:00
joschiwald
31b1da4a14 Merge pull request #16651 from ariel-/movespeedfix
Core/Unit: Fix typo
2016-02-21 15:06:50 +01:00
Shauren
2345e84855 Final build fix for gcc 4.7 (no longer supported in 8 days) 2016-02-21 14:13:00 +01:00
ariel-
405917e70f Core/Unit: Fix typo introduced in 6f2b086048 2016-02-21 00:38:21 -03:00
Naios
ae1a5c6c2b Core/Updater: Use a different method for file reading
* Current method causes issues under CentOS 6 and could possibly
  lead to cutted buffer content when reading in textmode.
* Closes #16209
2016-02-20 20:18:42 +01:00
Aokromes
4cd937140b Merge pull request #16038 from tkrokli/grammar_and_spelling_corrections_335
[3.3.5] Core/Logs: English text corrections
2016-02-20 13:23:35 +01:00
Shauren
e60f575ac8 Core/Misc: Fixed a crash happening when a db string array was NULL
Closes #15670
2016-02-20 13:13:29 +01:00
Shauren
b2e03a7448 Core/Networking: Rewrite networking threading model
Each network thread has its own io_service - this means that all operations on a given socket except queueing packets run from a single thread, removing the need for locking
Sending packets now writes to a lockfree intermediate queue directly, encryption is applied in network thread if it was required at the time of sending the packet

(cherry picked from commit 97a79af470)
2016-02-20 13:08:03 +01:00
tkrokli
9e4cc26312 [3.3.5] Core/Logs: English text corrections
This is an attempt to proofread standard error messages and system messages
from both core and DB. The corrections span typos, grammar and punctuation.

Because some of these messages can have multiple meanings depending on context,
this PR will stay in "WIP" status until the corrections have been validated and approved.

You are welcome to suggest improvements and files not yet included in this list.

Thanks to @Kinzcool for suggesting this line of work. :)
2016-02-20 10:05:04 +01:00
treeston
d4184065b6 I don't like drycoding. It's coarse and rough and irritating and it gets everywhere. 2016-02-20 03:20:43 +01:00
treeston
ab194d5ae3 Incorrect AI aggression as a consequence of the LineOfSight change, episode three, revenge of the special AIs. Also, hopefully the last. No original trilogy please. 2016-02-20 03:13:11 +01:00
Shauren
e4dfbb60fd Rename 2016_02_15_01_world_335.sql to 2016_02_19_01_world_335.sql 2016-02-19 15:03:21 +01:00
Shauren
2ee36facad Merge pull request #16622 from P-Kito/3.3.5
[3.3.5] Core/Spells: Fix Glyph of Arcane Shot
2016-02-19 15:02:17 +01:00
Treeston
3e250fe4e8 Merge pull request #16633 from Treeston/3.3.5-talentinspect
Core/Packets: Adjust 'TalentsInspecting' option
2016-02-19 14:04:18 +01:00
Dr-J
f2ab2464be DB/Quest: Uncommon Scents
The quests http://www.wowhead.com/quest=24805 and http://www.wowhead.com/quest=24805 are optional breadcrumb quests and this first quest from both faction chains is skippable.
2016-02-19 01:03:22 +00:00
Kittnz
1516600cef DB/Pets: Fix script names for Egbert & Pandaran Monk 2016-02-18 22:36:31 +01:00
Kittnz
542f5264d3 Core/Pets: Move Egbert & Pandaren Monk into pet_generic.cpp 2016-02-18 21:30:49 +01:00
MitchesD
8e8f597a07 Rename 2016_01_13_99_world.sql to 2016_02_18_01_world.sql 2016-02-18 21:04:11 +01:00
MitchesD
408572c472 Merge pull request #16258 from sirikfoll/feast
Core/Spells Implemented SpellScripts Needed for Achievement Pilgrim's…
2016-02-18 21:03:11 +01:00
Treeston
59e59e412f Merge pull request #16637 from P-Kito/lfg_quest
[3.3.5/6.x] Core/Player: Fix dungeonfinder quests not rewarding
2016-02-18 20:57:09 +01:00
treeston
1134b5e2f4 Core/Packets: Adjust 'TalentsInspecting' option so it no longer doesn't actually do what it says (but would instead disable talent inspecting completely). 2016-02-18 20:54:59 +01:00
Kittnz
b872565fb6 Apparently it's already 18/02.. 2016-02-18 20:13:21 +01:00
Kittnz
359d9bf140 Rename SQL 2016-02-18 20:11:26 +01:00
Kittnz
2d753cd783 Merge pull request #16132 from henhouse/smitefix
Scripts/Deadmines: Fix #6624 Mr. Smite's event text, and phase switch…
2016-02-18 20:07:22 +01:00
Dr-J
67b6f38287 DB/Event: Love is in the Air (Kwee Q. Peddlefeet)
Script all instances of Kwee Q. Peddlefeet to give option to give Lovely Charm Collector's Kit.  Player does not need quest for this option to be available, gossip menu already existed in db and all but 2 of the Kwee Q. Peddlefeet already had gossip menu set in creature template but no gossip npc flags.
2016-02-18 16:51:55 +00:00
Dr-J
982e3ef3ef DB/Event: Love is in the Air
Implement some missing texts and gossips
2016-02-18 16:08:07 +00:00
Kito
ab2b0f4168 Core/Spells: Fix Glyph of Arcane Shot 2016-02-17 22:58:04 +01:00
Kito
97e0d1bbdf Core/Player: Fix dungeonfinder quests not rewarding 2016-02-17 22:39:14 +01:00
DDuarte
b8bd0053d8 Github issue and pull request templates
(cherry picked from commit 4944802399)
(cherry picked from commit a624b4523f)
(cherry picked from commit 08e6294c80)
(cherry picked from commit b6b5665158)
2016-02-17 21:02:23 +00:00
Killyana
1399e705eb DB/Event: Fix all Commoners spawns, models, auras and quests
Updates #16129
2016-02-17 18:38:23 +01:00
Henry
5ee2be21bf Scripts/Deadmines: Fix #6624 Mr. Smite's event text, and phase switching.
* Fixes Mr. Smite announcing to instance once doors have been destroyed.
* Add missing dialogue to encounter phases.
* Now properly runs in front of his chest, kneels down and equips items, stands, and reengages like he's supposed to.
* Fix weapon model for first phase when he switched to double axes.
2016-02-16 17:07:09 -05:00
treeston
ae58f8e616 Revert "Merge pull request #16535 from Eliminationzx/FixWrongSealOfRighteousnessCalculation" while we figure out more details (see discussion in the PR).
This reverts commit 1a213bd921, reversing
changes made to 657adc270a.
2016-02-16 12:34:20 +01:00
Shauren
655fc0135f Core/Auth: Cancel ban expiry check timer on shutdown 2016-02-16 00:16:31 +01:00
Shauren
811c8bbd69 Build fix 2016-02-15 19:40:34 +01:00
Shauren
dfbb3bec56 Core/Auth: Moved expiring bans to background task - no longer blocking queries during login by default running every minute (configurable) 2016-02-15 19:38:53 +01:00