Commit Graph
100 Commits
Author SHA1 Message Date
click 1416c83394 Fix: make sure healing potions doesn't benefit from spellhealing-power - patch by maxdestroyer
--HG--
branch : trunk
2010-07-04 20:17:22 +02:00
click a11391b3c0 Fix warrior selfheal & heal-reduction (and handling of OBS_MOD_HEALTH in the same time)
(Thanks to dr.tenma)

--HG--
branch : trunk
2010-07-04 19:28:40 +02:00
Shauren eba3f0a1dd Implemented SPELL_EFFECT_CLEAR_QUEST (139), patch by Socolin
Closes issue #2840.

--HG--
branch : trunk
2010-07-04 19:16:40 +02:00
click 18dfd3a2aa Fix another uninitialized value in Player::m_AreaID
Thanks to ge0rg and his valgrinding (again)

--HG--
branch : trunk
2010-07-04 17:19:50 +02:00
click c834a45ba5 Initialize m_flags after m_isNeedManyNegativeEffects, as m_isNeedManyNegativeEffects is used in _CheckPositive()
Thanks to ge0rg and his valgrind-running

--HG--
branch : trunk
2010-07-04 16:57:26 +02:00
click 962b48c6a3 Properly initialize CharmInfo states (fixes warning about noninitialized pointers) - Fix/patch by ge0rg
--HG--
branch : trunk
2010-07-04 16:27:33 +02:00
click cdf3514603 Use MAX_SPELL_CHARM as spellcount on GetPetAutoSpellSize(), fixes OOB array-access in Pet::UpdateAI()
Thanks to ge0rg for the heads up and patch

--HG--
branch : trunk
2010-07-04 16:15:29 +02:00
click 079b945a7d Use RemoveAurasByType() and not RemoveAuraDueToSpell() to remove iterated spellauras of a type - DueTospell() expects singular spellID
Thanks to Azazel for the heads up

--HG--
branch : trunk
2010-07-04 15:55:05 +02:00
click 599d957a26 Fix SPELL_AURA_MOD_HEALING_DONE healing bonus with 0 misc value (patch by toni.shocker)
--HG--
branch : trunk
2010-07-04 15:43:20 +02:00
teacher d936ecda7c Added serverside spell place holder for future development.
Added missing data to world_database.sql.
Corrected a couple of typos in world_script_texts.sql.

--HG--
branch : trunk
2010-07-04 13:59:57 +02:00
click e0e36b5db5 Include GPL-2.0 licensing information in sourcetree
--HG--
branch : trunk
2010-07-02 16:46:23 +02:00
click c4634a3161 Adjust some more script copyrights (grrrrr)
--HG--
branch : trunk
2010-07-02 16:28:59 +02:00
click 8bdd082aa1 Adjust to use correct timeframe for script-copyrights
--HG--
branch : trunk
2010-07-02 16:13:40 +02:00
click 7091c37ac0 Add Trinity copyright holders for scripts
--HG--
branch : trunk
2010-07-02 16:02:40 +02:00
Shauren 255e7e8b83 Fixed Chain Lightning overproccing with Lightning Overload, patch by DrTenma
Closes issue #1198.

--HG--
branch : trunk
2010-07-02 14:24:05 +02:00
click f3187e9501 Adjust includes for some Ulduar-scripts (fixes non-PCH build on *nix and should also do the same for Visual Studio/Windows)
--HG--
branch : trunk
2010-07-01 16:36:48 +02:00
click 6d5da7a505 Cut down the number of compile-configurationss on CMake (Release and Debug)
--HG--
branch : trunk
2010-07-01 00:59:48 +02:00
click cc51206403 Use proper paths for searching
--HG--
branch : trunk
2010-06-30 23:35:45 +02:00
Shauren c0dfc791de OpenSSL windows detection
You have to have x64 version of the library to build in x64 mode (and x86 for win32 build) - affects only windows

--HG--
branch : trunk
2010-06-30 23:14:50 +02:00
Shauren 4cd95932da Forgot to change included files after PCH rename (win projects)
--HG--
branch : trunk
2010-06-30 19:45:36 +02:00
Tartalo 728c3b476d Remove sql content managed by TDB
--HG--
branch : trunk
2010-06-30 19:42:25 +02:00
Tartalo 83c037a338 Fix sql from rev 8806 for the new conditions system
--HG--
branch : trunk
2010-06-30 19:39:14 +02:00
Shauren 9a91e70f05 This should fix building game with windows projects
--HG--
branch : trunk
2010-06-30 19:29:48 +02:00
Tartalo fe1caeefc0 Obsidian Sanctum: Many improvements & fixes, by moriquendu
Closes issue #1278
Closes issue #2505
Finally I make some time to review & push this change. Thanks for the patience

