Commit Graph

  • aad6964dd0 Core/Spells: Show some SPELL_AURA_MOD_DODGE_PERCENT auras as debufs as expected (patch by zergtmn) click 2010-11-08 17:36:25 +01:00
  • b2f3b3d329 Core: Use portable ACE-methods to do millisec time-value calculation (patch by SilverIce) (also avoids some unsafe code on non-Windows platforms) click 2010-11-08 17:24:16 +01:00
  • b1bf8ebfe6 Core/ItemHandler: Fix a logic error when checking for gem equipment limits. (Socketed gems cannot be destroyed, they can only be replaced and that would be the "new gem" case) - fix by leak Closes issue 4698. Fixes issue 2495. click 2010-11-08 17:11:05 +01:00
  • 551d0cea4e Core/Maps: Fix exploit with players changing raid-difficulty and getting no cooldown on respective instance - Patch by selector click 2010-11-07 23:53:26 +01:00
  • 44850aab07 Core: Disallow moving currency tokens out of their hidden bag - fix by leak click 2010-11-07 22:28:03 +01:00
  • c58e227ffa Core/Spells: Fix hunter pet namechanging when using Certificate of Ownership (spellID 53987, used by itemID 43850) (There's also, as far as I know, no window on hunter pet renames, one selects the pet and clicks 'rename'). Closes issue 2967. click 2010-11-07 22:23:12 +01:00
  • 2ee0fda94e Core/SmartAI: added ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST added ACTION_CALL_RANDOM_TIMED_ACTIONLIST you can now call in random timed action lists (script type 9 aka Script9) Rat 2010-11-07 22:10:11 +01:00
  • d180e485e9 Added tag UP35 for changeset 35eb4004f6f8 click 2010-11-07 20:31:53 +01:00
  • d1323767b0 Core/SQL: Move some SQL-files around (you all know what this means...) click 2010-11-07 20:30:59 +01:00
  • 7853a06912 Fix "typo" in previous commit (codingstyle) click 2010-11-07 20:12:36 +01:00
  • 5d4f009a87 Core/Entities: Fix exploit/crash in inventory-handling (CMSG_OPEN_ITEM) -thanks to leak (Adds a scrutiny-based check to baghandling: don't allow placing items in bags that are not "usable" as regular bags) click 2010-11-07 20:08:52 +01:00
  • 044c003bdd Core/SmartAI: added ACTION_CROSS_CAST CasterTargets will cast spellID on all Targets NOTE: use with caution if targeting multiple * multiple units! Rat 2010-11-07 18:34:04 +01:00
  • 205736ea84 Core/SmartAI: added TARGET_OWNER_OR_SUMMONER, useful if you have a creature summoned by a spell, you can use Summoner as target Rat 2010-11-07 18:02:33 +01:00
  • 13559bde9f Core/SmartAI/Typo Rat 2010-11-07 17:13:48 +01:00
  • 9781bba535 Core/SmartAI: added SMART_ACTION_INVOKER_CAST, spellID, castFlags, -if avaliable, last used invoker will cast spellId with castFlags on targets Rat 2010-11-06 23:18:04 +01:00
  • 3809892987 Core/SmartAI: modified ACTION_EQUIP to use a bitmask to send slot updates (for more blzzlike packet handling) Rat 2010-11-06 23:08:33 +01:00
  • 26d8e04351 Core/Unit: Clear threat list on units when they die (fix players having aggro on corpses) Original suggestion by [email protected] Machiavelli 2010-11-06 10:35:46 +01:00
  • 1b8007767a Scripts/Quests: Fixed quest "They're Alive! Maybe...", patch by [email protected] Shauren 2010-11-05 23:41:31 +01:00
  • d79ee2e824 Core/Conditions/Typo Rat 2010-11-05 23:33:31 +01:00
  • b45e12fdf9 Core/Conditions: updated CONDITION_AURA, if Param3 is set true target is tested for condition, else caster is tested Rat 2010-11-05 22:54:51 +01:00
  • 9b3ce64f6e Core/SmartAI: added option to reset orientation (use ACTION_SET_ORIENTATION with TARGET_SELF to reset to spawn orientation) Rat 2010-11-05 21:34:26 +01:00
  • be25e38144 Core/SmartAI: added SMART_ACTION_SIMPLE_TALK, param1: textID, uses the 'Targets' to say the text, NOTE: textID is relative to the current target's entry OR if target is a player, text is used with source creature's entry Rat 2010-11-05 19:38:43 +01:00
  • 7956bc8c44 Core/Chat: Move some protected members of chathandler to public scope so they can be used by commandscripts (Patch by Paradox) Closes issue 4653 click 2010-11-05 07:54:24 +01:00
  • 7f4039269c Core/Groups: Fix issue with raid-leader being removed from group on relog/server restart. Updates issue 3142 Shocker 2010-11-05 00:54:17 +02:00
  • 57661c6d54 Core/SmartAI: swap menuid/actionid params in GOSSIP_SELECT event - use proper sql ORDER to order script lines Rat 2010-11-04 22:08:15 +01:00
  • f658176df8 Core/Spells: Enchanting items using a vellum is no longer possible in trade Shauren 2010-11-04 21:59:27 +01:00
  • 54b11cce01 Core/SmartAI: store event invoker when available, and use it for Invoker target note: dont forget to call script_reset when script is over! Rat 2010-11-04 19:56:39 +01:00
  • cf475e75ca dep/ace: fix the config-test macro click 2010-11-04 06:08:24 +01:00
  • 9b16ee203f Dep/ACE: Upgrade ACE -library to 5.8.3 click 2010-11-04 05:30:29 +01:00
  • 2604250c3c Core/SmartAI: fixed Gossip Select event Rat 2010-11-03 19:39:53 +01:00
  • c9cf2f059f Core/AI: delay all AI()->Respawn() hooks by 1 server tick, this way when creatures are just got created they will successfully find other objects in scripts at spawn time Rat 2010-11-03 18:33:47 +01:00
  • 4747c5f820 Core/SmartAI: fixed EVENT_RANGE handling, and limited it to only creature scripts Rat 2010-11-03 17:25:46 +01:00
  • 58bc1194d2 Scripts/Icecrown Citadel: Fixed Festergut casting Gastric Bloat too often, patch by bytewarrior Shauren 2010-11-03 16:48:40 +01:00
  • f2fdcdf8f3 Core/Scripts: Added enum for generic script texts, fixed one broken text Scripts/Icecrown Citadel: Blood-Queen Lana'Thel will no longer spawn for Blood Princes intro if they were already killed Shauren 2010-11-03 16:44:34 +01:00
  • 6f748a76a1 Core/SmartAI: use BaseObject for guid based targeting if available Rat 2010-11-03 16:40:12 +01:00
  • 6b6d992d55 Core/Dungeon Finder: Fix 'unknown' player names after group being formed and teleported to dungeon Original Patch by danik Closes issue 3846 Spp 2010-11-03 14:21:59 +01:00
  • 9df4af80f4 Core/SmartAI: added script type 9 (TimedActionList) - interrupt spells when entering combat - fixed reset of timers - added npc flag modify actions - added action to call a TimedActionList, default options are: process only OOC and resume after combat Rat 2010-11-03 14:10:16 +01:00
  • afb3e790de Core/Scripts: add example_commandscript as an example of how to use commandscripts to add your own commands to the core Spp 2010-11-03 08:44:03 +01:00
  • 43a5a3ced1 Core/Scripts: Cached command definitions at first use to allow dynamic commands take security levels and help text from the database. Core/Scripts: Removed unused function related to executing dynamic commands. Spp 2010-11-03 08:35:48 +01:00
  • 38ae2062d9 Core/Scripts: Changed chat command handlers to take ChatHandler* as an argument, instead of as 'this'. Spp 2010-11-03 08:30:40 +01:00
  • 51f17678de Typo O.o Rat 2010-11-02 17:47:47 +01:00
  • f27b6f6097 Core/SmartAI: do not report not used smart scripts as error Rat 2010-11-02 17:29:36 +01:00
  • e95eb72603 Core/Scripts/ToC5: Set proper vehicle IDs in script to go with recent exploit fix. Thanks again to Aokromes runningnak3d 2010-11-01 14:24:45 -06:00
  • 7ed5f93aed Core/SmartAI: use Target types where possible, instead of simple self target - removed some obsolete comments - added errorlog if a special action uses a non-smart scripted creature Rat 2010-11-02 13:13:54 +01:00
  • b3b048449b Core/SmartAI: renamed reload command to reflect funtion name Rat 2010-11-01 16:10:30 +01:00
  • d568fcf273 Core/SmartAI: remade 'Say' handler, more simple, more usable, you can now script multiple npc conversations from one script -also added 'entry' to text_over event Rat 2010-11-01 11:00:53 +01:00
  • e68c149e69 Core/ConditionMgr: use chamer/owner player for spell condition check where avaliable Rat 2010-10-31 22:37:54 +01:00
  • 96df97c5ae Core/SmartAI: fix logic in HAS_AURA event note: copy-paste from eai is bad idea .. Rat 2010-10-31 22:11:56 +01:00
  • 32f088558d Core/ConditionMgr: added two new conditions NEAR_CREATURE and NEAR_GAMEOBJECT Rat 2010-10-31 22:10:31 +01:00
  • 9a02ae79c9 Core/Conditions: fixed a typo in logging Rat 2010-10-31 15:39:09 +01:00
  • 75c065637c Core/SmartAI: added new target type (invoker's vehicle) -added new action: ENTER_VEHICLE (79), param1: seatID Rat 2010-10-31 14:21:35 +01:00
  • b6c8158f88 Core/Vehicles: temp fix visibility issues when creatures enter a vehicle, this also fixes the 'Ride Vehicle' type spells note: isntance scripts using spell+EnterVehicle() hacks should be updated Rat 2010-10-31 14:19:14 +01:00
  • 05a292633c Core/DBLayer: - Fix a race condition in KeepAlive() when connections are using mysql context when ping is called. - Don´t wait for locks to be released on a connection when pinging, this means the connection is not idle and locking is redundant. Machiavelli 2010-10-31 10:55:29 +01:00
  • c9bbe85e48 Core/DB: changed some errors to DB errors Rat 2010-10-30 23:06:05 +02:00
  • c9b6f44e9f Core/Groups: Add some checks to prevent a crash with Invites Core/Groups: Use proper size with SMSG_GROUP_DECLINE Opcode Spp 2010-10-29 14:09:25 +02:00
  • 7b35d0b2e8 Core/Spells: Deathfrost weapon enchantment shouldn't scale with spellpower Shocker 2010-10-29 00:21:39 +03:00
  • 618afa3656 Scripts/Icecrown Citadel: Fixed possible crash in Shadow Prison aura script Shauren 2010-10-28 16:55:28 +02:00
  • bcce517c6d Core/Scripts: Fix exploit in ToC5 where vehicles could be used a multipassenger mounts anywhere. Thanks Aokromes from reporting runningnak3d 2010-10-27 15:01:29 -06:00
  • 1d7100b67f Core/Dungeon Finder: Fix a crash when someone leaves the group while a Rolecheck is active Spp 2010-10-28 17:14:18 +02:00
  • f1f1823901 Core/SmartScript: Fix a compile error. Thanks Aokromes for telling me it existed. silinoron 2010-10-27 20:03:42 -07:00
  • da4c2339bc Core: Add a warning message for those who are using SFMT for random number generation. Patch and suggestion by Paradox. silinoron 2010-10-27 19:51:41 -07:00
  • afe683aff4 Core/AI: fix debug / nix build Rat 2010-10-27 23:19:35 +02:00
  • 5cb119e617 Core/AI: implemented SmartScripts System (still beta) not 100% complete WARNING: Use scripts at own risk. You were warned. NOTE0: creature, gameobject, areatrigger type scripts should be fully functional NOTE1: has no effect on any core related stuff if not using any SmartScript NOTE2: all event/action/etc descriptions can be found in SmartScriptMgr.h Rat 2010-10-27 21:01:47 +02:00
  • c9fba03da9 Scripts/Icecrown Citadel: Fixed Gaseous Blight removal on Festergut's death Scripts/Icecrown Citadel: Added missing in room check for Blood Prince Council Scripts/Icecrown Citadel: Fixed Professor Putricide facing during phase transitions Shauren 2010-10-27 18:46:48 +02:00
  • ba6fc58bad Core/Spells: Fixed "not handled custom case" log spam for Sniper Training Shauren 2010-10-26 15:36:32 +02:00
  • 0b4abbb48e Core: Fix some warnings added in recent commits Spp 2010-10-26 11:40:13 +02:00
  • 23d3f72bcb Core/World?: (forgotten commit) make SessionMap public , can be usaful in some places.. Rat 2010-10-25 18:47:30 +02:00
  • e4c27a2ffa Core/TextMgr: updated with new funtions for future useage Rat 2010-10-25 18:25:21 +02:00
  • a792e3d67c Core/AI: added Gossip* and Quest* virtual functions to UnitAI, will be used in future system (not all functions hooked yet) Rat 2010-10-25 18:23:45 +02:00
  • 67346f449a Core/Grids: implemented AllWorldObjectsInRange searcher, will be used in upcoming script engine Rat 2010-10-25 18:13:49 +02:00
  • 064b3fd2b3 Core/AI: use NullGameObjectAI for gameobjects with ScriptName - use GameObjectAI with Transports too Rat 2010-10-25 18:11:52 +02:00
  • b282438198 Core/ConditionMgr: small fix for CONDITION_QUEST_COMPLETE Rat 2010-10-25 18:08:50 +02:00
  • ff0fdbfbea Core/Guilds: * on load initialize guild vector with maximum available guild id (to avoid reallocations while loading); * reserve space for more than one guild when adding guild to guild vector in case when new guild is out of available vector's size (to avoid reallocations for at least 15 next new guilds). azazel 2010-10-25 19:20:39 +06:00
  • 2e08f94338 Core/Dungeon Finder/Script: Move debug log msg to debug priority Spp 2010-10-25 13:00:34 +02:00
  • 3ac979e624 Core/Dungeon Finder: Fix a crash in UpdateProposal (added in 66a8af8214) Closes issue 4564 Spp 2010-10-25 12:21:42 +02:00
  • 8ab5a04b7f Core/Spells: Fixed coefficient of Frostbolt, by A.Metaphysical.Drama Shauren 2010-10-25 12:17:26 +02:00
  • ae38b0441b Core/Opcodes: Change status type of CMSG_UPDATE_PROJECTILE_POSITION Opcode to unhandled Spp 2010-10-25 12:00:54 +02:00
  • d7bcc25e38 Core/Map: Reenable error msg to find missing graveyards and use a better msg when a zone id is not found Spp 2010-10-25 11:47:23 +02:00
  • f381e74c10 Core/Map: Add log to find bad zone ids when trying to find a graveyard Spp 2010-10-25 11:28:42 +02:00
  • b1d759e79f Core/Dungeon Finder: Fix proposal window now being removed after a proposal success Spp 2010-10-25 11:26:22 +02:00
  • 18de18e7b9 Core/Dungeon Finder: Prevent a crash in Leave by checking Player or Group exist Spp 2010-10-25 11:26:01 +02:00
  • 739f336618 Core: Fix warnings Spp 2010-10-25 11:25:42 +02:00
  • 4acf6012a8 Scripts/Pit of Saron: Added script for Overlord's Brand aura Shauren 2010-10-25 11:23:29 +02:00
  • b96a206dc3 Core/Scripts: Moved OnPlayerLogout hook call before removing player, fixes crashes in scripts using this hook Shauren 2010-10-25 11:17:17 +02:00
  • 42065a236e Core/Scripts: Moved HealReceived from CreatureAI to UnitAI and added HealDone and removed creature-only restriction Shauren 2010-10-25 11:12:47 +02:00
  • 4f5a60c487 Core/Scripts: Moved DamageDealt and DamageTaken down from CreatureAI to UnitAI Shauren 2010-10-24 22:12:35 +02:00
  • 6d849ca34c Core/Dungeon Finder: revert 5f4b58ea4bc5 (Do not allow 1 member groups) - Last member in dungeon not being kicked will be handled in other way Spp 2010-10-25 07:36:26 +02:00
  • 3fc2d414b1 Core/Dungeon Finder: Use scripts to interact between groups and LFG Spp 2010-10-25 07:29:53 +02:00
  • 4cd2431cd7 Core/Dungeon Finder: Redo Find algorithm to select one proposal (not all and later pick one) Spp 2010-10-25 07:16:46 +02:00
  • 9b8a457aeb Core/DBLayer: Optimize creature formation loading linencloth 2010-10-25 02:32:33 +02:00
  • 2d692e9e87 Core/DBLayer: Optimize waypoint script loading linencloth 2010-10-25 02:31:19 +02:00
  • 3742e8ddec Core/Transport: Prevent creature passengers from teleporting to an invalid grid. linencloth 2010-10-25 02:30:50 +02:00
  • 910264070c Core/OpenPVP: Fix Outdoor PVP objectives in Eastern Plaguelands - patch by retriman, converted by D_Skywalker click 2010-10-25 01:51:48 +02:00
  • 989f696d1e Core/Scripts: Fix chest respawn exploit in Hellfire Rampart - origjnal fix by Gyullo (thanks) click 2010-10-25 01:39:18 +02:00
  • b3f60aee2d Core/Scripts: Fix non-PCH compile click 2010-10-25 01:22:00 +02:00
  • ae58481c21 Core/Entities: Remove circular dependencies from GameObject headers, fixes *nix compile Shauren 2010-10-24 22:03:53 +02:00
  • 5eb8ea2a5d Core/ConditionMgr: added CONDITION_QUEST_COMPLETE, conditionValue1: questiID, true if player has the quest in the questlog as 'completed' Rat 2010-10-24 21:44:58 +02:00
  • 88ae092744 Core/Quests: Use honor multiplier as base for calculating honor rewards, not the amount of kills (fix by Nay) Shauren 2010-10-24 21:32:26 +02:00
  • d03aeab9ad Scripts/Icecrown Citadel: Added Blood Prince Council script Scripts/Icecrown Citadel: Festergut will not cast Vile Gas on melee targets if there are at least 3 (25 man: 8) ranged targets Scripts/Icecrown Citadel: Festergut and Rotface gates will close with delay (when Putricide reaches the balcony) Scripts/Icecrown Citadel: Replaced ASSERT(instance) with code disabling the AI if not inside instance Core/Spells: Fixed TARGET_DEST_TARGET_RANDOM usage Core/Scripts: Extended DamageDealt in AI to accept damage type as 3rd parameter Scripts/Quests: Fixed quest "Unholy Infusion" (24749) Shauren 2010-10-24 21:27:02 +02:00
  • 07fa1bcbdf Core/Creature: Implement FarTeleportTo (teleport to an other map) Core/Transport: Cleanup and optimize transport and passenger handling - Only transports will be active objects - Reduced cpu and memory usage - Using FarTeleportTo for creature passengers at transport teleportation - Creatures won't be recreated on teleport linencloth 2010-10-24 02:55:50 +02:00