Commit Graph

28123 Commits

Author SHA1 Message Date
Shauren
fc49833fa6 Add missing changes 2016-02-25 23:20:54 +01:00
Shauren
330529eda2 Core/PacketIO: Updated and enabled calendar raid lockout opcodes 2016-02-25 23:19:32 +01:00
Naios
e40371909c Core/Scripts: Prepare commands once
* Thanks @joschiwald for pointing this out

(cherry picked from commit eee75b80ac)
2016-02-24 23:30:04 +01:00
Shauren
e3b162db7a Core/IPC: Fixed bnet & world servers getting stuck on shutdown after having communicated at any point 2016-02-24 17:52:07 +01:00
Shauren
a0b2be6c1d Core/Logging: Force synchronous logging after io_service shutdown - fixes logging on worldserver shutdown 2016-02-23 23:41:18 +01:00
Shauren
8086a39210 Core/PacketIO: Requeue packets handled with STATUS_LOGGEDIN received before player is fully loaded in one step after packet processing loop - reduces used locks from 3 per packet to 1 per packet 2016-02-22 20:02:26 +01:00
Naios
346b9c1534 Core/Scripts: Remove the npc_netherweb_victim script which is handled through sai now
* Ref 546c8a5b8e

(cherry picked from commit ecd74a8ccc)
2016-02-22 16:58:02 +01:00
Naios
44223e1af1 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

(cherry picked from commit a974574d6e)
2016-02-22 16:57:55 +01:00
Shauren
7afb542a49 Merge branch 'HeirloomLoginFix' into 6.x 2016-02-21 19:48:08 +01:00
KarrokDC
54ed384452 Create fallback for item-cast spells while character is still in the process of logging in.
closes #16604
2016-02-21 19:47:38 +01:00
Killyana
09614568ee DB/Creature: Add missing spawns on Azuremyst Isle 2016-02-21 16:48:46 +01:00
Naios
c43b808665 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
2016-02-21 15:52:50 +01:00
Naios
719159e207 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
2016-02-21 15:52:42 +01:00
Naios
5534915f74 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
2016-02-21 15:36:41 +01:00
Shauren
3829a73e14 Final build fix for gcc 4.7 (no longer supported in 8 days)
(cherry picked from commit 2345e84855)
2016-02-21 14:24:37 +01:00
Naios
716c952cb9 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

(cherry picked from commit ae1a5c6c2b)
2016-02-20 20:32:34 +01:00
Shauren
2a186f29f4 Core/Networking: Close the instance socket acceptor on shutdown 2016-02-20 12:57:38 +01:00
Shauren
97a79af470 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
2016-02-19 19:23:04 +01:00
Shauren
06ec1b8fe8 Build fix - who the hell places semicolons after preprocessor defines?! 2016-02-18 00:03:52 +01:00
Shauren
5e06fdfcc3 Core/Configuration: Set default value of "Expansion" config to CURRENT_EXPANSION (whatever the value at the moment is) and prevent setting LOCALE_none as dbc locale 2016-02-17 23:41:26 +01:00
DDuarte
b6b5665158 Give emphasis to the steps part of issue_template.md 2016-02-17 20:59:05 +00:00
DDuarte
08e6294c80 Also add a template for new Github pull requests
https://github.com/blog/2111-issue-and-pull-request-templates
2016-02-17 20:33:23 +00:00
DDuarte
a624b4523f Fix typos and shortify issue template 2016-02-17 20:22:12 +00:00
DDuarte
4944802399 Add a Github issue template
https://github.com/TrinityCore/TrinityCore/issues/new
2016-02-17 19:53:19 +00:00
Shauren
36a1b1ccd5 Core/Bnet: Moved expiring bans to background task running every minute by default (configurable) - no longer executed during login. 2016-02-16 00:14:59 +01:00
Shauren
3e2b720829 Merge pull request #16615 from Rochet2/patch-2
Fix build failing since 52758c1a0b
2016-02-15 00:01:19 +01:00
Rochet2
beb394bad4 Fix build failing since 52758c1a0b
/TrinityCore/src/server/game/Maps/Map.cpp:2448:22: fatal error: 
      variable 'areaId' is used uninitialized whenever 'if' condition is false
      [-Wsometimes-uninitialized]
        if (GridMap* gmap = const_cast<Map*>(this)->GetGrid(x, y))
