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
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
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
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
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
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
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
Carbenium
f5ccb7b474
Core/PacketIO: Updated and enabled SMSG_SET_PLAYER_DECLINED_NAMES_RESULT
2016-02-07 21:02:35 +01:00
Shauren
4d956c89fc
Core/Maps: Use IsValidMapCoord for checking Z coord instead of just std::isfinite - only acceptable values are between -17066.6656 and 17066.6656
2016-02-07 12:12:42 +01:00
Carbenium
3bdde71a97
Core/PacketIO: Updated and enabled SMSG_NOTIFY_MISSILE_TRAJECTORY_COLLISION
2016-02-06 23:05:55 +01:00
joschiwald
3ac2ba721d
Core/Gossips: added some sanity checks to prevent duplicate interaction
...
(cherry picked from commit 8b6954e81b )
Scripts: addition to 8b6954e81b
Closes #16466
(cherry picked from commit b259d5c2bc )
2016-02-06 18:16:11 +01:00
Shauren
983635458b
Warning fix
2016-02-06 13:53:56 +01:00
Shauren
38d6054d52
Core/PacketIO: Marked SMSG_COMPRESSED_PACKET as enabled (this commit has no effect whether it is enabled or not - this opcode is always enabled as it is sent directly from WorldSocket)
2016-02-05 21:21:54 +01:00
Carbenium
d3c556bc40
Core/PacketIO: Enable SMSG_SPELL_MISS_LOG and SMSG_UPDATE_LAST_INSTANCE
2016-02-05 01:18:55 +01:00
Carbenium
8e8f51848c
Core/PacketIO: Enable SMSG_GM_TICKET_SYSTEM_STATUS, SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA, SMSG_PLAY_SCENE and SMSG_QUERY_ITEM_TEXT_RESPONSE
2016-02-05 01:04:59 +01:00
Carbenium
75598953fb
Core/PacketIO: Enable SMSG_CORPSE_TRANSPORT_QUERY
2016-02-05 00:47:58 +01:00
MitchesD
bc0850c3aa
Core/Opcodes: enabled SMSG_PVP_CREDIT
2016-02-04 21:55:10 +01:00
Shauren
0fc728efb9
Core/PacketIO: Updated and enabled SMSG_AREA_SPIRIT_HEALER_TIME
2016-02-04 21:00:00 +01:00
Carbenium
f1685b97d9
Core/PacketIO: Enable SMSG_AREA_TRIGGER_NO_CORPSE
2016-02-04 01:33:05 +01:00
Carbenium
b0d8357d14
Warning fix
2016-02-04 01:11:37 +01:00
Carbenium
93b552685b
Core/PacketIO: Updated CMSG_WARDEN_DATA
...
Note: No packet handling changes made whatsoever.
...and ninja-fix a missing break from previous commit.
2016-02-03 23:28:54 +01:00
Carbenium
15bfabaa0a
Core/PacketIO: Updated CMSG_COMPLAINT
2016-02-03 22:53:48 +01:00
Carbenium
ff9ac9f9b0
Core/PacketIO: Use Vector3 instead of Position since orientation isn't included (MissileTrajectoryCollision and UpdateMissileTrajectory)
2016-02-03 17:14:15 +01:00
Carbenium
ca967f4374
Core/PacketIO: Updated CMSG_VOICE_SESSION_ENABLE and CMSG_SET_ACTIVE_VOICE_CHANNEL for further usage
2016-02-03 16:47:24 +01:00
Carbenium
6715a91907
Core/PacketIO: Updated and enabled CMSG_UPDATE_MISSILE_TRAJECTORY
2016-02-03 15:10:58 +01:00
Carbenium
f269335bb2
Core/PacketIO: 305b99e065 follow-up
2016-02-03 01:48:02 +01:00
Carbenium
305b99e065
Core/PacketIO: Updated and enabled CMSG_MISSILE_TRAJECTORY_COLLISION
2016-02-03 01:25:25 +01:00