Commit Graph
100 Commits
Author SHA1 Message Date
Trazom62 0a4d79ef39 Fix command .server plimit.
Fix obsolete comment for PlayerLimit in trinitycore.conf.dist
Thanks Phil.Pigeon and Johnholiver.

Fixes issue #534.
Fixes issue #295.

--HG--
branch : trunk
2010-05-02 16:48:18 +02:00
click e0cce6984c Fix: Give the correct amount of talent points when leveling up after a talent reset - patch by Liberate
Fixes issue #1568, fixes issue #765, fixes issue #772

--HG--
branch : trunk
2010-05-02 16:19:38 +02:00
Trazom62 5ebee9fbd0 Fix crash in Gluth Script.
Fixes issue #1896.

--HG--
branch : trunk
2010-05-02 15:17:30 +02:00
Spp 9664034eea Rename one opcode
Patch by Zor

--HG--
branch : trunk
2010-05-02 12:21:26 +02:00
Trazom62 f2b01ccdad Fix Script FoS/Bronjahm. Thanks Johnholiver.
- remove hardcode distance in distance check of corrupted soul fragment

--HG--
branch : trunk
2010-05-02 10:12:58 +02:00
Spp 208c05bf41 Code Style. Closes issue 1515
--HG--
branch : trunk
2010-05-02 04:30:11 +02:00
click e2d6abb681 Add support for quest 12916 (Our Only Hope) - Patch by supabad
Closes issue #940

--HG--
branch : trunk
2010-05-02 03:00:45 +02:00
Spp b7e1570e87 Remove unused defines.
Closes issue 1947. Alternative solution added

--HG--
branch : trunk
2010-05-02 01:06:29 +02:00
Spp fe26dcc278 Fix local change that wasn't supposed to be pushed...
--HG--
branch : trunk
2010-05-02 00:46:35 +02:00
Spp 274457a7fb Make RealmList a Singleton.
Patch by Anubiss

--HG--
branch : trunk
2010-05-02 00:06:08 +02:00
Spp a0e1357e2b Fix locale selection at server load.
--HG--
branch : trunk
2010-05-02 00:16:05 +02:00
Spp d3a842ee37 Rename two more opcodes
Patch by Zor

--HG--
branch : trunk
2010-05-01 23:20:11 +02:00
Spp 6d5f7cac24 remove uint32 cast from previous commit.
It wasn't supposed to be pushed.

--HG--
branch : trunk
2010-05-01 22:57:39 +02:00
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 18782ec1f7 Add support for quest 10512 (Getting the Bladespire Tanked)
Patch by supabad - closes issue #1217

--HG--
branch : trunk
2010-05-01 22:39:02 +02:00
click 3683de3f80 Add support for quest 12688 (Engineering a Disaster) - patch by supabad
Closes issue #982

--HG--
branch : trunk
2010-05-01 22:17:48 +02:00
click 0803f644a5 Fix CRLF
--HG--
branch : trunk
2010-05-01 09:28:24 +02:00
click 593d962665 Add support for quest 1440 (Return to Vahlarriel) - patch by Supabad
Closes issue #323

--HG--
branch : trunk
2010-05-01 09:12:52 +02:00
click bcbb52f507 Fix recipe-learning in Raozrofen Down (cooking/alchemy) - patch by PrinceCreed
Closes issue #1009

--HG--
branch : trunk
2010-05-01 08:36:38 +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 320cbdb2af Correction in scripts (m_creature -> me) - fixes #1954
(Also corrects some old scripts that seems to have been done the same way)

--HG--
branch : trunk
2010-05-01 02:59:48 +02:00
click 3eccb81ee3 Add support for quest 9446 (Tomb of the Lightbringer) - closes #197
Patch by Supabad

--HG--
branch : trunk
2010-05-01 00:19:04 +02:00
XTZGZoReX 6feda6605b * Fix CRLF.
--HG--
branch : trunk
2010-04-30 23:59:59 +02:00
click 11ef556320 Add support for quest 12832 (Bitter Departure) - closes issue #804
Patch by supabad

--HG--
branch : trunk
2010-04-30 23:53:37 +02:00
click 51881810b7 Add support for daily quest "Overwhelmed!" (quest 12288)
Patch by Supabad (thank you)

--HG--
branch : trunk
2010-04-30 23:30:08 +02:00
click 4efd84a1e8 Add SQL-changes from previous commit into world.sql as well
--HG--
branch : trunk
2010-04-30 23:04:12 +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 31113370b3 Fix typo in sql file
--HG--
branch : trunk
2010-04-30 16:32:47 +02:00
Spp e782acfca3 Fix compile.
(Not a good idea to test something and push another file)