2016-02-14 22:36:05 +02:00
w5860363
019d15591c Scripts/TheEye: Add spell Rend to advisor Thaladred the Darkener
Closes #16594
Closes #15915

(cherry picked from commit e28cc7161a)
2016-02-13 11:43:29 -02:00
Shauren
52758c1a0b Core/Maps: Use map.dbc zone fallback if no area is found in grid files, not only if grid files don't exist
Closes #16583
Closes #16584

Extracting new maps is NOT needed.

(cherry picked from commit fa3f106693)
2016-02-12 20:40:43 +01:00
Rushor
e45e900bdf DB/Gameobject: Delete multiple elevelator spawns
* closes #16285
* by msoky
2016-02-11 18:05:57 +01:00
Rushor
2c53b678f7 DB/Spell: Challenge mode teleport spell_target_positions
* by Foldor
* closes #16115
2016-02-11 18:02:10 +01:00
Shauren
f809e5e13e Core/Scripts: Fixed calling UnitScript hooks
Closes #16543
2016-02-11 16:35:42 +01:00
Carbenium
541c125c2c Codestyle 2016-02-11 00:56:39 +01:00
Carbenium
bf186ec26d Core/PacketIO: Updated and enabled SMSG_FISH_ESCAPED 2016-02-11 00:24:33 +01:00
Shauren
e24a6e52e9 Build fixes 2016-02-10 22:11:04 +01:00
Shauren
c09f72a2c8 Core/Maps: Moved min height calculation to worldserver for more precise results
Closes #16530
2016-02-10 22:04:04 +01:00
Rushor
fdfa210b46 DB/Quest: Have They No Shame - AllowableRaces
* fixup previous commit
2016-02-10 21:29:35 +01:00
Rushor
16d386fe31 DB/Quest: Have They No Shame - AllowableRaces
* by Alastyr
* closes #16510
2016-02-10 21:16:38 +01:00
Rushor
6f07e9fcd5 DB/Creature: Nalpak Spawn
* by Saben65
* closes #16114
2016-02-10 20:56:32 +01:00
Rushor
43f245d4b7 DB/Creature: Loot for NPC Tunneling Worm
* by Shoxxo, Killyana, tkrokli
* closes #14270
2016-02-10 20:45:16 +01:00
Rushor
b1ea3df5e4 DB/Creature: Ironforge Gryphon Riders Hovering
* by Saben65
* closes #16220
2016-02-10 20:41:46 +01:00
Carbenium
0113b0f625 Core/PacketIO: Updated and enabled SMSG_FISH_NOT_HOOKED 2016-02-10 15:34:38 +01:00
Nyeriah
781152a30c Scripts: Fix no-PCH build MKII
Bah
2016-02-10 04:00:28 -02:00
Nyeriah
b8445bbc20 Scripts: Fix no-PCH
(cherry picked from commit 130f744c29)
2016-02-10 03:21:49 -02:00
Nyeriah
c559a4762d Scripts/Magister's Terrace: Script Kalecgos' appearance after using the Scryer's Orb
- Added missing waypoints, spells, emotes, proper timing... and prevent him from being summoned multiple times
Closes #13208, #16522
(cherry picked from 6a56ede179)
2016-02-10 03:10:35 -02:00
Nyeriah
9ddd596899 Core/GameObject: Also send EventInform() calls for GAMEOBJECT_TYPE_CAMERA
- This allows object and zone AI to process events called by camera objects as well (previously only possible through event_scripts)

Closes #16506
(cherry-picked from commit 6904073c9c)
2016-02-10 02:47:55 -02:00
Carbenium
f8de1ab354 Core/PacketIO: Updated and enabled SMSG_CHAT_RESTRICTED 2016-02-10 00:01:45 +01:00
Shauren
4f78efd463 Core/Maps: Parse MFBO adt chunk to properly handle height where player counts as falling under the map
* This fixes the height at which player is instantly killed when falling from The Frozen Throne
* Set PLAYER_FLAGS_IS_OUT_OF_BOUNDS on players under the map to enable release spirit button while still falling

Note: Extracting new maps is required
2016-02-09 00:14:58 +01:00
Carbenium
b9f1dffa14 Core/PacketIO: Updated and enabled SMSG_CHAT_PLAYER_AMBIGUOUS 2016-02-08 22:34:20 +01:00
Shauren
43642630c7 Dep/CascLib: Update to ladislav-zezula/CascLib@919a2d670c 2016-02-08 20:57:52 +01:00