Commit Graph
5668 Commits
Author SHA1 Message Date
Spp 3c4e8f36f4 Rename some more opcodes.
Also fix the name of some older opcodes that were marked as obsolete but no longer are.
Patch by Zor (with minor modifications in handlers by me)

--HG--
branch : trunk
2010-05-01 22:40:53 +02:00
Spp e107730ffb Fix more warnings.
--HG--
branch : trunk
2010-05-01 22:25:14 +02:00
Spp dd9485993b Fix instance load broken by me in 8c4b824176
--HG--
branch : trunk
2010-05-01 20:59:56 +02:00
click 8df6879e94 Add support for quest 11626 (The Emissary) - patch by antihrists (thanks)
Closes issue #1061

--HG--
branch : trunk
2010-05-01 08:30:46 +02:00
click 3a61667492 Add support for sorting vendor itemlists
--HG--
branch : trunk
2010-05-01 08:10:14 +02:00
click ea2d4d9536 Fix broken vendors
Fixes issue #1952

--HG--
branch : trunk
2010-05-01 06:37:35 +02:00
click 697685c3f5 Add support for vendors selling the same items with different extendedCost - original code by Vladimir (thanks mate)
Closes issue #1756

--HG--
branch : trunk
2010-04-30 22:35:37 +02:00
Machiavelli 4b1a9916ac Clean up in item refund related code.
--HG--
branch : trunk
2010-04-30 19:20:59 +02:00
Spp 7f81217d68 Fix trap spell casting.
Improved version of Supabad's patch
Closes issue 1910.

--HG--
branch : trunk
2010-04-30 13:09:38 +02:00
Spp 1bc2a9fd4a Replace some PQuery/PExecute by more simple Query/Execute
Original patch by hunuza, extended to whole code
Closses issue 1446

--HG--
branch : trunk
2010-04-30 11:21:25 +02:00
Spp 19bed20036 Fix Death Pact, by Havenard
Closes issue 1658

--HG--
branch : trunk
2010-04-30 09:47:06 +02:00
click 7b6f52b2a0 Fix crash when summoning minions (introduced in vanitypet-fix)
--HG--
branch : trunk
2010-04-30 03:21:59 +02:00
click 2f21081904 Block battleground-flag from being picked up while player is on a vehicle
Fix by Scazzato - closes issue #1161

--HG--
branch : trunk
2010-04-30 00:24:25 +02:00
click f4dcdf9507 * Properly dismiss vanitypets (implements use of CMSG_DISMISS_CRITTER)
Some small code cleanups

--HG--
branch : trunk
2010-04-29 23:24:31 +02:00
Spp cb0cb96283 Warning Fixes
Code Style cleanup
Fix linux compile

--HG--
branch : trunk
2010-04-29 23:12:16 +02:00
Spp 35af94d4b5 Update/Fix some opcode names.
Patch by Zor

--HG--
branch : trunk
2010-04-29 22:47:47 +02:00
Rat 757fbfba83 *implemented 'empty' VehicleAI
NOTE: VehicleAI::UpdateAI runs even while the vehicle is mounted!

--HG--
branch : trunk
2010-04-29 21:22:25 +02:00
Trazom62 946ded4619 Fix FoS/Bronjham script.
Fixes issue #1895.

- summon corrupted soul fragment when Corrupt Soul completes.
- update corrupted soul fragment script.
- remove Heroic spell definition. They are defined in SpellDifficulty.dbc.

--HG--
branch : trunk
2010-04-29 19:04:19 +02:00
Spp 78244e3733 Added handler to all opcodes that didn't have any
--HG--
branch : trunk
2010-04-29 16:19:45 +02:00
Spp cade04accc Add missing change in rev: 8012
--HG--
branch : trunk
2010-04-29 16:06:44 +02:00
Machiavelli c10526a3ae Don´t inherit refund data when cloning when original item is not refundable.
--HG--
branch : trunk
2010-04-29 14:05:41 +02:00
Machiavelli f7ab90d79d Fix Shaman totem bars and Call of the Elements/Spirits/Ancestors
--HG--
branch : trunk
2010-04-29 11:35:31 +02:00
Spp e45ec85096 Fix weekly reset time being updated twice
Patch by NoFantasy

--HG--
branch : trunk
2010-04-28 22:11:53 +02:00
Spp c2aaf6bfcb Fix weekly reset time initialization.
If timer in the past update to current time

--HG--
branch : trunk
2010-04-28 22:07:58 +02:00
Spp 6014f6e583 Fix arena point distribution time initialization.
If timer in the past update to current time
Thanks to "p.alexej" for pointing it out.

--HG--
branch : trunk
2010-04-28 21:41:22 +02:00
Machiavelli 453e3e8976 Partial revert of 6ab9e720f3d2fca8bfe14b2ba857008cf018e0cd, thanks click and Liberate for talking sense into me. Only load 1 spec in memory at a time. Also fixes totem bar loading due to a typo.
--HG--
branch : trunk
2010-04-28 22:35:55 +02:00
Machiavelli a82d3d88c9 Fix item vendor refund for stackable items.
--HG--
branch : trunk
2010-04-28 19:38:37 +02:00
Machiavelli 95e5ba5bdb Remove a remnant from debugging code from prev. commit. (sorry)
--HG--
branch : trunk
2010-04-28 16:11:27 +02:00
Machiavelli ab013e42c9 Fix action buttons sent to client when swapping between talent specs. Storage related parts by Hunuza (MaNGOS), big thanks.
--HG--
branch : trunk
2010-04-28 16:08:31 +02:00
Alex Bolotsin 311d108529 BG: Ignore min player limit while in debug mode
Patch by AntiDiavol
closes issue 1581

