Commit Graph
100 Commits
Author SHA1 Message Date
QAston 0252202504 *Correctly set basepoints of Learn spells - patch by Toni.Shocker.
*Make sure that Spell::m_currentBasePoints are used correctly in any other place of the code.

--HG--
branch : trunk
2010-07-15 23:20:41 +02:00
click d2b4ffbec3 Use a slightly different approach to tree bound intersection (by Lynx3d)
--HG--
branch : trunk
2010-07-15 19:43:47 +02:00
Shauren a214443409 Typo fix
--HG--
branch : trunk
2010-07-15 10:16:30 +02:00
Shauren 894a065203 Revert revisions 67325b1a0af0 and a0cba24b9060.
Made vendors ignore gold cost by default when extended cost is set, except when item has ITEM_FLAGS_EXTRA_EXT_COST_REQUIRES_GOLD flag

--HG--
branch : trunk
2010-07-15 10:12:51 +02:00
click 26582fd48b Update libMPQ to latest revision (304)
--HG--
branch : trunk
2010-07-14 19:09:39 +02:00
QAston d59cc55351 *Typofix
--HG--
branch : trunk
2010-07-14 17:09:30 +02:00
QAston a43ec3f158 *Add SpellMgr::CalculateSpellEffectAmount function for consistency of effect amount calculations in core
*Remove SpellEntry::CalculateSimpleValue function and use the new cuntion instead
*Remove some workarounds made because of incorrect effect amount calculations
*Since now aura effect amount problems should be gone.

--HG--
branch : trunk
2010-07-14 16:57:13 +02:00
Shauren 6aa9ee1a2f Fixed "At Gold Limit" popping every time you are gold capped and buy any item (with extended costs)
--HG--
branch : trunk
2010-07-14 12:02:27 +02:00
Shauren af8a2e754c Another basepoint fix, Thrill of the Hunt
--HG--
branch : trunk
2010-07-14 10:35:43 +02:00
Shauren 6385a48b45 Fixed base points for Heart of the Wild however this does not fix its incorrect amount as the issue is somewhere else
Add forgotten Stances and StancesNot fields to data insert in world sql

--HG--
branch : trunk
2010-07-14 09:51:18 +02:00
Shauren fd3e4d5139 Add Stances and StancesNot fields to spell_dbc table
--HG--
branch : trunk
2010-07-13 23:04:31 +02:00
QAston c783cacbe6 *Remove unsafe call of Aura::CheckTarget() which was causing aura list corruption on some units.
*Change the function name to Aura::CheckAreaTarget()
*Move some functions in SpellAuras.cpp to match order from SpellAuras.h

--HG--
branch : trunk
2010-07-13 21:41:21 +02:00
Shauren 3815f19c4f Fixed SMSG_BATTLEFIELD_STATUS packet. code by tom_rus.
--HG--
branch : trunk
2010-07-13 11:10:29 +02:00
Tartalo e54e153e2e Tools, vmap3_extractor: Add missing locales support, by Lynx3d
Closes issue #2813

--HG--
branch : trunk
2010-07-13 10:31:58 +02:00
teacher 94f143ee46 Renamed "realmd" to "auth" in config files.
Renamed "character_database.sql" to "characters_database.sql". (yeah I know, you're gonna hate me, but I'm pedantic!)

--HG--
branch : trunk
2010-07-12 18:00:27 +02:00
Shauren 5ad02b578d Added support for all raid quest types
Added new config option to allow non-raid quest progression when in raid group

code by Vladimir

--HG--
branch : trunk
2010-07-12 14:38:24 +02:00
Tartalo 7a8d464b19 Warsong Gulch: In tie case last captured flag decides instead of first
Patch by manisamja
Closes issue #2925

