Commit Graph

11855 Commits

Author SHA1 Message Date
Rat
1f4d52b2ff Core/Phases:
- Added terrain swap info to .gps command (todo: move text to db)
- RebuildTerrainSwaps when adding a Unit to world
2014-11-01 20:36:24 +01:00
Rat
50228fc9da Core/Phases:
- Implemented CONDITION_SOURCE_TYPE_PHASE (26)
- Implemented phase_area DB table to link phases to specific areas using conditions
- updated logic to correctly handle phases gained from auras and areas (they should not remove each other's phases)
2014-11-01 19:36:05 +01:00
Rat
9690b54f75 Core/Phases: handle empty phaselist as always visible 2014-10-31 19:23:29 +01:00
Rat
79af33a508 Core/Phases:
- redone how default terrain swaps are handled
- added new table for worldmaparea data
- only send terranswaps for player's current map
- always send all valid worldmaparea swaps for ingame worldmap
- added Hyjal's terrain swap as example, after turning in quest 25372, the Inferno area will change to Regrowth, both the terrain and the worldmap changes
2014-10-31 18:42:02 +01:00
Rat
03fed3c7a4 Core/Phases: implemented usage of default terrain swaps
- added example for Gilneas (from sniff)
2014-10-31 00:05:13 +01:00
Rat
2583661703 Core/Phases:
- fixed packet structure, thanks to Shauren for the notice
- fixed .mod phase command
- implemented world map area swaps for swapped terrain
2014-10-30 23:08:23 +01:00
Rat
d77bb02e88 Core/Phases: some error checking at db loading
- implement .debug phase command
2014-10-30 21:20:04 +01:00
Rat
8ba89d2311 Core/Phases: implemented new commands:
.npc set phase
.npc set phasegroup
- implemented saving creature phasing to database
2014-10-30 16:18:11 +01:00
Rat
5993b946c9 Core/Phases: some cleanup
- implemented CopyPhaseFrom(obj)
2014-10-30 13:35:12 +01:00
Rat
4fab55d703 Core/Phases: apply phasing to bones when converting from corpse 2014-10-30 11:58:05 +01:00
Rat
2f48b5fb59 Core/Phases: gamemasters should see all phases with gm on 2014-10-30 11:45:01 +01:00
Rat
b91c8c76b6 Core/Phases: fixed corpse phase deleting 2014-10-30 11:28:10 +01:00
Rat
517369a3df Core/Phases: more work on corpse phasing
- moved all sql queries to prepared statements
- implemented corpse phases saving, loading, cleaning
2014-10-29 21:47:25 +01:00
Rat
49187f51b5 Core/Phases: implement loading of corpse_phases 2014-10-28 22:24:59 +01:00
Rat
9f33e02a85 Core/Phases: removed phaseMask from corpse queries 2014-10-28 20:16:05 +01:00
Discover-
dc9ff5260b Core/Phases: Get rid of IsInSamePhase 2014-10-28 17:40:57 +01:00
Subv
44c14799f3 Core/Phases: Removed some of the usages of phasemask in the Pet code. 2014-10-28 11:35:40 -05:00
Discover-
66a40f5e91 Core/Phases: Rebuild the terrain swaps when a quest is removed as well (and some other scenarios)
Thanks to @joschiwald
2014-10-28 16:48:32 +01:00
Discover-
45f81bcf44 Core/Phases: Rebuild the terrain swaps whenever a quest's status changes.
Author: @Subv
2014-10-28 16:03:21 +01:00
Discover-
cea5a909df Core/Phases:
* Implement CONDITION_TERRAIN_SWAP
* Get rid of CONDITION_SOURCE_TYPE_PHASE_DEFINITION
* Implement CONDITION_SOURCE_TYPE_TERRAIN_SWAP and also throw it in WorldObject::RebuildTerrainSwaps
2014-10-28 15:58:16 +01:00
Rat
5533c85a4a Core/Phases: sql naming updates 2014-10-28 07:43:26 +01:00
Rat
d32492fa42 Core/Phases: only send packets to players, also fixes compile 2014-10-28 07:31:39 +01:00
Subv
f86b8aa573 Core/Phases: Added a new table, terrain_map_info, where you can bind a specific terrain swap to a map, and it will be sent to the player when he enters the map.
ToDo: Add conditions support for this.
ToDo: This data is already in the DBC (parentMapId) but is it complete? This way allows us an extra degree of freedom if / when we need to add extra information to this table.
2014-10-27 21:36:16 -05:00
Subv
84c3165067 Core/Phases: Some minor changes, added SQL structure.
You can now bind terrainswaps to specific phase ids, these phaseids are applied by spells.
Still ToDo: Free terrainswaps.
2014-10-27 19:52:57 -05:00
Rat
001e1ce935 Core/Phases: fix logic in SetInPhase()
- we should not remove the terrain swap if another phase still use it

(cherry picked from commit 299c693b8420d81951ef67b8481e4ad6b192473f)
2014-10-27 23:08:23 +00:00
Rat
8b1e546ce9 Core/Phases: some commenting, more cleanup and compile fix
(cherry picked from commit 8b536fdf9d38a3e0c94dc9c1184ea8582495064f)
2014-10-27 23:08:02 +00:00
Subv
07a515f960 Core/Phases: Some changes to how phasing works
(cherry picked from commit e4f6cb39a2652455b78ae2416627954956c8964f)
2014-10-27 23:07:46 +00:00
Aokromes
4fde97407b Merge pull request #13454 from ShinDarth/434_fix
Code/Quests: Fix QUEST_FLAGS_PLAYER_CAST quests
2014-10-25 10:22:10 +02:00
ShinDarth
02a107731e Fix #13351 2014-10-25 10:00:47 +02:00
Shauren
58a33a8e7b Core/Corpses: Fixed loading corpse guid during server startup 2014-10-24 18:53:07 +02:00
Aokromes
6da0beed0c Core/Quests: quests which have been added with no questgiver (like spells) will now also show a icon in the quest log
By Northstrider and Malcrom
2014-10-21 23:43:36 +02:00
DDuarte
efa79f4469 Scripts/Cmds: Replace AccountMgr::normalizeString with Utf8ToUpperOnlyLatin 2014-10-19 04:06:01 +01:00
DDuarte
02842a20b6 Core/Shared: Fix typo in LoginDatabase enum 2014-10-19 03:50:53 +01:00
DDuarte
eb68b11627 Merge remote-tracking branch 'origin/3.3.5' into 4.3.4 2014-10-19 00:22:33 +01:00
DDuarte
5bf55eacfd Merge remote-tracking branch 'origin/3.3.5' into 4.3.4
Conflicts:
	sql/base/auth_database.sql
	src/server/game/Instances/InstanceScript.h
	src/server/scripts/Northrend/isle_of_conquest.cpp
	src/server/shared/Database/Implementation/LoginDatabase.cpp
	src/server/shared/Database/Implementation/LoginDatabase.h
2014-10-19 00:18:06 +01:00
Nyeriah
5462936896 Scripts/Commands: Fix static analysis issues 2014-10-18 20:17:31 -03:00
Heihachi
15a9c6729e Scripts/Commands: Implement mutehistory command for GM's with requested improvements
Closes #13350
2014-10-18 23:34:18 +01:00
treak
f21b55068c Script/Spell: fix Mixology value bonus
Closes #13297
Fixes #2172

This might not be best solution but a better way could not be found for the moment.
2014-10-18 22:36:31 +01:00
Nyeriah
2f016098c2 Scripts/Commands: Implement commands to set and get boss states during run time
Closes #13186
2014-10-18 22:05:04 +01:00
Intra
98e1e06830 Scripts/MC: Rework Shazzrah script and implement spell script
Closes #13317
2014-10-18 22:57:30 +02:00
Golrag
5ede64260c Core/BattlegroundIC:
* Fixed Catapults
* Fixed Graveyards
* Fixed Cannons on Gunships
* More Blizzlike Teleport to Gunship
* Fixed Gunship Teleport to Hangar
* Fixed Teleporters

Closes #13052
Fixes #12323 and #9557
2014-10-18 21:33:21 +01:00
mik1893
ef4043436b Core/Spells: Grounding Totem: - correctly magnet spells and dies - let missile spells fly on it and destroys all spells during the travel time of first one
Thx @amsjunior1

Closes #13147
Fixes #5611
2014-10-18 21:13:37 +01:00
trickerer
47359a1ae2 Core/Spells: Trigger extra attacks on proper target
Ref #6892

Closes #11001
2014-10-18 20:51:00 +01:00
Duarte Duarte
670d12722c Merge pull request #13245 from Mihapro/4.3.4
DB/Quests: Fear No Evil changes
2014-10-18 18:59:31 +01:00
Duarte Duarte
996ad78122 Merge pull request #13353 from ShinDarth/335_quest_tracker
Core/Quest: implement Quest Tracker
2014-10-18 18:57:30 +01:00
ShinDarth
e806fc8a02 Core/Quest: implement Quest Tracker 2014-10-18 18:37:39 +02:00
Shauren
4a0be2bffc Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/Spells/SpellMgr.cpp
2014-10-18 16:00:20 +02:00
Warpten
8308f4a234 Merge pull request #13334 from Exodius/master
Core/Spells: Fix Ebon Plague and Wandering Plague
2014-10-18 15:54:49 +02:00
Shauren
c238e8faff Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/Battlegrounds/ArenaTeamMgr.cpp
	src/server/game/Handlers/GroupHandler.cpp
2014-10-18 15:54:30 +02:00
joschiwald
0de1603944 Core/ObjectAccessor: don't use singleton when calling static methods 2014-10-18 15:13:29 +02:00