Commit Graph
337 Commits
Author SHA1 Message Date
Spp 37b66384f3 Merge branch 'master' into 4.x
Conflicts:
	src/server/authserver/Server/AuthSocket.cpp
	src/server/game/Entities/Object/Object.cpp
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Handlers/AuctionHouseHandler.cpp
	src/server/game/Handlers/CharacterHandler.cpp
	src/server/game/Handlers/MovementHandler.cpp
	src/server/game/Miscellaneous/SharedDefines.h
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
2012-01-31 11:49:53 +01:00
Souler 75992143c1 Scripts/Spells: Fix Argent Tournament mount spells:
* Break-Shield
 * Charge
 * Defend (visual)
 * Mounted duel
 * Faction Pennants when riding argent tournament mounts
Closes #4917.
2012-01-30 00:21:42 +01:00
Shauren ef471da666 Core/Player: Updated talent system for cataclysm 2012-01-29 17:40:14 +01:00
Subv2112 3d4f55723c Core/SAI: Linked events should be executed after the event that linked them is executed.
Core/SAI: Allow SMART_EVENT_GO_STATE_CHANGED to use ActionInvoker target

Signed-off-by: Subv2112 <[email protected]>
2012-01-22 20:36:01 -05:00
Rat 6cd52e7e02 Core/Movement: Fixed short-range teleportation, needs more testing
-added structure for CMSG_MOVE_TIME_SKIPPED, still need to implement the time synch
2012-01-20 14:34:04 +01:00
Machiavelli dbbac0bdaa Core/Movement: Implement spline movement subsystem.
Spline movement controls movements of server-side controlled units (monster movement, taxi movement, etc).
Proper implementation of effects such as charge, jump, cyclic movement will rely on it.
However, need improve our states system before.

Technical changes:

* Added linear, catmullrom and bezier3 splines which based on client's algorthims. They can be reused for proper transport position interpolation.
* Precission increased. There are no more position desync issues since client's position calculation formulas used.
* Now possible to move by paths with multiple points, send whole path to client.