--HG--
branch : trunk
2010-04-10 23:41:11 +03:00
Spp 650ae59514 Fix Arena autodistribution interval time shift
Patch by leak
Closses issue 1703

--HG--
branch : trunk
2010-04-28 15:34:14 +02:00
Spp f9650d4a36 Fix SMSG_AUTH_RESPONSE when queue is full.
Patch by Gian

--HG--
branch : trunk
2010-04-28 08:55:07 +02:00
Trazom62 e719bd32a3 Fix timed achievement checks for boss killed in instance.
Requires DB update.

--HG--
branch : trunk
2010-04-27 22:26:30 +02:00
Trazom62 36ebd58b37 Implement support of Timed Achievement. Thanks Shauren.
Fixes issue #1431.

--HG--
branch : trunk
2010-04-27 22:22:13 +02:00
Spp 90f38341f0 Implement Opcode SMSG_CORPSE_NOT_IN_INSTANCE
--HG--
branch : trunk
2010-04-27 09:45:43 +02:00
_manuel_ 31318eabfd Fixed weekly quest reset by Gyullo.
--HG--
branch : trunk
2010-04-26 17:52:57 -03:00
Trazom62 3c9cb12341 Fix Scourge Strike. Thanks Havenard.
Fixes issue #1668.

- additional damage is now done properly as shadow damage and no longer as additional physical damage.

--HG--
branch : trunk
2010-04-26 22:03:09 +02:00
click e76160e835 Remove a remnant from some local testcode (damn, I'm sure I had removed it - it's not even related to the previous fix)
--HG--
branch : trunk
2010-04-26 19:32:59 +02:00
click 4348e2bea2 Properly relearn talents/spells when changing active specialization - also relearn the spells that require this talent
Fixes issue #907 - Patch by liberate

--HG--
branch : trunk
2010-04-26 17:27:33 +02:00
click 4f209556c3 Implement coreside support for questflag QUEST_FLAGS_AUTO_ACCEPT and its use - patch and research by click and Liberate
(This also fixes the complaints that starter-quests were broken - the flag was actually never used coreside)

--HG--
branch : trunk
2010-04-25 23:52:33 +02:00
Trazom62 edbbec75b1 Fix channelled spells when player has lot of haste AND a buff reducing spell duration. Thanks dr.tenma.
Fixes issue #1052.

--HG--
branch : trunk
2010-04-25 22:20:59 +02:00
Trazom62 9b83945c33 Fix resilience update for 3.3.x. Thanks dr.tenma.
Fixes issue #198.

--HG--
branch : trunk
2010-04-25 21:31:55 +02:00
Trazom62 bdaa101a28 Fix HandleStatModifier for BASE_PCT and TOTAL_PCT modifierType.
Formula was incorrect. It gave a slight advantage when there are several auras for the same UnitMod.
Ex: if you had 2 auras giving 50%,
- previous formula would give: 1*1.5*1.5=2.25
- new formula give: 1+0.5+0.5=2.00 which is correct.

Hack for negative pct <= -100 is also no longer necessary

--HG--
branch : trunk
2010-04-25 15:52:15 +02:00
Trazom62 eccf5bf547 Refactor Creature::SelectNearestTarget(float dist)
This function is used in many scripts to find the nearest enemy within the given distance.
However, it had an implicit limit to the ATTACK_DISTANCE. so in many case the "dist" was in fact just ignored.
In other case, the ATTACK_DISTANCE is required. So 2 functions are necessary to avoid ambiguities.

The refactoring is the split of the function in 2: SelectNearestTarget and SelectNearestTargetInAttackDistance.

--HG--
branch : trunk
2010-04-25 12:59:27 +02:00
XTZGZoReX b12e9633cf * Fix structure of SMSG_INSPECT_TALENTS. Patch provided by Elron103.
--HG--
branch : trunk
2010-04-25 00:27:29 +02:00
Spp a12c0aef85 Fix compile ¬¬
+ Code Style (for, if, while)

--HG--
branch : trunk
2010-04-24 17:48:52 +02:00
Spp 9aa3fea857 Remove unnecesary casts to Player in Player.cpp
Thanks to Shauren for pointing it out

--HG--
branch : trunk
2010-04-24 17:27:09 +02:00
Machiavelli 30c842480c - Fix display of recently earned achievements when the player has a high total of earned achievements.
- Fix crash in compare achievements with players with high GUIDs, by havenard. Fixes issue #1724

--HG--
branch : trunk
2010-04-24 15:08:18 +02:00
XTZGZoReX 7bd0941607 * Fixed two potential crashes in ChatHandler::HandleChannelSetPublic. Thx Rat/Machiavelli.
--HG--
branch : trunk
2010-04-24 00:43:46 +02:00
p0wer 5435d4f303 Fix spelling error in CONFIG_GM_WHISPERING.
--HG--
branch : trunk
2010-04-23 17:03:03 -05:00