--HG--
branch : trunk
2010-06-30 19:02:20 +02:00
click 0a5a30a592 Minor cleanups to accomodate CMake-usage on Windows
--HG--
branch : trunk
2010-06-30 18:46:55 +02:00
click d12b6fa6dd Fix vmap3_assembler CmakeLists.txt - thanks m.ax for noticing the typo
--HG--
branch : trunk
2010-06-30 17:14:13 +02:00
click a9cae00503 Remove double-created genrev-target and move the CMAKE_BUILD_TYPE-declaration out of that section (not needed there)
--HG--
branch : trunk
2010-06-30 17:02:19 +02:00
click f8bb7afa98 And even more CMake-specific cleanups (mutes most of the "non-harmful" warnings - VS is just trying to be too friendly/noisy at times)
--HG--
branch : trunk
2010-06-30 16:51:37 +02:00
click fc1ed4b109 Make CMake-based building on Windows a little bit more silent + allow it to use more than 2GB memory on 32-bit platforms (shady solution)
--HG--
branch : trunk
2010-06-30 15:08:32 +02:00
Shauren 1740bace3a Initialize a pointer with NULL value to prevent possible crashes.
--HG--
branch : trunk
2010-06-30 14:48:38 +02:00
click d405f3fca5 Add CMake platform-check (32/64-bit) (includes new test-variable ${PLATFORM} that defines X86/X64 basesystem)
--HG--
branch : trunk
2010-06-30 14:39:21 +02:00
Tartalo d8bdc9d22f Violet Hold: Don't make sinclari unselectable when event starts
Thanks to dex for pointing it

--HG--
branch : trunk
2010-06-30 13:41:04 +02:00
Shauren 2ea043484d It is now possible to use CMake on windows for proper build (PCH support included)
Merged PCH header into gamePCH since they became the same after these changes

--HG--
branch : trunk
rename : src/server/game/PrecompiledHeaders/NixCorePCH.cpp => src/server/game/PrecompiledHeaders/gamePCH.cpp
rename : src/server/game/PrecompiledHeaders/NixCorePCH.h => src/server/game/PrecompiledHeaders/gamePCH.h
2010-06-30 13:10:13 +02:00
Shauren b0d5071598 Added rename forgotten in revision 1744c10a1b
--HG--
branch : trunk
2010-06-30 10:55:12 +02:00
Tartalo e2f47ef672 Violet Hold: Implement sinclari's option to teleport player's inside during
main event, based on DennisRassmann
Closes issue #2810

--HG--
branch : trunk
2010-06-29 21:15:19 +02:00
Tartalo aa9b52c67a bypass Map::CanEnter() checks on login (fixes a crash)
Need info about this bypass is exploitable or not

--HG--
branch : trunk
2010-06-29 15:41:39 +02:00
Tartalo 745c2fb599 Violet Hold: Restructuration: Add an EventPhase var instead of using door's
status to handle main event. Needed for next commits and cleansing

--HG--
branch : trunk
2010-06-29 15:40:20 +02:00
Shauren 9a648e120d This should not be there
--HG--
branch : trunk
2010-06-29 14:33:07 +02:00
Shauren 4b19773df1 Added support for SPELL_AURA_SCHOOL_HEAL_ABSORB (301)
--HG--
branch : trunk
2010-06-29 14:20:49 +02:00
Shauren 20225b4eab Make table names more consistent (item_set_names and locale)
--HG--
branch : trunk
2010-06-29 13:32:07 +02:00
teacher bb9ad49666 Added missing data to fulls and better format for sql update files.
--HG--
branch : trunk
2010-06-29 13:22:56 +02:00
Supabad b61674fbf2 Hellfire Ramparts - Code cleanup & Re-write Nazan a little bit
--HG--
branch : trunk
2010-06-29 12:49:37 +02:00
Machiavelli 87cc652a82 Replace some misplaced DirectExecute´s with delayed Execute calls. DirectExecute at this moment should only be used for transaction control and not for dynamic content.
--HG--
branch : trunk
2010-06-28 23:19:54 +02:00
Tartalo 95aadc4037 Violet Hold: More work on crystal activation thing.
Process the event that's throw by the activation spell

--HG--
branch : trunk
2010-06-28 22:45:23 +02:00
Tartalo 9bedc08b71 Violet Hold: Fix crystal activation mechanic
--HG--
branch : trunk
2010-06-28 22:39:54 +02:00
Tartalo 948f333dc3 Little fix for Vehicle inmunities hack.
Closes issue #2590
We must found a less hacky way to handle this