--HG--
branch : trunk
2010-04-30 18:06:26 +02:00
XTZGZoReX 9aa4405a5a * Fix CRLF.
--HG--
branch : trunk
2010-04-30 15:19:50 +02:00
Spp 377fa8e713 DragonBlight: Script for Quest 12321 (A Righteous Sermon)
Patch by Supabad
Closes issue 314

--HG--
branch : trunk
2010-04-30 15:01:37 +02:00
Spp 31201a6cc8 Apply style to FULL sql's
--HG--
branch : trunk
2010-04-30 14:36:38 +02:00
Spp 0f913476e4 add missing change in previous commit
--HG--
branch : trunk
2010-04-30 14:02:36 +02:00
Spp ce1f99cbe0 Implementation of Tabard vendor
Patch by etznab
Closes issue 908

--HG--
branch : trunk
2010-04-30 13:32:14 +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 213a5e5062 Silithus: Fix event for quest 8519
Patch by "kb_z"
Closes issue 177

--HG--
branch : trunk
2010-04-30 11:31:59 +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
Machiavelli 1f9af1794f Add missing SQL file from 8020
--HG--
branch : trunk
2010-04-29 22:04:26 +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
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 71cdf91acc CR/LF cleanup and file-renaming
--HG--
branch : trunk
rename : sql/updates/8006__world_quest_template.sql => sql/updates/8006_world_quest_template.sql
2010-04-26 09:47:40 +02:00
click 55a054c10f Adjust quest_templates "questflags" fieldsize to accomodate any variation of
questflags currently available.

--HG--
branch : trunk
2010-04-26 04:27:58 +02:00
click f6b9caff47 Fix: Forgot to delete a spell before reinserting in previous commit
--HG--
branch : trunk
2010-04-26 00:09:32 +02:00
click 2a1299fc33 Spellfixes:: Libram of Valiance, Divine Guardian rank 1, Glyph of Seal of Command
Fix by liberate

--HG--
branch : trunk
2010-04-26 00:01:57 +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
Tartalo cf7170f69d Drak'Tharon Keep, Tharon'Ja: Demorph players when boss dies
Thanks & congratz to all developers, contributors & users,
we reach revision 8000 ;)

--HG--
branch : trunk
2010-04-25 16:10:37 +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
Trazom62 b466819333 Fix Taxi flight Stormwind Harbor. Thanks scarymovie87.
Fixes issue #425.

--HG--
branch : trunk
2010-04-25 12:47:15 +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
raczman 20b79fec28 Don't build jemalloc on mac.
--HG--
branch : trunk
2010-04-24 14:20:28 +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
click f93443b41c *Fixes conflagrate DOT damage so that warlocks finally can be the pyromaniacs they want to be
Closes issue #942
Fix by Liberate

--HG--
branch : trunk
2010-04-23 21:24:32 +02:00
Machiavelli c4e4486903 Properly deregister WorldSocket connections in case of reaching socket timeout time.
--HG--
branch : trunk
2010-04-23 12:56:16 +02:00
Trazom62 b142ae155e Fixes GCD when 1 sec or shorter.
Support aura reducing GCD (SPELLMOD_GLOBAL_COOLDOWN) (e.g. Backdraft, Unholy presence).
Fixes issue #1666.
Fixes issue #1616.

--HG--
branch : trunk
2010-04-22 21:28:04 +02:00
Spp 7eac04b5ad Update SpellEntry comments to 3.3.3a
--HG--
branch : trunk
2010-04-22 20:43:19 +02:00
click f65318eaf3 Revert the override introduced in [7980]
This due to a referencefile not being updated after 3.3.3a changeover (gave bad counting-values when examining DBCs)

--HG--
branch : trunk
2010-04-22 20:36:47 +02:00
Rat 144dbd11dd *fixed crashpoint in spell difficulty handler
*added more checks at loading
*better searcher

--HG--
branch : trunk
2010-04-22 19:39:19 +02:00
teacher 00c2674553 Make Divine Guardian proc on Divine Sacrifice only (by Liberate).
Removed DB data not handled by Core Team. You can find it on Database forums.
Added missing recently committed data to world.sql...
Renamed an old file which had wrong name.

--HG--
branch : trunk
2010-04-22 18:50:14 +02:00
click ab396beb56 Add support for season-dependant gameevents
Patch by Liberate

--HG--
branch : trunk
2010-04-22 16:22:39 +02:00
click ca2b52af0d Add 10% healing reduction to PVP-zones (as per 3.3.x patchnotes)
Fix by Havenard - closes #1565

--HG--
branch : trunk
2010-04-22 15:24:30 +02:00
click b31d567bfd Change visibility of pets or charmed units as well when GM is invisible
Fix by liberate

--HG--
branch : trunk
2010-04-21 23:15:29 +02:00
click 12950d1c16 Update trigger visibility when doing gm on/off
Fix by liberate

--HG--
branch : trunk
2010-04-21 23:14:37 +02:00