Commit Graph

  • 47d205ea71 [svn] Replace many IsWithinDistInMap with IsWithinCombatDist in melee attack function. megamage 2008-11-03 17:39:34 -06:00
  • 94c03e3211 [svn] Fix hunter's frozen trap, half duration when pvp. Use vector to store linked spell information to support multiple effects. megamage 2008-11-03 17:20:35 -06:00
  • 6a8878fb5d [svn] Use IsWithinCombatDist for all AI. This should fix the bug that pet and guard does not attack target. (Note: some scriptedAI may need to update) megamage 2008-11-03 14:11:09 -06:00
  • da5786249f [svn] Fix SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY spells, patch provided by QAston. Fix priest's fear. Is breakable now. megamage 2008-11-03 13:43:36 -06:00
  • 09c72569c0 [svn] Update zul'aman script. Patch provided by streetrat. megamage 2008-11-03 10:42:25 -06:00
  • ab1bb3ac76 [svn] Add class SummonList in script to despawn summons. Update Zul'jin script for test. megamage 2008-11-03 10:16:06 -06:00
  • b9af250881 [svn] Fix the compile error. Patch provided by Tidus. Merge part of mangos svn rev 6748: Use SMSG_PET_NAME_INVALID opcode instead of db string. Source: Mangos. megamage 2008-11-03 09:53:31 -06:00
  • b3bdc26a11 [svn] Set destination when calling CastSpell. This should fix the bug that seed of corruption does not work and "cannot find destination for spell" spams. Not sure if this is the correct way to fix it. megamage 2008-11-03 08:29:04 -06:00
  • fbef4e3abf [svn] Fix a compile bug. Patch provided by Paradox. megamage 2008-11-03 08:14:21 -06:00
  • d5beb2bbe9 [svn] *Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENT * Default behaviour of pets for creatures changed to REACT_DEFENSIVE * Disallowed sending wrapped items as COD * Prevent loading and saving single target auras for pet in same way as already implemented for player * Correctly limit use some flask types to zones. * Fixed extracting common.MPQ under *nix * Many small xleanups and fixes. ** mangos merge rev. KingPin 2008-11-02 16:53:46 -06:00
  • 6633d3c680 [svn] Fix tame beast. megamage 2008-11-02 11:00:14 -06:00
  • 794dc2c3e7 [svn] Fix eagle eye (and other far sight spells). megamage 2008-11-02 08:48:25 -06:00
  • c10a9e6ccc [svn] Fix a bug that GameObject::CastSpell crash the server. megamage 2008-11-02 08:44:15 -06:00
  • 972e2d56e2 [svn] Add function GameObject::CastSpell. Used for hunter's trap and so. Use original caster instead caster to check spell hit result. Let spell triggers have the same faction as the summoner. Fix the bug that trigger creatures attack enemy. (no need use civilian extra flag in the future, 128 is enough) Fix shadow step. megamage 2008-11-02 00:59:44 -05:00
  • 1dad2c855c [svn] Disable combat_reach spams. Fix holy nova. Patch provided by Disassembler. megamage 2008-11-01 18:52:59 -05:00
  • 37d0fdd0cd [svn] Check creature combat reach when loading db. This should fix the bug that finding random contact point causes crash. megamage 2008-11-01 16:53:16 -05:00
  • d292b85d38 [svn] Fix teleport spells. Fix cone spells. Use interrupt_aura_flag to remove stealth/invisible/feign death auras. megamage 2008-11-01 15:08:12 -05:00
  • e2eb694c57 [svn] Improve TargetedMovement (TODO: let mob find "near angle" rather than "random angle"). Delete a repeated check in instance canenter(). Fix some spell targets. Add some sunwell spell sql. Fix Magtheridons earthquake. (TODO: need to find out why soul transfer has no effect when casted by mobs) Let Brutallus dual wield. Enable burn (still no script effect). Quick fix for shadowmoon valley illidan quest crash (wait for author's fix). megamage 2008-10-31 21:42:00 -05:00
  • 1c3d4c40c3 [svn] Set target in combat even if spell does not hit target. Call AI function only when spell hits target. Move combat check from dealdamge to attackerstateupdate to remove redundant check. megamage 2008-10-31 14:00:49 -05:00
  • 67b86d636b [svn] Spell target selection improvement. Remove most mangos hacks in spell target selection. (work almost done) Merge mangos svn rev 6744. megamage 2008-10-31 11:04:32 -05:00
  • daec9868d9 [svn] Enable linked spells: cast spells/remove auras when spells casted/spells hitting/auras removed. Add new table "spell_linked_spell". Some illustrations provided in sql. Let trigger creature cast AOE spells when summoned. Illustration provided in sql. Let active creatures always visible if possible. (seems does not work for now, need to find out why) megamage 2008-10-30 11:32:10 -05:00
  • f2f73ff19f [svn] Update magisters terrace script. Patch provided by streetrat. megamage 2008-10-30 09:25:38 -05:00
  • a1131cdb21 [svn] Provide creature dual wield support. Update glancing damage formula. Do not daze creatures when other creatures attack from the back (need to find a better way). Fix the damage calculation of +damage aura. megamage 2008-10-29 20:00:21 -05:00
  • 7ea14f94f1 [svn] Merge from mangos. Wed Oct 29 15:06:00 034b8a34a9 Mon Oct 27 14:36:42 fa072d1510 megamage 2008-10-29 18:06:01 -05:00
  • cca2c3a603 [svn] * Fixed compile error from rev 140 slg 2008-10-29 17:26:01 -05:00
  • 0602efb289 [svn] * fixed my typo KingPin 2008-10-29 17:11:32 -05:00
  • ce2d63e4ae [svn] * Added npc follow, waterwalk, repairitems commands. Patch by dythzer * Prevent adding more than 5 people to raid - Apoc * fixed typo from one of our previous commits. * Fixed two strings in core, thanx to warhead for patch. KingPin 2008-10-29 17:09:32 -05:00
  • febb2d6147 [svn] Fix broken spell target 38 (script target). Implement linked spells, but will not enable it before testing. megamage 2008-10-29 14:19:31 -05:00
  • 5e809c2a6b [svn] Add new function SelectUnit and SelectUnitList to select target or targets with check "isPlayer" and "isWithinDist". Also add target type SELECT_TARGET_NEAREST and SELECT_TARGET_FARTHEST. SpellEffect Fix for 40802,29364,43723,41931. Patch provided by WarHead. Update script of Fathom Lord. Patch provided by Blaymoira. megamage 2008-10-28 16:28:42 -05:00
  • 8ded7dce04 [svn] * Fixed several commands that were accidentally removed in 120 - freeze commands - .nameannounce - .flusharenapoints slg 2008-10-28 15:48:56 -05:00
  • 3ea64f7581 [svn] * Prevent crash at access to deleted social data for player. Remove social data at logout instead - source mangos * Fixed subcommands list output at console. - source mangos * Rename scripts update. KingPin 2008-10-28 08:10:44 -05:00
  • f724227f24 [svn] * fixed world.sql LOCK/UNLOCK for script_texts table slg 2008-10-27 16:12:31 -05:00
  • dd97776501 [svn] * Fixed startup error flood if creature model id is 0 * Fixed totems using proper model ids broken after recent change * Set pet grid activity state to that of caster upon summoning * Fix a possible crash in ObjectAccessor note to self: don't commit anything without 3 days testing. ever. after this one ofc. w12x 2008-10-27 15:28:04 -05:00
  • 1b820f93eb [svn] More C++ scripts converted to use script_texts. - Blackwing Lair - Black Morass - Old Hillsbrad source: ScriptDev2 slg 2008-10-27 15:17:06 -05:00
  • bbd5c8fd40 [svn] * Properly name Updates for scripts. KingPin 2008-10-27 13:23:14 -05:00
  • fc77e2d761 [svn] * Changed modelid_a/h(2) values to modelid1..4, display ids are no longer incorrectly chosen based on player faction. Patch provided by WarHead. w12x 2008-10-27 11:48:45 -05:00
  • 4cbc6f830a [svn] Fix a compile error about M_PI_2. Update Felmyst script to test new setActive function. Fix the bug that priest's fear is unbreakable (dirty hack before find the correct way). (some unfinished unused content included, just ignore them, will finish them later) megamage 2008-10-27 10:57:53 -05:00
  • 1bb1603592 [svn] * Moved scripts sqls updates to main sql updates folder. * Fixed makefile to use proper foldername. * rXXX_world_scripts.sql will be the format for script sql updates, execute these into your world DB. KingPin 2008-10-27 09:57:53 -05:00
  • e72a13c3dd [svn] * Allow WorldObjects to keep the grid active, and prevent it from being unloaded. This can be done through calling WorldObject::setActive(bool) from the scripting library. Note that entire instances are still unloaded if no player is present on that map to save resources. This behavior can be changed if the need arises. w12x 2008-10-27 08:41:55 -05:00
  • 0e18e4330c [svn] Fix some mistakes of the last two commits. megamage 2008-10-27 08:28:57 -05:00
  • 1f7ff81049 [svn] Make mobs scatter around in melee attack. Patch provided by smellbee. Fix Join Instance Can Enter while Encounter is in Progress. Patch provided by mknjc. megamage 2008-10-27 08:00:33 -05:00
  • e2c221b0da [svn] Fix Eredar twins, Al'ar and Zul'jin's AttackStart() function. Update Shade of Akama script, Lady Vashj script and Shadowmoon Valley script. Patches provided by Blaymoira. Remove some hacks since core has provided spell target support. megamage 2008-10-27 07:34:38 -05:00
  • 9125ef9337 [svn] Fix the bug that Maiev crash the server in Illidan combat. megamage 2008-10-26 23:05:20 -05:00
  • ad7400f254 [svn] SD2 Merge, rev 700 - addition of script_texts to various c++ scripts. Patch provided by SLG. megamage 2008-10-26 20:59:39 -05:00
  • 1f2c52137d [svn] Fix a bug that hunter cannot summon traps. Fix a bug that debuff AOE affect caster. Change target 8 from entry AOE to enemy AOE until find out its real effect. megamage 2008-10-26 18:58:41 -05:00
  • 5faa23accc [svn] * Revert change to DoZoneInCombat made in [114] as it can cause problems. DoZoneInCombat is NOT meant to be used by creatures that cannot have threatlists or have empty threatlists. Seline 2008-10-26 13:58:39 -05:00
  • a0f843a3eb [svn] * Merge CLI Commands with regular commands and give them level4 access. sec_console. Source mangos - thanks to ogeraisi for the amalgamated patch. * Redid/Fixed/Added some lang strings. * As usual remember this is a trunk rev so stability only guaranteed on northern countries of Mars and western parts of Pluto. No warranties outside the solar system, sorry :( . Check with your local government or dictator on regulations regarding export. KingPin 2008-10-26 13:32:42 -05:00
  • 6f2e0ee48a [svn] * Fixed xp calculation for low level characters when grouped with a higher level player. Patch provided by Reiner030. * Fixed positive spells being not resistable when cast on hostile units. Patch provided by QAston. * Fixed compile warnings in gcc. Patch provided by WarHead. w12x 2008-10-26 11:50:07 -05:00
  • 55c25d894e [svn] Add SpellExtraInfoMap. Currently support: Limited-number-of-players spell; shared damage spell; target-in-line cone spell (e.g. dark glare). Change angle of cone spells from 120 degree to 60 degree. megamage 2008-10-25 15:46:52 -05:00
  • 6fc23ef45e [svn] Update trinityscript to SD2 rev 700. Source: scriptdev2. Patch provided by SLG. megamage 2008-10-25 11:40:10 -05:00
  • 43436c8f30 [svn] Continue the work of rewriting spell target selection functions (warning: this may cause some spells broken). Add some spell_script_target. Delete some workaround in scripts (since core provides spell support now). megamage 2008-10-25 10:37:28 -05:00
  • e22427d4b0 [svn] Fix the bug that summoned creatures may respawn. megamage 2008-10-25 01:39:51 -05:00
  • 0a3057972c [svn] Fix a crash caused by gruul script. Change in EffectSummonWild and DoZoneInCombat. megamage 2008-10-24 17:37:40 -05:00
  • 67f95a5281 [svn] * Moved regular script to simple folder, added an expanded version of it. * Expanded is still in beta so may have errors. KingPin 2008-10-24 06:26:10 -05:00
  • 277334fc41 [svn] Fix cloak of shadow, can remove fairy fire now. Add yells to High King Maulgar. Patch provided by riddick. Script for Prince Malchezaar Doors. Patch provided by BroodWyrm. Bug fix for Selin Fireheart. Patch provided by BroodWyrm. Arcane Charges only while on flightpath. Patch provided by SLG. megamage 2008-10-23 22:04:14 -05:00
  • 0f32ffb90e [svn] Prevent Bestial Wrath from being applied 5 times when cast by a hunter with The Beast Within talent. Hopefully this will also fix the crashes caused by this spell. Change 'tbc' to 'expansion' in realmd.sql. w12x 2008-10-23 09:40:37 -05:00
  • 6b7d68ddc1 [svn] Change 'tbc' to 'expansion' in the registration script, following realm db changes. w12x 2008-10-23 06:01:22 -05:00
  • c98b24cf29 [svn] Restore automatic crashlog generation on Windows. Make sure to have a Crashes folder in the working directory of the executables. w12x 2008-10-23 05:57:15 -05:00
  • b8362cd7f1 [svn] Fixed copyright notices to comply with GPL. w12x 2008-10-23 03:29:52 -05:00
  • 87681af453 [svn] Fix a bug that elixir buff cannot stack. Fix quest 9685. Patch provided by ogeraisi. megamage 2008-10-22 20:59:36 -05:00
  • 9584faf0c9 [svn] Add SPELL_ATTR_BREAKABLE_BY_DAMAGE. Remove part of the hacked breakable aura check. Patch provided by thenecromancer. megamage 2008-10-22 14:58:50 -05:00
  • 4b384751be [svn] Fixed crashes in LoadQuests(). Removed TrinityCore Only project files. w12x 2008-10-22 13:09:54 -05:00
  • 2a742e78b9 [svn] Fix a bug that shaman's shield can stack. Fix: MovementInform without behavior change for waypoint movement. Patch provided by DragonHunter. Update gruul lair script. Patch provided by Blaymoira. megamage 2008-10-22 09:41:31 -05:00
  • 1b0baa51b5 [svn] Add missing SQL changes from prev. commit, also fix mistakenly commented out line. Patch provided by Visagalis. w12x 2008-10-22 08:43:09 -05:00
  • 14598dd84f [svn] * Implement honor rewards from quests - Source Mangos KingPin 2008-10-22 07:02:05 -05:00
  • bde02d6829 [svn] Added sanity checks in loading player cache to prevent crashing upon corrupted player data. w12x 2008-10-22 04:05:15 -05:00
  • 389a9e3cea [svn] * Use ObjectMgr/AccountMgr functions rather than DB queries. Source mangos KingPin 2008-10-21 19:07:16 -05:00
  • 96d1c9f4d6 [svn] Fix cloak of shadows. Dispel type should be based on SPELL_DAMAGE_CLASS_MAGIC. Fix: SPELL_DAMAGE_CLASS_NONE type spells should never miss. megamage 2008-10-21 17:10:05 -05:00
  • 9688da09b0 [svn] Fixed win32 compile Null pointer checks in the barrens ai. w12x 2008-10-21 14:31:24 -05:00
  • 99c5eccab8 [svn] * Fix professions NPC script typo KingPin 2008-10-21 13:56:15 -05:00
  • 725d644296 [svn] * freebsd ace compile fix thanx to timmit for info and testing by srounet KingPin 2008-10-21 13:38:35 -05:00
  • b8e87bfc51 [svn] * Prevent Cheating at logout/login by players. Thank you Visagalis * Set scripts to eol style native KingPin 2008-10-21 13:19:26 -05:00
  • 35f7512be9 [svn] Black Temple doors script. Patch provided by Blaymoira. megamage 2008-10-21 12:51:53 -05:00
  • ed94fdb8bc [svn] * Added some player info cache to the core. Thanx to Rognar for patch, visaglis for testing and bugging me to add it. KingPin 2008-10-21 12:43:24 -05:00
  • d0325e2536 [svn] Try to remove the big hack in SpellMgr::IsNoStackSpellDueToSpell. Not sure if this works. megamage 2008-10-21 11:22:12 -05:00
  • 63f37b8bd2 [svn] Change MSVC project files to use multithreaded (debug) dll runtime libraries. Hopefully this will solve the problems with ACE. Original patch by Derex. w12x 2008-10-21 06:23:46 -05:00
  • 5e1c19e4d9 [svn] Implement a new table (spell_disabled) to allow disabling some spells for players and / or creatures. To disable a spell for a players and pets, set 2^0 in the disable_mask, to disable for creatures, set 2^1. The comment field is optional. Original patch provided by Craker. w12x 2008-10-21 03:58:38 -05:00
  • 23ff96ded9 [svn] Fix 71ScriptDev2.vcproj. Thanks to NeoLithicX. megamage 2008-10-20 23:36:36 -05:00
  • 9664e39fa4 [svn] * Compile fixes from previous revs. KingPin 2008-10-20 14:11:58 -05:00
  • 717cfa01f0 [svn] Add Alar script. Update Magtheridon script. Update Vorpil script. Patch provided by BroodWyrm. Add sunwell boss scripts into scriptmgr.cpp (forgot to do so in previous revs). megamage 2008-10-20 14:02:13 -05:00
  • 4f06be912b [svn] Implement CREATURE_FLAG_EXTRA_TRIGGER. In GM mode, creatures flagged with this will be displayed with displayid_a, in non-gm mode with displayid_h. w12x 2008-10-20 13:41:05 -05:00
  • 192dada7bd [svn] Fixed a crash in OutdoorPvP*::BuffTeam(). w12x 2008-10-20 13:34:00 -05:00
  • cdb7fd43ee [svn] * Minor code fixes * Move account related functions from ObjectMgr to AccountMgr and drop duplicate functions - source mangos * recognize the dummy spells 38637, 38638 and 38639 as negative - source mangos * added new command ".reload all_locales". Now all locales_* tables can be reloaded - source mangos KingPin 2008-10-20 12:59:45 -05:00
  • 35f378aef9 [svn] * fixed help for subcommands - source mangos * Renamed accounts column tbc to expansion and it only took a little over 4 hours o.O KingPin 2008-10-20 12:23:56 -05:00
  • a1d00528a3 [svn] Script for quest 1719. Patch provided by ckegg. megamage 2008-10-19 23:56:06 -05:00
  • 0f816f22fb [svn] Fix a typo in rev 80. Patch provided by ogeraisi. megamage 2008-10-19 23:45:20 -05:00
  • 710d2ae994 [svn] * Reverted ACE changes till I have more time to debug, this fixes compile on Linux. KingPin 2008-10-19 21:43:59 -05:00
  • fcde03a036 [svn] * Fixed compile from r78 * Fixed: not apply healling bonus to spell 40972 heal amount. - Source Mangos * Item 30627 hidden cooldown - Source Mangos * Fixed Trinityrealm autopatching system - Source Arrai * Add support for autoconf 2.6.2 and newer - Source Derex Some decent sized changes, please test before deploying - KP KingPin 2008-10-19 21:08:34 -05:00
  • 0cb3a79518 [svn] * DB data for item 28356 and related, and also for 28602, 30317, 28578. source: Mangos * List fake data for last spells expected to listed in spell_affect. source: Mangos * Fixed: wrong arg name for va_start call in WorldSession::SendNotification. source: Mangos * Implemented dummy aura of spell 43873. source: Mangos KingPin 2008-10-19 17:27:18 -05:00
  • 0d8d686d81 [svn] * Raise modify scale limit from 3 to 10 for players * Implement immunity totems from periodic damage spell effects. Source: Mangos * Implemented second choice aggro targets for creatures. Source: Mangos KingPin 2008-10-19 16:52:50 -05:00
  • 76adf24586 [svn] Add a hack check for spell 42292. megamage 2008-10-19 15:11:20 -05:00
  • ed0803ecf2 [svn] Fix spell 45072: should only affect demons. megamage 2008-10-19 14:47:43 -05:00
  • 672d304a44 [svn] Add Unit::IsWithinCombatDist function to check melee range and spell range (now range is related to the attacker's bounding_radius and target's combat_reach, not sure if both should be combat_reach). megamage 2008-10-19 14:42:12 -05:00
  • e7519059c9 [svn] * fix Compile ( typo in boss_felmyst.cpp ) KingPin 2008-10-19 14:25:52 -05:00
  • 636d810772 [svn] Change aura stack check. Add some boss yells. Patched provided by BroodWyrm and Blaymoira. megamage 2008-10-19 13:56:11 -05:00
  • f064bc4ba4 [svn] * Fixed Compile error from previous rev KingPin 2008-10-19 13:28:58 -05:00
  • a3b5626e5c [svn] Escortai for 10211 quest provided by Blaymoira. Grandmaster Vorpil script provided by BroodWyrm. megamage 2008-10-19 12:17:34 -05:00
  • ce4206c664 [svn] * Fixed language strings sql from rev67 KingPin 2008-10-19 12:11:32 -05:00
  • a3dea992f5 [svn] Recalculate attack time in Unit::ApplyAttackTimePercentMod function. Add Felmyst script. Add Eredar twins script. Script provided by BroodWyrm. Update Brutallus script. Patch provided by riddick. (Burn temporarily disabled) Update void reaver script. Patch provided by Bagsac. Fix a bug that Najentus causes server crash. megamage 2008-10-19 12:01:49 -05:00
  • d936f1bbd8 [svn] * Added freeze/unfreeze/listfreeze commands patch by toilet1 (I swear I didnt make up the name) * Fixed a couple of spelling errors in TC conf file KingPin 2008-10-19 11:42:21 -05:00