Commit Graph

10237 Commits

Author SHA1 Message Date
MitchesD
82cc37e130 Core/Opcodes: enabled SMSG_PET_NAME_INVALID 2016-03-03 17:50:59 +01:00
Shauren
cf2fead644 Core/Spells: Adjusted implicit targeting for SPELL_EFFECT_DESTROY_ITEM 2016-03-02 17:24:07 +01:00
DDuarte
a939a3119f Fix non PCH build after 67b977c86a 2016-03-02 02:03:49 +00:00
DDuarte
43f9fdecff Minor 67b977c86a typo fix 2016-03-02 01:46:37 +00:00
DDuarte
67b977c86a Merge branch 'pets' of https://github.com/myran2/TrinityCore into myran2-pets
# Conflicts:
#	src/server/game/Handlers/PetHandler.cpp
#	src/server/game/Handlers/SpellHandler.cpp
#	src/server/game/Server/Packets/PetPackets.cpp
#	src/server/game/Server/Packets/PetPackets.h
#	src/server/game/Server/Protocol/Opcodes.cpp
#	src/server/game/Server/WorldSession.h
2016-03-02 01:38:39 +00:00
Shauren
397519debf Core/PacketIO: Updated and enabled SMSG_PENDING_RAID_LOCK 2016-03-01 23:44:18 +01:00
Shauren
4c94108ba9 Core/PacketIO: Updated and enabled SMSG_OVERRIDE_LIGHT 2016-02-29 23:54:20 +01:00
DDuarte
78f89c51de And a typo fix 2016-02-29 11:22:10 +00:00
DDuarte
de7c3c8e1c Core/Packets: Move flushbits to the correct place in SpellDispellLog 2016-02-29 11:21:25 +00:00
DDuarte
5576f06f20 Fix build and add a missing FlushBits to SpellDispellLog::Write() 2016-02-29 01:59:53 +00:00
DDuarte
f76771dca0 Core/Packets: Updated and enabled SMSG_SPELL_DISPELL_LOG 2016-02-29 01:54:18 +00:00
DDuarte
ce0deb1013 Core/Packets: Enabled CMSG_REQUEST_VEHICLE_SWITCH_SEAT and CMSG_RIDE_VEHICLE_INTERACT 2016-02-29 00:46:36 +00:00
DDuarte
a07337967b Core/Packets: Updated and enabled SMSG_SPELL_DELAYED 2016-02-29 00:23:23 +00:00
Shauren
4900d50939 Core/PacketIO: Updated and enabled SMSG_GAME_OBJECT_CUSTOM_ANIM 2016-02-28 23:14:27 +01:00
Shauren
71f48ab79b Core/PacketIO: Enabled SMSG_GUILD_EVENT_BANK_CONTENTS_CHANGED 2016-02-27 23:45:12 +01:00
joschiwald
4c9de857c9 Core/Gossips: fixed long time not seen typo in c81d6e9b4b
(cherry picked from commit 75511d0e0a)
2016-02-27 17:58:53 +01:00
Shauren
529820bc14 Core/PacketIO: Implemented SMSG_DAILY_QUESTS_RESET 2016-02-26 23:06:09 +01:00
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
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
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
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
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
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
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
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