Commit Graph

  • 4da71ac657 * Fix a crash in Culling of Stratholme * Typo fix from previous rev Shocker 2010-08-25 03:53:43 +03:00
  • d3c6edeb4a Correct usage of basePoints in various locations Shocker 2010-08-25 03:21:22 +03:00
  • b940a92415 Fix CRLF. silinoron 2010-08-24 17:02:39 -07:00
  • 25c8ab63f8 Core/Player: Add new function AddItem. Useful in the scriptsystem for custom scripts. enjoi 2010-08-24 18:18:31 -05:00
  • aaaeecc916 Add support for vehicle scaling based on item level. Requires database data. Fixes issue #2754 silinoron 2010-08-24 15:04:34 -07:00
  • c0dda8b492 * Forgotten stack rules for rev f69fb2d3e0, thanks svetilo12 * Fix a crash in rev a972aa682b Shocker 2010-08-24 22:47:41 +03:00
  • 9b75f358ba Implement ACTION_T_MOUNT_TO_ENTRY_OR_MODEL (43) for creature eventAI. Read doc/EventAI.txt for details. Originally by NoFantasy. silinoron 2010-08-24 10:34:35 -07:00
  • 89d87339d5 Core: Update Player Limit and Player Security Level variables - Allowed Security Level will be set at server load or with 'server plimit reset' command (before it was read each time someone tried to join) - If Security Level is updated to a more restrictive value all people under that level will be autokicked Spp 2010-08-24 19:09:41 +02:00
  • 119e057810 I love you HG Machiavelli 2010-08-24 19:05:59 +02:00
  • 4185bb3181 DBLayer: - Implement QueryCallback_2 template for ACE_Future callbacks using 2 parameters for the callback function - Make MSG_LIST_STABLED_PETS´s handler use async query instead of blocking query Machiavelli 2010-08-24 19:04:25 +02:00
  • e5337169c8 Core: Fix non-PCH builds - defining SpellScripts before we have the auraApplications defined will not work click 2010-08-24 16:07:52 +02:00
  • 9e4357c9ad Core: Fix more warnings Spp 2010-08-24 14:44:56 +02:00
  • c728681422 * Remove some old checks in aura stacking and change default stack rule to true * Add stacking rules for Mark/Gift of the Wild, Power Word/Prayer of Fortitude, Prayer of/Shadow protection NOTE: Although highly unlikely, this *might* cause some stacking problems until we properly define rest of the stacking rules in spell_group, so report any stacking issues * Some missing lads from THANKS file Shocker 2010-08-24 14:38:00 +03:00
  • eedce26148 Dungeon Finder: Limit the number of groups added to queue to one per update Spp 2010-08-24 10:37:55 +02:00
  • 33f1c597a0 Remove trailing spaces in Dungeon Finder files Spp 2010-08-24 10:32:53 +02:00
  • 0079e8e3b5 compilefix Shauren 2010-08-24 11:40:40 +02:00
  • 41ec3bf89d Core/PlayerDump: Generate new guids for equipement sets when loading dumps Shauren 2010-08-24 11:08:12 +02:00
  • 4a30a2815b Force offhand weapon unequip when player doesn't have Dual Wield anymore Shocker 2010-08-24 08:19:17 +03:00
  • b2f542530f Fix Guardian Spirit's healing Shocker 2010-08-24 07:49:16 +03:00
  • 85e72c9132 Only send LANG_NOT_ENOUGH_GOLD notification during trade if the trader does not have enough money... Thanks 0xFuture. Fixes issue #3587 Update THANKS file... silinoron 2010-08-23 21:41:29 -07:00
  • c2286fc70d Fix a typo in World.cpp. Thanks Paradox for pointing it out. silinoron 2010-08-23 21:36:52 -07:00
  • 5e92a8e55a Fix accessories for vehicle player mounts (the vendors on Traveler's Tundra Mammoth for example) Shocker 2010-08-24 07:19:29 +03:00
  • fcebd3117a Fix Shaman T10 Ele 2P. Big thanks to Dr.Tenma!!! Fix Warrior T10 Melee 2P. John Holiver 2010-08-24 01:01:46 -03:00
  • 4c382c0b98 Fix typo in SQL file name. silinoron 2010-08-23 20:38:35 -07:00
  • 8649bee17f Replace World::getConfig with World::getFloatConfig, World::getIntConfig, and World::getBoolConfig. Also fix a warning from a previous commit. silinoron 2010-08-23 19:56:47 -07:00
  • b30800e9bc Forget to save the file before pushing. Sorry. =p John Holiver 2010-08-23 23:25:10 -03:00
  • d7d63012c5 Fix Spirit Walk adding the remove imparing movement effect. John Holiver 2010-08-23 23:24:15 -03:00
  • 24c88d1802 Fix several Idols, Relics, Librams and Sigils. Thanks also to Arcane. John Holiver 2010-08-23 23:13:51 -03:00
  • b5633c4863 Fix Warlock, Rogue and Hunter T10 Bonuses. Thanks also to Arcane. John Holiver 2010-08-23 22:25:08 -03:00
  • 6601f46fd3 Fix Bladestorm and disarm. Fixes issue #1899 Fixes issue #2562 Fixes issue #2833 silinoron 2010-08-23 17:11:50 -07:00
  • 1d54b8e3d6 Tabs to spaces... silinoron 2010-08-23 16:55:37 -07:00
  • 48bfe264d9 Fix Shaman Tier Bonus * T9 Ele 4P * T10 Res 4P * T10 Enh 2P * Partially, T10 Ele 2P (need some way to send ¨decrease CD¨ msg to client) John Holiver 2010-08-23 20:41:54 -03:00
  • 34384a3832 Spell 62124 should allow critical hits. Based on patch by Toni.Shocker (yes, again). Fixes issue #3554 Also get rid of GuildScript in TODO, as it already exists. silinoron 2010-08-23 15:51:34 -07:00
  • 2a38ba09ca Update THANKS file. silinoron 2010-08-23 15:15:35 -07:00
  • 8bebc56b8f merge silinoron 2010-08-23 15:13:20 -07:00
  • 07a3a1254b *Add AuraScript class for scripting aura objects - scripts are registered same way as SpellScripts, bound to SpellScriptNames table. For more details see example_spell.cpp and SpellScript.h *Rename SpellHandlerScript to SpellScriptLoader, EffectHandlerFn to SpellEffectFn, HitHandlerFn to SpellHitFn, SpellScript::EffectHandlers to SpellScript::OnEffect, these changes were neccesary to prevent namespace collisions, happily you can solve these by simple find and replace *Make spells 66244 and 5581 example scripts. QAston 2010-08-24 00:10:49 +02:00
  • c09528a6bf Fix spellstealing durations when duration of stolen buff is infinite. Based on patch by Toni.Shocker. Fixes issue #3550 Fixes issue #3017 silinoron 2010-08-23 15:10:27 -07:00
  • 1691065162 Damage over time spells should not cause spell pushback. Based on patch by Toni.Shocker. Fixes issue #3551 silinoron 2010-08-23 15:06:51 -07:00
  • 29daa0bb84 Glyph of Innervate should return 45% of base mana instead of total. Patch by Toni.Shocker. Fixes issue #3553 silinoron 2010-08-23 14:56:48 -07:00
  • e581feb551 Pets should inherit owner's hostility status for the purposes of target checking Based on patch by Toni.Shocker Fixes issue #3552 silinoron 2010-08-23 14:46:10 -07:00
  • 181b995e38 Fix Priest T10 Healer 2P Bonus. Thanks to Arcane. Expect more tier bonus fixes. :D John Holiver 2010-08-23 16:09:09 -03:00
  • 062f4267b5 Fix instance script for the Nexus. Fixes issue #3572 Thanks [email protected] silinoron 2010-08-23 11:23:22 -07:00
  • 32780c2280 typo Machiavelli 2010-08-23 19:25:50 +02:00
  • 3561270c64 Fix query in ObjectAccessor::ConvertCorpseForPlayer Thanks to tru.bazoozoo and daibo411 Machiavelli 2010-08-23 19:03:53 +02:00
  • caa3a58213 Core: * add Player::HasEnoughMoney methods to check, whether player has specified amount of money and use new methods where applicable * fix some signed/unsigned warnings and some typos azazel 2010-08-23 22:58:32 +06:00
  • ad5c8cadf1 Fixes Mage T10 bonus. Thanks to Dr.Tenma. Close issue #3423 John Holiver 2010-08-23 13:26:25 -03:00
  • 2a57bc9cdc - Fix potential singleton memory deallocation problems - Fix ¨mysql_global_end() 1 thread didn´t exit¨ error Author: Derex Machiavelli 2010-08-23 18:15:01 +02:00
  • 050f85b2c6 Core: Fix Windows compile Spp 2010-08-23 15:46:12 +02:00
  • 51d8333ccc Core: Fix more warnings Spp 2010-08-23 15:11:06 +02:00
  • 39247aba30 Core: Remove outdated comment Brian 2010-08-20 04:45:12 -06:00
  • 2f86baf20e Core/Vendors: Fix typo that prevented alliance GM from viewing horde items in vendors Spp 2010-08-23 14:12:39 +02:00
  • 58e94dcb9d Core: Fix more warnings Spp 2010-08-23 14:10:24 +02:00
  • 16d95d3115 Core: Fix some warnings Spp 2010-08-23 07:51:19 +02:00
  • ccc2a83510 * Some consistency changes. * Move spell 6962 to spell scripts and make sure to set deathstate. silinoron 2010-08-22 21:07:18 -07:00
  • 5cbae843d5 Core/Game: fix all warnings related to converting doubles and floats. silinoron 2010-08-22 12:39:39 -07:00
  • 399e35f8f5 Core: * fix "warning C4305: 'initializing' : truncation from 'double' to 'float'" warnings * fix some other warnings here and there azazel 2010-08-22 23:46:40 +06:00
  • d38135d1fd Core: Remove function-redefinitions for Windows (for now) - we'll sort this out later click 2010-08-22 19:40:43 +02:00
  • 5eb1802ef5 Fix typo - thanks menke click 2010-08-22 17:15:45 +02:00
  • 0e307c4b07 Core/SOAP: Fix semaphore locking on non-POSIX systems (thanks to menke/arrai) click 2010-08-22 16:57:06 +02:00
  • 5739c2efa9 Core: replace redirectional outStaticDebug with a copy of debug for future use and rewrite click 2010-08-22 16:33:43 +02:00
  • 6e7f11aa41 Typo from prev commit John Holiver 2010-08-22 06:13:27 -03:00
  • 3fb1c08d20 Core/Script/Spells: Trial of the Crusader * Keep in mind that this is a WIP although is extremely playable as it is. * Known bugs are writen at the header of each file. * If u know how to correctly solve any of those bugs or found a new bug, please report and, if you may, provide a fix for us to review. * I'd like to thank all Trinity Community (in special, Shauren, QAston, Bio, Josh), rsa from SD2 for providing the base, all the ppl that helped me test and review so many many times. * I personally have been working on this code since TC was near rev 8000 so i will take a break from it to work on other stuff (specially cause most of the bugs i was unable to solve alone). * I'd like to strongly encourage others to provide the improvements that this instance need to become perfect. * FInally, this commit might have something missing... i'll recheck as soon as i wake up tomorrow morning. John Holiver 2010-08-22 05:55:54 -03:00
  • 2a130e07bf Scripts: * Fix crash in boss_morogrim_tidewalker script (thanks Toni.Shocker). Close issue #3531 * Small cleanup of code for boss_morogrim_tidewalker (used enum instead of defines, removed warnings and obsolete code) azazel 2010-08-22 13:27:22 +06:00
  • b0086ce4fc Fix logic in SpellScript (thanks Toni.Shocker) azazel 2010-08-22 13:04:10 +06:00
  • 670964803f Core: Fix more warnings, add new function sLog.outStaticDebug() that replaces DEBUG_LOG click 2010-08-22 01:57:04 +02:00
  • a40cb46e61 Core: fix "comparison of unsigned expression < 0 is always false" warnings Spp 2010-08-21 23:40:53 +02:00
  • 572f7bbd1d Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings Spp 2010-08-21 23:08:54 +02:00
  • a136403dee Core: Remove "suggest parentheses around ‘&&’ within ‘||’" and "suggest parentheses around assignment used as truth value" warnings Spp 2010-08-21 21:54:41 +02:00
  • c15c605a11 Core: Remove "unused variable 'xxx'" warnings Spp 2010-08-21 21:14:35 +02:00
  • e7856a831c Core: Remove "enumeration value 'xxx' not handled in switch" warnings Spp 2010-08-21 20:55:31 +02:00
  • 77bd968c63 *Remove some unused containers from Spell class. QAston 2010-08-21 21:00:06 +02:00
  • c3343638cb Core: Remove lots warnings: - All "'xxx' will be initialized after 'yyy' when initialized here" - Some "unused variable" - Some "enumeration value 'xxx' not handled in switch" Spp 2010-08-21 20:08:47 +02:00
  • 6714feb3ee *Add script hooks for SpellScript class - now you can use BeforeHit, OnHit, AfterHit hook lists. QAston 2010-08-21 20:18:54 +02:00
  • 3febdd7884 Core: Remove warning-ignores from Common.h, and fix a shitload of retarded warnings that was hidden by it - NO MORE HIDING IN CORE THANKYOU! click 2010-08-21 19:40:05 +02:00
  • d7814e88d8 Scripts/Icecrown Citadel: Added Lady Deathwhisper script, huge thanks to wowgargamel for script parts, timers and sniffs Core/Scripts: Added GetPhaseMask() method to EventMap Shauren 2010-08-21 11:09:58 +02:00
  • 50789b0461 Core: Remove already defined FD_SETSIZE (picked up from Common.h) click 2010-08-21 16:37:30 +02:00
  • 7abd33951a Buildsystem: Enable warnings by default - warnings are ment to be noticed and fixed, not ignored click 2010-08-21 14:03:47 +02:00
  • ace057f1d7 Core/Build: Finalize the non-PCH building - now compiles on all platforms in nonPCH-mode, and in PCH (unless we've fucked up somewhere) click 2010-08-21 11:36:52 +02:00
  • d16656bb5d Core/Guild: Compile properly on *nix + fix so we don't delete the same item twice on disband (thanks shauren) click 2010-08-21 10:31:46 +02:00
  • f7ad5b2624 Core/Build: Clean up more nonPCH-issues + fix a warning in Timer.h (unsigned/signed cast) click 2010-08-21 09:53:04 +02:00
  • 6939c92a76 Buildsystem/PCH: Remove DatabaseEnv.h from PCH-list, due to the insane amounts of times it seems to be "forgotten" in main sources click 2010-08-21 08:23:53 +02:00
  • 71b48cadc2 Core: Make shared build happily without PCH (there are still issues with game ++) click 2010-08-21 08:08:49 +02:00
  • 6e6d62def9 Core: Creature should aggro player when players aggro creature during SetInCombatWithZone (otherwise, creature will remain not in combat). John Holiver 2010-08-21 02:15:19 -03:00
  • fcca6060d0 Core/Spells/Scripts: Another spell effect needed for ToCr (Paralytic Toxin). Thanks for Dark0r. John Holiver 2010-08-21 01:02:38 -03:00
  • 8cfc3782e3 Fix linux build (with PCH enabled, mind you) Machiavelli 2010-08-21 03:44:02 +02:00
  • 994186f267 DB Layer: - Make SQL Transactions actual objects used in code. (Thanks to Derex for the idea) * Uncommitted transactions will be automatically rolled back and cleaned up using ACE_Refcounted_Auto_Ptr, so no need to call Rollback() in the code. * Prevents recursive transactions and makes developers aware of transactions going on. * Gets rid of unneccesary overhead iterating over a concurrent map. - Some cleanups in affected code, including better usage of transaction control in AH / mail related code to prevent data loss. Machiavelli 2010-08-21 03:19:25 +02:00
  • a7498d2f56 Core/Includes: Include ACE as an external dependency, not local (#include "ace/something.h" -> #include <ace/something.h>) click 2010-08-21 02:27:12 +02:00
  • d89671727b fix r905a640a2d - tabs to spaces, and add a forgetten break. silinoron 2010-08-20 15:22:42 -07:00
  • 6f605cb0e5 Fixes silly gossip menus of quest givers. Fixes issue #3484 Liberate 2010-08-20 22:03:19 +02:00
  • 43b1c2dba4 * Remove support for map-based random number generation (which seems unused). * Re-add in support for the old mersenne twister for those whose processors don't support SSE2. * Toggling whether or not you are using SFMT is as easy as checking a CMake flag, USE_SFMT, which defaults to 0. silinoron 2010-08-20 12:42:14 -07:00
  • ca350b4758 Core/Spells/Scripts: Needed spell fixes for some Trial of the Crusader bosses (Leeching Swarm, Slime Pool and Burning Bile) John Holiver 2010-08-20 14:11:26 -03:00
  • d661202054 Properly update resultset parameter when using QueryCallback template. Fixes issue #3512 Machiavelli 2010-08-20 13:30:49 +02:00
  • a3270e79e3 Return proper MySQL connection for syncrhonous requests based on calling thread instead of bundled connection. Machiavelli 2010-08-20 12:44:08 +02:00
  • 24d752e782 Core/Build: Fix non-PCH build, again... :P click 2010-08-20 11:48:12 +02:00
  • 812b6694f9 Core/DB scripts: * provide more information in error messages for DB scripts * cleanup in DB scripts code azazel 2010-08-20 14:57:05 +06:00
  • a470c91bf0 Buildsystem/Macro: Use the correct number for Allendale-CPUs and fix a minor typo click 2010-08-20 10:11:37 +02:00
  • 6aa1731198 Buildsystem/Macro: Add support for Intel Family 6 Model 30 (Allendale) CPU optimizations (Based on Westmere) click 2010-08-20 10:02:01 +02:00
  • a200de3b5f Core * Cleanup in LoadScripts method and related stuff (use enum instead of string to differentiate between script maps) * Fix creation of id and sanity checks for spell_scripts. Should fix warnings about missing spells with id > 65535 azazel 2010-08-20 12:19:14 +06:00
  • acc43ea47d Buildsystem: add missing argument to macro. Fixes CMake issues on Win azazel 2010-08-20 12:08:12 +06:00
  • 8d62f4e6ce Buildsystem: Add helperscripts to detect SSE2 extensions, and optimize platform compileflags for the architecture + minifix in scripts (wrong includedir) click 2010-08-20 04:09:39 +02:00