Commit Graph

142 Commits

Author SHA1 Message Date
Shauren
e253bb5a17 Core/PacketIO: Updated client packet structures to 7.2.0 2017-04-13 19:36:53 +02:00
Shauren
fcb50c5e65 Core/Movement: Remove PLAYER_FLAGS_IS_OUT_OF_BOUNDS flag if player manages to move back in bounds (pretty much gms only) 2017-03-20 20:30:28 +01:00
Shauren
047c6f072b Core/Movement: Handle move stop embedded in spell cast requests 2017-02-25 22:13:00 +01:00
Treeston
346e4824be Entities/Unit: Cleanup refactor. Changes: (#17819)
+ Unit::m_movedPlayer -> Unit::m_playerMovingMe
+ Player::m_mover -> Player::m_unitMovedByMe
+ Unit::GetMover() -> Unit::GetUnitBeingMoved()
+ Unit::GetPlayerMover() -> Unit::GetPlayerBeingMoved()
+ NEW: Unit::GetClientControllingPlayer()
(cherry picked from commit 8deda7ed7f)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Handlers/MiscHandler.cpp
#	src/server/game/Handlers/MovementHandler.cpp
#	src/server/game/Handlers/SpellHandler.cpp
#	src/server/game/Server/WorldSession.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/game/Spells/SpellInfo.cpp
2017-02-12 16:24:25 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
807488df8a Core/PacketIO: Minor refactor in Opcode definitions, packet class type no longer needs to be defined manually, it is now inferred from handler argument 2016-08-06 12:34:38 +02:00
Shauren
d2733eb6f1 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-06-13 21:00:25 +02:00
Shauren
2fe6fc63d7 Core/Movement: Fixed weird loading screen behavior (progress bar loading to full then disappearing) - also makes teleporting between maps faster 2016-06-13 18:00:55 +02:00
Shauren
c529566ac4 Core/GameObejcts: Fixed disconnects happening when viewing nearby players on elevators
Closes #17335
2016-06-12 00:11:00 +02:00
Shauren
70102f32fe Core/DataStores: Updated opcodes and db2 to 7.0.3.21414 2016-05-20 23:49:53 +02:00
Shauren
41ae38d94d Core/DataStores: Updated dbc/db2 to 7.0.1.20914 2016-05-20 23:48:24 +02:00
Chaouki Dhib
3cbbcdb51a Core/Movement: Clean up and improvements on Unit::SetSpeed (#16843)
- Clean up of Unit::SetSpeed (mostly cherry picks from the 6.x branch):
- the opcode sent depends on the unit. until now, MSG_MOVE_SET_* were sent for every units which isn't like retail behavior.
- Removed the unused method parameter "forced" from Unit::SetSpeed
- Renamed Unit::SetSpeed to SetSpeedRate
- Removed the unused method parameter "forced" from Unit::UpdateSpeed
- Added utility method Unit::SetSpeed which take the new flat value.
(cherry picked from commit dc3327f9c5)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Handlers/MovementHandler.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
#	src/server/scripts/Kalimdor/zone_azshara.cpp
#	src/server/scripts/Kalimdor/zone_durotar.cpp
#	src/server/scripts/Outland/zone_hellfire_peninsula.cpp
2016-04-16 02:26:24 +01:00
Treeston
7422557d03 Merge pull request #16110 from Treeston/3.3.5-instancerevive
Game/Maps: Clean up instance zone-in handling
(cherry picked from commit eb3dc8a4f0)
2016-03-21 19:41:28 +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
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren
67c57c4b5b Core/PacketIO: Updated and enabled /mountspecial packets 2015-12-19 23:43:39 +01:00
Shauren
cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
Shauren
f34bae89d3 Core/PacketIO: Disabled CMSG_TAXI_REQUEST_EARLY_LANDING 2015-09-19 17:39:01 +02:00
StormBytePP
196f935cd8 Core/Taxi: Implemented taxi routes, thanks to @MitchesD patch for initial work, and @Shauren for IDA help
Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Handlers/TaxiHandler.cpp
2015-09-14 01:51:38 +02:00
Vincent-Michael
2e586bc520 Core: Header cleanup in game/*/*.cpp 2015-07-25 20:18:42 +02:00
MitchesD
cf9fa507d0 Core/PacketIO: updated CMSG_SUMMON_RESPONSE 2015-07-16 22:01:22 +02:00
jackpoz
1915a4ad49 Core/Instances: Fix some Instance Lock chat messages
Always send a Welcome type Instance Lock chat message when entering an instance instead of changing type based on remaining time.
Fix scheduled warning message to always send "Your instance lock for ... will expire in 0 minutes." even if there are hours left, issue added in 4193806dba , closes #11519 .
Update warning messages based on remaining time so that the most meaning is always used (6 hours left, 59 minutes left, etc).

(cherry picked from commit fae8269589)

Conflicts:
	src/server/game/Handlers/MovementHandler.cpp
	src/server/game/Maps/Map.cpp
2015-07-12 12:47:43 +01:00
Shauren
5b725db033 Core/Garrisons: Basics for garrisons 2015-05-08 00:03:15 +02:00
Shauren
68bd33b654 Core/Player: Implemented seamless teleporting 2015-05-01 15:44:43 +02:00
Shauren
d83c930a94 Core/PacketIO: Updated and enabled most movement _ACK packets 2015-04-12 19:43:59 +02:00
Shauren
0878a42b7e Core/PacketIO: Updated and enabled collision height opcodes
* Removed old 4.3.4 movement structures
2015-04-05 01:39:32 +02:00
Shauren
14b475e865 Core/PacketIO: Enabled CMSG_MOVE_KNOCK_BACK_ACK, SMSG_MOVE_UPDATE_KNOCK_BACK and SMSG_MOVE_UPDATE 2015-04-04 23:49:14 +02:00
Shauren
a7f2171274 Core/PacketIO: Uncommented all switches on opcodes 2015-04-01 11:13:10 +02:00
Shauren
5389180778 Core/PacketIO: Updated all client opcode values 2015-04-01 01:44:10 +02:00
Shauren
cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
MitchesD
a5b662e0d9 Core/PacketIO: CMSG_SET_ACTIVE_MOVER, SMSG_MOVE_SET_ACTIVE_MOVER updated and enabled 2015-03-20 15:41:13 +01:00
Gigi1237
5a8db92e62 Core/PacketIO: Updated and enabled _SPEED_CHANGE_ACK
Added packet structure for MovmentAck
2015-03-15 17:26:19 +01:00
joschiwald
c61bcf1206 Core/NetworkIO: sync opcodes with wpp 2015-01-25 21:08:54 +01:00
Shauren
5fed109cbf Core/Loot: Implemented automatic assignment of Heroic/Mythic item bonuses when dropped in appropriate instance difficulty 2015-01-24 20:28:42 +01:00
joschiwald
fd6668d17a Core/NetworkIO: sync opcode values with wpp and removed duplicate ones 2015-01-18 23:56:01 +01:00
Shauren
faa583c784 Core/Maps: Updated map difficulties 2015-01-10 01:35:47 +01:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Intel
44cede7684 Core/Misc: Fixed some of the Coverity defects 2014-12-01 02:25:29 +02:00
Intel
e65590fa69 Core/Packets: Added SMSG_MOVE_TELEPORT, SMSG_MOVE_UPDATE_TELEPORT, CMSG_MOVE_TELEPORT_ACK packets 2014-11-30 23:35:12 +02:00
Intel
2580e7e30b Core/Packets: Added SMSG_NEW_WORLD and CMSG_MOVE_WORLDPORT_ACK
Also fixed wrong glyph index define
2014-11-17 02:36:53 +02:00
Rat
5545a2605b Core/Movement: Some fixes to player movement (SMSG_PLAYER_MOVE) 2014-11-15 11:37:08 +01:00
Intel
b5236a6cdc Core/DataStores: Updated AreaTable.dbc
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-11-15 04:27:35 +00:00
Intel
fa0983dfa3 Core/DataStores: Updated all remaining dbc/db2 except Item.db2, Item-sparse.db2
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-11-15 04:27:34 +00:00
Rat
196e960b57 Core/Packets: Fix player movement client packets 2014-11-15 02:52:02 +00:00
Rat
ac0ff1fc9b Merge branch 'dbc' of https://github.com/Intel/TrinityCore into Intel-dbc
Conflicts:
	src/server/game/DataStores/DBCStores.cpp
	src/server/game/DataStores/DBCStructure.h
	src/server/game/Events/GameEventMgr.cpp
2014-11-10 15:18:01 +01:00
joschiwald
db7c07246a Core/NetworkIO: updated CMSG_REORDER_CHARACTERS packet and other opcode values 2014-11-06 02:59:59 +01:00
Intel
e1cb43e831 Core/DataStores: Fixed build after rename 2014-11-05 23:33:56 +02:00
Shauren
cffbcea877 Core/Entities: Sixth part of removing GetGUIDLow() uses 2014-10-22 23:31:10 +02:00
Shauren
68f45e8734 Core/Entities: Final batch of removing implicit conversions of ObjectGuid to uint64 2014-10-21 21:09:15 +02:00
Shauren
034561792c Core/Entities: Second batch of removing implicit conversions of ObjectGuid to uint64 2014-10-21 20:27:00 +02:00