--
Original author of research and implementation: SilverIce. Massive kudos.
Original port for Trinity (ref #4629) Chaplain and Venugh
With the following incremental fixes during my review:

- Restore flightmaster end grid pre-loading
- Fix uninitialized Creature::m_path_id
- Add missing trinity_string entries for .movegens command
- Fix a bug in WaypointMovementGenerator that would trigger unexpected pausing at waypoints for various amounts of time

Known issues:
- Errors like WaypointMovementGenerator::LoadPath creature XXX (Entry: YYYYY GUID: ZZZZZZ) doesn't have waypoint path id: 0.
This is caused by bad DB data. This commit didn't "break" it.

Do not forget to re-run CMake before compiling.
2012-01-14 15:36:07 +01:00
Subv2112 f7276a95de Scripts/Achievements: Fixed achievement Shocking! on 10-man and 25-man
closes #4751

Signed-off-by: Subv2112 <[email protected]>
2012-01-09 20:36:56 -05:00
Nay 9c26ce8da5 Merge branch 'master' into 4.x
Conflicts:
	src/server/game/Achievements/AchievementMgr.cpp
	src/server/game/Achievements/AchievementMgr.h
	src/server/game/Entities/Corpse/Corpse.cpp
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Quests/QuestDef.cpp
	src/server/shared/Database/Implementation/CharacterDatabase.cpp
	src/server/shared/Database/Implementation/CharacterDatabase.h
2012-01-07 17:13:42 +00:00
Kaelima a79ea3dcdf Merge pull request #4672 from Subv/fix004
Fixed gossip menu displaying for gameobjects with type GAMEOBJECT_TYPE_QUESTGIVER
2012-01-06 06:37:20 -08:00
Subv2112 d3b1c51b6e Core/Gossips: Fixed gossip menu displaying for gameobjects with type GAMEOBJECT_TYPE_QUESTGIVER, closes #4488
Signed-off-by: Subv2112 <[email protected]>
2012-01-05 21:41:17 -05:00
Shocker 00e1de4c0a Merge pull request #3478 from Havenard/fix0011
Core/Spells: Fix Divine Storm
2012-01-04 13:35:29 -08:00
kandera 34c437e973 [Core/Spells] Fix Blood Tap (finally fixes full spell)
ignore removal of aura provided by Souler thanks!
2012-01-04 11:50:31 -05:00
zwerg 5884f4be31 Core/Spells: Add barfing to Spell::EffectInebriate.
Signed-off-by: Machiavelli <[email protected]>
2012-01-03 13:15:33 +01:00
kiper 8299627ed9 Update headers for 2012. HAPPY NEW YEAR!!! 2012-01-01 00:32:13 +01:00
Spp fa9daaf95b Merge branch 'master' into 4.x and some warning fixes 2011-12-27 10:15:27 +01:00
QAston eecc4b58a7 Core/Spells: Use better check for target type in Spell::EffectSendEvent - SpellEffect::GetProvidedTargetMask() is much more accurate than hardcoded dbc index. 2011-12-23 23:52:22 +01:00
megamage 8cf2062c1f Update grid system. Try to fix some crashes and transport passengers (now they are despawned after a while). 2011-12-20 17:07:09 -05:00
weclub 1a7f9f4ce6 Core/Spells: Update SpellEffects to 422 and fix a typo
Close #4297
2011-12-18 16:24:15 +00:00
Nay 9f635ca906 Merge branch 'master' into 4.x 2011-12-18 15:10:54 +00:00
Machiavelli 7e94cae867 Merge pull request #4260 from wilds/fix_charge
Core/Spells: fix charge and chargedest effect through textures
2011-12-16 04:10:24 -08:00
kaelima 929ad95525 Core/Spells: Fixed Envenom damage
- The players AP should stack with combo points, not deadly poison stack.
+ some cleanup
Thanks @Cepox (and some others at google code issue tracker)

Closes #2929
2011-12-16 08:15:55 +01:00
Machiavelli d237134d90 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x 2011-12-13 14:05:17 +01:00
elecyb af32d0f616 Core/Spells: Fixed Healing Stream Totem bonus and Glyph of Healing Stream Totem
Closes #2165
2011-12-11 19:11:22 -03:00
Wilds 65e8ff16ad Core/Spells: fix charge and chargedest effect through textures 2011-12-10 22:09:48 +01:00
kaelima 39be215811 Core/Protocol: Add debug output when receiving auction house packets. 2011-12-10 16:26:04 +01:00
kaelima a85ca687eb Core/Spell: Fixed compile broken in 11fb0beaf0 and renamed _player to player. 2011-12-10 15:40:55 +01:00
Machiavelli b1c8226d58 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x 2011-12-10 15:21:55 +01:00
kaelima 11fb0beaf0 Core/Misc: Fixed some duplicate checks for player typeid in Unit::Kill and Spell::EffectSummonDeadPet. Also some random cleanup 2011-12-10 13:48:41 +01:00
Machiavelli fe69bd654a Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x
Conflicts:
	src/server/game/Entities/Creature/GossipDef.cpp
	src/server/game/Globals/ObjectMgr.cpp
	src/server/game/Quests/QuestDef.cpp
2011-12-06 12:01:51 +01:00
megamage 5b034ee631 Revert 81fea2d7b5. 2011-11-28 14:34:30 -05:00
megamage 1f70fd2851 Delete DynamicObject if AddToMap fails. 2011-11-28 14:19:29 -05:00
megamage 81fea2d7b5 Fix some memory leak from CreateTamedPetFrom. 2011-11-28 14:10:56 -05:00
Shocker e6b120032d Core/Spells: Remove outdated code for Rockbiter Weapon 2011-11-27 01:21:12 +02:00
Shocker f69a8f4e76 Core/Spells: Remove outdated code for Hand of Reckoning 2011-11-26 23:57:11 +02:00
kaelima aa215e5e80 Core/Misc: Fix compile and char creation
- Added very basic honor/conquest support, no idea if its works even a little since there's no possibility of testing yet
2011-11-26 01:46:41 +01:00
Shauren e8c3a3ac9c Core/Items
* Updated ItemTemplate structure to 4.x
* Calculate armor, damage and disenchant loot from dbc files

TODO: Use dbc disenchant ids in disenchant_loot_template
2011-11-25 23:24:40 +01:00
kaelima ec54bb4895 Core/Misc:
Clearing compile errors since UpdateFields were changed:
- Completely remove ammo (Cataclysm change)
- Revert some changes with power/maxpower and only store the 5 needed powers in db (the rest is useless)
- Remove GuildId from corpse
- Move PLAYER_GUILDID to character db (removed updatefield)

Note: Compile is still not working as we need to change currency handling
2011-11-25 18:54:59 +01:00
kaelima 9696d6ba7b Core/Mechanics:
- Add basic support for focus used by players (hunters)
- Drop all support for pet happieness (as it has been completely removed)
- Add new fields to characters db to store new power values
(Should now be able to create characters again)
2011-11-25 15:28:36 +01:00
Shauren 358b33239a Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit 2011-11-23 19:17:33 +01:00
Machiavelli c67af87eda Core/Spells: Fix SPELL_EFFECT_SEND_EVENT handler being executed more than once when targets != (0, 0). Closes #3934 2011-11-16 19:09:51 +01:00
tobmaps 70aafbda94 Core/Spells: Partially fix RP-GG 2011-11-12 02:36:18 +07:00
Bootz d1334624da Core: Codestyle clean-up
"pl"->"player"

 Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
2011-11-07 11:18:00 -06:00
Bootz f75ec5ba2b Core: Codestyle clean-up
"plr"->player

Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
tobmaps 8fd7720318 Core/Misc: Rename Spell::CalcCastTime to Spell::GetCastTime as it does not calculate anything 2011-11-05 05:33:52 +07:00
tobmaps 935527eebe Core/Spells: Use dbc flag to check if channeled spell can be interrupted
Closes #2292
2011-11-05 05:21:37 +07:00
tobmaps 37abe2528c Core/Spells: Remove not needed check added in 9229b878f2 2011-11-03 17:08:30 +07:00
tobmaps 9229b878f2 Core/Spells: Fix Runic Healing/Mana Injector bonus for engineers 2011-11-02 19:23:59 +07:00
tobmaps c0c6000a44 Core/Misc: Fix spelling typo 2011-11-02 19:13:51 +07:00
ille 5514523a7c use effectMask to calculate mechanicMask in ModSpellDuration 2011-10-20 18:28:37 +02:00
Liberate ddec56b3e0 Core/Spells: Fix shadowfiend.
Fixes #3285
2011-10-19 23:30:25 +02:00