--HG--
branch : trunk
2010-07-12 11:42:57 +02:00
Tartalo 67268befcd Warsong Gulch: remove non-english comment
--HG--
branch : trunk
2010-07-12 11:40:08 +02:00
click 673c652ba6 change "IN_MILISECONDS" to proper english "IN_MILLISECONDS"
--HG--
branch : trunk
2010-07-12 00:30:17 +02:00
click 07c1d011d4 Reinstate ITEM_FLAGS_NO_EQUIP_COOLDOWN implementation and the serverside checks for ITEM_FLAGS_INDESTRUCTIBLE (with prototypes this time)
--HG--
branch : trunk
2010-07-11 23:53:48 +02:00
click 307bf7f73e Backed out changeset 6670e64b2d92
--HG--
branch : trunk
2010-07-11 22:33:18 +02:00
click 66547c5fbd Implement ITEM_FLAGS_NO_EQUIP_COOLDOWN support + add serverside checks for ITEM_FLAGS_INDESTRUCTIBLE (code by Vladimir)
--HG--
branch : trunk
2010-07-11 22:22:49 +02:00
Shauren aebbdcebc2 This should fix Savage Defense related crashes
--HG--
branch : trunk
2010-07-11 20:30:53 +02:00
click 63179eb772 Fix typo in previous commit *sighs*
--HG--
branch : trunk
2010-07-10 05:46:21 +02:00
click 478946284d Fix incorrect blocked LOS-calculation on certain locations (by Lynx3d)
--HG--
branch : trunk
2010-07-10 05:14:05 +02:00
teacher 89ea8ccdf9 Fixed Extractors' windows compile issue (with click's blessing and ever viewing eye!)
--HG--
branch : trunk
2010-07-09 20:32:00 +02:00
click 09573c91ba Added tag 3.3.5a-clientsupport for changeset 1d84e402c474
--HG--
branch : trunk
2010-07-09 18:18:23 +02:00
click 3f932b40d3 Added tag 3.3.3a-LAST for changeset 0410a47ee355
--HG--
branch : trunk
2010-07-09 18:07:17 +02:00
click 45e2a65fad Update VMap3 to "final" release (REEXTRACTION OF MAPS/VMAPS IS REQUIRED!) - thanks to Lynx3d (again)
- add magic-header to .vmtile files
- calculate waterlevels for non-flat surfaces in a more correct way
- make MSVC shut up about float-issues
- change logging around a bit (output function that the respective logentry comes from)
- remove remaining Stormlib leftovers
- set indoor/outdoor check to enabled by default (more blizzlike)

--HG--
branch : trunk
2010-07-09 18:02:46 +02:00
Tartalo 9182ab6ead Uncomment the assert that I commented some revs ago on InstanceMap::CanEnter()
--HG--
branch : trunk
2010-07-09 13:23:22 +02:00
Tartalo a95bafefda Check map entering requirements only if areatrigger teleport changes map
--HG--
branch : trunk
2010-07-09 13:22:07 +02:00
Tartalo 7b27b98599 Remove double requirement check in AreaTrigger teleport
--HG--
branch : trunk
2010-07-09 13:12:25 +02:00
Shauren bf111e7d96 Fixed Savage Defense
Fixed Master Shapeshifter

Fixes issue #1299.

--HG--
branch : trunk
2010-07-08 20:35:01 +02:00
click 668de35042 Do proper sanitytesting for waypoint scriptloading - thanks to Azazel for the heads up
Closes issues #2888

--HG--
branch : trunk
2010-07-08 03:03:10 +02:00
Tartalo e58ca4d363 Coment annoying assert that nobody knows why is there
--HG--
branch : trunk
2010-07-07 22:30:38 +02:00
Tartalo 7969723527 Deny access to instances if other party/user with the same perm id is inside
Fixes #2844

--HG--
branch : trunk
2010-07-07 22:22:16 +02:00
Shauren 2ccc475aa5 Added drop statement before table rename
Because Aokromes wasnt happy.

--HG--
branch : trunk
2010-07-07 10:42:42 +02:00
Shauren 2484df3918 Revert revision 4b8a7a570412 until properly fixed, caused auras to get stuck at client sometimes
--HG--
branch : trunk
2010-07-07 09:42:18 +02:00
teacher c04b03cae9 Fix to make the Argent Defender trigger the visuals (by amki).
--HG--
branch : trunk
2010-07-06 13:46:39 +02:00
Shauren 9ba91d50d0 Fixed sending aura remove packet at stack modification
--HG--
branch : trunk
2010-07-06 13:22:24 +02:00
click 47bfc190c7 Kill another memleak - delete auction element after auction has been ended and removed (fix by ge0rg)
--HG--
branch : trunk
2010-07-06 04:49:31 +02:00
click 6f393be15a Update GPL-licensing information on scripts (now with the proper bling-bling headers!)
If any more scriptfiles are missing their respective header, let us know please...

--HG--
branch : trunk
2010-07-06 03:27:41 +02:00
click 53f4b517ce Remove doublecalculation of crit res (fix by dr.tenma)
Fixes issue 2031

--HG--
branch : trunk
2010-07-04 21:31:20 +02:00
click 86df5ec9ad resolve circular dependency on uninitialized memory (and add copyrightheaders) in AHBot
(dependency-fix by ge0rg)

--HG--
branch : trunk
2010-07-04 20:57:44 +02:00
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