--HG--
branch : trunk
2010-06-28 22:23:57 +02:00
Tartalo de71d39abf Apply inmunities to vehicle's on its creation, by Josh
--HG--
branch : trunk
2010-06-28 20:56:29 +02:00
Xanadu ebadd7ef79 Merge
--HG--
branch : trunk
2010-06-28 20:35:58 +02:00
Xanadu bde8e96cc5 Aspect of the Viper now correctly displayed as a buff. Closes issue #107.
--HG--
branch : trunk
2010-06-28 20:34:11 +02:00
Tartalo 5d3a529e84 Merge
--HG--
branch : trunk
2010-06-28 20:32:56 +02:00
Tartalo bb6d8a7e67 MapManager uses proper Map::CanEnter() function instead of rewriting the same
checks (we could move more code to there)

--HG--
branch : trunk
2010-06-28 20:31:20 +02:00
Tartalo 6531cbcb21 Violet Hold: Link Defenseless achiev code to crystal activation code
--HG--
branch : trunk
2010-06-28 19:42:59 +02:00
Supabad b9a2bd24f7 minor change to destructable buildings.
--HG--
branch : trunk
2010-06-28 18:45:54 +02:00
click 72de3dd6c4 Remove hardcoded stacking for ammunition-types (should now stack properly)
--HG--
branch : trunk
2010-06-28 17:12:36 +02:00
Machiavelli fb4d4514e5 Add prepared statement example for auth server ping
--HG--
branch : trunk
2010-06-28 16:09:16 +02:00
Machiavelli b6e180c17c Add PreparedStatementHolder class that will be used for registering and calling prepared statements on the MySQL server.
Information about prepared statements can be found here: http://dev.mysql.com/tech-resources/articles/4.1/prepared-statements.html
In short: better performance shall ensue.

--HG--
branch : trunk
2010-06-28 16:09:06 +02:00
click 988467467c Properly initialize variable in WorldObject::PlayDirectSound()
Fixes issue 2838

--HG--
branch : trunk
2010-06-28 14:40:57 +02:00
Supabad 37529a1e9f add forgotten header for leviathan
--HG--
branch : trunk
2010-06-28 14:24:35 +02:00
Supabad 418360d8f9 Add Hard Mode support to Flame Leviathan. more code cleanup.
Big Thanks to all who participated.

--HG--
branch : trunk
2010-06-28 14:05:32 +02:00
Xanadu 0485d99e5d Fixed periodic damage for stackable auras (Deadly Poison...). Patch by Lyall. Closes issue #1368.
--HG--
branch : trunk
2010-06-28 05:26:00 +02:00
Tartalo f4531c5a58 Violet Hold: Add crystal mechanic support to Portal's and Ichoron's adds
--HG--
branch : trunk
2010-06-28 01:04:13 +02:00
Tartalo cba6515acb Violet Hold: Add crystal activation support backend to instance script.
Support is not used yet by the instance mechanic so is not usable as is

