Files
TrinityCore/sql/updates/world
treeston 94a5629949 Game/Maps: Clean up instance handling.
- Rename Map::CanEnter to Map::CannotEnter. Return value changed from boolean (true means player can enter) to enum Map::EnterState (CAN_ENTER=0 means player can enter, any other value is a reason for deny).
- Move hack-y player error messages from within Map::CanEnter to the function calling CanEnter as appropriate (primarily WorldSession::HandleAreaTriggerOpcode).
- Modify WorldSession::HandleAreaTriggerOpcode to properly revive the player upon touching the portal leading to the instance they died in even if they are currently unable to zone in. Fixes and closes #15758.
- Modify Player::LoadFromDB to properly spawn players in the instance they logged off in if possible. Fixes and closes #15561.
- Modify permanent save behavior to be blizzlike: Players can always enter an instance they are saved to (assuming there are no map constraints against it), but get a homebind timer if the instance is already in use.

(cherry picked from commit 43fa7d48a5)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Maps/Map.cpp
	src/server/game/Maps/MapInstanced.cpp
	src/server/game/Miscellaneous/Language.h
2016-01-11 01:51:21 -03:00
..
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-07-30 10:20:45 +02:00
2015-08-10 01:26:52 +02:00
2015-09-11 05:55:40 +02:00
2015-08-15 18:29:16 +02:00
2015-08-30 18:17:59 +02:00
2015-08-31 21:35:56 +02:00
2015-09-07 05:08:33 +02:00
2015-09-03 20:48:00 +02:00
2015-09-03 21:00:24 +02:00
2015-09-03 21:35:22 +02:00
2015-09-07 19:55:00 +02:00
2015-09-07 19:57:53 +01:00
2015-09-07 21:16:48 +02:00
2015-09-11 06:01:20 +02:00
2015-09-11 21:21:34 +02:00
2015-09-19 16:15:51 +00:00
2015-09-21 04:02:20 +02:00
2015-10-30 15:35:47 +01:00
2015-11-24 17:46:44 +01:00
2015-12-18 16:22:40 +01:00