Commit Graph
1522 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
Shauren a6b9350396 Core/Protocol: Updated SMSG_TRAINER_LIST structure (fields still need filling) 2012-01-30 17:52:22 +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
Subv2112 f525087538 Core/Movement: Correctly fixed flying npcs falling to ground, no more glitches with this
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2012-01-29 15:28:19 -05:00
Shauren 7575ba3898 Core/Player: Missed change for talents packet 2012-01-29 18:31:55 +01:00
Shauren 23c44b2a16 Core/Players: Fixed talents tree specific spells to work with dual spec 2012-01-29 18:22:50 +01:00
Shauren ef471da666 Core/Player: Updated talent system for cataclysm 2012-01-29 17:40:14 +01:00
Shauren 0df5e19bd6 Core/Spells: Implemented mounts 2012-01-27 11:24:41 +01:00
Shocker b9e64f9624 Core/Spells: Remove outdated code for Wild Hunt 2012-01-27 02:35:10 +02:00
kaelima b62af27123 Core/Protocol: Enable SMSG_THREAT_UPDATE 2012-01-26 15:45:09 +01:00
Drake Fish b56d9c5e96 Core/Movement: Fixed SMSG_MOVE_KNOCK_BACK structure. 2012-01-23 20:46:19 -05:00
click e6d5b21778 Core: Fix non-PCH build and remove a few warnings. 2012-01-24 00:24:39 +01:00
Drake Fish 00ff0d6fa0 Core/Movement: Added most spline speed changes. 2012-01-23 14:38:56 -05:00
Drake Fish 8a43bd7293 Core/Movement: Fixed forced speed changes. 2012-01-22 21:53:54 -05: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 <s.v.h21@hotmail.com>
2012-01-22 20:36:01 -05:00
Nay dedb372683 Revert "Update SMSG_DURABILITY_DAMAGE_DEATH to 4.x."
This reverts commit bbdd2ee273.
2012-01-22 04:02:28 +00:00
Nay bbdd2ee273 Update SMSG_DURABILITY_DAMAGE_DEATH to 4.x.
Auras can change durability damage (Reinforce guild perk) and need to send the updated value to the client.
2012-01-22 03:41:34 +00:00
Shauren 95a8bf5367 Core/Units: Power fixes 2012-01-22 00:13:57 +01:00
Shauren cb78962a7e Core/Auras: Fixer assertion failures on mounting (its a good idea to load the dbc before trying to lookup its values) 2012-01-21 23:18:33 +01:00
Rat f006a2da68 Core/Movement: updated UN/SET_FLY packets, .gm fly on/off now works, fly mounts are still broken, probably aura handling needs to be updated too 2012-01-21 22:25:01 +01:00
Shauren bdd02e763b Core/Objects: Fixed visibility of gameobjects and fixed client crash when logging in a character that had currencies (honor points) 2012-01-20 20:31:59 +01:00
Shauren 0bd8d24659 Core/Player: Currency precision updates 2012-01-20 19:35:11 +01: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
Vlad 0f383e9cdd Core/Movement: properly set mover for possess/vehicles 2012-01-20 05:11:52 +03:00
Rat fa77969184 Core/Movement: Updated/Added/Removed/Renamed Movement related Opcodes.
- Rearranged opcodes enum
(started working on structs + have to check new naming and such)
2012-01-19 20:11:32 +01:00
Machiavelli e652d9043b Missing unsaved changes for previous commit... 2012-01-18 19:00:52 +01:00
Machiavelli 46dda033c8 Core/Items: Blizzlike fix for the recent trade exploit fix 2012-01-18 18:57:21 +01:00
kaelima ba23b69a17 Core/Protocol: Fix SMSG_TRAINER_BUY_SUCCEEDED and SMSG_MAIL_LIST_RESULT. Thanks Nay 2012-01-18 18:26:15 +01:00
kaelima eae789c5c1 Core/Protocol: Fix and activate a handful of opcodes, also some cleanup / documentation 2012-01-18 18:13:57 +01:00
Machiavelli abd94e324b Core/Items: Fix crash and updated documentation in SplitItem 2012-01-18 13:14:06 +01:00
SignFinder cc88681dc5 Core/Items: Really fix a trading spoof exploit.
Thanks Alexsot for fix.
2012-01-18 11:56:34 +04:00
Kaelima afc0d72761 Merge pull request #4789 from drskull/master
Spirit Hunt
2012-01-17 21:41:47 -08:00
kaelima 819da8af4d Core/Items: Attempt to fix crash in Player::SplitItem caused by 6a44399852.
And some random cleanup
2012-01-18 06:07:30 +01:00
Machiavelli 6a44399852 Core/Items: Fix a trading spoof exploit.
Closes #4713
2012-01-17 18:51:04 +01:00
Subv2112 37ffa978f7 Fixed Run speed change opcodes, thanks to LordJZ for the opcode ids 2012-01-16 21:44:22 -05:00
Nay dcd915c9b9 Core/Auction: Fix more auction related opcodes
Closes #4731
2012-01-14 22:32:39 +00:00
Shauren 894c27af52 Core/Groups: Need restrictions in need before greed loot method should apply only to LFG dungeons 2012-01-14 18:42:23 +01:00
Subv2112 f4075f0f94 Core/LFG:
Fix priority of the player when its added to the lfg group
        Better implementation of the Dungeon Deserter debuff
        Rewrite the NeedBeforeGreed loot
        Fixed players being shown as Unknown Entity when entering the lfg group
        Some incremental optimizations after original patch
Thanks to Retriman and Paecman for base implementation

Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-01-14 17:37:28 +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
Machiavelli 2293d2d7df Core/Movement: Prevent IdleMovementGenerator being put into MOTION_SLOT_IDLE and MOTION_SLOT_ACTIVE simultaneously 2012-01-13 16:43:49 +01:00
kaelima 7be86ac0a3 Core/Opcodes: Added some reversed opcodes (all verified) 2012-01-13 05:58:36 +01:00
Shauren 7163670be1 Core/Quests: Send currency rewards in quest packets 2012-01-12 23:35:08 +01:00
Nay e7c7158db0 Core/Opcodes: Fix and enable SMSG_QUESTGIVER_QUEST_COMPLETE 2012-01-12 21:08:31 +00:00
Nay dfb8764e00 Core/Opcodes: More opcodes by Subv
Closes #4783
2012-01-12 18:21:20 +00:00
Subv2112 506e7913f8 Core/IO: Defined some opcodes and adjusted their handlers
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-01-12 18:18:39 +00:00
Nay ba45ff0c61 Core/Player: Fix and enable SMSG_LEVELUP_INFO
+ 2 new opcodes by Kaelima
2012-01-12 17:15:27 +00:00
Gyx bb35989a7e Core/Loot: "Fix" SMSG_LOOT_RESPONSE
Closes #4768
2012-01-12 17:12:01 +00:00
Rat 629694cbad Core: Some opcodes + handler fixes + cleanup 2012-01-12 17:59:03 +01:00
Gyx a7923ae20f Core/Spells: Enable and "fix" SMSG_SPELLDAMAGESHIELD 2012-01-12 14:40:01 +00:00
Rat 01e515d94b Core/Spells: fixed SMSG_SET_FLAT_SPELL_MODIFIER and SMSG_SET_PCT_SPELL_MODIFIER by Shauren
changed TOTAL_AURAS to 363 (biggest number in dbc files)
2012-01-12 14:16:16 +01:00