--HG--
branch : trunk
2010-06-28 00:49:21 +02:00
Tartalo 068810d045 Violet Hold: Implement Defenseless Achievement
--HG--
branch : trunk
2010-06-27 22:53:35 +02:00
Tartalo 4c59bf69dc Violet Hold: Add copyright note
--HG--
branch : trunk
2010-06-27 22:52:37 +02:00
Xanadu ba2e5ec2a2 Fixed Shiv.
* Now it does weapon dmg and adds a combo point even without poison (yes, that's blizzlike).
* Poisons from Shiv cannot crit.
* No more double poison procs.

--HG--
branch : trunk
2010-06-27 20:40:41 +02:00
Machiavelli 0b063e189b Better way to check for RandomProperty == -1, assign 0 to it for now.
--HG--
branch : trunk
2010-06-27 19:46:25 +02:00
Machiavelli cd47c87a7c Added tag UP31 for changeset 01713607e30d
--HG--
branch : trunk
2010-06-27 12:15:29 +02:00
teacher 2e70b0b5d4 Moved sql update files to 3.3.3a_old directory. You know what that means!
--HG--
branch : trunk
2010-06-27 11:57:07 +02:00
Machiavelli 60349c5700 Remove some faulty code for picking a random item enchant if RandomProperty is -1. This will have to be implemented correctly later.
Also prevent the core throwing errors when loading items with RandomProperty -1

--HG--
branch : trunk
2010-06-27 11:48:33 +02:00
teacher 499fa9b7cb Added missing script to full (thank you azazel_kon for spotting them).
Small sql editing (cosmetic, NO sql need to be re-applied).

--HG--
branch : trunk
2010-06-27 11:30:38 +02:00
Machiavelli 85114979f8 Update ConfusedMovementGenerator with some coordinate sanity checks.
Please leave feedback on how this affects:
- Confused movement (polymorph, blind, etc)
- Stability with vmaps enabled

--HG--
branch : trunk
2010-06-27 04:54:51 +02:00
Xanadu 5870b57532 Get rid of a compile warning.
--HG--
branch : trunk
2010-06-27 04:30:11 +02:00
Xanadu 39429b0548 Dispell code cleanup - GetDispelChance now really returns dispel chance and not resist chance.
--HG--
branch : trunk
2010-06-27 04:03:30 +02:00
Machiavelli 26f4fae802 Fix bug that creatures which use FleeingMovementGenerator would not attack after respawning.
Bug was caused by improper react state

--HG--
branch : trunk
2010-06-27 03:47:18 +02:00
Tartalo 0fd3e47edc Fix crash when applying mind control to vehicles
Closes issue #2816
What should happen when mind control is applied to vehicles?

--HG--
branch : trunk
2010-06-27 00:58:04 +02:00
Tartalo 59ca58a49f Violet Hold, Cyanigosa: Clear transformation on EnterCombat, now is handled by
instance script

--HG--
branch : trunk
2010-06-26 23:43:15 +02:00
Tartalo 1361b8b86c Violet Hold: Azure Saboteour animation on boss encounters, by DenissRassman
From issue #2180

--HG--
branch : trunk
2010-06-26 23:40:24 +02:00
Tartalo 3da0d1d5b2 Violet Hold: Cyanigosa's pre-fight animation, by DenissRassmann
From issue #2810

--HG--
branch : trunk
2010-06-26 22:35:23 +02:00
Tartalo 1b95df4194 Violet Hold: bosses go out of the cell when door is open, by DennisRassmann
From issue #2810

--HG--
branch : trunk
2010-06-26 22:09:11 +02:00
Tartalo 73a2a21ee4 Fix possible crash
--HG--
branch : trunk
2010-06-26 21:15:48 +02:00
Tartalo 037857c2ce Another fix for naxx GO handling
--HG--
branch : trunk
2010-06-26 21:12:22 +02:00
Tartalo 20585e0fc5 Fix naxxramas saving
--HG--
branch : trunk
2010-06-26 20:19:37 +02:00
Tartalo d0be4e2cad Remove duplicated job
--HG--
branch : trunk
2010-06-26 20:18:41 +02:00
Tartalo 3614f7b089 Load&save gothik's door state on instancedata load&save
Partial fix for issue #1244

--HG--
branch : trunk
2010-06-26 20:11:34 +02:00
Tartalo ce94851015 Add forgotten return
--HG--
branch : trunk
2010-06-26 17:57:49 +02:00
Tartalo e2f0b19f99 Branch merge
--HG--
branch : trunk
2010-06-26 14:07:36 +02:00
Tartalo 57687c5c40 Allow GMs to bypass instance entry requirements
--HG--
branch : trunk
2010-06-26 14:06:29 +02:00
Machiavelli d2553a138a Use valid coördinates for Unit::UpdateUnderWaterState instead of raw coördinates. Fixes another potential crash related to vmaps.
Updates issue #2748

--HG--
branch : trunk
2010-06-26 13:41:36 +02:00
Tartalo 26da69a544 Fix some deprecated checks on MapManager::CanPlayerEnter()
--HG--
branch : trunk
2010-06-26 13:32:24 +02:00
Machiavelli 23ec7faf73 Typo
--HG--
branch : trunk
2010-06-26 13:06:36 +02:00
Machiavelli fac0ff3232 Also check for valid Y and O coordinates in Unit::SetPosition. Fixes another loophole related to vmaps.
--HG--
branch : trunk
2010-06-26 12:32:29 +02:00
Rat 6693bf5092 removed unneeded debug lines from conditions loading
--HG--
branch : trunk
2010-06-26 10:57:19 +02:00
Machiavelli 4357846c3c Remove a hack (added by someone that will NOt be NAMEd) that caused too high experience bonus for heirlooms. Heirloom experience bonus was already handled perfectly.
--HG--
branch : trunk
2010-06-26 02:02:59 +02:00
click 2b29d4e65d Don't return mails to non-existing characters (thanks to laviniu for finding the bug)
--HG--
branch : trunk
2010-06-25 21:49:27 +02:00
click 3d40804a33 Opcode updates (thanks to LordJZ)
--HG--
branch : trunk
2010-06-25 21:41:43 +02:00
click 07ede97b93 Initialize battleground difficulty before initializing it (thanks to kapate for the heads up)
--HG--
branch : trunk
2010-06-25 21:28:39 +02:00
click 06cd5563b6 Use the correct CMake-variable for where to place the generated revision.h file (whops)
--HG--
branch : trunk
2010-06-25 19:13:14 +02:00
click 09cde73072 Set revision.h to be a prerequisite of worldserver and authserver building on *nix
--HG--
branch : trunk
2010-06-25 18:00:51 +02:00
Rat be2d40d189 added externals/lib/ to .hgignore
--HG--
branch : trunk
2010-06-25 16:41:44 +02:00
Rat f01ef873fb fixed some loot condition reload bugs
--HG--
branch : trunk
2010-06-25 16:38:02 +02:00