Commit Graph

  • 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
  • 153352aac0 More missing script_texts by Tome - Master Kelerun Bloodmourn - fix typo in previous commit - fix typo in script and apply some standards Supabad 2010-10-24 00:46:21 +02:00
  • 62739ed26f Core/AI: implemented basic class for GameObjectAI Rat 2010-10-23 23:31:37 +02:00
  • e484a63622 Core/World: Changed corpse clean timer to 20 minutes (down from 3 hours) Shauren 2010-10-23 11:25:51 +02:00
  • f16c94701d Core/World: Remove autobroadcast notifications from console (only showing when viewed in loglevel 3 (debug)) + some codestyle changes click 2010-10-22 22:56:42 +02:00
  • e67f04d362 Core/ConditionMgr: added CONDITION_SOURCE_TYPE_VEHICLE_SPELL, sourceGroup=creatureTemplate.entry, sourceEntry=spellEntry Rat 2010-10-22 22:45:11 +02:00
  • 3ee05b26ce Core/Spells: Now you can cast the Water Elemental's Freeze without cancelling its Waterbolt. _manuel_ 2010-10-22 17:22:38 -03:00
  • dc9708d09f Core/Guild: And fix a typo... *sigh* click 2010-10-22 21:51:19 +02:00
  • 67d5708bf0 Core/DBLayer: Use DirectPExecute, NOT DirectExecute, since we're actually using parameters in the queries - my bad! click 2010-10-22 21:38:22 +02:00
  • 12289c872e Core/DBLayer: Use DirectExecute instead of PQuery on some instance-saving queries click 2010-10-22 21:08:27 +02:00
  • de0a8f9777 Core/Guilds: Adjust size of guildMap by 1 element, not 512 (fix by machiavelli) click 2010-10-22 21:07:11 +02:00
  • 4ab3b63646 Core/Scripts: Applied some Coding Standards. _manuel_ 2010-10-21 23:24:12 -03:00
  • a1319a2020 Core/Unit: Revert r457923c3f3 - combattimer handling from that revision is wrong, as it dictates wether not a creature will actually enter combat or not - with the earlier change this ment that any creature entering combat would not properly continue if target moved. click 2010-10-22 03:59:08 +02:00
  • caf8bbbe0a Core/Grid: Fix infinity-loop in grid loading (patch by SilverIce) click 2010-10-22 03:39:27 +02:00
  • 8ad97b1a47 Core/Scripts: Uldaman improvements. _manuel_ 2010-10-21 20:54:47 -03:00
  • cfa052d429 Core/Spells: Explicitly set target-effects to hot ONLY owner/caster and his/her pet for Hunter T10 Set bonuses and the Warlock T10 4P bonuses Thanks to tenma for the mini-discussion on the subject. click 2010-10-22 01:33:47 +02:00
  • 30542a442d Core/PetHandler: Implement CMSG_PET_STOP_ATTACK - thanks to zergtmn for the original code click 2010-10-22 01:10:39 +02:00
  • 78f506be8a Scripts/VioletHold: Give Ichiron adds the proper visual model (give them the proper aura) - fix by Gyullo / Manuel Closes issue 3288 click 2010-10-21 22:17:04 +02:00
  • 8ac91ada22 Core/Unit: Fix leave combat timer - original patch by Laise Needs further testing, give feedback if wrong. click 2010-10-21 22:09:45 +02:00
  • ea847598d0 Buildsystem: Add initial support for Intel C++ Compiler (patch by Leak) Note: Intel C++ Compiler for Windows is not supported in this change Closes issue 4361 click 2010-10-21 22:00:12 +02:00
  • 03c6c34a4b Core/Spells: Fix a small proc-issue with Warlpcl T10 4P bonuses (Devious Minds) Same functionality as for 70728 (Exploit Weakness) - thanks to Svetilo for the heads up click 2010-10-21 21:18:19 +02:00
  • e2dbc2e53a Core/Spells: Fix a small proc-issue with hunter T10 set bonuses (Exploit Weakness) (original fix by Dr.Tenma) Comment issue #4362 From DBCs TargetA[0] is already set as TARGET_UNIT_PARTY_CASTER, which maps to TARGET_UNIT_CASTER, so it should be enough to explicitly target the casters pet in this case, ie. just doing spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_PET; - feedback on this required. click 2010-10-21 21:05:29 +02:00
  • 34eed2de3f Core/Scripts: Fix menu clearing in onGossipSelect()-sections for some scripts (including examples) - patch/fix by Paradox Closes issue 4524 click 2010-10-21 20:12:33 +02:00
  • 168a085723 Core/Guilds: Fix a crash linencloth 2010-10-21 17:15:13 +02:00